Forum Discussion
Refresh powerbi dataset using python/service principal
Hi Am trying to refresh the powerbi dataset using Service Principal authentication in databricks.
Did anyone used service principal to refresh powerbi dataset using python from databricks please let me know.
1 Reply
- v-janeyg-msftCommunity Support
Hi, Anonymous
I also didn't find an example using python.Here are links about using servive principal and powershell to refresh powerbi dateset.
- Embed Power BI content in an embedded analytics application with service principal and an application secret enabling better embedded BI insights
- Use Azure service principals with Azure PowerShell
- Announcing new Admin APIs and Service Principal authentication to make for better tenant metadata scanning
- Power BI — Databricks Documentation
Schedule dataset refreshes – since service principal cannot log in to the Power BI portal, it cannot configure scheduled refreshes. To tackle this challenge, we released a new API that configures scheduled refreshes for datasets, so that service principal can use it. Learn more.
If it doesn’t solve your problem, please feel free to ask me.
Best Regards
Janey Guo
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.