Microsoft Entra Admin MCP Server
Administer your Microsoft Entra ID tenant through Microsoft Graph: list and manage users, block sign-in, revoke sessions, and assign or reclaim M365 license seats.
What is the Microsoft Entra Admin MCP Server?
The Microsoft Entra Admin MCP server gives AI agents structured, permission-aware access to Microsoft Entra Admin through the Model Context Protocol. With 10 pre-built actions, agents can read, create, and update Microsoft Entra Admin data on behalf of authorized users.
Willow ships the Microsoft Entra Admin MCP server as part of an enterprise control plane. Every call runs behind SSO (Okta, Azure AD), enforces RBAC and least-privilege at runtime, writes to a full audit trail, and integrates with Splunk and Loki for SIEM visibility. Connect from Claude Desktop, Claude Code, Cursor, ChatGPT, VS Code, n8n, or any custom agent. Install once, distribute org-wide, and see exactly how Microsoft Entra Admin is being used by every AI agent in your stack.
Tools
List Users
List users in the Microsoft Entra tenant. Supports OData filtering, field selection, and paging. Use this to discover users or audit account and license status before offboarding.
Get User
Retrieve a single user by object ID or userPrincipalName (email). Returns profile, sign-in status, and assigned licenses.
List User Memberships
List groups and directory roles a user belongs to (direct memberships). Useful during offboarding to identify group cleanup.
List Deleted Users
List soft-deleted users in the tenant recycle bin. Use to verify a user was deleted or to inspect recently removed accounts.
Disable User
Block a user from signing in by setting accountEnabled to false. Does not remove licenses — pair with Revoke License and Revoke Sign-In Sessions for full offboarding.
Enable User
Restore sign-in access for a user by setting accountEnabled to true.
Revoke Sign-In Sessions
Invalidate all refresh tokens and browser sessions for a user by resetting signInSessionsValidFromDateTime. Run this after disabling an account to force immediate sign-out.
List Subscribed SKUs
List M365 license SKUs purchased by the organization, including skuId, skuPartNumber, and seat counts. Use skuId values when assigning or revoking licenses.
Assign License
Assign one or more M365 license SKUs to a user. Get skuId values from List Subscribed SKUs. Pair with Revoke Sign-In Sessions when offboarding.
Revoke License
Remove one or more M365 license SKUs from a user, freeing seats for reassignment. Pass skuId values from the user's assignedLicenses or List Subscribed SKUs.
Customize Tools
Edit descriptions, modify arguments, select tools, or add new ones
Set Up Your Microsoft Entra Admin MCP Server in Minutes
Add the following configuration to your MCP client. Authentication is handled via OAuth. Compatible with Claude Desktop, Claude Code, Cursor, ChatGPT, VS Code, n8n, and any MCP-compatible agent.
Claude Desktop
{
"mcpServers": {
"willow-microsoft-entra-admin": {
"type": "http",
"url": "https://<org>.mcp-s.com/mcp/mcp/microsoft-entra-admin"
}
}
}Cursor
{
"mcpServers": {
"willow-microsoft-entra-admin": {
"type": "http",
"url": "https://<org>.mcp-s.com/mcp/mcp/microsoft-entra-admin"
}
}
}Claude Code
claude mcp add willow-microsoft-entra-admin --transport http https://<org>.mcp-s.com/mcp/mcp/microsoft-entra-adminn8n
{
"url": "https://<org>.mcp-s.com/mcp/mcp/microsoft-entra-admin",
"method": "POST"
}Or click "Install with Willow" above to set up automatically with SSO and RBAC preconfigured.
Enterprise Governance for Microsoft Entra Admin
Willow adds the layer Microsoft Entra Admin and every other SaaS doesn't ship out of the box: every call runs behind SSO (Okta, Azure AD), enforces RBAC and least-privilege at runtime, writes to full audit logs, and detects shadow AI usage across your stack. One MCP gateway. Any agent. Every tool.
Microsoft Entra Admin MCP Server FAQ
What is the Microsoft Entra Admin MCP server?
The Microsoft Entra Admin MCP server is a Model Context Protocol implementation that lets AI agents like Claude, Cursor, and ChatGPT read and write Microsoft Entra Admin data through a standardized interface. Willow hosts and governs this server so enterprises can roll it out without a security review backlog.
How is Willow's Microsoft Entra Admin MCP server different from the official one?
The official Microsoft Entra Admin MCP server is scoped to a single user's account and does not include enterprise governance. Willow's version adds SSO, RBAC, audit logging, shadow AI detection, and centralized control over which actions agents can take across the entire org.
Which AI clients work with the Microsoft Entra Admin MCP server?
Claude Desktop, Claude Code, Cursor, ChatGPT, VS Code with MCP support, n8n, and any custom agent built with OpenAI Agents SDK, LangChain, Vercel AI SDK, or Anthropic SDK.
Is the Microsoft Entra Admin MCP server secure? How does Willow handle authentication?
Every call runs behind your existing SSO (Okta, Azure AD). Per-user OAuth scopes the agent to exactly what that user can do in Microsoft Entra Admin, nothing more. No credentials reach the LLM. Every action writes to an audit trail.
Can I limit which Microsoft Entra Admin actions agents can take?
Yes. Willow lets you scope agents to specific actions, specific projects, or specific environments. Toggle actions on or off in the dashboard, or enforce policy via infrastructure-as-code through GitHub.
How do I detect shadow Microsoft Entra Admin MCP servers in my org?
Willow's browser extension and discovery service surface unmanaged MCP servers, skills, and AI agents across the org. If a developer installed an unapproved Microsoft Entra Admin MCP locally, you'll see it.
What does the Microsoft Entra Admin MCP server cost?
Pricing depends on org size and deployment model (SaaS, dedicated cloud, self-host). See withwillow.ai/pricing or contact sales for a quote.
How do I install the Microsoft Entra Admin MCP server with Willow?
Install via the Willow Connect Panel in one click, or paste the JSON snippet above into your Claude Desktop, Cursor, or Claude Code config. SSO and RBAC inherit from your existing Willow setup.
Compare Willow MCP Gateway
See how Willow stacks up against other MCP platforms on governance, security, and enterprise readiness.
Related identity-security MCP Servers
Your agents are already in the wild.
Give them a Basecamp. Go from AI chaos to AI work, in minutes.