Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
I am currently developing an Azure function that is supposed to trigger the Power BI API to refresh a Power BI dataset. I have registered my Azure function as a managed identity and added it to a security group in Azure AD that has access to the Power BI API. However, when i try to refresh the dataset using the Power BI API, i am encountering a problem with permissiond in the token provided by the managed identity credential function in my Python Azure function. I have also tested my function for several other features, like reading all datasets in one workspace (because you only need read.all permissions then) but it doesn't work.
I have followed all the necessary steps to grant the managed identity the required permissions, but i am still not able to refresh the dataset. I have decoded and checked the managed identity token and it seems to be missing the necessary permissions. I cannot see any permission (the whole "scope" part is missing)
Has anyone else encountered a similar issue when using a managed identity to access the Power BI API? If so, can you share any solutions or suggestions that might help me resolve this issue?
Any help would be grantly aprreciated. Thank you!
This is the one I am referring :
Follow first 2 steps for access aspects
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 8 | |
| 8 | |
| 4 | |
| 3 | |
| 2 |