Register Claude Desktop in Microsoft Entra ID
Register Claude Desktop as an app in Microsoft Entra ID so it can sign people in to your Dtwo gateway.
Overview
Claude Desktop needs its own app in Microsoft Entra ID to sign people in to your Dtwo gateway. You only do this once for your organization. Everyone who uses Claude Desktop with your gateway signs in through this app.
Before you start
If you’ve already registered your Dtwo gateway in Entra, go to App registrations, open the gateway app (for example Dtwo Gateway), and copy the Application (client) ID from its Overview page. This is your <ApplicationId>.
If you haven’t, follow Configure Microsoft Entra ID first, then come back here.
Register Claude Desktop
- Go to App registrations → New registration, name it after the client (for example
Claude Desktop), set Supported account types to Single Tenant Only — Default Directory, and select Register. - From Overview, copy the Application (client) ID — this is the client’s
<ClientId>. - Under Authentication → Add a platform, select Mobile and desktop applications and add the redirect URI
https://claude.ai/api/mcp/auth_callback. - Under API permissions → Add a permission, open the APIs my organization uses tab, search for
<ApplicationId>, select your gateway application, check themcpscope, and select Add permissions.
Next steps
Use the client ID you copied to roll out Dtwo to your organization in Claude Desktop or to connect Claude Desktop for yourself.