Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 17 | |
| 8 | |
| 6 | |
| 6 | |
| 5 |