---
title: "Microsoft Entra ID Integration"
description: "Connect AI agents to Microsoft Entra ID (formerly Azure Active Directory). Agents create and manage users and groups, control membership and ownership, invite external guests, and audit directory roles, applications, and service principals."
url: https://flowrunner.ai/integrations/entra-id
date_modified: 2026-08-01T02:40:32-07:00
---

# Microsoft Entra ID

[Identity & Security](https://flowrunner.ai/integrations/category/identity-security)

Connect AI agents to Microsoft Entra ID (formerly Azure Active Directory). Agents create and manage users and groups, control membership and ownership, invite external guests, and audit directory roles, applications, and service principals.

[Verified](https://flowrunner.ai/integrations/verified "What does verified mean?") · 23 actions · OAuth · available

[Microsoft Entra ID website](https://learn.microsoft.com/) · [Platform Documentation](https://learn.microsoft.com/en-us/graph/api/overview) · Capability data verified 2026-07-14

1.  A new-hire record starts an onboarding flow
2.  Agent reads the hire's name, department, and required group set
3.  Create User with an initial password in the tenant
4.  Add Group Member for each group the role requires
5.  Agent confirms membership and reads back the user's group list
6.  The team channel announces the new hire
7.  An admin confirms membership in a privileged group before the agent adds it

## What This Integration Enables

Agents automate employee onboarding by creating a user, setting an initial password, and adding them to the right groups, offboard departing employees by revoking their sign-in sessions and deleting or updating their accounts, sync group membership and ownership from an HR system or spreadsheet, invite external partners as B2B guest users, and audit directory roles, group members, applications, and service principals. Microsoft Graph returns large collections in pages, so list operations pass an @odata.nextLink to retrieve the next page, and the group membership reference operations take a user object ID rather than a principal name. The connector covers the user, group, directory-role, invitation, and application surface of the directory; the surrounding flow decides which membership changes run automatically and where an admin signs off on a privileged assignment or an account deletion.

### Without FlowRunner

**Manual onboarding**: Creating a user and adding groups is done by hand per ticket, and details vary

**Incomplete offboarding**: A departing user's sessions are not always revoked, leaving access open

**Role audits on demand**: Directory roles and group members are only reviewed when compliance asks

### With FlowRunner

**Repeatable onboarding**: Create User and Add Group Member run identically for every hire, with a record

**Clean offboarding**: Revoke Sign-In Sessions and account changes run as ordered offboarding steps

**Scheduled audits**: Group members, roles, applications, and service principals are enumerated on a routine

## Use Case Scenarios

### New-hire onboarding across the Microsoft stack

A new-hire record starts the flow. The agent calls Create User with an initial password, then Add Group Member for each group the role requires, and announces the hire in the team's channel. Every hire gets the same baseline access set up the same way, so the directory stays consistent and the team knows who joined without an admin narrating it.

### Guest invitation with a personalized welcome

When a partner needs tenant access, the agent calls Invite Guest User to bring them in as a B2B guest, then sends a personalized welcome with next steps through [Outlook](https://flowrunner.ai/integrations/outlook). The external collaborator is provisioned and oriented in one flow rather than through a chain of manual emails.

### Directory access audit

On a routine, the agent enumerates group members, directory role assignments, applications, and service principals, then compiles the results into an access-review record. Unexpected members of a privileged group, or an application with more reach than expected, surface as exceptions for review rather than waiting for the next compliance cycle.

## Human-in-Loop Highlight

Adding someone to a privileged group, or deleting an account, are the directory decisions that should pause for a person. The agent handles the routine assembly on its own: it creates the user, sets the initial password, and stages the standard group memberships the role clearly needs. When the onboarding calls for a privileged group (an admin role or a group with broad access), it pauses before Add Group Member and asks the admin through their channel: "Onboarding \[user\] requests membership in \[privileged group\], which grants \[scope\]. Approve, assign a lower-privilege group, or deny?" The admin decides. The agent does the provisioning; the person owns the privileged grant.

Agent processes routinely

Detects exception requiring judgment

Clear match Continues automatically

Ambiguous Routes to human via preferred channel

Human decides

Agent resumes with decision

## Agent Capabilities

16 actions

### Users

6

-   **Create User** Creates a user and sets an initial password during onboarding.
-   **Update User** Updates a user's attributes.
-   **Delete User** Deletes a user account during offboarding. The typical human-gated step.
-   **Reset User Password** Resets a user's password.
-   **Revoke Sign-In Sessions** Revokes a user's active sign-in sessions in response to an offboarding or security event.
-   **List User's Groups** Lists the groups a user belongs to.

### Groups

5

-   **Create Group** Creates a directory group.
-   **Add Group Member** Adds a member to a group by object ID. Privileged-group additions are typically human-gated.
-   **Remove Group Member** Removes a member from a group by object ID.
-   **Add Group Owner** Adds an owner to a group by object ID.
-   **List Group Members** Lists the members of a group for an audit.

### Directory Roles and Invitations

3

-   **List Directory Roles** Lists the directory roles in the tenant.
-   **List Directory Role Members** Lists the members assigned to a directory role for an audit.
-   **Invite Guest User** Invites an external partner as a B2B guest user.

### Applications

2

-   **List Applications** Lists the tenant's application registrations.
-   **List Service Principals** Lists the tenant's service principals for a posture review.

## Frequently Asked Questions

### What can FlowRunner do with Microsoft Entra ID?

FlowRunner agents can run Get My Profile, List Users, and Get User in Microsoft Entra ID, plus 20 more actions.

### Does connecting Microsoft Entra ID to FlowRunner require OAuth?

Yes. Microsoft Entra ID connects to FlowRunner with OAuth 2.0, so agents authenticate without handling raw credentials.

### Can Microsoft Entra ID trigger a FlowRunner workflow automatically?

Microsoft Entra ID doesn't currently expose triggers in FlowRunner. It connects as an action step inside workflows started by another trigger.

**Work at Microsoft Entra ID?** This integration exposes Microsoft Entra ID to AI agents on every FlowRunner plan, including through MCP, at no cost to you. [See what FlowRunner offers integration partners](https://flowrunner.ai/integrations/partners), including how to keep this page current.

---
Markdown version of https://flowrunner.ai/integrations/entra-id. Site index: https://flowrunner.ai/llms.txt
