cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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

Accepted Solutions
Highlighted
Super User III
Super User III

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
Highlighted
Super User III
Super User III

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

Highlighted

Hi @GilbertQ 

 

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

 

Thanks,

 

Highlighted

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Community Conference

Microsoft Power Platform Communities

Check out the Winners!

secondImage

Create an end-to-end data and analytics solution

Learn how Power BI works with the latest Azure data and analytics innovations at the digital event with Microsoft CEO Satya Nadella.

Top Solution Authors
Top Kudoed Authors