Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join 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"]
| User | Count |
|---|---|
| 16 | |
| 15 | |
| 13 | |
| 9 | |
| 8 |
| User | Count |
|---|---|
| 40 | |
| 39 | |
| 34 | |
| 28 | |
| 27 |