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
I would like to access to a report in powerbi server and save the report in pdf format in my PC using python, but I recived a message as
"the result should be passed only to trusted code in your notebook."
Here is the code I used:
Hello @apenaranda
unfortunatelly not. I could never run it, and am thinking of using other solutions other than power bi to export reports.
Hello @moonsarinalu
Did you get it to work?
I get an error on the line
download_url = response_data["downloadLocation"]
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 56 | |
| 55 | |
| 32 | |
| 18 | |
| 14 |