You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to add a user to a Workspace with the Add-PowerBIWorkspaceUser cmdlet, you are unable to assign the 'Viewer' role via the -AccessRight parameter.
Instead of this working, the following error is returned:
Add-PowerBIWorkspaceUser : Cannot bind parameter 'AccessRight'. Cannot convert value "Viewer" to type "Microsoft.PowerBI.Common.Api.Workspaces.WorkspaceUserAccessRight".
Error: "Unable to match the identifier name Viewer to a valid enumerator name. Specify one of the following enumerator names and try again:Member, Admin, Contributor"
At line:1 char:146