<?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: 401 Error on executeQueries API Call – Suspected Configuration Change in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/401-Error-on-executeQueries-API-Call-Suspected-Configuration/m-p/4632395#M60126</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/879434"&gt;@jay-sr&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Thank you&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1231947"&gt;@Deku&lt;/a&gt;&amp;nbsp;for the prompt response!&lt;BR /&gt;&lt;BR /&gt;May I ask if you have gotten this issue resolved?&lt;BR /&gt;If it is solved, please mark the helpful reply or share your solution and accept it as solution, it will be helpful for other members of the community who have similar problems as yours to solve it faster.&lt;BR /&gt;Thank you.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 01 Apr 2025 04:08:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2025-04-01T04:08:39Z</dc:date>
    <item>
      <title>401 Error on executeQueries API Call – Suspected Configuration Change</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/401-Error-on-executeQueries-API-Call-Suspected-Configuration/m-p/4623657#M59998</link>
      <description>&lt;P class=""&gt;Hello Power BI Community,&lt;/P&gt;&lt;P class=""&gt;I'm experiencing an issue with the executeQueries endpoint in the Power BI REST API. My application successfully retrieves an auth token, which appears to be valid, but when I call executeQueries, I receive a 401 Unauthorized error. This functionality was working fine previously, and I haven't made any code changes.&lt;/P&gt;&lt;P class=""&gt;Here are the details I've verified so far:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;Auth Token:&lt;/STRONG&gt; Obtained successfully with the correct audience (&lt;SPAN&gt;&lt;A href="https://login.microsoftonline.com/" target="_blank" rel="noopener"&gt;https://login.microsoftonline.com/&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN&gt;${&lt;/SPAN&gt;&lt;SPAN&gt;tenantId&lt;/SPAN&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN&gt;/oauth2/v2.0/token) and expected scopes.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;Authorization Header:&lt;/STRONG&gt; I'm including the header as Authorization: Bearer my_token.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;App Registration &amp;amp; Permissions:&lt;/STRONG&gt; The app registration in Azure AD has the necessary API permissions (such as "roles": ["Tenant.Read.All"],), and I've ensured that admin consent is in place.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;Recent Changes:&lt;/STRONG&gt; There haven't been any changes on the code side; I'm wondering if a recent configuration update or policy change on the Power BI service or within my tenant might be affecting this API call.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;Has anyone else encountered this issue recently, or does anyone have insights into possible configuration changes that could cause a 401 error on executeQueries? Any troubleshooting tips or guidance would be greatly appreciated.&lt;/P&gt;&lt;P class=""&gt;Thank you in advance for your help!&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2025 07:27:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/401-Error-on-executeQueries-API-Call-Suspected-Configuration/m-p/4623657#M59998</guid>
      <dc:creator>jay-sr</dc:creator>
      <dc:date>2025-03-25T07:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: 401 Error on executeQueries API Call – Suspected Configuration Change</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/401-Error-on-executeQueries-API-Call-Suspected-Configuration/m-p/4624544#M60016</link>
      <description>&lt;P&gt;Has the SPN permissions on the workspace or dataset changed?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try calling get datasets in group or something to test if it is just API.&lt;/P&gt;&lt;P&gt;Are you calling DMV or info functions?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2025 17:02:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/401-Error-on-executeQueries-API-Call-Suspected-Configuration/m-p/4624544#M60016</guid>
      <dc:creator>Deku</dc:creator>
      <dc:date>2025-03-25T17:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: 401 Error on executeQueries API Call – Suspected Configuration Change</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/401-Error-on-executeQueries-API-Call-Suspected-Configuration/m-p/4632395#M60126</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/879434"&gt;@jay-sr&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Thank you&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1231947"&gt;@Deku&lt;/a&gt;&amp;nbsp;for the prompt response!&lt;BR /&gt;&lt;BR /&gt;May I ask if you have gotten this issue resolved?&lt;BR /&gt;If it is solved, please mark the helpful reply or share your solution and accept it as solution, it will be helpful for other members of the community who have similar problems as yours to solve it faster.&lt;BR /&gt;Thank you.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Apr 2025 04:08:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/401-Error-on-executeQueries-API-Call-Suspected-Configuration/m-p/4632395#M60126</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-04-01T04:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: 401 Error on executeQueries API Call – Suspected Configuration Change</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/401-Error-on-executeQueries-API-Call-Suspected-Configuration/m-p/4636756#M60194</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/879434"&gt;@jay-sr&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;we haven't heard back from you regarding our last response and wanted to check if your issue has been resolved.&lt;BR /&gt;If our response addressed your query, please mark it as Accept Answer and click Yes if you found it helpful.&lt;BR /&gt;If you have any further questions, feel free to reach out.&lt;BR /&gt;Thank you for being a part of the Microsoft Fabric Community Forum!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2025 12:32:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/401-Error-on-executeQueries-API-Call-Suspected-Configuration/m-p/4636756#M60194</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-04-03T12:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: 401 Error on executeQueries API Call – Suspected Configuration Change</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/401-Error-on-executeQueries-API-Call-Suspected-Configuration/m-p/4641083#M60248</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/879434"&gt;@jay-sr&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;I wanted to check in on your situation regarding the issue. Have you resolved it? If you have, please consider marking the reply that helped you or sharing your solution. It would be greatly appreciated by others in the community who may have the same question&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2025 12:20:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/401-Error-on-executeQueries-API-Call-Suspected-Configuration/m-p/4641083#M60248</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-04-07T12:20:43Z</dc:date>
    </item>
  </channel>
</rss>

