Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have tried export user workspace details by using Powershell script and also tried manually export the list from admin portal power bi. Both excel list does not contain the users email addresss. How do I extract their email address ? Is there any other way ? I have to look up which email address belongs to which person.
Solved! Go to Solution.
Hi @pravind96
All you have to use a different powershell to invoke the PBI REST API directly
$workspacename =""
$workspace =Get-PowerBIWorkspace -Name $workspacename
# GetDataSets
$UserResponse=Invoke-PowerBIRestMethod -Url "groups/$($workspace.id)/users" -Method Get
This will give you the Email of the users
Sample Response
{
"@odata.context":"http://wabi-europe-north-b-redirect.analysis.windows.net/v1.0/myorg/groups/xxxxxxxx/$metadata#users","value":[
{
"emailAddress":"Jayendran@abc.com","groupUserAccessRight":"Admin","displayName":"Jayendran Arumugam","identifier":"Jayendran@abc.com","principalType":"User"
}
]
}
Hi @pravind96
All you have to use a different powershell to invoke the PBI REST API directly
$workspacename =""
$workspace =Get-PowerBIWorkspace -Name $workspacename
# GetDataSets
$UserResponse=Invoke-PowerBIRestMethod -Url "groups/$($workspace.id)/users" -Method Get
This will give you the Email of the users
Sample Response
{
"@odata.context":"http://wabi-europe-north-b-redirect.analysis.windows.net/v1.0/myorg/groups/xxxxxxxx/$metadata#users","value":[
{
"emailAddress":"Jayendran@abc.com","groupUserAccessRight":"Admin","displayName":"Jayendran Arumugam","identifier":"Jayendran@abc.com","principalType":"User"
}
]
}
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
6 | |
6 | |
3 | |
2 | |
2 |
User | Count |
---|---|
5 | |
5 | |
4 | |
4 | |
3 |