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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register 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"]
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 45 | |
| 43 | |
| 38 | |
| 25 | |
| 23 |