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!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
I'm experiencing an issue linking my Fabric warehouse to Excel. It seems to be specific to Excel, as Azure Data Studio connects without any problems.
Here's the error message I received:
DataSource.Error: Microsoft SQL: The target principal name is incorrect. Cannot generate SSPI context.
Details:
DataSourceKind=SQL
DataSourcePath=datawarehouse.fabric.microsoft.com;SomeName
Message=The target principal name is incorrect. Cannot generate SSPI context.
ErrorCode=-2146232060
Number=0
Class=11
State=0
Has anyone encountered this before, or can offer guidance on troubleshooting this error?
Thanks in advance!!!
Solved! Go to Solution.
you seem to be trying to connect with your Windows credentials. Try OAuth2 instead.
Worked!
Thanks
Correct, I use Get Data --> SQL Server. I pasted server name from Fabric. Then the error pops up.
Clear the data source permissions, then reauthenticate with OAuth2 (Microsoft account). Do not use the Windows option.
you seem to be trying to connect with your Windows credentials. Try OAuth2 instead.
User | Count |
---|---|
4 | |
2 | |
1 | |
1 | |
1 |
User | Count |
---|---|
12 | |
10 | |
3 | |
3 | |
2 |