cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Power BI - Databricks Connection using Service Principal PAT Refresh

js54123875
New Contributor III

What is best practice for automatically refreshing service princpal PAT in Power BI for a connection to a Databricks dataset? Ideally when the PAT is updated it will automatically be stored in Azure Key Vault, is there a way that Power BI can pick it up automatically from there?

Quick Details of Setup:

  • Power BI dashboard published to Power BI Service
  • Databricks data source
  • Service Principal
  • Personal Access Token (PAT) expires every 90 days, so will update every 70 days
  • Ideally PAT credential storied in Azure Key Vault for Power BI to access
  • How to automatically refresh PAT in Power BI?
2 REPLIES 2

SSundaram
Contributor

May be not the recommended way, but try to create a token that do not expire for such use cases. Ideally you will need like a custom powershell type of solution to get it automated completely. 

js54123875
New Contributor III

Thank you for the reply.  Unfortunately this does not meet our security requirements

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group