Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi all,
I keep getting a 403 response on my attempt to export a report to PDF in a Python script.
Below permissions in my Azure app (they are not available as 'application' permission, only as delegated):
What's happening here and how can I solve this problem?
Thanks.
Hi @Noeleke1301 ,
You wrote: I'm getting a token as response on the GenerateToken API,
Do you refer to the API for generating an embed token? The call to the "Export to File" API should be done with an AAD token (like any other API).
Did you check in the reponse message has additional information in the message body besides the returned error code?
I've solved it now by changing the grant_type to 'password'.
Nobody who can help me with this issue?
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 3 |