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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount 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"]