<?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: Powerbi Reports using SPN in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Powerbi-Reports-using-SPN/m-p/3310951#M30335</link>
    <description>&lt;P&gt;Sorry, that was the API for a single group, but this one gets multiple groups&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/admin/groups-get-groups-as-admin" target="_blank"&gt;https://learn.microsoft.com/en-us/rest/api/power-bi/admin/groups-get-groups-as-admin&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 01 Jul 2023 01:48:46 GMT</pubDate>
    <dc:creator>d_gosbell</dc:creator>
    <dc:date>2023-07-01T01:48:46Z</dc:date>
    <item>
      <title>Powerbi Reports using SPN</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Powerbi-Reports-using-SPN/m-p/3306766#M30308</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to report on all workspace's,&amp;nbsp;DataSets&amp;nbsp;associated to a datasource in our tenant.&lt;/P&gt;&lt;P&gt;We setup an spn with Tenant.Read.All delegated api permissions.&lt;/P&gt;&lt;P&gt;The Allow service principals to use Power BI APIs is enabled for the security group that the app is a member of.Created a client secret as well as certificate.We are able to connect using&amp;nbsp;Connect-PowerBIServiceAccount to&amp;nbsp;&lt;/P&gt;&lt;P&gt;'however no data is returned.&lt;/P&gt;&lt;P&gt;When connecting using my account, i'm able to output the workspace that my account is a member of.&lt;/P&gt;&lt;P&gt;So i'm not sure if im missing other permissions to the workspaces.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 18:39:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Powerbi-Reports-using-SPN/m-p/3306766#M30308</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-06-28T18:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: Powerbi Reports using SPN</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Powerbi-Reports-using-SPN/m-p/3309377#M30324</link>
      <description>&lt;P&gt;What API are you trying to call? Some APIs like this&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/admin/workspace-info-get-scan-result#:~:text=Must%20not%20be%20present%20when%20authentication%20via%20a%20service%20principal%20is%20used" target="_blank"&gt;https://learn.microsoft.com/en-us/rest/api/power-bi/admin/workspace-info-get-scan-result#:~:text=Must%20not%20be%20present%20when%20authentication%20via%20a%20service%20principal%20is%20used&lt;/A&gt;.&amp;nbsp; one explicity state that Tenant.Read.All must not be set when using an SPN. So you should check the docs for the API you are trying to call.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2023 04:51:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Powerbi-Reports-using-SPN/m-p/3309377#M30324</guid>
      <dc:creator>d_gosbell</dc:creator>
      <dc:date>2023-06-30T04:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Powerbi Reports using SPN</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Powerbi-Reports-using-SPN/m-p/3310260#M30330</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="109790" data-lia-user-login="d_gosbell" class="lia-mention lia-mention-user"&gt;d_gosbell&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;A href="https://api.powerbi.com/v1.0/myorg/groups" target="_blank"&gt;https://api.powerbi.com/v1.0/myorg/groups&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;We are trying to report on all workspace, dataset's and&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;datasource.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I looked writing this in powershell with admin access, it does seem that I need workspace access?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/powershell/module/microsoftpowerbimgmt.workspaces/add-powerbiworkspaceuser?view=powerbi-ps" target="_blank"&gt;Add-PowerBIWorkspaceUser (MicrosoftPowerBIMgmt.Workspaces) | Microsoft Learn&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Any thoughts on the best approch.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Very new to powerbi&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;Many thanks&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 30 Jun 2023 13:22:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Powerbi-Reports-using-SPN/m-p/3310260#M30330</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-06-30T13:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: Powerbi Reports using SPN</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Powerbi-Reports-using-SPN/m-p/3310363#M30332</link>
      <description>&lt;P&gt;So that API says here that it requires the Workspace.Read.All permission, but then this API only returns workspaces that the SPN has access to.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want all workspaces you should probably look at using this API&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/admin/groups-get-group-as-admin" target="_blank"&gt;https://learn.microsoft.com/en-us/rest/api/power-bi/admin/groups-get-group-as-admin&lt;/A&gt;&amp;nbsp;instead.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2023 14:19:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Powerbi-Reports-using-SPN/m-p/3310363#M30332</guid>
      <dc:creator>d_gosbell</dc:creator>
      <dc:date>2023-06-30T14:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: Powerbi Reports using SPN</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Powerbi-Reports-using-SPN/m-p/3310560#M30334</link>
      <description>&lt;P&gt;Thanks, it's limited however. You need to enter a groupID (workspace id). It doesn't allow to expand the search.&lt;/P&gt;&lt;P&gt;for example, you can't add $top=500 parameter to call the workspaces for example.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2023 16:22:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Powerbi-Reports-using-SPN/m-p/3310560#M30334</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-06-30T16:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: Powerbi Reports using SPN</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Powerbi-Reports-using-SPN/m-p/3310951#M30335</link>
      <description>&lt;P&gt;Sorry, that was the API for a single group, but this one gets multiple groups&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/admin/groups-get-groups-as-admin" target="_blank"&gt;https://learn.microsoft.com/en-us/rest/api/power-bi/admin/groups-get-groups-as-admin&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 01 Jul 2023 01:48:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Powerbi-Reports-using-SPN/m-p/3310951#M30335</guid>
      <dc:creator>d_gosbell</dc:creator>
      <dc:date>2023-07-01T01:48:46Z</dc:date>
    </item>
  </channel>
</rss>

