Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi All,
I want to export workspace user list & their permission
1) I tried table capture Extenstion --> its not working in powerbi
2) Tried power shell --> its not working
Connect-PowerBIServiceAccount
$Workspaces = Get-PowerBIWorkspace -Scope Organization -All
$Workspaces |
ForEach-Object {
$Workspace = $_.name
foreach ($User in $_.Users) {
[PSCustomObject]@{
Workspace = $Workspace
User = $User.UserPrincipalName
}
}
} | Export-CSV "D:\\PowerBIGroupMembers.csv" -NoTypeInformation -Encoding UTF8
3) tried following query in consol.. BUT I only get back the number of rows that is visible on the browser screen
$('.row').each(function() { console.log (
$(this).find('div.user-name').text(),",",$(this).find('span.col-emailAddress').text(),",",$(this).find('span.col-permissions').text())})
Please help me to export userlist from powerbi service
Solved! Go to Solution.
Hi @vengadesh_p ,
Please try this Rest Api.
GET https://api.powerbi.com/v1.0/myorg/admin/groups/{groupId}/users
You must have administrator privileges (such as Office 365 Global Administrator or Power BI Service Administrator) or be authenticated using the service principal. Delegated permissions are supported.
Sample response:
Admin - Groups GetGroupUsersAsAdmin - REST API (Power BI Power BI REST APIs) | Microsoft Docs
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data
Hi @vengadesh_p ,
Please try this Rest Api.
GET https://api.powerbi.com/v1.0/myorg/admin/groups/{groupId}/users
You must have administrator privileges (such as Office 365 Global Administrator or Power BI Service Administrator) or be authenticated using the service principal. Delegated permissions are supported.
Sample response:
Admin - Groups GetGroupUsersAsAdmin - REST API (Power BI Power BI REST APIs) | Microsoft Docs
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
59 | |
32 | |
27 | |
22 | |
22 |
User | Count |
---|---|
63 | |
51 | |
33 | |
24 | |
20 |