โ11-10-2023 07:33 AM
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:
โ11-21-2023 12:18 AM
Hi @js54123875 , Certainly! Refreshing a Power BI dataset with a Service Principal and managing PATs can be achieved through a combination of best practices.
Letโs explore some approaches:
Service Principal and Azure Key Vault:
Automated Refresh Using PowerShell:
OAuth Tokens Instead of PATs:
Custom Solutions:
Remember to balance security, automation, and ease of maintenance when choosing your approach. Each organizationโs requirements may vary, so evaluate the best fit for your specific environment.
โ11-10-2023 12:30 PM
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.
โ11-13-2023 06:57 AM
Thank you for the reply. Unfortunately this does not meet our security requirements
โ11-21-2023 12:18 AM
Hi @js54123875 , Certainly! Refreshing a Power BI dataset with a Service Principal and managing PATs can be achieved through a combination of best practices.
Letโs explore some approaches:
Service Principal and Azure Key Vault:
Automated Refresh Using PowerShell:
OAuth Tokens Instead of PATs:
Custom Solutions:
Remember to balance security, automation, and ease of maintenance when choosing your approach. Each organizationโs requirements may vary, so evaluate the best fit for your specific environment.
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