Skip to Content
GuidesUser SourcesMicrosoft Entra ID

Microsoft Entra ID

Use Microsoft Entra ID as a User Source so the people who already sign in with their Microsoft work or school account can sign in to your MCP Gateways. This guide walks you through what to do in the Microsoft Entra admin center. Once you have the values it tells you to copy, create the User Source in Arcade.

Before you start

  • An account with one of these roles in your Microsoft Entra tenant: Cloud Application Administrator or Application Administrator.
  • An Arcade project where you’ll create the User Source.

Register an app in Microsoft Entra ID

Open the Entra admin center

Sign in to the Microsoft Entra admin center  with one of the roles listed above.

Go to Entra IDApp registrationsNew registration.

App registrations page in the Microsoft Entra admin center, with the New registration button highlighted

Name the app and choose who can sign in

Give the app a name your team will recognize, for example Arcade MCP Gateways.

Under Supported account types, pick Single tenant only — your tenant name. This is the only account type Arcade supports today — see the Notes below for details on the other options.

Add the Arcade redirect URL

In the Redirect URI section, select the Web platform and paste this URL:

https://cloud.arcade.dev/oauth2/intermediate_callback

Click Register. Entra creates the app and opens its Overview page.

Register an application form with Name, Supported account types, and Redirect URI filled in

Create a client secret

In the new app’s left menu, go to Certificates & secretsClient secretsNew client secret.

Add a description (for example, Arcade User Source) and pick an expiration period. Click Add.

Copy the Value column immediately and keep it somewhere safe—Entra hides it as soon as you leave the page. You’ll paste this into Arcade as the Client Secret.

Certificates and secrets page with a newly created client secret, with the Value field highlighted

Arcade currently supports client secrets only, not certificate credentials.

Allow the openid permission

In the app’s left menu, go to API permissions.

Microsoft adds User.Read for you by default; leave it alone. Then click Add a permissionMicrosoft GraphDelegated permissions and check openid. Click Add permissions.

openid is the only permission Arcade needs. You can optionally add profile and email if you want Entra to include those claims in the token; Arcade doesn’t require them today.

Request API permissions panel with the openid OpenID permission checked

Copy these values to Arcade

Open the app’s Overview page in Entra and copy these values into Arcade’s User Source form:

Arcade fieldWhere to find it in Entra ID
Issuer URLhttps://login.microsoftonline.com/{tenant-id}/v2.0. {tenant-id} is the Directory (tenant) ID field on the app’s Overview page.
Client IDThe Application (client) ID field on the app’s Overview page.
Client SecretThe value you copied earlier when you created the client secret. It is not shown anywhere after creation, so use the value you saved rather than going back to the Overview page for it.
Subject ClaimUse oid. The default sub is unique per app registration, which makes it harder to trace a signed-in user back to their identity in your Entra directory. oid is the same identifier across your directory. It’s also a better choice than email, because oid stays the same if the person’s email address ever changes.

Create the User Source in Arcade

Open the User Sources dashboard , click Create User Source, and paste the values from the table above. For a walkthrough of the form, see Create a User Source in the User Sources overview.

Once the User Source is active, attach it to an MCP Gateway by following Create via Dashboard and picking User Source under “Non-Arcade Users” in the gateway form.

Notes

  • Multi-tenant and personal-account options aren’t supported today: Arcade matches the OIDC iss claim on every ID token byte-for-byte against the issuer URL you save on the User Source. The Multiple Entra ID tenants, Any Entra ID Tenant + Personal Microsoft accounts, and Personal accounts only options all rely on Entra issuing tokens whose iss reflects the signing-in user’s home tenant, so there’s no single issuer URL that will validate for users from more than one tenant. If you need to onboard users from multiple Entra tenants today, create a separate Arcade User Source per tenant.
  • PKCE: Arcade always uses PKCE when authenticating end users. Entra ID accepts PKCE automatically on the Web platform, so you don’t need to change any Entra setting.
  • Client secret rotation: Entra client secrets expire. Rotate yours before the expiration date. See Rotate the client secret in the User Sources guide for how.
  • Custom subject claims: If you need Arcade to identify end users by a value other than oid, configure that value as an optional claim  on Entra’s ID token, then set the User Source’s Subject Claim to its name. Arcade can read any claim that ends up in the ID token; it doesn’t have access to access tokens or other token types.
Last updated on