-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Export-PowerBIReport returns Unauthorized #88
Comments
Quick update. I was able to use Invoke-PowerBIRestMethod and the Export Reports In Groups endpoint just fine. So it's not a permissions issue.
|
Can you add the -Verbose flag to Export-PowerBIReport and execute Resolve-PowerBIError -Last and paste the result here? |
Is there an update as to whether the export-powerbireport cmdlet has a bug? I am receiving the same unauthorized error. I was unable to use Invoke-PowerBIRestMethod. Thanks |
|
In my case this works only if i add the workspace guid in the cmdlet. Export-PowerBIReport -WorkspaceId {GUID} -Id {ID} -OutFile C:\Users\Downloads<Filename>.pbix Second solution is to move to the Invoke-PowerBIRestMethod and the Export Reports In Groups like @aabundez mentioned. Best Manuel |
I am the admin for a Workspace (original workspace paradigm, not new one) and I cannot run the Export-PowerBIReport cmdlet. It keeps returning Unauthorized. I also have the Power BI Administrator role and am the owner of this particular O365 group. I am also a Global Administrator in O365.
I can run all the other Get cmdlets for the entire Organization. It's just Export-PowerBIReport which is giving me problems. I've assigned all the rights I know about. Let me know if there's anything else I can do to troubleshoot the issue.
The text was updated successfully, but these errors were encountered: