<?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: SQL Endpoint - Error 5 Access Denied in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/SQL-Endpoint-Error-5-Access-Denied/m-p/4261755#M58055</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Please take over SQL endpoint using Powershell scripts:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt; # Install the Power BI PowerShell module if not already installed 
   Install-Module -Name MicrosoftPowerBIMgmt 

 # Import the Power BI PowerShell module 
   Import-ModuleMicrosoftPowerBIMgmt 

 # Connect to the Power BI service using the new owner credentials and take over the SQL Endpoint

   $workspaceid = "xxx"
   $sqlendpoint = "xxx"

   Connect-PowerBIServiceAccount

   $url = 'groups/' + $workspaceid + '/lhdatamarts/' + $sqlendpoint + '/takeover' 
   write-host $url 
   Invoke-PowerBIRestMethod -Url $url -Method Post -Body ""-Verbose &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;And check if it hit any following &lt;A href="https://learn.microsoft.com/en-us/fabric/data-warehouse/limitations#limitations-of-the-sql-analytics-endpoint" target="_self"&gt;limitations&lt;/A&gt;:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
    <pubDate>Tue, 29 Oct 2024 07:33:30 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-10-29T07:33:30Z</dc:date>
    <item>
      <title>SQL Endpoint - Error 5 Access Denied</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/SQL-Endpoint-Error-5-Access-Denied/m-p/4258021#M58020</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having issues with my SQL endpoints. When running my dataflow Gen2s, I'm getting the following error:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I also cannot access the SQL endpoint in the lakehouse explorer:&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;This is on all of my Lakehouses in my Fabric workspace. Any idea of how I can fix this? Nothing has changed that I can think of to trigger this issue. I have checked also, and the oweners/creators of the lakehouses have not changed/been deactivated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope someone can help as I am very reliant on Dataflows for the engineering pipeline &amp;amp; cannot proceed until the issue is fixed!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks in advance!&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2024 11:51:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/SQL-Endpoint-Error-5-Access-Denied/m-p/4258021#M58020</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-10-25T11:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Endpoint - Error 5 Access Denied</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/SQL-Endpoint-Error-5-Access-Denied/m-p/4260150#M58038</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Base on your description, it seems to be a permission issue. Could you please provide the following info for further trouleshooting?&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Are you the owner of lakehouse currently? It need both read and write permissions.&lt;/LI&gt;
&lt;LI&gt;Are you a member or admin role in your Fabric workspace?&lt;/LI&gt;
&lt;LI&gt;Please provide the error message details in below screenshot&lt;img /&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2024 08:11:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/SQL-Endpoint-Error-5-Access-Denied/m-p/4260150#M58038</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-10-28T08:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Endpoint - Error 5 Access Denied</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/SQL-Endpoint-Error-5-Access-Denied/m-p/4260272#M58039</link>
      <description>&lt;P&gt;I am not the owner of the lakehouse, but I am the only user in the workspace and have full admin rights. Looking at other forum questions, it could be the lakehouse ownership that's causing problems.&lt;/P&gt;&lt;P&gt;These are my current permissions for the lakehouse:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error details are only as follows unfortunately.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;When I follow the 'Help' link, it takes me here:&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-warehouse/troubleshoot-synapse-data-warehouse" target="_blank"&gt;https://learn.microsoft.com/en-us/fabric/data-warehouse/troubleshoot-synapse-data-warehouse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2024 09:24:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/SQL-Endpoint-Error-5-Access-Denied/m-p/4260272#M58039</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-10-28T09:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Endpoint - Error 5 Access Denied</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/SQL-Endpoint-Error-5-Access-Denied/m-p/4261755#M58055</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Please take over SQL endpoint using Powershell scripts:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt; # Install the Power BI PowerShell module if not already installed 
   Install-Module -Name MicrosoftPowerBIMgmt 

 # Import the Power BI PowerShell module 
   Import-ModuleMicrosoftPowerBIMgmt 

 # Connect to the Power BI service using the new owner credentials and take over the SQL Endpoint

   $workspaceid = "xxx"
   $sqlendpoint = "xxx"

   Connect-PowerBIServiceAccount

   $url = 'groups/' + $workspaceid + '/lhdatamarts/' + $sqlendpoint + '/takeover' 
   write-host $url 
   Invoke-PowerBIRestMethod -Url $url -Method Post -Body ""-Verbose &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;And check if it hit any following &lt;A href="https://learn.microsoft.com/en-us/fabric/data-warehouse/limitations#limitations-of-the-sql-analytics-endpoint" target="_self"&gt;limitations&lt;/A&gt;:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2024 07:33:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/SQL-Endpoint-Error-5-Access-Denied/m-p/4261755#M58055</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-10-29T07:33:30Z</dc:date>
    </item>
  </channel>
</rss>

