Forum Discussion
Angel
5 years agoResolver 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
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ 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
- 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.