<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Custom Report Server security extension and custom DirectQuery based connector in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Report-Server-security-extension-and-custom-DirectQuery/m-p/2058873#M31558</link>
    <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to install Power Query SDK to create the custom connector by Visual Studio.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/power-query/installingsdk" target="_self"&gt;Installing the Power Query SDK&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I think you need to install&amp;nbsp;&lt;SPAN&gt;an ODBC driver. From the blog:&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://docs.microsoft.com/en-us/power-query/startingtodevelopcustomconnectors#what-can-you-do-with-a-custom-connector" target="_self"&gt;What can you do with a custom connector?&lt;/A&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Enabling DirectQuery for a data source using an ODBC driver.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;You need an ODBC driver to enable DirectQuery for a data source.&lt;/P&gt;
&lt;P&gt;Here is the code of DirectQuery connector, you make take a look.&lt;/P&gt;
&lt;P&gt;For reference:&amp;nbsp;&lt;A href="https://github.com/Microsoft/DataConnectors/blob/master/docs/m-extensions.md#example-connector-with-required-parameters" target="_self"&gt;Example: Connector with required parameters&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Rico Zhou&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
    <pubDate>Mon, 06 Sep 2021 07:07:58 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-09-06T07:07:58Z</dc:date>
    <item>
      <title>Custom Report Server security extension and custom DirectQuery based connector</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Report-Server-security-extension-and-custom-DirectQuery/m-p/2052639#M31501</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;We have the following scenario that is being explored (all on-prem based):&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;A user logs onto Power BI Report Server using ADFS for authentication/authorization&lt;/LI&gt;&lt;LI&gt;A report is made accessible to the logged on user that retrieves its data in realtime (DirectQuery mode) from a custom source e.g. an OData based API&lt;/LI&gt;&lt;LI&gt;The custom data source accepts the authentication/authorization details (token/claims) already available (in some way) and uses them to ensure only the relevant data is made visible in the report for that user&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The assumptions we are working with at the moment are:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Create a custom security extension for Report Server to provide ADFS authentication capabilities&lt;/LI&gt;&lt;LI&gt;Create a custom connector that is able to pass the authentication/authorization details through to the data source&lt;/LI&gt;&lt;LI&gt;Build the data source (Web API/OData feed) so that it filters the data according to the authentication/authorization details provided e.g. token/claims&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;We are looking for guidance with:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;How to create a custom connector that supports Direct Query to a custom OData source (without an ODBC driver)&lt;/LI&gt;&lt;LI&gt;How to build the custom connector so that it can "pass through" the credentials to the data source&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Pointers to relevant articles or examples that would help with this would be greatly appreciated.&lt;/P&gt;&lt;P&gt;Most articles already read suggest that building a custom connector that supports DirectQuery can only be done via an ODBC driver...is that still the case or has anyone already achieved this...?&lt;/P&gt;&lt;P&gt;CData provides connectors that support DirectQuery capabilities, however these do not appear to support passthrough of authentication/authorization details to the underlying data source.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for any help provided.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Sep 2021 02:56:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Report-Server-security-extension-and-custom-DirectQuery/m-p/2052639#M31501</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-02T02:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Report Server security extension and custom DirectQuery based connector</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Report-Server-security-extension-and-custom-DirectQuery/m-p/2058873#M31558</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to install Power Query SDK to create the custom connector by Visual Studio.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/power-query/installingsdk" target="_self"&gt;Installing the Power Query SDK&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I think you need to install&amp;nbsp;&lt;SPAN&gt;an ODBC driver. From the blog:&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://docs.microsoft.com/en-us/power-query/startingtodevelopcustomconnectors#what-can-you-do-with-a-custom-connector" target="_self"&gt;What can you do with a custom connector?&lt;/A&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Enabling DirectQuery for a data source using an ODBC driver.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;You need an ODBC driver to enable DirectQuery for a data source.&lt;/P&gt;
&lt;P&gt;Here is the code of DirectQuery connector, you make take a look.&lt;/P&gt;
&lt;P&gt;For reference:&amp;nbsp;&lt;A href="https://github.com/Microsoft/DataConnectors/blob/master/docs/m-extensions.md#example-connector-with-required-parameters" target="_self"&gt;Example: Connector with required parameters&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Rico Zhou&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Sep 2021 07:07:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Report-Server-security-extension-and-custom-DirectQuery/m-p/2058873#M31558</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-06T07:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Report Server security extension and custom DirectQuery based connector</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Report-Server-security-extension-and-custom-DirectQuery/m-p/2060490#M31584</link>
      <description>&lt;P&gt;Hi Rico and thankyou for your response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have been able to use the Power Query SDK to build a very basic custome connector, however we need it to support DirectQuery mode without using an ODBC driver. We have found a GitHub issue thread that suggests it can be done (see below) but we're looking for a suitable full example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/microsoft/DataConnectors/issues/246" target="_blank"&gt;Documentation for Table.View Expression Handlers · Issue #246 · microsoft/DataConnectors (github.com)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Sep 2021 23:02:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Report-Server-security-extension-and-custom-DirectQuery/m-p/2060490#M31584</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-06T23:02:14Z</dc:date>
    </item>
  </channel>
</rss>

