<?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 REST API and Object Level Security in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/REST-API-and-Object-Level-Security/m-p/4758606#M62183</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a problem concerning the Power BI REST API and OLS security.&lt;/P&gt;&lt;P&gt;I'm using the REST API with a Service Principal, in particular the “GetScanResult” call I get metadata that I exploit to make documentation.&lt;/P&gt;&lt;P&gt;In particular, I obtain dataset metadata with the list of tables and their description, the list of columns and their description, and the list of measures and their description.&lt;/P&gt;&lt;P&gt;This works perfectly except for one dataset, where an OLS security is applied. This completely blocks the extraction of the metadata mentioned.&lt;/P&gt;&lt;P&gt;I've tried several solutions, such as integrating the Service Principal into a Workspace Administrator role, or integrating the Service Principal into a "full access" OLS security role, but the metadata still won't come up.&lt;/P&gt;&lt;P&gt;Have you encountered this before? Does anyone have a solution?&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;</description>
    <pubDate>Thu, 10 Jul 2025 07:55:10 GMT</pubDate>
    <dc:creator>mathsab</dc:creator>
    <dc:date>2025-07-10T07:55:10Z</dc:date>
    <item>
      <title>REST API and Object Level Security</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/REST-API-and-Object-Level-Security/m-p/4758606#M62183</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a problem concerning the Power BI REST API and OLS security.&lt;/P&gt;&lt;P&gt;I'm using the REST API with a Service Principal, in particular the “GetScanResult” call I get metadata that I exploit to make documentation.&lt;/P&gt;&lt;P&gt;In particular, I obtain dataset metadata with the list of tables and their description, the list of columns and their description, and the list of measures and their description.&lt;/P&gt;&lt;P&gt;This works perfectly except for one dataset, where an OLS security is applied. This completely blocks the extraction of the metadata mentioned.&lt;/P&gt;&lt;P&gt;I've tried several solutions, such as integrating the Service Principal into a Workspace Administrator role, or integrating the Service Principal into a "full access" OLS security role, but the metadata still won't come up.&lt;/P&gt;&lt;P&gt;Have you encountered this before? Does anyone have a solution?&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2025 07:55:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/REST-API-and-Object-Level-Security/m-p/4758606#M62183</guid>
      <dc:creator>mathsab</dc:creator>
      <dc:date>2025-07-10T07:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: REST API and Object Level Security</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/REST-API-and-Object-Level-Security/m-p/4758794#M62188</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1306129"&gt;@mathsab&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for reaching out to Microsoft Fabric Community.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Power BI enforces OLS at the engine level, when metadata is requested through APIs, OLS hides metadata from all users including Service Principals. So even there is admin or scan level access OLS still applies. Currently there is no way to skip OLS via the API, even with full workspace or dataset level permissions. At this time this is a known limitation with the security and data protection model, so please follow below steps:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Temporarily disable OLS during the metadata scan, if the security policy allows.&lt;/LI&gt;
&lt;LI&gt;Create a duplicate of the dataset without OLS for documentation purposes.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post&amp;nbsp;helps, then please consider&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;STRONG&gt;Accepting as solution&amp;nbsp;&lt;/STRONG&gt;to help the other members find it more quickly,&amp;nbsp;don't forget to give a&amp;nbsp;&lt;STRONG&gt;"Kudos"&lt;/STRONG&gt;&amp;nbsp;– I’d truly appreciate it!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards,&lt;/P&gt;
&lt;P&gt;Anjan Kumar Chippa&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2025 10:35:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/REST-API-and-Object-Level-Security/m-p/4758794#M62188</guid>
      <dc:creator>v-achippa</dc:creator>
      <dc:date>2025-07-10T10:35:44Z</dc:date>
    </item>
  </channel>
</rss>

