<?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: Azure Function Connection to MS Fabric SQL endpoint results in Login Failed in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Azure-Function-Connection-to-MS-Fabric-SQL-endpoint-results-in/m-p/3390903#M44011</link>
    <description>&lt;P&gt;Figured this out:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;In PowerBI, go to the Admin Portal&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Make sure you are a PowerBI administrator and can see the “Tenant Settings” section on the Admin Portal&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;In this section, 2 things need to be turned on:&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;Developer Settings -&amp;gt; Allow service principals to create and user profiles&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;OneLake Settings -&amp;gt; Users can access data stored in OneLake with apps external to Fabric&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;Now you can manage permissions on the workspace you want to access from your AZ Function.&amp;nbsp; When you add a user to the permissions, you can type in the name of the AZ Function rather than a user.&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;(assuming you've already created a system generated identity)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Now you can use the "Azure Directory Default" authentication method in the connection string.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Mon, 21 Aug 2023 19:31:27 GMT</pubDate>
    <dc:creator>JohnP_RI</dc:creator>
    <dc:date>2023-08-21T19:31:27Z</dc:date>
    <item>
      <title>Azure Function Connection to MS Fabric SQL endpoint results in Login Failed</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Azure-Function-Connection-to-MS-Fabric-SQL-endpoint-results-in/m-p/3387906#M43980</link>
      <description>&lt;P&gt;Has anyone successfully connected to a Fabric SQL endpoint using user/system assigned identities or a service principal?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have my service principal(s) in an azure security group and that group has permissions to the lakehouse/SQL endpoint (validated by also having a user in that group), however when connecting with any of these Service Principal types I get 18456 Login Failed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anyone has, can you please share how you did it?&amp;nbsp; (connection string format, what type of identity etc).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2023 19:38:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Azure-Function-Connection-to-MS-Fabric-SQL-endpoint-results-in/m-p/3387906#M43980</guid>
      <dc:creator>JohnP_RI</dc:creator>
      <dc:date>2023-08-18T19:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: Azure Function Connection to MS Fabric SQL endpoint results in Login Failed</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Azure-Function-Connection-to-MS-Fabric-SQL-endpoint-results-in/m-p/3390903#M44011</link>
      <description>&lt;P&gt;Figured this out:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;In PowerBI, go to the Admin Portal&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Make sure you are a PowerBI administrator and can see the “Tenant Settings” section on the Admin Portal&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;In this section, 2 things need to be turned on:&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;Developer Settings -&amp;gt; Allow service principals to create and user profiles&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;OneLake Settings -&amp;gt; Users can access data stored in OneLake with apps external to Fabric&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;Now you can manage permissions on the workspace you want to access from your AZ Function.&amp;nbsp; When you add a user to the permissions, you can type in the name of the AZ Function rather than a user.&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;(assuming you've already created a system generated identity)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Now you can use the "Azure Directory Default" authentication method in the connection string.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Mon, 21 Aug 2023 19:31:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Azure-Function-Connection-to-MS-Fabric-SQL-endpoint-results-in/m-p/3390903#M44011</guid>
      <dc:creator>JohnP_RI</dc:creator>
      <dc:date>2023-08-21T19:31:27Z</dc:date>
    </item>
  </channel>
</rss>

