<?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: How to use Service Principal to connect PowerBI to Databrick SQL Warehouse in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-use-service-principal-to-connect-powerbi-to-databrick-sql/m-p/125878#M47557</link>
    <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;After successfully adding a service principal to Databricks and generating a client ID and client secret, I plan to utilize these credentials for authentication when configuring Databricks as a data source in Power BI. Could you please clarify whether the client ID and client secret generated in Databricks for the service principal have an expiration date or remain valid indefinitely? I would greatly appreciate insights from anyone who has completed this process.&lt;/P&gt;&lt;P&gt;Thank you for your assistance.&lt;/P&gt;</description>
    <pubDate>Mon, 21 Jul 2025 14:56:28 GMT</pubDate>
    <dc:creator>Lone</dc:creator>
    <dc:date>2025-07-21T14:56:28Z</dc:date>
    <item>
      <title>How to use Service Principal to connect PowerBI to Databrick SQL Warehouse</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-use-service-principal-to-connect-powerbi-to-databrick-sql/m-p/7023#M3015</link>
      <description>&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm struggling to connect PowerBI service to a Databricks SQL Warehouse using a service principal. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm following mostly &lt;A href="https://learn.microsoft.com/en-us/azure/databricks/administration-guide/users-groups/service-principals" alt="https://learn.microsoft.com/en-us/azure/databricks/administration-guide/users-groups/service-principals" target="_blank"&gt;this guide&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;I created a new app registration in the AAD and created a client secret for it.&lt;/P&gt;&lt;P&gt;Now I'm particularly struggling with &lt;A href="https://learn.microsoft.com/en-us/azure/databricks/administration-guide/users-groups/service-principals#add-service-principals-to-your-account-using-the-account-console" alt="https://learn.microsoft.com/en-us/azure/databricks/administration-guide/users-groups/service-principals#add-service-principals-to-your-account-using-the-account-console" target="_blank"&gt;the second step&lt;/A&gt; of adding the service principal to the Databricks account. &lt;/P&gt;&lt;P&gt;If I open the link accounts.azuredatabricks.net, I can select the correct workspace after authentication, but this only brings me to the welcome page of the Databricks workspace. &lt;/P&gt;&lt;P&gt;I can't find the "User management" page that is mentioned. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--&amp;gt; Where / how can I add the service principal to Databricks ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 17:19:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-use-service-principal-to-connect-powerbi-to-databrick-sql/m-p/7023#M3015</guid>
      <dc:creator>pgruetter</dc:creator>
      <dc:date>2023-03-27T17:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Service Principal to connect PowerBI to Databrick SQL Warehouse</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-use-service-principal-to-connect-powerbi-to-databrick-sql/m-p/7024#M3016</link>
      <description>&lt;P&gt;@pgruetter​&amp;nbsp;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To add a service principal to Databricks, you need to follow the steps below:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Go to the Azure Databricks portal and navigate to the "Workspace" section.&lt;/LI&gt;&lt;LI&gt;In the left pane, click on "User Management" and then select "Credentials" from the drop-down menu.&lt;/LI&gt;&lt;LI&gt;Click on the "Add" button and select "Service Principal".&lt;/LI&gt;&lt;LI&gt;Enter the client ID and client secret that you created in Azure AD when you registered your app.&lt;/LI&gt;&lt;LI&gt;Select the appropriate Azure Databricks workspace and click "Create".&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;After following these steps, you should be able to connect Power BI service to Databricks SQL Warehouse using the service principal.&lt;/P&gt;</description>
      <pubDate>Sun, 02 Apr 2023 13:57:56 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-use-service-principal-to-connect-powerbi-to-databrick-sql/m-p/7024#M3016</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-04-02T13:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Service Principal to connect PowerBI to Databrick SQL Warehouse</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-use-service-principal-to-connect-powerbi-to-databrick-sql/m-p/7025#M3017</link>
      <description>&lt;P&gt;Thanks for the feedback. My problem is, that I don't have a "User Management" in the left pane. &lt;/P&gt;&lt;P&gt;In the meantime, I found the reason for that: The description only works if you're using Unity Catalog. In this case, we don't use Unity Catalog yet.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 06:08:12 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-use-service-principal-to-connect-powerbi-to-databrick-sql/m-p/7025#M3017</guid>
      <dc:creator>pgruetter</dc:creator>
      <dc:date>2023-04-04T06:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Service Principal to connect PowerBI to Databrick SQL Warehouse</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-use-service-principal-to-connect-powerbi-to-databrick-sql/m-p/7026#M3018</link>
      <description>&lt;P&gt;Hi @pgruetter​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope all is well! Just wanted to check in if you were able to resolve your issue and would you be happy to share the solution or mark an answer as best? Else please let us know if you need more help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We'd love to hear from you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 06:23:12 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-use-service-principal-to-connect-powerbi-to-databrick-sql/m-p/7026#M3018</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-04-04T06:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Service Principal to connect PowerBI to Databrick SQL Warehouse</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-use-service-principal-to-connect-powerbi-to-databrick-sql/m-p/7027#M3019</link>
      <description>&lt;P&gt;I couldn't completely solve this issue yet. But I think I managed to add the service principal to the classical Databricks Workspace by going to the Admin Console --&amp;gt; Groups --&amp;gt; edit "admins" group.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 07:21:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-use-service-principal-to-connect-powerbi-to-databrick-sql/m-p/7027#M3019</guid>
      <dc:creator>pgruetter</dc:creator>
      <dc:date>2023-04-04T07:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Service Principal to connect PowerBI to Databrick SQL Warehouse</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-use-service-principal-to-connect-powerbi-to-databrick-sql/m-p/7028#M3020</link>
      <description>&lt;P&gt;In the end, once the Service Principal is properly authorized on the Databricks side, I had to create a Personal Access Token for the Service Principal using the Databricks API. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the Power BI service side I then had to use username = 'token' and as password the generated PAT.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2023 07:18:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-use-service-principal-to-connect-powerbi-to-databrick-sql/m-p/7028#M3020</guid>
      <dc:creator>pgruetter</dc:creator>
      <dc:date>2023-04-12T07:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Service Principal to connect PowerBI to Databrick SQL Warehouse</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-use-service-principal-to-connect-powerbi-to-databrick-sql/m-p/50278#M28749</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was wondering if you could elaborate on the solution to the issue you posted. We have a Power BI dataset based upon tables in a databricks sql warehouse. I have followed the steps to create an access token for the service principal which is registered in the databricks workspace with admin permissions. However when changing the credentials for the power bi data source we specified authentication method = Username/Password and entered the word Token in the username field and the PAT token generated on behalf of the service principal.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="amiebarkes_0-1698846437329.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/4680iCF7761034E4C745F/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="amiebarkes_0-1698846437329.png" alt="amiebarkes_0-1698846437329.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This resulted in an error&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="amiebarkes_1-1698846488517.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/4681i12D1E417A486B5DA/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="amiebarkes_1-1698846488517.png" alt="amiebarkes_1-1698846488517.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I was wondering if we had correctly followed your procedure?&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Amie&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 13:49:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-use-service-principal-to-connect-powerbi-to-databrick-sql/m-p/50278#M28749</guid>
      <dc:creator>amiebarkes</dc:creator>
      <dc:date>2023-11-01T13:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Service Principal to connect PowerBI to Databrick SQL Warehouse</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-use-service-principal-to-connect-powerbi-to-databrick-sql/m-p/64483#M32583</link>
      <description>&lt;P&gt;Please check if you have enabled the service principal to use PAT token in admin settings.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 03:20:29 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-use-service-principal-to-connect-powerbi-to-databrick-sql/m-p/64483#M32583</guid>
      <dc:creator>AmanSehgal</dc:creator>
      <dc:date>2024-03-25T03:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Service Principal to connect PowerBI to Databrick SQL Warehouse</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-use-service-principal-to-connect-powerbi-to-databrick-sql/m-p/125878#M47557</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;After successfully adding a service principal to Databricks and generating a client ID and client secret, I plan to utilize these credentials for authentication when configuring Databricks as a data source in Power BI. Could you please clarify whether the client ID and client secret generated in Databricks for the service principal have an expiration date or remain valid indefinitely? I would greatly appreciate insights from anyone who has completed this process.&lt;/P&gt;&lt;P&gt;Thank you for your assistance.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jul 2025 14:56:28 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-use-service-principal-to-connect-powerbi-to-databrick-sql/m-p/125878#M47557</guid>
      <dc:creator>Lone</dc:creator>
      <dc:date>2025-07-21T14:56:28Z</dc:date>
    </item>
  </channel>
</rss>

