Forum Discussion
Power Bi report listing ALL workspace
Hi
I'm trying to build a Power BI report for governance purposes. I should contain a list of all workspace and admin for each workspace. I have tried two diffent approaches to retrieved the data using the Power Bi Rest Api.
1) Using Power Query I called the Rest Api using the Bearer token. This works once, but to my understanding, I need to create a dynamic query including user/password of a Power Bi admin to get the list of all Workspace. This will not be accepted by our securtity guys.
Question: How do I do this in a secure manner?
2) Seceond approach was to let the Rest Api's be called by Power Automate. I've follow the guide, created an Azure AD app to use with Power Bi, delegated all possible permissions to it, but this app is still only able to get access to Workspace, where it has secificly granted accss.
Question: How do I make it possible for an Azure App to access all workspace?
How do I create a Power Bi report with listing all workspace and users. 1) or 2) or am I'm missing something?
Regards Torben
- Anonymous3 years ago
Hi Anonymous ,
According to the official documentation:
The user must have administrator rights (such as Microsoft 365 Global Administrator or Power BI Service Administrator).
If you don't have a Power BI admin account password, you can sign up for service principal, through the app's Tenant.Read.All, and get a taken through the app to use.
Apps & service principals in Azure AD - Microsoft Entra | Microsoft Learn
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
1 Reply
- AnonymousNot applicable
Hi Anonymous ,
According to the official documentation:
The user must have administrator rights (such as Microsoft 365 Global Administrator or Power BI Service Administrator).
If you don't have a Power BI admin account password, you can sign up for service principal, through the app's Tenant.Read.All, and get a taken through the app to use.
Apps & service principals in Azure AD - Microsoft Entra | Microsoft Learn
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.