<?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 REST API - retrieving activity events returns 403 / &amp;quot;API is not accessible for app in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-retrieving-activity-events-returns-403-quot/m-p/2176737#M32777</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm facing the same issue with the API&amp;nbsp;&lt;A href="https://api.powerbi.com/v1.0/myorg/admin/activityevents" target="_blank" rel="noopener"&gt;https://api.powerbi.com/v1.0/myorg/admin/activityevents&lt;/A&gt;&lt;/P&gt;&lt;P&gt;1- I have created an app registration with the API permissions :&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;DIV class="azc-grid-hierarchical-cell-flexcontainer"&gt;&lt;DIV class="azc-grid-hierarchical-icon"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="azc-grid-cellContent"&gt;&lt;DIV class="azc-vivaControl"&gt;&lt;DIV class="ext-ad-registeredApps-apiperm-perm-row-title"&gt;&lt;SPAN&gt;Tenant.Read.All&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;DIV class="azc-grid-hierarchical-cell-flexcontainer"&gt;&lt;DIV class="azc-grid-hierarchical-icon"&gt;&lt;SPAN&gt;Tenant.ReadWrite.All&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3-created&amp;nbsp;&lt;SPAN&gt;Security Group in Azure Active Directory with the role&amp;nbsp; "Power BI administrator&amp;nbsp;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;4- Added the app to the Security group&amp;nbsp;&lt;/P&gt;&lt;P&gt;5-&lt;SPAN&gt;Add the security group to the Admin API tenant setting in the Power BI admin portal&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and I'm still having the error message "{"Message":"API is not accessible for application"}"&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any help please ?&amp;nbsp;&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;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 07 Nov 2021 22:33:44 GMT</pubDate>
    <dc:creator>PowerMS</dc:creator>
    <dc:date>2021-11-07T22:33:44Z</dc:date>
    <item>
      <title>Power BI REST API - retrieving activity events returns 403 / "API is not accessible for application"</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-retrieving-activity-events-returns-403-quot/m-p/1586365#M27105</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to get activity logs using a Power BI secrvice principal. Once a valid access token is retrieved, it is possible to use the Power BI REST API for example to get the groups (GET &lt;A href="https://api.powerbi.com/v1.0/myorg/groups)&amp;nbsp;-" target="_blank" rel="noopener"&gt;https://api.powerbi.com/v1.0/myorg/groups)&amp;nbsp;-&lt;/A&gt; it works fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hoerver, when I attempt to get activity events (GET&amp;nbsp;&lt;A href="https://api.powerbi.com/v1.0/myorg/admin/activityevents" target="_blank" rel="noopener"&gt;https://api.powerbi.com/v1.0/myorg/admin/activityevents&lt;/A&gt;) a 403 Forbidden error with the following message is returned:&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;"Message": "API is not accessible for application"&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The service principal has all requires scopes and also the admin role. The doc says that it is possible to "authenticate via service principal"&amp;nbsp; (ref. to&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/admin/getactivityevents" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/rest/api/power-bi/admin/getactivityevents&lt;/A&gt;), so my understaing is that this API can be used with a service principal.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Michal&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 13:58:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-retrieving-activity-events-returns-403-quot/m-p/1586365#M27105</guid>
      <dc:creator>micpol</dc:creator>
      <dc:date>2021-01-07T13:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI REST API - retrieving activity events returns 403 / "API is not accessible for app</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-retrieving-activity-events-returns-403-quot/m-p/1589261#M27159</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/238193"&gt;@micpol&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You must meet these requirements to access the Power BI activity log:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;You must either be a global admin or a Power BI service admin.&lt;/LI&gt;&lt;LI&gt;You have installed the&lt;SPAN&gt; &amp;nbsp;Power BI Management cmdlets&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;locally or use the Power BI Management cmdlets in Azure Cloud Shell.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Liang&lt;BR /&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 05:52:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-retrieving-activity-events-returns-403-quot/m-p/1589261#M27159</guid>
      <dc:creator>V-lianl-msft</dc:creator>
      <dc:date>2021-01-11T05:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI REST API - retrieving activity events returns 403 / "API is not accessible for app</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-retrieving-activity-events-returns-403-quot/m-p/1589391#M27165</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/182446"&gt;@V-lianl-msft&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My case is related to embedding content for customers (&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/embedded/embed-sample-for-customers?tabs=net-framework" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/power-bi/developer/embedded/embed-sample-for-customers?tabs=net-framework&lt;/A&gt; , &lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/embedded/embed-service-principal" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/power-bi/developer/embedded/embed-service-principal&lt;/A&gt; ), so I am using a Power BI servcice principal (App account), not an AAD user account.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The service principal has been added to Power BI service admin list as well as required scopes have been set correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Furthermore, I am talking to the Power BI service by means of the REST API (&lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/admin/getactivityevents" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/rest/api/power-bi/admin/getactivityevents&lt;/A&gt;) from within my application (backend), I am not using any Power BI Management cmdlets.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;According to &lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/admin/getactivityevents" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/rest/api/power-bi/admin/getactivityevents&lt;/A&gt; it is possible to get authenticated via service principal. Note that other Power BI REST APIs are working fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this particular case the message I am facing is "API is not accessible for application" and the HTTP error code is 403 Forbidden. It seems to me that the &lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/admin/getactivityevents" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/rest/api/power-bi/admin/getactivityevents&lt;/A&gt; does not work with a service principal.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Summarizing, is that feasible to get acticity events using a service principal created for the "embed content for your customers" case at all? I would like to have acccess to that activity log from within an application (backend).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best reagrds,&lt;BR /&gt;Michal&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 08:05:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-retrieving-activity-events-returns-403-quot/m-p/1589391#M27165</guid>
      <dc:creator>micpol</dc:creator>
      <dc:date>2021-01-11T08:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI REST API - retrieving activity events returns 403 / "API is not accessible for app</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-retrieving-activity-events-returns-403-quot/m-p/1733349#M28497</link>
      <description>&lt;P&gt;We are also unable to get this to work. It is really fustrating when the docs state that it should work for a service principal, but in reality it doesnt seem to be the case.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 16:22:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-retrieving-activity-events-returns-403-quot/m-p/1733349#M28497</guid>
      <dc:creator>sjkpdk</dc:creator>
      <dc:date>2021-03-19T16:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI REST API - retrieving activity events returns 403 / "API is not accessible for app</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-retrieving-activity-events-returns-403-quot/m-p/1789455#M29041</link>
      <description>&lt;P&gt;I am seeing the same issue as&amp;nbsp;@micpo&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/291739"&gt;@sjkpdk&lt;/a&gt;&amp;nbsp;when trying to use the activityevents API from Azure Data Factory.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/182446"&gt;@V-lianl-msft&lt;/a&gt;&amp;nbsp;:&lt;/P&gt;&lt;P&gt;Has anyone been able to get this method to work?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If not can what alternatives are there to extract power bi audit log activity?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What does the documentation mean by&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;"&lt;SPAN&gt;&amp;nbsp;The user must have administrator rights . . . to call this API or authenticate via service principal.&lt;/SPAN&gt;"&lt;/LI&gt;&lt;LI&gt;"Required scope&lt;SPAN&gt;: Tenant.Read.All or Tenant.ReadWrite.All.&lt;/SPAN&gt;"&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Fri, 16 Apr 2021 13:53:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-retrieving-activity-events-returns-403-quot/m-p/1789455#M29041</guid>
      <dc:creator>SteveAtCity</dc:creator>
      <dc:date>2021-04-16T13:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI REST API - retrieving activity events returns 403 / "API is not accessible for app</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-retrieving-activity-events-returns-403-quot/m-p/2176737#M32777</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm facing the same issue with the API&amp;nbsp;&lt;A href="https://api.powerbi.com/v1.0/myorg/admin/activityevents" target="_blank" rel="noopener"&gt;https://api.powerbi.com/v1.0/myorg/admin/activityevents&lt;/A&gt;&lt;/P&gt;&lt;P&gt;1- I have created an app registration with the API permissions :&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;DIV class="azc-grid-hierarchical-cell-flexcontainer"&gt;&lt;DIV class="azc-grid-hierarchical-icon"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="azc-grid-cellContent"&gt;&lt;DIV class="azc-vivaControl"&gt;&lt;DIV class="ext-ad-registeredApps-apiperm-perm-row-title"&gt;&lt;SPAN&gt;Tenant.Read.All&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;DIV class="azc-grid-hierarchical-cell-flexcontainer"&gt;&lt;DIV class="azc-grid-hierarchical-icon"&gt;&lt;SPAN&gt;Tenant.ReadWrite.All&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3-created&amp;nbsp;&lt;SPAN&gt;Security Group in Azure Active Directory with the role&amp;nbsp; "Power BI administrator&amp;nbsp;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;4- Added the app to the Security group&amp;nbsp;&lt;/P&gt;&lt;P&gt;5-&lt;SPAN&gt;Add the security group to the Admin API tenant setting in the Power BI admin portal&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and I'm still having the error message "{"Message":"API is not accessible for application"}"&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any help please ?&amp;nbsp;&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;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Nov 2021 22:33:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-retrieving-activity-events-returns-403-quot/m-p/2176737#M32777</guid>
      <dc:creator>PowerMS</dc:creator>
      <dc:date>2021-11-07T22:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI REST API - retrieving activity events returns 403 / "API is not accessible for app</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-retrieving-activity-events-returns-403-quot/m-p/2300460#M34050</link>
      <description>&lt;P&gt;The URL in the Microsoft API documentation is wrong for service principals.&lt;/P&gt;&lt;P&gt;You need to also include the workspace ID in the URL, see below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://api.powerbi.com/v1.0/myorg/groups/%7BWorkspaceID%7D/reports/%7BreportId%7D/exports" target="_blank" rel="nofollow noopener noreferrer"&gt;https://api.powerbi.com/v1.0/myorg/groups/{WorkspaceID}/&lt;/A&gt;&lt;A href="https://api.powerbi.com/v1.0/myorg/admin/activityevents" target="_blank" rel="noopener nofollow noreferrer"&gt;admin/activityevents&lt;/A&gt;&lt;A href="https://api.powerbi.com/v1.0/myorg/groups/%7BWorkspaceID%7D/reports/%7BreportId%7D/exports" target="_blank" rel="nofollow noopener noreferrer"&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 08:30:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-retrieving-activity-events-returns-403-quot/m-p/2300460#M34050</guid>
      <dc:creator>shubh43</dc:creator>
      <dc:date>2022-01-25T08:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI REST API - retrieving activity events returns 403 / "API is not accessible for app</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-retrieving-activity-events-returns-403-quot/m-p/2311786#M34152</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;SPAN&gt;Shubh43,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I gave a try to that URL with a valid workspace ID, unfortunatlly it returned a&amp;nbsp;404 error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where did you get this URL from? Is it anywhere documented?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best reagards,&lt;/P&gt;&lt;P&gt;Michal&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jan 2022 21:52:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-retrieving-activity-events-returns-403-quot/m-p/2311786#M34152</guid>
      <dc:creator>micpol</dc:creator>
      <dc:date>2022-01-31T21:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI REST API - retrieving activity events returns 403 / "API is not accessible for app</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-retrieving-activity-events-returns-403-quot/m-p/3955397#M52914</link>
      <description>&lt;P&gt;Did you get that resolved? It is 2024 and it is still not easy to set it up.&lt;/P&gt;&lt;P&gt;Microsoft should really clarify their documentation.&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2024 14:25:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-retrieving-activity-events-returns-403-quot/m-p/3955397#M52914</guid>
      <dc:creator>Azure_newbie</dc:creator>
      <dc:date>2024-05-28T14:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI REST API - retrieving activity events returns 403 / "API is not accessible for app</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-retrieving-activity-events-returns-403-quot/m-p/4390170#M59294</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/598792"&gt;@Azure_newbie&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know it might seem super counterintuitive, but here's what you need to do: remove all API privileges for the service principal. Azure somehow associates the role within the token, and that’s the issue.&lt;/P&gt;&lt;P&gt;To troubleshoot, double-check your token using &lt;A href="https://www.jstoolset.com/jwt" target="_new" rel="noopener"&gt;&lt;SPAN&gt;this&lt;/SPAN&gt;&lt;SPAN&gt; tool&lt;/SPAN&gt;&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Here’s the step-by-step process to resolve the issue:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Remove all privileges for the service principal.&lt;/LI&gt;&lt;LI&gt;Add the service principal to a new security group.&lt;/LI&gt;&lt;LI&gt;Go to the Power Admin portal -&amp;gt; Tenant Settings -&amp;gt; Admin API Settings, and add the newly created security group there.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;This should resolve the issue.&lt;/P&gt;&lt;P&gt;Cheers !&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2025 15:04:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-retrieving-activity-events-returns-403-quot/m-p/4390170#M59294</guid>
      <dc:creator>Jithendra-Vetup</dc:creator>
      <dc:date>2025-01-31T15:04:55Z</dc:date>
    </item>
  </channel>
</rss>

