cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Resolver III
Resolver III

Error Get-PowerBIDataSet - Unauthorizated

Hi everyone,

 

I hope someone can help me. When I use the commando below it returns an error. 

 

Does anyone what can be happening?.

 

$Datasets = Get-PowerBIDataSet -Scope Organization -WorkSpaceId $Work ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (Microsoft.Power...tPowerBIDataset:GetPowerBIDataset) [Get-PowerBIDataset], HttpOperationException
+ FullyQualifiedErrorId : Operation returned an invalid status code 'Unauthorized',Microsoft.PowerBI.Commands.Data.GetPowerBIDataset

 

 

Thanks in advance

 

 

1 ACCEPTED SOLUTION
Super User II
Super User II

Hi there

It would appear that your account does not have access to view all the app workspaces.

Confirm with your admin that your account is part of the Power BI Admin Group.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

View solution in original post

3 REPLIES 3
Super User II
Super User II

Hi there

It would appear that your account does not have access to view all the app workspaces.

Confirm with your admin that your account is part of the Power BI Admin Group.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

View solution in original post

Hi @GilbertQ 

 

You are right. User is not a Power BI Admin.

 

Thanks,

 

Thanks for letting us know.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
secondImage

Happy New Year from Power BI

This is a must watch for a message from Power BI!

December Update

Check it Out!

Click here to read more about the December 2020 Updates!

Community Blog

Check it Out!

Click here to read the latest blog and learn more about contributing to the Power BI blog!

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

Top Solution Authors