Forum Discussion
AmilaGunawardan
3 years agoFrequent Visitor
Get user list from shared Apps from Powerbi Rest API using Powershell
Hi, I have tried to get all the users that have access to reports workspaces and Apps. Used the below code to get users that are in the workspace. But this code doesn't return the users that the ...
- 3 years ago
Hi AmilaGunawardan ,
The Admin - Apps GetAppUsersAsAdmin API returns a list of users that have access to the specified app.
Permissions:
- The user must have administrator rights (such as Office 365 Global Administrator or Power BI Service Administrator) or authenticate using a service principal.
- Delegated permissions are supported.
For more details, please refer to:
Admin - Apps GetAppUsersAsAdmin - REST API (Power BI Power BI REST APIs) | Microsoft Learn
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
AmilaGunawardan
3 years agoFrequent Visitor
Hi v-jianboli-msft ,
Thank you for the answer. From Admin - Apps GetAppUsersAsAdmin API does external users can be listed out too? Because my app has been shared to external users.