question

TarunMarwaha-4484 avatar image
0 Votes"
TarunMarwaha-4484 asked YoungYang-MSFT answered

Unable to list access list in powerbi workspace using powershell

hi Team,

I want to extract the report of Access list of Powerbi workspaces like who has Member\Admin\Contributor\Viewer.

Im unable to find the command for that. i pre-assume command should be something like "get-PowerBIWorkspaceUser" but its returning :

"get-PowerBIWorkspaceUser: The term 'get-PowerBIWorkspaceUser' is not recognized as the name of a cmdlet, function, script file, or operable program."

also the command " Get-PowerBIWorkspace -Scope -User "abc" is not working for me.

Please help.

windows-server-powershell
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

VaibhavChaudhari avatar image
1 Vote"
VaibhavChaudhari answered

Please try using below -

 Get-PowerBIWorkspace -Scope Organization -User "abc"

See available PowerShell commands available in below and open them for examples and more help -

https://docs.microsoft.com/en-us/powershell/module/microsoftpowerbimgmt.workspaces/?view=powerbi-ps

Also it's better if you reach out to experts in dedicated forum for PBI here - PBI_Comm_Forums


===============================================
If the response helped, do "Accept Answer" and upvote it -- Vaibhav

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

YoungYang-MSFT avatar image
0 Votes"
YoungYang-MSFT answered

Hi, given that this post has been quiet for a while, this is a quick question and answer. Has your question been solved? If so, please mark it as an answer so that users with the same question can find and get help.
:)

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.