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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.