Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
We are in the process of migrating from ADF to MS Fabric.
The primary data source is an on-prem stand-alone SQL Server. ADF linked service uses an on-prem IR to connect to the database. The on-prem IR Server is also stand-alone. The linked service uses a windows account (username only, no servername) to connect to the database.
I'm trying to create a connection to the on-prem database in Microsoft Fabric. I have installed on-premises data gateway on the same gateway server that is running on-prem IR. No problems with that.
When I try to create a connection in Fabric, I get an error. The configuration:
Gateway cluster name: my-gateway-cluster
Connection name: my-connection
Connection type: SQL Server
Server: ip-address
Database: my-database
Authentication method: Windows
Username: dbserver\my.name
Password: *****
The error I get is:
Solved! Go to Solution.
Hi @aki-siponen
Thank you for reaching out in Microsoft Community Forum.
The "failed to impersonate the user" error occurs because Windows authentication requires a domain account, not a local machine account.
1.Please Modify the connection to use a domain account (e.g., DOMAIN\username) instead of the machine account.
2.Make sure the account has the necessary SQL Server access.
3.If using a domain account is not feasible, switch to SQL Server authentication to avoid domain-related issues.
Please continue using Microsoft community forum.
If you found this post helpful, please consider marking it as "Accept as Solution" and give it a 'Kudos'. if it was helpful. help other members find it more easily.
Regards,
Pavan.
Hi @aki-siponen
Thank you for reaching out in Microsoft Community Forum.
The "failed to impersonate the user" error occurs because Windows authentication requires a domain account, not a local machine account.
1.Please Modify the connection to use a domain account (e.g., DOMAIN\username) instead of the machine account.
2.Make sure the account has the necessary SQL Server access.
3.If using a domain account is not feasible, switch to SQL Server authentication to avoid domain-related issues.
Please continue using Microsoft community forum.
If you found this post helpful, please consider marking it as "Accept as Solution" and give it a 'Kudos'. if it was helpful. help other members find it more easily.
Regards,
Pavan.
Hi,
I understand this. And I understand that there may be some security considerations behind the decision.
But I'm just a bit disappointed that something that's worked for a number of years does not work anymore. This forced our service provider to change the access to SQL Server to allow SQL Server login.
Not 100% sure but if you use Windows authentication then you are supposed to use a domain account, not a machine account.
I may not have been clear in my initial message. Machine accounts work just fine in ADF & IR, but they do not work in Fabric & DG.
User | Count |
---|---|
24 | |
17 | |
6 | |
5 | |
2 |
User | Count |
---|---|
49 | |
43 | |
18 | |
6 | |
5 |