<?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: PBIRS rest api, data to Power BI report, authentication in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/PBIRS-rest-api-data-to-Power-BI-report-authentication/m-p/3258827#M29935</link>
    <description>&lt;P&gt;Good point. Thanks&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="236785" data-lia-user-login="josef78" class="lia-mention lia-mention-user"&gt;josef78&lt;/a&gt;&amp;nbsp;!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tested, but did not change anything. I'll have our Management Services reboot the server tonight if that's the problem. Currently Tuesday morning, so will take a while before I can test again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Will post updates here when news are available.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 30 May 2023 05:11:46 GMT</pubDate>
    <dc:creator>SorenHElisa</dc:creator>
    <dc:date>2023-05-30T05:11:46Z</dc:date>
    <item>
      <title>PBIRS rest api, data to Power BI report, authentication</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/PBIRS-rest-api-data-to-Power-BI-report-authentication/m-p/3258009#M29926</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tried finding something about this issue, but couldn't. Whether someone knows if this has already been answered, please point me in the rights direction.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Environment: Power BI Report Server&amp;nbsp;&lt;SPAN&gt;Version&lt;/SPAN&gt;&lt;SPAN&gt;1.16.8420.13742&lt;/SPAN&gt;&lt;SPAN&gt;(January 2023)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I'm trying to achieve:&lt;/P&gt;&lt;P&gt;make a Power BI report listing all the data sources to all Power BI reports in the server, data fetched through &lt;A href="https://community.fabric.microsoft.com/t5/" target="_blank"&gt;https://&amp;lt;server&amp;gt;/reports/api/v2.0&lt;/A&gt;&amp;nbsp;using OData connector&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Purpose:&lt;/P&gt;&lt;P&gt;check if any reports are using an old data source connection,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What's working: Getting the complete list of reports from the API through PowerBIReports, after filtering out "My Reports" folders.&lt;/P&gt;&lt;P&gt;What's not working: expanding Data Sources for the reports&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error message in Power BI Desktop:&amp;nbsp;&lt;/P&gt;&lt;P&gt;DataSource.Error: OData: Request failed: The remote server returned an error: (500) Internal Server Error. (An error has occurred.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error message in Power BI Report Server:&lt;/P&gt;&lt;P&gt;ERROR|223|library|Throwing Microsoft.ReportingServices.Diagnostics.Utilities.AccessDeniedException: , Microsoft.ReportingServices.Diagnostics.Utilities.AccessDeniedException: The permissions granted to user '&amp;lt;my user account&amp;gt; are insufficient for performing this operation.;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Checked:&lt;/P&gt;&lt;P&gt;I have put myself as System administrator in the Power BI Report Server security&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm also a sysadmin in the SQL server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where can I give myself more rights so I can get this working? Are there some stored procedures that are not granted to my account that's needed for these kind of operations?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Sören&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2023 13:17:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/PBIRS-rest-api-data-to-Power-BI-report-authentication/m-p/3258009#M29926</guid>
      <dc:creator>SorenHElisa</dc:creator>
      <dc:date>2023-05-29T13:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: PBIRS rest api, data to Power BI report, authentication</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/PBIRS-rest-api-data-to-Power-BI-report-authentication/m-p/3258146#M29927</link>
      <description>&lt;P&gt;Check also if you are local admin on server where is runnig Power BI Report Server&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2023 15:47:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/PBIRS-rest-api-data-to-Power-BI-report-authentication/m-p/3258146#M29927</guid>
      <dc:creator>josef78</dc:creator>
      <dc:date>2023-05-29T15:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: PBIRS rest api, data to Power BI report, authentication</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/PBIRS-rest-api-data-to-Power-BI-report-authentication/m-p/3258827#M29935</link>
      <description>&lt;P&gt;Good point. Thanks&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="236785" data-lia-user-login="josef78" class="lia-mention lia-mention-user"&gt;josef78&lt;/a&gt;&amp;nbsp;!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tested, but did not change anything. I'll have our Management Services reboot the server tonight if that's the problem. Currently Tuesday morning, so will take a while before I can test again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Will post updates here when news are available.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2023 05:11:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/PBIRS-rest-api-data-to-Power-BI-report-authentication/m-p/3258827#M29935</guid>
      <dc:creator>SorenHElisa</dc:creator>
      <dc:date>2023-05-30T05:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: PBIRS rest api, data to Power BI report, authentication</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/PBIRS-rest-api-data-to-Power-BI-report-authentication/m-p/3258971#M29936</link>
      <description>&lt;P&gt;Did not need to wait for the server to reboot. Found the problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After some deeper digging I found reports that were "shut out" of admin persons, i.e. the BUILTIN\Administrators had been removed from the security page for the reports. After adding BUILTIN\Administrators with Content Manager rights where it was missing, the datasource report is now refreshing fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's a query that helped me out:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;with a as (
select PolicyID
from [ReportServer].[dbo].[PolicyUserRole] (nolock)
where UserID = '&amp;lt;GUID&amp;gt;' --get the ID from table 'Users'
)
select * 
from Catalog c (nolock)
where not exists (
	select 1 
	from a 
	where a.PolicyID = c.PolicyID
)
and path not like '%Users Folders%'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a nice day!&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2023 06:43:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/PBIRS-rest-api-data-to-Power-BI-report-authentication/m-p/3258971#M29936</guid>
      <dc:creator>SorenHElisa</dc:creator>
      <dc:date>2023-05-30T06:43:28Z</dc:date>
    </item>
  </channel>
</rss>

