<?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 Custom Data Connector Power BI REST API Data Source Credentials Refresh in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Data-Connector-Power-BI-REST-API-Data-Source-Credentials/m-p/881308#M21789</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We've successfully created a custom data connector to the Power BI Rest API.&lt;/P&gt;&lt;P&gt;API calls provide us the data we want in Power BI Desktop. Refreshes do work as expected.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2019-12-19_12-51-47.png" style="width: 200px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/219686i6456FC6F59D451F4/image-size/small?v=v2&amp;amp;px=200" role="button" title="2019-12-19_12-51-47.png" alt="2019-12-19_12-51-47.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;After publishing to the service portal, we receive an authentication error. When we want to authenticate over Auth2 (in either privacy level setting), a white screen popup appears. It seems the refresh token is being successfully generated, however, authentication gets stuck on this popup.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2019-12-19_12-40-03.png" style="width: 200px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/219658iBA9028369BA6A8CA/image-size/small?v=v2&amp;amp;px=200" role="button" title="2019-12-19_12-40-03.png" alt="2019-12-19_12-40-03.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2019-12-19_12-38-59.png" style="width: 200px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/219694i8C0627919E02261B/image-size/small?v=v2&amp;amp;px=200" role="button" title="2019-12-19_12-38-59.png" alt="2019-12-19_12-38-59.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2019-12-19_12-38-40.png" style="width: 200px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/219656iDFB1C0BA55FF5696/image-size/small?v=v2&amp;amp;px=200" role="button" title="2019-12-19_12-38-40.png" alt="2019-12-19_12-38-40.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We use the personal data gateway to pick up the custom data connectors .mez files, written in VS2017.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2019-12-19_12-39-44.png" style="width: 198px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/219696iE346748E6EB1164C/image-size/small?v=v2&amp;amp;px=200" role="button" title="2019-12-19_12-39-44.png" alt="2019-12-19_12-39-44.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2019-12-19_12-43-58.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/219660i736CE46A7422ED3C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2019-12-19_12-43-58.png" alt="2019-12-19_12-43-58.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Power BI Client Application details&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2019-12-19_12-46-15.png" style="width: 200px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/219697i00BEEFFF6293FBB3/image-size/small?v=v2&amp;amp;px=200" role="button" title="2019-12-19_12-46-15.png" alt="2019-12-19_12-46-15.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We expect the issue could possibly be the redirect_uri. However, MS documentation clearly states, this is the correct redirct_uri.&lt;/P&gt;&lt;P&gt;Thanks for reading through this post, all feedback is appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Update:&lt;/P&gt;&lt;P&gt;This also does not work when using the enterprise data gateway.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2019-12-20_12-41-50.png" style="width: 200px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/219685i8177C3F4DEE53882/image-size/small?v=v2&amp;amp;px=200" role="button" title="2019-12-20_12-41-50.png" alt="2019-12-20_12-41-50.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2019-12-20_12-43-02.png" style="width: 200px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/219684i6A987EECAB8D4B86/image-size/small?v=v2&amp;amp;px=200" role="button" title="2019-12-20_12-43-02.png" alt="2019-12-20_12-43-02.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 20 Dec 2019 12:07:10 GMT</pubDate>
    <dc:creator>lousegers</dc:creator>
    <dc:date>2019-12-20T12:07:10Z</dc:date>
    <item>
      <title>Custom Data Connector Power BI REST API Data Source Credentials Refresh</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Data-Connector-Power-BI-REST-API-Data-Source-Credentials/m-p/881308#M21789</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We've successfully created a custom data connector to the Power BI Rest API.&lt;/P&gt;&lt;P&gt;API calls provide us the data we want in Power BI Desktop. Refreshes do work as expected.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2019-12-19_12-51-47.png" style="width: 200px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/219686i6456FC6F59D451F4/image-size/small?v=v2&amp;amp;px=200" role="button" title="2019-12-19_12-51-47.png" alt="2019-12-19_12-51-47.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;After publishing to the service portal, we receive an authentication error. When we want to authenticate over Auth2 (in either privacy level setting), a white screen popup appears. It seems the refresh token is being successfully generated, however, authentication gets stuck on this popup.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2019-12-19_12-40-03.png" style="width: 200px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/219658iBA9028369BA6A8CA/image-size/small?v=v2&amp;amp;px=200" role="button" title="2019-12-19_12-40-03.png" alt="2019-12-19_12-40-03.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2019-12-19_12-38-59.png" style="width: 200px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/219694i8C0627919E02261B/image-size/small?v=v2&amp;amp;px=200" role="button" title="2019-12-19_12-38-59.png" alt="2019-12-19_12-38-59.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2019-12-19_12-38-40.png" style="width: 200px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/219656iDFB1C0BA55FF5696/image-size/small?v=v2&amp;amp;px=200" role="button" title="2019-12-19_12-38-40.png" alt="2019-12-19_12-38-40.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We use the personal data gateway to pick up the custom data connectors .mez files, written in VS2017.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2019-12-19_12-39-44.png" style="width: 198px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/219696iE346748E6EB1164C/image-size/small?v=v2&amp;amp;px=200" role="button" title="2019-12-19_12-39-44.png" alt="2019-12-19_12-39-44.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2019-12-19_12-43-58.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/219660i736CE46A7422ED3C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2019-12-19_12-43-58.png" alt="2019-12-19_12-43-58.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Power BI Client Application details&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2019-12-19_12-46-15.png" style="width: 200px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/219697i00BEEFFF6293FBB3/image-size/small?v=v2&amp;amp;px=200" role="button" title="2019-12-19_12-46-15.png" alt="2019-12-19_12-46-15.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We expect the issue could possibly be the redirect_uri. However, MS documentation clearly states, this is the correct redirct_uri.&lt;/P&gt;&lt;P&gt;Thanks for reading through this post, all feedback is appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Update:&lt;/P&gt;&lt;P&gt;This also does not work when using the enterprise data gateway.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2019-12-20_12-41-50.png" style="width: 200px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/219685i8177C3F4DEE53882/image-size/small?v=v2&amp;amp;px=200" role="button" title="2019-12-20_12-41-50.png" alt="2019-12-20_12-41-50.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2019-12-20_12-43-02.png" style="width: 200px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/219684i6A987EECAB8D4B86/image-size/small?v=v2&amp;amp;px=200" role="button" title="2019-12-20_12-43-02.png" alt="2019-12-20_12-43-02.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 12:07:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Data-Connector-Power-BI-REST-API-Data-Source-Credentials/m-p/881308#M21789</guid>
      <dc:creator>lousegers</dc:creator>
      <dc:date>2019-12-20T12:07:10Z</dc:date>
    </item>
  </channel>
</rss>

