<?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 Onelake file access API in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Onelake-file-access-API/m-p/3777035#M50734</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wondering if anyonce can help me. I'm very new to using Fabric and APIs in general. I have a file stored in one lake that I would like to access using an API. I've been following Microsofts guide here&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/fabric/onelake/onelake-access-api#onelake-and-adls-gen2-parity" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/fabric/onelake/onelake-access-api#onelake-and-adls-gen2-parity&lt;/A&gt;&amp;nbsp;but no luck. I'm able to successfully use the same access token endpoint/client id/client_secret to access a file stored in traditional data lake gen 2 blob storage but as soon as I try and use onelake it gives me this error &lt;SPAN&gt;"User is not authorized to perform current operation for workspace ABC and artifact XYZ".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I've got my admin to enable the setting in the workspace that says users can access onelake outside of the workspace. What else am I missing?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 20 Mar 2024 04:50:41 GMT</pubDate>
    <dc:creator>somewhereels</dc:creator>
    <dc:date>2024-03-20T04:50:41Z</dc:date>
    <item>
      <title>Onelake file access API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Onelake-file-access-API/m-p/3777035#M50734</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wondering if anyonce can help me. I'm very new to using Fabric and APIs in general. I have a file stored in one lake that I would like to access using an API. I've been following Microsofts guide here&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/fabric/onelake/onelake-access-api#onelake-and-adls-gen2-parity" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/fabric/onelake/onelake-access-api#onelake-and-adls-gen2-parity&lt;/A&gt;&amp;nbsp;but no luck. I'm able to successfully use the same access token endpoint/client id/client_secret to access a file stored in traditional data lake gen 2 blob storage but as soon as I try and use onelake it gives me this error &lt;SPAN&gt;"User is not authorized to perform current operation for workspace ABC and artifact XYZ".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I've got my admin to enable the setting in the workspace that says users can access onelake outside of the workspace. What else am I missing?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 04:50:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Onelake-file-access-API/m-p/3777035#M50734</guid>
      <dc:creator>somewhereels</dc:creator>
      <dc:date>2024-03-20T04:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: Onelake file access API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Onelake-file-access-API/m-p/3781780#M50782</link>
      <description>&lt;P&gt;Hi&amp;nbsp; &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/708665"&gt;@somewhereels&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Make sure that the account you are using has the necessary permissions for the specific workspace and project you are accessing, you can check the permissions for the workspace and semantic models by following the link below.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/collaborate-share/service-roles-new-workspaces" target="_blank"&gt;Roles in workspaces in Power BI - Power BI | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/connect-data/service-datasets-permissions" target="_blank"&gt;Semantic model permissions - Power BI | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Liu Yang&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;EM&gt;Accept it as the solution&lt;/EM&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 07:23:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Onelake-file-access-API/m-p/3781780#M50782</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-03-21T07:23:10Z</dc:date>
    </item>
  </channel>
</rss>

