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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
marumsdax
Regular Visitor

The target principal name is incorrect. Cannot generate SSA context.

Hi,

 

I am able to access Power BI from server wheree i installed Power BI but when i try to connect it from my local desktop it throws below error message.

 

Unable to connect

Details: "Microsoft SQL: The target principal name is incorrect. Cannot generate SSPI context."

 

I connected to client VPN and able to test connections under settings/manage gateways from https://app.powerbi.com with same login but when i try to connect from Power BI desktop throws error message.

 

 

 

 

Thanks,

Maru

1 ACCEPTED SOLUTION
v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @marumsdax,

 

Based on my research, this is a generic error when accessing SQL Server. It can be caused by many issues, like Active Directory access permissions, failure to register an SPN and so on. The KB811889 should help you troubleshoot this issue.

 

As this issue is more related to SQL Server Security, I would suggest you also go SQL Server Security Forum for better assistance.Smiley Happy

 

Regards

View solution in original post

1 REPLY 1
v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @marumsdax,

 

Based on my research, this is a generic error when accessing SQL Server. It can be caused by many issues, like Active Directory access permissions, failure to register an SPN and so on. The KB811889 should help you troubleshoot this issue.

 

As this issue is more related to SQL Server Security, I would suggest you also go SQL Server Security Forum for better assistance.Smiley Happy

 

Regards

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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 Solution Authors
Top Kudoed Authors