USE PYTHON TO GET DATA FROM POWER BI APIs

…such as the publish-to-web links created in your organization


IN THIS ARTICLE

  • Get Publish-to-Web share links from Power BI Admin API using Python
  • Get links shared to the entire organization (i.e. for Reports, Dashboards)
 Example result dataframe for publish-to-web reports obtained with Power BI APIs
Example result dataframe for publish-to-web reports obtained with Power BI APIs

HOW TO SET IT UP?

I wrote a post about setting up a Service Principal, permissions & settings to get you started, as well as explaining the Authentication. You can find that post, here.




Code is provided as-is with no guarantees or warranties of any kind. Something I did quickly in spare time.