Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
pravind96
Frequent Visitor

can't extract users email address from power bi workspace

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.


InfxA3R5UJ.png
q46VCS32UC.png

1 ACCEPTED SOLUTION
Jayendran
Solution Sage
Solution Sage

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"

}

]

}

View solution in original post

1 REPLY 1
Jayendran
Solution Sage
Solution Sage

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"

}

]

}

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.