Skip to content

Microsoft

Zautha signs users in through Microsoft’s common endpoint and asks for openid email profile. A user is identified by the tenant and object id in the token, and the email counts as verified only when Microsoft marks it so (xms_edov). Read Social providers first for how production credentials work.

  1. Sign in to the Microsoft Entra admin center, browse to Entra ID, then App registrations, and select New registration.
  2. Enter a Name (users see it).
  3. Under Supported account types, choose Any Entra ID Tenant + Personal Microsoft accounts so work, school and personal accounts can all sign in. Zautha uses the common endpoint, so an app registered as Single tenant only or Personal accounts only cannot serve every user, and Multiple Entra ID tenants leaves personal Microsoft accounts out. Microsoft’s table of the options is in Register an app.
  4. Select Register. The Overview page shows the Application (client) ID.

Under Manage, select Authentication. On the Redirect URI configuration tab choose Add Redirect URI, select the Web platform, enter Zautha’s Redirect URL (copy it from Social connections in the dashboard) and select Configure.

Zautha treats a Microsoft email address as verified only when the ID token carries the optional claim xms_edov (email domain owner verified) with the value true. Entra leaves optional claims out of tokens unless the app registration asks for them, so ask for it: under Manage, select Token configuration, then Add optional claim, choose the token type ID, select xms_edov and select Add. If Entra offers to add the Microsoft Graph email permission for the claim, accept. Without the claim, Microsoft emails are never treated as verified: a user signs in, but an existing account with the same address is not linked to the Microsoft account.

Select Certificates & secrets, then Client secrets, then New client secret; add a description, choose an expiration and select Add. Record the secret’s Value (not its ID) now: it is never displayed again.

A client secret expires (Microsoft limits it to 24 months and recommends under 12): put the expiry in your calendar, because sign-in with Microsoft stops when it passes. Create the next secret before then and enter it in Zautha.

In Social connections, Configure Microsoft, turn on Use your own credentials, enter the Client ID (the Application (client) ID) and the Client secret (the Value), and enable it.

Checked against Microsoft’s documentation on 2026-10-31: Configure optional claims (the Token configuration > Add optional claim > token type steps) and Optional claims reference (lists xms_edov in the v1.0 and v2.0 optional claim set; it is returned only when the email claim is present, and Zautha requests the email scope), Register an app, Add a redirect URI and Add and manage app credentials.