Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
jfrench_1941
New Member

Using Powerbi rest api

We are trying to use Python to pull donw all of our PowerBI service assets throughout our entire tenat.   It is unclear to us if we need to enable the embeded powerbi to access this functioanality.  We are not looking to put this data into a powerbi report.  We are able to do some of this via Powershell  successfully, but have not had success using Python.  We have been  told we may need to enable embedded powerid, we may need  full developed application?   

 

We think we are experiancing a permission issue with  MSAL.  I provided an example of the code and error we are getting. Thanks for you assistance in advance.

 

jfrench_1941_0-1712937429537.png

 

 

The error is being obtained: requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://api.powerbi.com/v1.0/myorg/reports

 

Regards, 

 

1 REPLY 1
lbendlin
Super User
Super User

Have you considered using the Scanner API instead?

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.

Top Solution Authors