Add the Admin MCP server to Codex
Add the Admin entry the way Codex’s own docs describe, fill in what it needs, then check it’s connected.
Run the command
codex mcp add microsoft-admin --url https://agent365.svc.cloud.microsoft/agents/tenants/<tenant_id>/servers/mcp_AdminToolsFill in the values
What you fill in
Required values appear as <NAME> placeholders in the snippets; add optional ones the same way. Descriptions are the server’s registry entry’s.
<tenant_id>Value RequiredMicrosoft Entra tenant ID
Check it’s connected
Restart or reload Codex and look for microsoft-admin in its list of MCP servers. A server that needs sign-in opens it on first use.
Codex’s MCP docs · Admin MCP server →