<?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: Error while calling POWER BI REST API without USER-ID and PASSWORD in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Error-while-calling-POWER-BI-REST-API-without-USER-ID-and/m-p/3586141#M45790</link>
    <description>&lt;P&gt;Were you able to resolve this?&lt;BR /&gt;I am running into the same error.&lt;/P&gt;</description>
    <pubDate>Fri, 15 Dec 2023 16:32:57 GMT</pubDate>
    <dc:creator>ameya1</dc:creator>
    <dc:date>2023-12-15T16:32:57Z</dc:date>
    <item>
      <title>Error while calling POWER BI REST API without USER-ID and PASSWORD</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Error-while-calling-POWER-BI-REST-API-without-USER-ID-and/m-p/1417055#M26012</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hai Guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I created an app in the Azure Active Directory (AD) and gave required Power Bi API permissions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am calling API from Python using HTTP Requests.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But when authenticating the token for API'S with user-id and password it works fine, I get the token and I get 200 as status code for my API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But when I am not using user-id and password, I get the token but when I am using token to call API, it is throwing an error 403:- &amp;nbsp;&lt;STRONG&gt;"API IS NOT ACCESSIBLE FOR APPLICATION"&amp;nbsp;&lt;/STRONG&gt;and &lt;STRONG&gt;"PowerBINotAuthorizedException"&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried many ways by added security groups in developer options in powerbi web. But No use.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help me if you have any ideas about how to solve these kinds of errors.&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;We should not use user-id and password while we call APIS&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 06:00:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Error-while-calling-POWER-BI-REST-API-without-USER-ID-and/m-p/1417055#M26012</guid>
      <dc:creator>rohith351</dc:creator>
      <dc:date>2020-10-07T06:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error while calling POWER BI REST API without USER-ID and PASSWORD</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Error-while-calling-POWER-BI-REST-API-without-USER-ID-and/m-p/1417471#M26016</link>
      <description>&lt;P&gt;try follow this article&amp;nbsp;&lt;A href="https://pivotalbi.com/automate-your-power-bi-dataset-refresh-with-python/" target="_blank"&gt;https://pivotalbi.com/automate-your-power-bi-dataset-refresh-with-python/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"The Power BI REST API only supports delegated permissions. That means that you need to run any calls to the REST API in the context of a user"&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 08:28:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Error-while-calling-POWER-BI-REST-API-without-USER-ID-and/m-p/1417471#M26016</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-07T08:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: Error while calling POWER BI REST API without USER-ID and PASSWORD</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Error-while-calling-POWER-BI-REST-API-without-USER-ID-and/m-p/1417879#M26019</link>
      <description>&lt;P&gt;Thanks AlexanderTikh for the reply,&lt;/P&gt;&lt;P&gt;I find this blog already but the thing is that by using the token returning from using service principel&amp;nbsp; is working but there are some limitations while we calling API onto PowerBi.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 10:44:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Error-while-calling-POWER-BI-REST-API-without-USER-ID-and/m-p/1417879#M26019</guid>
      <dc:creator>rohith351</dc:creator>
      <dc:date>2020-10-07T10:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error while calling POWER BI REST API without USER-ID and PASSWORD</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Error-while-calling-POWER-BI-REST-API-without-USER-ID-and/m-p/1417923#M26020</link>
      <description>&lt;P&gt;I had the same error&lt;/P&gt;&lt;P&gt;{'error': {'code': 'PowerBINotAuthorizedException', 'pbi.error': {'code': 'PowerBINotAuthorizedException', 'parameters': {}, 'details': [], 'exceptionCulprit': 1}}}&lt;/P&gt;&lt;P&gt;it was problem with adding correct permission to service principal, should be like described in docs, in my case I had to add Delegated&amp;nbsp; type of permissons.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 10:58:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Error-while-calling-POWER-BI-REST-API-without-USER-ID-and/m-p/1417923#M26020</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-07T10:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error while calling POWER BI REST API without USER-ID and PASSWORD</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Error-while-calling-POWER-BI-REST-API-without-USER-ID-and/m-p/1940975#M30365</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/263065"&gt;@rohith351&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi Rohit&lt;/P&gt;&lt;P&gt;did you ever get this PowerBI rest API calls resolved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to access audit logs using MSAL library in Python with "Application Permissions". I am getting the access token but when trying to get request running into below error. The AD App was given admin previlieges on PowerBI service too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{'error': {'code': 'PowerBINotAuthorizedException', 'pbi.error': {'code': 'PowerBINotAuthorizedException', 'parameters': {}, 'details': [], 'exceptionCulprit': 1}}}&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 19:58:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Error-while-calling-POWER-BI-REST-API-without-USER-ID-and/m-p/1940975#M30365</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-07-06T19:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: Error while calling POWER BI REST API without USER-ID and PASSWORD</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Error-while-calling-POWER-BI-REST-API-without-USER-ID-and/m-p/3586141#M45790</link>
      <description>&lt;P&gt;Were you able to resolve this?&lt;BR /&gt;I am running into the same error.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2023 16:32:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Error-while-calling-POWER-BI-REST-API-without-USER-ID-and/m-p/3586141#M45790</guid>
      <dc:creator>ameya1</dc:creator>
      <dc:date>2023-12-15T16:32:57Z</dc:date>
    </item>
  </channel>
</rss>

