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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Microsoft SQL: The target principal name is incorrect. Cannot generate SSPI context.
We get above error, the gateway is already running since January 2021 without any problem, and yesterday we get this error
Patrick
Hi @patrickdebaerd ,
Your error message is related to kerberos issue. Please follow the steps in https://docs.microsoft.com/en-us/power-bi/connect-data/service-gateway-sso-kerberos to configure kerberos for power bi gateway.
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Dedmon Dai
Thsi error is usually encountered when one of the credentials on the gateway changes or expires. Have you checked that they are all good ? Also do look at the alias added at Gateway for Ids added there in case any of them expired/removed.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!