Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
We are trying to use Power BI API to export our reports as .PNG images.
We use a Service Principal as authentication to the API. The Service Principal is able to make API calls fine, but the exported images show the error message “couldn't load the model schema associated with this report. make sure you have a connection to the server, and try again”.
exported images show error
In Service, we connect the reports to our Azure SQL Managed Instance via on-prem gateway connection with OAuth authentication. Our reports use DirectQuery connection to pull data from our Azure SQL Database. The exported images work properly for Import connection, but there seems to be a problem when using DirectQuery.
Maybe there's something in Tenant settings that we need enabled?. Any suggestions are appreciated.
Things we have tried:
Refresh the dataset in Power BI Service and check for any refresh errors.
Review and verify all data sources connections and queries in Power BI Desktop.
Republish the report to Power BI Service and test the export functionality again.
Check Power BI Service health status for any ongoing issues or maintenance
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
4 | |
3 | |
3 | |
3 | |
3 |