Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreNext 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
I am using the PowerShell PBI admin commands and I am unable to get this to work, has anyone else had any luck with this?
Add-PowerBIWorkspaceUser : Operation returned an invalid status code 'Unauthorized'
I use the command and include
Add-PowerBIWorkspaceUser -Id xxxxxxx -UserPrincipalName 'myuser@fakeaddress.com' -AccessRight Admin
When I run resolve error this is what I get back that seems pertinent
Response : Unauthorized (401):
PowerBIErrorInfo : GroupNotAccessible
Getting the same error, even though I'm the Admin for the company.
Contributor and Viewer, no problem.
how do you resolve the problem, thanks
Hi @OneWithQuestion ,
Are you the admin of this workspace?
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.