Skip to content
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

pac solution export as service principal denied when solution contains Power BI components #566

Open
cmannix-grsi opened this issue Jun 23, 2023 · 0 comments

Comments

@cmannix-grsi
Copy link

Using pac solution export to export a Power Apps solution containing Power BI components, the error message returned is:
Error: You can't export one or more Power BI components because you don't have the right permissions

Version: 1.21.8+ga93a2c3
Authentication as service principal is successful.

This command works when authenticated as a user account with the same permissions as the service principal.

The Power BI components are a small dataset and a paginated report. The service principal can export the report individually using the Export Report in Group endpoint GET https://api.powerbi.com/v1.0/myorg/groups/{groupId}/reports/{reportId}/Export, but not with Export Report GET https://api.powerbi.com/v1.0/myorg/reports/{reportId}/Export.

Will this be supported in the future?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant