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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.