Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Dear all,
I would like to know how can I extract the list of my Premium capacity workspaces and their admins. I can view the list of Premium workspaces and their admins but i cannot extract. how can i extract it?
thanks for your help
Solved! Go to Solution.
Hi @Anonymous
The Power BI REST API can gather that information using the GET GroupsAsAdmin call see:
Set the filtering to:
Is On Dedicated Capacity = TRUE
users.groupUserAccessRight = Admin
Your results would look like this:
Proud to be a Super User!
Hey @Anonymous
Here are my responses to your questions:
1.) You won't be able to do this with the Power BI REST API alone. You might be able to acheive this if you connect to the unified logs or maybe the Azure API. It would have to be done in conjunction with the Power BI Rest API data (which if it's in the unified log would have the Power BI data). Can't say I have done this before but that information isn't found in just the Power BI REST API.
2.) I would need more details on this such as how are you trying to connect in Postman, what error are you receiving, are you using credentials or a service principal? It's best to start a new thread for this because others may have the same situation.
3.) Personal Group is displayed for the "My Workspaces" for each person. As an example, here is what it looks like for mine in the extract.
Hope this helps!
Proud to be a Super User!
Hi @Anonymous
The Power BI REST API can gather that information using the GET GroupsAsAdmin call see:
Set the filtering to:
Is On Dedicated Capacity = TRUE
users.groupUserAccessRight = Admin
Your results would look like this:
Proud to be a Super User!
Is there a way to know more details on the Premium workspace? for example, what kind of subscription they are in? P1/P2?
Hi Watsky,
I have 3 more questions :
1/ I would like to know if the request can return the list of admins of office 365 groups which contain published power bi reports?
because in the documentation it says that
2/ to create the request in postman, i am power bi admin, do we need to be global admin too? iin my role, the request does not return / work...
Required scope
Tenant.Read.All or Tenant.ReadWrite.All
3/ Moreover, do you know the difference between personal group and group? (when i extract the list of workspaces from the power bi admin portal, i get different types of workspaces).
thank you very much for your help.
Hey @Anonymous
Here are my responses to your questions:
1.) You won't be able to do this with the Power BI REST API alone. You might be able to acheive this if you connect to the unified logs or maybe the Azure API. It would have to be done in conjunction with the Power BI Rest API data (which if it's in the unified log would have the Power BI data). Can't say I have done this before but that information isn't found in just the Power BI REST API.
2.) I would need more details on this such as how are you trying to connect in Postman, what error are you receiving, are you using credentials or a service principal? It's best to start a new thread for this because others may have the same situation.
3.) Personal Group is displayed for the "My Workspaces" for each person. As an example, here is what it looks like for mine in the extract.
Hope this helps!
Proud to be a Super User!
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
93 | |
90 | |
84 | |
71 | |
49 |
User | Count |
---|---|
141 | |
121 | |
112 | |
59 | |
58 |