Forum Discussion
Anonymous
5 years agoNot applicable
Unable to export the report as PDF or image file using SPN through API call
Unable to export the report as PDF or image file using SPN through API call. Getting 403 forbidden error. https://api.powerbi.com/v1.0/myorg/reports/61b208a4-8780-4dfc-80ea-474b19d107af/ExportTo ...
Anonymous
5 years agoNot applicable
Anyone can tell if the SPN can do this activity? User is able to export the report to Image files. If we add SPN in the admin setting its not working.
- Anonymous5 years agoNot applicable
Hi Anonymous ,
Please review this official documentation and check whether the related setting for service principal has been configured.
- Create an Azure AD security group and add service principal into security group
- Enable the Power BI service admin settings.
- Add the service principal to your workspace.
In addition, please note that the report with a sensitivity label cannot be exported to a .pdf or a .pptx using a service principal. Also when exporting to .png is not supported.
Best Regards