<?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: Power BI Dataflow Cannot Authenticate Custom Connector with OAuth – &amp;quot;Path is invalid&amp;quot; in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Dataflow-Cannot-Authenticate-Custom-Connector-with/m-p/4737514#M61901</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/852643"&gt;@SufiyanYousuf&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Could you please confirm if you've submitted this as an idea in the Ideas Forum? If so, sharing the link here would be helpful for other community members who may have similar feedback.&lt;BR /&gt;If we don’t hear back, we’ll go ahead and close this thread. For any further discussions or questions, please start a new thread in the Microsoft Fabric Community Forum we’ll be happy to assist.&lt;BR /&gt;Thank you for being part of the Microsoft Fabric Community.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 19 Jun 2025 11:32:31 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2025-06-19T11:32:31Z</dc:date>
    <item>
      <title>Power BI Dataflow Cannot Authenticate Custom Connector with OAuth – "Path is invalid" Error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Dataflow-Cannot-Authenticate-Custom-Connector-with/m-p/4733651#M61830</link>
      <description>&lt;P&gt;I'm using a custom Power BI connector (.mez) that connects to Microsoft Graph API using OAuth 2.0. The connector works perfectly in Power BI Desktop and also refreshes fine after publishing a report to the Power BI Service.&lt;/P&gt;&lt;P&gt;However, when I try to use this connector inside a &lt;STRONG&gt;Power BI Dataflow&lt;/STRONG&gt;, I run into issues:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;I choose &lt;STRONG&gt;Blank Query&lt;/STRONG&gt; and enter:&lt;BR /&gt;GraphAPIConnector.GetcallRecordsDetail()&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;When I try to configure the connection, it prompts me to create a new OAuth connection instead of using the existing one.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;After signing in, I get this error:&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;STRONG&gt;"Unable to create an OAuth connection. Reason: Path is invalid:. Details: GraphAPIConnector (Session ID: , Region: europe)"&lt;/STRONG&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Mon, 16 Jun 2025 13:49:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Dataflow-Cannot-Authenticate-Custom-Connector-with/m-p/4733651#M61830</guid>
      <dc:creator>SufiyanYousuf</dc:creator>
      <dc:date>2025-06-16T13:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Dataflow Cannot Authenticate Custom Connector with OAuth – "Path is invalid"</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Dataflow-Cannot-Authenticate-Custom-Connector-with/m-p/4734355#M61837</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/852643"&gt;@SufiyanYousuf&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Thank you for reaching out to us on Microsoft fabic Community Forum!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P data-start="67" data-end="263"&gt;Upon my knowledge, Power Query Dataflows currently do not fully support custom connectors with OAuth authentication&amp;nbsp; even though they work fine in Power BI Desktop and Service.Please refer the link:&lt;A href="https://learn.microsoft.com/en-us/power-bi/transform-model/dataflows/dataflows-features-limitations" target="_blank"&gt;Dataflows Limitations, restrictions and supported connectors and features - Power BI | Microsoft Learn&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="265" data-end="453"&gt;I would recommend posting the idea in the &lt;A href="https://community.fabric.microsoft.com/t5/Fabric-Ideas/idb-p/fbc_ideas/ideas/search-ideas" target="_self"&gt;Power BI Ideas Forum&lt;/A&gt;&amp;nbsp;.If there is already a post, please upvote on it too. Your input helps guide future improvements.&lt;/P&gt;
&lt;P data-start="455" data-end="462" data-is-last-node="" data-is-only-node=""&gt;Thank you.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Pallavi G.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jun 2025 07:14:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Dataflow-Cannot-Authenticate-Custom-Connector-with/m-p/4734355#M61837</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-06-17T07:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Dataflow Cannot Authenticate Custom Connector with OAuth – "Path is invalid"</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Dataflow-Cannot-Authenticate-Custom-Connector-with/m-p/4734382#M61838</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/852643"&gt;@SufiyanYousuf&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;You're encountering a known limitation when using custom connectors with OAuth authentication in Power BI Dataflows. While your custom .mez connector works perfectly in Power BI Desktop and refreshes in the Power BI Service, Power BI Dataflows (especially standard ones) do not support OAuth-based authentication for custom connectors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H3&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;Workaround 1. Use Dataflow Gen2 (in Microsoft Fabric)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;&lt;P&gt;If your environment supports Microsoft Fabric:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Dataflow Gen2&lt;/STRONG&gt; has broader connector support and &lt;STRONG&gt;better OAuth integration&lt;/STRONG&gt;.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;You can try moving your query into a &lt;STRONG&gt;Dataflow Gen2&lt;/STRONG&gt; and configure the OAuth there.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;Requires premium capacity or Fabric license.&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;H3&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;Workaround&amp;nbsp;&lt;/STRONG&gt;&lt;STRONG&gt;2. Migrate Logic to Azure Data Factory or Power Automate&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Use Azure Data Factory (ADF) or Power Automate to extract data from Microsoft Graph API using the OAuth token and write it to a staging area (e.g., a Data Lake, Azure SQL, or SharePoint).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Then connect Power BI Dataflow to the staging source.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;H3&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;Workaround&amp;nbsp;&lt;/STRONG&gt;&lt;STRONG&gt;3. Use a Gateway with Anonymous or API Key Auth&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;If you can rework your connector or service to expose a secured API with an API key or basic auth, you can avoid the OAuth issue altogether.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Configure an On-Premises Data Gateway and use a web source with an API key or anonymous authentication in the Dataflow.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;H3&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;4. Pre-stage Graph Data Using Azure Function or Logic App&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Write an &lt;STRONG&gt;Azure Function&lt;/STRONG&gt; or &lt;STRONG&gt;Logic App&lt;/STRONG&gt; that pulls Graph API data using your OAuth connector and dumps the result into a storage location.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Load this data into Power BI from the storage location (Blob Storage, Data Lake, etc.).&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;For Detailed Information:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;A href="https://github.com/migueesc123/PowerBIRESTAPI/issues/53" target="_blank" rel="noopener noreferrer"&gt;Unable to create an OAuth connection. Reason: "Path is invalid" - GitHub Issue&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Service/OAuth-custom-connector/m-p/2472260" target="_blank" rel="noopener noreferrer"&gt;OAuth custom connector - Microsoft Fabric Community&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;A href="https://learn.microsoft.com/en-us/power-query/handling-authentication" target="_blank" rel="noopener noreferrer"&gt;Handling authentication for Power Query connectors - Microsoft Learn&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;A href="https://support.microsoft.com/en-us/topic/verifying-oauth-configuration-for-custom-connectors-ceadbd1d-5a44-5615-208b-029f7ffe6107" target="_new" rel="noopener noreferrer"&gt;Verifying OAuth configuration for Custom Connectors - Microsoft Support&lt;/A&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;&lt;STRONG&gt;If you found this solution helpful, please consider accepting it and giving it a kudos (Like) it’s greatly appreciated and helps others find the solution more easily.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;&lt;A href="https://www.linkedin.com/in/nasif-azam-9aa2331a0/" target="_blank" rel="noopener nofollow noreferrer"&gt;Nasif Azam&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jun 2025 07:23:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Dataflow-Cannot-Authenticate-Custom-Connector-with/m-p/4734382#M61838</guid>
      <dc:creator>Nasif_Azam</dc:creator>
      <dc:date>2025-06-17T07:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Dataflow Cannot Authenticate Custom Connector with OAuth – "Path is invalid"</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Dataflow-Cannot-Authenticate-Custom-Connector-with/m-p/4737514#M61901</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/852643"&gt;@SufiyanYousuf&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Could you please confirm if you've submitted this as an idea in the Ideas Forum? If so, sharing the link here would be helpful for other community members who may have similar feedback.&lt;BR /&gt;If we don’t hear back, we’ll go ahead and close this thread. For any further discussions or questions, please start a new thread in the Microsoft Fabric Community Forum we’ll be happy to assist.&lt;BR /&gt;Thank you for being part of the Microsoft Fabric Community.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jun 2025 11:32:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Dataflow-Cannot-Authenticate-Custom-Connector-with/m-p/4737514#M61901</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-06-19T11:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Dataflow Cannot Authenticate Custom Connector with OAuth – "Path is invalid"</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Dataflow-Cannot-Authenticate-Custom-Connector-with/m-p/4738283#M61911</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;,&lt;BR /&gt;Sure, I will be submitting this as an idea in the Idea Forum as soon as possible, so it can be started as a new thread.&lt;BR /&gt;&lt;BR /&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;M.Sufiyan&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jun 2025 06:16:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Dataflow-Cannot-Authenticate-Custom-Connector-with/m-p/4738283#M61911</guid>
      <dc:creator>SufiyanYousuf</dc:creator>
      <dc:date>2025-06-20T06:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Dataflow Cannot Authenticate Custom Connector with OAuth – "Path is invalid"</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Dataflow-Cannot-Authenticate-Custom-Connector-with/m-p/4738370#M61917</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/852643"&gt;@SufiyanYousuf&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thank you for the confirmation!&lt;BR /&gt;Please share the&amp;nbsp; submitted idea link after posting in the ideas forum. Sharing the link here would be helpful for other community members who may have similar feedback and upvote on it and accept your answer as solution to find it easily .&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Pallavi.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jun 2025 07:27:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Dataflow-Cannot-Authenticate-Custom-Connector-with/m-p/4738370#M61917</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-06-20T07:27:03Z</dc:date>
    </item>
  </channel>
</rss>

