This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Just wondering if there is any specific issues I'm missing currently.
Whlist trying to use PowerShell cmdlets command of Add-PowerBIWorkspaceUser, we are encountering error messages of "Operation returned an invalid status code 'Unauthorized'"
We have proven that this works conditional on :
However despite logging in through "Connect-PowerBIServiceAccount" with an account that is listed as PBI service admin, we encountered the error message for any workspace where the login name is not listed as admin.
Looking through the documentations, i did not see any limitations where add users is only possible where the account using the cmdlets is explicitly listed as an admin in the workspace.
We have also eliminated the following as possible causes of error:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.