Forum Discussion
Anonymous
2 years agoNot applicable
Getting error when calling Power BI Embed Report Export To PDF API
We are using Power BI c# SDK to export Power BI report in PDF. We setup app registration in Azure Active Directory and assigned the required permissions. We Have power-bi-embedded A4 Plan Some time...
AmosHersch
2 years agoMicrosoft Employee
Hi Anonymous ,
Do you mean that the call to the "Export to File" API returns Forbidden?
Did you check to see if the response body has additional information for the reason of the Forbidden status?
If the response body is empty or doesn't help with understanding the issue you can reply here with the request ID from the response headers and I might be able to find the reason.