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

The Fabric community is now in read-only for platform upgrade. Learn more

Reply
Shreesefwere
Helper IV
Helper IV

powershell error

 

 

Hi Expert,

 

using powerbi shell to export the powerbi user but getting error

 

PS C:\WINDOWS\system32> Get-PowerBIuser
Get-PowerBIuser : The term 'Get-PowerBIuser' is not recognized as the name of a cmdlet, function, script
file, or operable program. Check the spelling of the name, or if a path was included, verify that the path
is correct and try again.
At line:1 char:1
+ Get-PowerBIuser
+ ~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Get-PowerBIuser:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

11 REPLIES 11
amitchandak
Super User
Super User

@Shreesefwere , Hope you have installed it properly

https://learn.microsoft.com/en-us/powershell/power-bi/overview?view=powerbi-ps

 

Also, check the exact function in the document. I did not find the one you are using in the search

 

Also, check

https://community.fabric.microsoft.com/t5/Desktop/Get-powerbiuser-powershell/m-p/3440493

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Spoiler
This is not working... Install all modules but still gives an error.. Something is missing.. Please share the steps. 
. Able to see workspace, reports but not user... Any other suggestions pls

@Shreesefwere , I doubt there is Get-PowerBIuser cmd. What exactly you are looking for

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

I just need workspace userlist

Hi, 

I just need user export from workspace level. 

 

Microsoft also not given any info for user... Where did you find this

@Shreesefwere , refer if this can help

https://stackoverflow.com/questions/60304354/powerbi-list-of-all-workspaces-and-users-within-newbie-...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

 

Hi,

script is working but not exporting anything

Shreesefwere_0-1697423913908.png

 

Any other method

 

 

am i missing any steps

Trying.. One min please

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.