SSO with Entra ID

:wink: ## Describe the problem/error/question

Trying to setup SSO for Entra ID

What is the error message (if any)?

SAML Authentication failed. Invalid SAML response (missing attributes: http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/firstname, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/lastname).*

Any suggesion to how to fix this ?

Thx
MG

Information on your n8n setup

  • **n8n version: 1.105.4
  • **Database (default: SQLite):POSTGRES
  • **n8n EXECUTIONS_PROCESS setting (default: own, main):own
  • **Running n8n via (Docker, npm, n8n cloud, desktop app):Docker
  • **Operating system: Ubuntu 24.04.3 LTS

This got solved by my M365 Admin:

We needed to “rephrase” some of the claims that EntraID returns to match what N8N expects. This can be done quite easily in the M365 Entra admin portal.

Regards
MG