Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
117325
Frequent Visitor

Power BI Snowflake Connection

We are trying to configure the Power BI Snowflake connection for reporting purposes. We followed the Microsoft documentation by setting up the SSO, a few questions:

  • Are we supposed to utilize a service account for initial Azure AD authentication? 
  • Can we utilize Azure Key Vault instead of Azure AD for authentication?
1 ACCEPTED SOLUTION

Hi, @117325 

 

Yes, you can use Azure Key Vault to store the password for the service account securely and retrieve it programmatically during runtime. Here are the high-level steps you can follow:

  • 1. Create an Azure Key Vault instance and store the password for the service account as a secret in the Key Vault.
  • 2. In your Power BI report, use the Azure Key Vault REST API to retrieve the secret during runtime.
  • 3. Use the retrieved password to authenticate with Snowflake.

Bring your own encryption keys for Power BI - Power BI | Microsoft Learn

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

5 REPLIES 5
v-zhangti
Community Support
Community Support

Hi, @117325 

 

Yes, you can use a service account for initial Azure AD authentication. This is a common practice for connecting to Snowflake from Power BI.

 

Regarding your second question, while Azure Key Vault can be used to store and manage secrets, it is not a replacement for Azure AD authentication. You will still need to use Azure AD to authenticate to Snowflake. However, you can use Azure Key Vault to securely store the credentials needed to authenticate with Snowflake.

 

I would recommend following the Microsoft documentation for setting up the Power BI Snowflake connection, as it provides a step-by-step guide for using Azure AD authentication and securely storing credentials using Azure Key Vault. Connect to Snowflake with Power BI - Power BI | Microsoft Learn

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.


I would recommend following the Microsoft documentation for setting up the Power BI Snowflake connection, as it provides a step-by-step guide for using Azure AD authentication and securely storing credentials using Azure Key Vault. Connect to Snowflake with Power BI - Power BI | Microsoft Learn


 

Linked documentation does not even mention key vault. Did you provide correct link?

Thanks a lot for the response, Charlotte. We have already set up a test for Azure AD SSO. However, the password for the service account needs to be reentered for authentication every time it changes. Is there a way to configure the token without reentering the password every single time? Thanks!

Hi, @117325 

 

Yes, you can use Azure Key Vault to store the password for the service account securely and retrieve it programmatically during runtime. Here are the high-level steps you can follow:

  • 1. Create an Azure Key Vault instance and store the password for the service account as a secret in the Key Vault.
  • 2. In your Power BI report, use the Azure Key Vault REST API to retrieve the secret during runtime.
  • 3. Use the retrieved password to authenticate with Snowflake.

Bring your own encryption keys for Power BI - Power BI | Microsoft Learn

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Yes, you can use Azure Key Vault to store the password for the service account securely and retrieve it programmatically during runtime. Here are the high-level steps you can follow:

  • 1. Create an Azure Key Vault instance and store the password for the service account as a secret in the Key Vault.
  • 2. In your Power BI report, use the Azure Key Vault REST API to retrieve the secret during runtime.
  • 3. Use the retrieved password to authenticate with Snowflake.

Bring your own encryption keys for Power BI - Power BI | Microsoft Learn

 


How is CMK related with the steps you listed? Wrong link again?

 

Is there actual documentations for the steps you listed?

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.