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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
goldenarm253
Frequent Visitor

Issue Connecting Fabric Warehouse to Excel - SSPI Context Error

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!!!

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

you seem to be trying to connect with your Windows credentials.  Try OAuth2 instead.

View solution in original post

5 REPLIES 5
goldenarm253
Frequent Visitor

Worked!

Thanks

AndyDDC
Super User
Super User

Hi @goldenarm253 how are you trying to connect to the Fabric Warehouse?  E.G Get Data?

 

AndyDDC_0-1730987417284.png

 

AndyDDC_1-1730987513102.png

 

 

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.

lbendlin
Super User
Super User

you seem to be trying to connect with your Windows credentials.  Try OAuth2 instead.

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! Prices go up Feb. 11th.

JanFabricDE_carousel

Fabric Monthly Update - January 2025

Explore the power of Python Notebooks in Fabric!

JanFabricDW_carousel

Fabric Monthly Update - January 2025

Unlock the latest Fabric Data Warehouse upgrades!

JanFabricDF_carousel

Fabric Monthly Update - January 2025

Take your data replication to the next level with Fabric's latest updates!