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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

The on-premises data gateway's service account failed to impersonate the user.

The Microsoft troubleshooting page doesn't give enough information on how to fix this issue. We have been using the gateway for over a year with an admin account set up in the Gateway and all of the sudden, today it's failing with this error:

The on-premises data gateway's service account failed to impersonate the user.

Does anyone have more information that is NOT in the troubleshooting page on how to remedy this?

 

Thanks!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

We solved the issue, somehow the environment changed and we had to do this- if this helps others having the same error:

For the delegation settings on the gateway service account,
Check 'Trust this user for delegation to specified services only'
And not 'Use Kerberos only' but 'Use any authentication protocol'

View solution in original post

2 REPLIES 2
agarwal137
Frequent Visitor

Faced same issue on migrating to a new laptop. The SQL datasources were not connecting on Power BI Service resulting in failed reports refresh. However, files on sharepoint could connect and refresh. The error thrown was -

agarwal137_0-1642582293694.png

 

After 2 days of trying everything, it somehow got solved. Here's how - 

 

- Ensured .NET is installed on system

- Installed Microsoft Access Database engine 2010

- Installed MS ODBC driver 17 for SQL server

- Uninstalled and reinstalled On Premises data Gateway.

- Did a reset of Domain/Laptop Login Password

- Selected the 'existing gateway' for setup (which was being used earlier to run reports in old laptop)

- After setup, logged into Gateway using domain email id.

- Ran couple of reports on Excel connected to the same SQL server databases

- Then Closed everything and did a system shut down.

- Restarted system and found that the datasources were back up on Power BI servcie!

 

Note that I checked the data source connection status after each step and it wasn't up until the last. So not sure if all are relevant but then here's how it got solved for me.

 

(have posted this on similar query too. Sorry I couldnt find how to link)

Anonymous
Not applicable

We solved the issue, somehow the environment changed and we had to do this- if this helps others having the same error:

For the delegation settings on the gateway service account,
Check 'Trust this user for delegation to specified services only'
And not 'Use Kerberos only' but 'Use any authentication protocol'

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.