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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote 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
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 6 | |
| 4 | |
| 3 | |
| 2 | |
| 2 |