Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
I have a script using a service principal to extract power bi workspaces on our tenant.
When I use the code below I get an Unauthroized error code in power shell. This had worked for moths on end before it suddenly stopped. I tried re adding back -Scope Organization and that did not solve the issue either.
$workspaces = Get-PowerBIWorkspace -All
Any ideas?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.