cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Angel
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
GilbertQ
Super User
Super User

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
GilbertQ
Super User
Super User

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

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
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

Thank you 2022 Review

2022 Monthly Feature Releases

We had a great 2022 with a ton of feature releases to help you drive a data culture.

Top Solution Authors
Top Kudoed Authors