< Back to all integrations
HR & Talent

Connect AI agents and workflows to Microsoft Entra ID: create, update and remove users and groups, manage members and licenses, and act on new users.

Book a demo
[ Microsoft Entra ID + engini ]

Microsoft Entra ID for AI agents and workflows.

engini lets your AI agents and workflows administer Microsoft Entra ID (formerly Azure Active Directory): create, update and delete users and groups, manage group members, and assign or remove licenses, with a trigger on newly created users. Joiners, movers and leavers run across your HR system and your Microsoft tenant, with every change on record. Connect from Claude, ChatGPT or Cursor over MCP, from your code, or build in Workflow Studio.

Connect Microsoft Entra ID to Claude, Claude Code, ChatGPT, Codex and Cursor: one engini MCP server, CLI or SDK, with only the Microsoft Entra ID tools you choose. How it works →

MCPPython and TypeScript SDKCLIREST APIWorkflow Studio
Read the Microsoft Entra ID guide →
ReachUsers, groups, group members, licenses and subscribed SKUs
TriggerUsers created, on a schedule
FormerlyAzure Active Directory
[ AI clients ]

Connect Microsoft Entra ID to Claude, Claude Code, ChatGPT, Codex and Cursor. One connection, only the tools you choose.

Looking for an MCP server for Microsoft Entra ID, or a way to let Claude Code or ChatGPT work in Microsoft Entra ID? Connect Microsoft Entra ID to engini once, choose the Microsoft Entra ID tools each agent may use, and add engini to the AI client you already work in.

Claude

Connect Claude to Microsoft Entra ID

Create an MCP server in engini with your Microsoft Entra ID connection and only the tools you choose. In Claude, open Settings, Connectors, Add custom connector, paste the server address and sign in through engini.

Claude and your business systems →
Claude Code

Claude Code and Microsoft Entra ID

Add the same server with claude mcp add --transport sse and sign in with /mcp. Or install the engini CLI and let Claude Code run Microsoft Entra ID tools from the terminal.

MCP client setup →
ChatGPT

ChatGPT and Microsoft Entra ID

Add the engini MCP server to ChatGPT as a custom MCP server, where your ChatGPT workspace allows them, and sign in through engini. ChatGPT sees only the Microsoft Entra ID tools on that server.

ChatGPT and your business systems →
Codex

Codex and Microsoft Entra ID

Install the engini CLI (npm install -g @engini/cli) and Codex runs Microsoft Entra ID tools from the terminal, with machine-readable output. The engini skills plugin for Codex builds engini workflows from a plain-language request.

engini skills for Claude Code and Codex →
Cursor

Cursor and Microsoft Entra ID

Add the server address to .cursor/mcp.json and sign in through engini on first use. VS Code and other MCP clients take the same address.

MCP client setup →
Your own agent

Python, TypeScript or REST

The SDK hands OpenAI and Anthropic models the Microsoft Entra ID tools in the format they expect and runs the ones they pick. The REST API calls the same tools with no model in the loop.

SDK guide →

Every client goes through the same Agent Policy: the toolset decides which Microsoft Entra ID tools it may call, credentials stay in engini, and every call is in the audit log. Setup for each client: MCP client setup.

[ 01 / What agents can do ]

What your agent can do in Microsoft Entra ID. Every tool is one you allow or leave out.

The Microsoft Entra ID tools in engini, grouped by what they change. Read tools are safe to hand out widely. Write and delete tools go only to the agents that need them.

Read

Get Users, Get User

Read users.

Read
Get Groups, Get Group, Get Group Members

Read groups and their members.

Read
Get User License Details, Get Subscribed SKUs

See licenses held and available.

Read

Write

Create User, Update User

Add and change users.

Write
Create Group, Update Group

Build and change groups.

Write
Assign User License

Give a user a license.

Write

Delete

Delete User, Delete Group

Remove a user or a group.

Delete
Remove Member from Group, Remove User License

Take away a membership or a license.

Delete

Triggers

Check for Users Created

New users in your tenant.

Scheduled

A trigger starts a workflow, and a workflow can include an AI agent step. In Code, a trigger delivers the event to your own endpoint.

[ 02 / Connect your agent ]

Connect your AI agent to Microsoft Entra ID. Four ways in, one set of permissions.

MCP

Claude, Claude Code, ChatGPT, Cursor

Create an MCP server in engini with your Microsoft Entra ID connection and only the tools you choose. Add its address to your client and sign in through engini. There is no key to copy.

MCP client setup →
SDK

Python and TypeScript

Hand your agent a toolset of Microsoft Entra ID tools. The SDK gives OpenAI and Anthropic models the tools in the format they expect and runs the ones they pick.

SDK guide →
CLI

Claude Code, Codex

The engini CLI connects Microsoft Entra ID and runs its tools from a terminal, with machine-readable output, so an AI coding agent such as Claude Code or Codex can drive it without getting stuck.

CLI guide →
REST API

Any language

Every Microsoft Entra ID tool is an endpoint. Call it with exact inputs from a scheduled job or a sync, with no model in the loop.

API reference →
MCP in four steps
In engini, connect Microsoft Entra ID and create an MCP server with that connection and the tools this agent may use.
Claude: Settings, Connectors, Add custom connector, then paste the server address.
Cursor: add the address to .cursor/mcp.json. Claude Code: claude mcp add.
Sign in through engini when the client asks. The agent sees only the tools you chose.
Cursor, connected to Microsoft Entra ID through engini
// .cursor/mcp.json: Cursor, connected to Microsoft Entra ID through engini
{
"mcpServers": {
"engini-microsoft-entra-id--azure-ad": {
"url": "<your engini MCP server address>"
}
}
}

Create the MCP server in engini with your Microsoft Entra ID connection and the tools this agent may use, then paste its address. The client signs in through engini on first use. Claude, VS Code and other clients take the same address: see the MCP client setup guide.

Try asking your agent
“Create an account for the hire in this Workday record.”
“Which licenses do we have left?”
“Add Dana to the Finance group.”
“Who left last month but still holds a license?”
“List the members of the Finance group.”
“Remove the contractor accounts that ended this week.”

Each request runs through the Microsoft Entra ID tools in the agent's toolset or MCP server. If a tool is not allowed, the agent cannot call it.

[ 03 / What teams build ]

What teams build on Microsoft Entra ID. Agents and workflows, across systems.

People operations

Joiners from the HR record

When a hire appears in Workday or BambooHR, create the Entra ID user, add the groups for the role and assign the license.

WorkdayMicrosoft Entra ID
IT

Leavers, fully off

When someone leaves, remove their groups and licenses and delete or disable the account, with every step recorded.

BambooHRMicrosoft Entra ID
IT

New users, welcomed

When a user is created, post a welcome in Teams with their first-week tasks.

Microsoft Entra IDMicrosoft Teams
Finance

License review on request

An agent in Claude lists licenses held and unused. Its toolset holds read tools only.

Microsoft Entra IDClaude

Every integration runs both ways, so any of these flows can also run in reverse. These are examples, not the limit: any flow between Microsoft Entra ID and another system engini connects is available.

[ 04 / Agent Policy ]

You decide what each agent may do in Microsoft Entra ID. engini enforces it on every call.

Toolsets

Only the tools you allow

A toolset lists the Microsoft Entra ID tools an agent may call and the connection each one uses. Give one agent read tools only and another the write it needs. engini refuses any call outside the toolset.

MCP servers

Scoped when you set them up

An MCP server exposes only the connections and tools chosen when it is created, and engini shows who uses each server.

Identity

Whose permissions apply

Connect a person's own Microsoft Entra ID account and engini acts as that person, with their Microsoft Entra ID permissions. Use a shared integration account and it acts as that account. Every run is recorded under the user who started it.

Credentials

Kept out of prompts

Your agent never needs your credentials: engini stores them and adds them when it runs each call, so keys stay out of prompts and tool inputs.

Audit

Every call on record

Every call lands in History and the audit log, which you can export or stream to your SIEM.

Environments

Test before production

Workspaces keep teams apart, and development, staging and production environments keep a test agent away from live data.

SOC 2 Type IIISO 27001GDPRHIPAA compliantSecurity at engini →
[ 05 / Set up ]

Connect Microsoft Entra ID in three steps. Then decide what each agent may do.

Step 01

Sign in to Microsoft Entra ID

Add a Microsoft Entra ID connection and sign in with an account that can administer the users, groups and licenses the workflows will touch.

Step 02

Choose the tools

Add the connection to an MCP server or a toolset with only the tools each agent needs.

Step 03

Build or ask

Use the connection as a step in a workflow, or ask your agent to work in Microsoft Entra ID from Claude, Claude Code, ChatGPT, Codex, Cursor or your own code.

Full Microsoft Entra ID setup guide →
[ 06 / Questions ]

Microsoft Entra ID and engini. Straight answers.

Can an AI agent write to Microsoft Entra ID, or only read?

Both. engini has tools to create, update and delete users and groups, change group membership and assign or remove licenses. Whether a given agent may use them is up to you: give it a toolset or an MCP server with read tools only, and it cannot call the rest.

Can I connect Claude or Claude Code to Microsoft Entra ID?

Yes, through engini. Create an MCP server in engini with your Microsoft Entra ID connection and the tools Claude may use. In Claude, add it under Settings, Connectors, Add custom connector; in Claude Code, run claude mcp add --transport sse with the server address, or use the engini CLI. Claude signs in through engini, sees only the Microsoft Entra ID tools you chose, and every call is in the audit log.

Is there an MCP server for Microsoft Entra ID?

Yes. engini gives you an MCP server for Microsoft Entra ID: create one in engini with your Microsoft Entra ID connection and only the tools you choose, and Claude, Claude Code, ChatGPT, Cursor, VS Code and other MCP clients connect to it and sign in through engini over OAuth, with no key to copy. MCP client setup.

How do I connect ChatGPT or Codex to Microsoft Entra ID?

ChatGPT: add the engini MCP server as a custom MCP server, where your ChatGPT workspace allows them, and sign in through engini. Codex: install the engini CLI and Codex runs Microsoft Entra ID tools from the terminal; the engini skills plugin for Codex also builds engini workflows from a plain-language request. In your own code, the SDK hands OpenAI models the Microsoft Entra ID tools.

Does the agent act as me in Microsoft Entra ID?

It acts as the Microsoft account behind the connection, with that account's directory roles. Give it only the roles the job needs. Every run is recorded under the person who started it.

Can a change in Microsoft Entra ID start work?

Yes. Check for Users Created starts a workflow when new users appear in your tenant, on the schedule you set. The workflow can include an AI agent step.