<?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: OAuth2.0 Custom Connector TestConnection Issue in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/OAuth2-0-Custom-Connector-TestConnection-Issue/m-p/2060048#M31573</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Yes, I have confirgured my Personnal Gateway and I do see the custom connector in the service&lt;BR /&gt;I also had added a TestConnection handler as below&lt;BR /&gt;&lt;SPAN&gt;TestConnection = (dataSourcePath) =&amp;gt; { "Xero_Isos.Contents" , dataSourcePath}&lt;/SPAN&gt;&lt;BR /&gt;Kind Regards&lt;BR /&gt;David&lt;/P&gt;</description>
    <pubDate>Mon, 06 Sep 2021 14:53:51 GMT</pubDate>
    <dc:creator>DavidEntekrity</dc:creator>
    <dc:date>2021-09-06T14:53:51Z</dc:date>
    <item>
      <title>OAuth2.0 Custom Connector TestConnection Issue</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/OAuth2-0-Custom-Connector-TestConnection-Issue/m-p/2025447#M31218</link>
      <description>&lt;DIV class="lia-message-subject lia-component-message-view-widget-subject"&gt;&lt;DIV class="MessageSubject"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="lia-message-post-date lia-component-post-date lia-component-message-view-widget-post-date"&gt;&lt;SPAN&gt;I have a working connector with PowerBI desktop and published this to service , I am unable to schedule a refresh in the service&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-message-post-date lia-component-post-date lia-component-message-view-widget-post-date"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-message-post-date lia-component-post-date lia-component-message-view-widget-post-date"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DavidEntekrity_0-1629360689391.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/576104i67BB9BCBA1DE50AE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DavidEntekrity_0-1629360689391.png" alt="DavidEntekrity_0-1629360689391.png" /&gt;&lt;/span&gt;&lt;P&gt;When I edit the credentials I get the error below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DavidEntekrity_1-1629360760448.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/576107i194D1F0DB32EC266/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DavidEntekrity_1-1629360760448.png" alt="DavidEntekrity_1-1629360760448.png" /&gt;&lt;/span&gt;&lt;P&gt;I am using the code below for the TestConnection Handler&lt;BR /&gt;// Data Source Kind description&lt;BR /&gt;Xero_Isos = [&lt;BR /&gt;TestConnection = (dataSourcePath) =&amp;gt; { "Xero_Isos.Contents" , dataSourcePath},&lt;BR /&gt;Authentication = [&lt;BR /&gt;OAuth = [&lt;BR /&gt;StartLogin = StartLogin,&lt;BR /&gt;FinishLogin = FinishLogin,&lt;BR /&gt;Logout = Logout,&lt;BR /&gt;Refresh = Refresh&lt;BR /&gt;]&lt;BR /&gt;]&lt;BR /&gt;,Label = Extension.LoadString ("DataSourceLabel")&lt;BR /&gt;];&lt;BR /&gt;&lt;BR /&gt;Any help would be greatly appriciated&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 19 Aug 2021 08:17:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/OAuth2-0-Custom-Connector-TestConnection-Issue/m-p/2025447#M31218</guid>
      <dc:creator>DavidEntekrity</dc:creator>
      <dc:date>2021-08-19T08:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: OAuth2.0 Custom Connector TestConnection Issue</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/OAuth2-0-Custom-Connector-TestConnection-Issue/m-p/2031241#M31267</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/280341"&gt;@DavidEntekrity&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Did you configure any gateway and using your custom connector with gateway? You can refer the content in the following links to get it.&lt;/P&gt;
&lt;P&gt;1. Personal gateway&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.sqlshack.com/setting-up-power-bi-data-gateway/" target="_self"&gt;&lt;STRONG&gt;Configure Power BI Data Gateway&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/connect-data/service-gateway-custom-connectors" target="_self"&gt;&lt;STRONG&gt;Use custom data connectors with the on-premises data gateway&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;2.&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/power-query/samples/trippin/9-testconnection/readme#adding-a-testconnection-handler" target="_blank"&gt;Adding a TestConnection handler&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.kasperonbi.com/how-to-enable-scheduled-refresh-for-your-custom-connector/" target="_self"&gt;&lt;STRONG&gt;How to enable scheduled refresh for your custom connector&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yingyinr_0-1629699662353.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/577946iC8D3C82F5276D821/image-size/medium?v=v2&amp;amp;px=400" role="button" title="yingyinr_0-1629699662353.png" alt="yingyinr_0-1629699662353.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Report-Server/Why-does-my-Custom-Connector-not-refresh/m-p/1054178" target="_self"&gt;&lt;STRONG&gt;Why does my Custom Connector not refresh?&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Mon, 23 Aug 2021 06:23:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/OAuth2-0-Custom-Connector-TestConnection-Issue/m-p/2031241#M31267</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-08-23T06:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: OAuth2.0 Custom Connector TestConnection Issue</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/OAuth2-0-Custom-Connector-TestConnection-Issue/m-p/2060048#M31573</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Yes, I have confirgured my Personnal Gateway and I do see the custom connector in the service&lt;BR /&gt;I also had added a TestConnection handler as below&lt;BR /&gt;&lt;SPAN&gt;TestConnection = (dataSourcePath) =&amp;gt; { "Xero_Isos.Contents" , dataSourcePath}&lt;/SPAN&gt;&lt;BR /&gt;Kind Regards&lt;BR /&gt;David&lt;/P&gt;</description>
      <pubDate>Mon, 06 Sep 2021 14:53:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/OAuth2-0-Custom-Connector-TestConnection-Issue/m-p/2060048#M31573</guid>
      <dc:creator>DavidEntekrity</dc:creator>
      <dc:date>2021-09-06T14:53:51Z</dc:date>
    </item>
  </channel>
</rss>

