Unable to list access list in powerbi workspace using powershell

Tarun Marwaha 1 Reputation point
2020-08-10T16:52:48.76+00:00

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
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,546 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Vaibhav Chaudhari 38,746 Reputation points
    2020-08-11T05:07:08.343+00:00

    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://learn.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

    1 person found this answer helpful.
    0 comments No comments

  2. 2020-08-20T01:49:22.077+00:00

    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.
    :)

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.