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! It's time to submit your entry. Live now!
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! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.