What it is for
The Azure Active Directory (Microsoft Entra ID) component lets you manage your organization's users, groups and licenses from flooows. Use it to automate employee onboarding and offboarding, assign licenses, add people to groups or revoke sessions during a security incident.
New User, New Group and New Deleted User are polling-based: flooows checks the directory every few minutes and starts the flow for each new item.
Set up the connection
Authentication type: OAuth 2.0 (sign in with your account)
- 1Add an Azure Active Directory step and click "Connect".
- 2In the Permissions dropdown pick the access level: read only, user management, user and group management, or full management with licenses. Each level includes the previous ones.
- 3Sign in with an account that has an admin role in Entra ID and accept the permissions; many require admin consent.
- 4If you use your own Azure app, register it, add the redirect URL shown by flooows and grant the full set of Microsoft Graph delegated permissions (User.ReadWrite.All, Group.ReadWrite.All, Directory.Read.All, etc.).
Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.
How to use it in a flow
- Create User: fill in Display Name, User Principal Name (sign-in email), Mail Nickname and Password; tick Force Password Change on Next Sign-in for new hires.
- Add Member to Group: pick the Group and the Member, for example the user just created, mapped from the previous step.
- Add or Remove User License: select the User and the licenses in Add Licenses or Remove Licenses.
- Update User: change Job Title, Mobile Phone or Account Enabled; set Account Enabled to false to block an account at offboarding.
- Revoke Sign-in Session: signs the user out of all active sessions.
Tips
- •Choose the lowest permission level the flow needs.
- •Combine New User with Add Member to Group for automatic onboarding.
- •Use List Users with Filter to find users by department or status.
Triggers (3)
Events that can start a flow. Expand each one to see its fields.
New Deleted UserPeriodic check0 fields
No fields to configure.
New GroupPeriodic check0 fields
No fields to configure.
New UserPeriodic check0 fields
No fields to configure.
Actions (17)
Operations available as flow steps. Expand each one to see its fields.
Add Member to Group2 fields
| Field | Type | Required |
|---|---|---|
| Group | List (from your account) | Yes |
| Member | List (from your account) | Yes |
Add or Remove User License3 fields
| Field | Type | Required |
|---|---|---|
| User | List (from your account) | Yes |
| Add Licenses | JSON | No |
| Remove Licenses | JSON | No |
Create Group5 fields
| Field | Type | Required |
|---|---|---|
| Display Name | Text | Yes |
| Description | Text | No |
| Mail Nickname | Text | Yes |
| Mail Enabled | Yes / No | No |
| Security Enabled | Yes / No | No |
Create User12 fields
| Field | Type | Required |
|---|---|---|
| Display Name | Text | Yes |
| User Principal Name | Text | Yes |
| Mail Nickname | Text | Yes |
| Password | Text | Yes |
| Force Password Change on Next Sign-in | Yes / No | No |
| Account Enabled | Yes / No | No |
| Given Name | Text | No |
| Surname | Text | No |
| Job Title | Text | No |
| Text | No | |
| Mobile Phone | Text | No |
| Usage Location | Text | No |
Delete Group1 fields
| Field | Type | Required |
|---|---|---|
| Group | List (from your account) | Yes |
Delete User1 fields
| Field | Type | Required |
|---|---|---|
| User | List (from your account) | Yes |
Get Enabled Users1 fields
| Field | Type | Required |
|---|---|---|
| Top | Number | No |
Get Group by ID1 fields
| Field | Type | Required |
|---|---|---|
| Group | List (from your account) | Yes |
Get Group Custom Attributes1 fields
| Field | Type | Required |
|---|---|---|
| Group | List (from your account) | Yes |
Get User by ID1 fields
| Field | Type | Required |
|---|---|---|
| User | List (from your account) | Yes |
List Enabled Users1 fields
| Field | Type | Required |
|---|---|---|
| Page Size | Number | No |
List Group Members2 fields
| Field | Type | Required |
|---|---|---|
| Group | List (from your account) | Yes |
| Top | Number | No |
List Users2 fields
| Field | Type | Required |
|---|---|---|
| Top | Number | No |
| Filter | Text | No |
Reset Custom Attributes3 fields
| Field | Type | Required |
|---|---|---|
| Resource Type | Fixed list | Yes |
| Resource | List (from your account) | Yes |
| Extension Property Names | Text | No |
Revoke Sign-in Session1 fields
| Field | Type | Required |
|---|---|---|
| User | List (from your account) | Yes |
Update User8 fields
| Field | Type | Required |
|---|---|---|
| User | List (from your account) | Yes |
| Display Name | Text | No |
| Given Name | Text | No |
| Surname | Text | No |
| Job Title | Text | No |
| Text | No | |
| Mobile Phone | Text | No |
| Account Enabled | Yes / No | No |
Custom API Call10 fields
| Field | Type | Required |
|---|---|---|
| url | Dynamic fields | Yes |
| Method | Fixed list | Yes |
| Headers | Key / value pairs | No |
| Query Parameters | Key / value pairs | No |
| Body Type | List (from your account) | No |
| Body | Dynamic fields | No |
| Response is Binary | Yes / No | No |
| Return Error as Output | Yes / No | No |
| Timeout | Number | No |
| Follow redirects | Yes / No | No |
Common errors
Insufficient privileges.
Reconnect with a higher Permissions level or ask a global admin to grant consent.
License assignment fails.
The user needs a usageLocation set and there must be free licenses.
The token stops working.
Reconnect the account.
Field types
"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps
