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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.