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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
tomasz-grobelny
New Member

Underlying Error: OnPremiseServiceException

Hi all,

 

When trying to view my report in PowerBI Service I get the following error:

An error occurred in Power BI Premium backend services. Please see the error details for additional information.

 

In details on visuals I get this:

Underlying Error: OnPremiseServiceException

plus a number of guids (that probbaly won't help on a public forum).

 

The underlying semantic model refreshes just fine. I am 90% sure the report was working earlier today. Also on PowerBI desktop all works fine.

 

Any idea how do I approach solving the issue?

 

 

1 ACCEPTED SOLUTION

Ok, found out what was going on. To diagnose such errors go to the semantic model and try to write a DAX query that will access all the tables, eg.:

tomaszgrobelny_0-1758106958842.png

In my case it turned out that my workspace was missing an identity:

Resolve the error to see results

{"error":{"code":"Premium_ASWL_Error","pbi.error":{"code":"Premium_ASWL_Error","parameters":{},"details":[{"code":"Premium_ASWL_Error_Details_Label","detail":{"type":1,"value":"We are unable to refresh the semantic model because the model uses a data connection configured for Workspace Identity authentication, but the workspace has no identity, or the model owner does not have permissions to use the workspace identity. Please configure a workspace identity and make sure the model owner has Contributor (or higher) access to the workspace, or use a different authentication method."}}],"exceptionCulprit":1}}}

 

Going to Workspace settings -> Workspace Identity -> Create a workspace identity fixed the issue (just to be sure query again, refresh the model, republish the repo, etc.).

 

View solution in original post

7 REPLIES 7
v-menakakota
Community Support
Community Support

Hi  @tomasz-grobelny , 
Thanks for reaching out to the Microsoft fabric community forum. 

The OnPremiseServiceException usually means there may be problem with the gateway or the connection between Power BI Service and your data source (not the semantic model itself). You can try these steps:

  • Make sure your on-premises data gateway is online and updated.
  • Check that the data source credentials in the Service are still valid.
  • Try republishing the report in case the copy in the Service got corrupted.
  • See if there were any recent changes in the workspace or in the dataset’s gateway settings.


If I misunderstand your needs or you still have problems on it, please feel free to let us know.   
Best Regards, 
Community Support Team  

1. How do I check if "on-premises data gateway is online and updated"?

2. "data source credentials" - if it was not the case wouldn't model refresh fail?

3. Tried it multiple time. I even tried creating new workspace - still no change.

4. I created new workspace, should I look into any specific settings?

 

 

 

 

Hi @tomasz-grobelny ,

Gateway status – Open the On-premises data gateway app on the server → it should show Online. You can also check for updates there.

 

Credentials – Since the refresh works, credentials are likely fine.

 

Workspace settings – In the workspace, go to Dataset → Settings → Gateway connection → confirm it’s linked to the right gateway.

Thank you.

In workspace settings I don't see Dataset:

tomaszgrobelny_0-1758102770543.png

 

Can you point me to some resources that would explain why the report should depend on on-premise gateway if the semantic model refreshes just fine?

 

If you mean data source - I have one data source, and here are the settings:

tomaszgrobelny_0-1758104757908.png

 

I also have dependency on another semantic model, but I don't have access to see it's settings - I can only read from it (which works fine in PowerBI desktop).

 

 

Ok, found out what was going on. To diagnose such errors go to the semantic model and try to write a DAX query that will access all the tables, eg.:

tomaszgrobelny_0-1758106958842.png

In my case it turned out that my workspace was missing an identity:

Resolve the error to see results

{"error":{"code":"Premium_ASWL_Error","pbi.error":{"code":"Premium_ASWL_Error","parameters":{},"details":[{"code":"Premium_ASWL_Error_Details_Label","detail":{"type":1,"value":"We are unable to refresh the semantic model because the model uses a data connection configured for Workspace Identity authentication, but the workspace has no identity, or the model owner does not have permissions to use the workspace identity. Please configure a workspace identity and make sure the model owner has Contributor (or higher) access to the workspace, or use a different authentication method."}}],"exceptionCulprit":1}}}

 

Going to Workspace settings -> Workspace Identity -> Create a workspace identity fixed the issue (just to be sure query again, refresh the model, republish the repo, etc.).

 

Hi @tomasz-grobelny  ,
Thanks for reaching out to the Microsoft fabric community forum. 


I hope the above details help you fix the issue. If you still have any questions or need more help, feel free to reach out. We’re always here to support you.

Best Regards, 
Community Support Team

GeraldGEmerick
Solution Supplier
Solution Supplier

@tomasz-grobelny You can check for whether there is a service issue or a known issue here - Microsoft Fabric service status

 

If it is not listed, then you can open a support ticket.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors