Overview
Add Microsoft Entra ID to any ModuleX agent or workflow. Identity and access management via the Microsoft Graph API (graph.microsoft.com/v1.0) for managing users, groups, and directory objects in Microsoft Entra ID (formerly Azure Active Directory).
Authentication
OAuth2 Authentication
Connect using Microsoft Entra ID OAuth (recommended)Required Credentials
| Field | Description | Required | Format |
|---|---|---|---|
| Client ID | Microsoft Entra ID OAuth App Client ID | Yes | xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx |
| Client Secret | Microsoft Entra ID OAuth App Client Secret | Yes | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
OAuth Configuration
- Authorization URL:
https://login.microsoftonline.com/common/oauth2/v2.0/authorize - Token URL:
https://login.microsoftonline.com/common/oauth2/v2.0/token - Scopes:
User.Read,User.ReadWrite.All,Group.ReadWrite.All,GroupMember.ReadWrite.All,Directory.ReadWrite.All
Available Actions
add_member_to_group — Add a user as a member to a Microsoft Entra ID group.
add_member_to_group — Add a user as a member to a Microsoft Entra ID group.
create_group — Create a new group in Microsoft Entra ID.
create_group — Create a new group in Microsoft Entra ID.
Parameters
Response
delete_group — Delete a group in Microsoft Entra ID.
delete_group — Delete a group in Microsoft Entra ID.
get_manager — Get the user's manager information. Returns the user or organizational contact assigned as the user's manager.
get_manager — Get the user's manager information. Returns the user or organizational contact assigned as the user's manager.
get_ms365_groups — Get the user's Microsoft 365 groups (unified groups). Returns groups the user is a direct member of.
get_ms365_groups — Get the user's Microsoft 365 groups (unified groups). Returns groups the user is a direct member of.
get_organization_groups — List all groups in the organization (excluding dynamic distribution groups).
get_organization_groups — List all groups in the organization (excluding dynamic distribution groups).
Response
get_organization_users — List all users in the organization. By default returns only enabled accounts.
get_organization_users — List all users in the organization. By default returns only enabled accounts.
get_profile — Get the user's profile information from Microsoft Entra ID.
get_profile — Get the user's profile information from Microsoft Entra ID.
remove_member_from_group — Remove a member from a Microsoft Entra ID group.
remove_member_from_group — Remove a member from a Microsoft Entra ID group.
search_groups — Search for groups by name or description in Microsoft Entra ID.
search_groups — Search for groups by name or description in Microsoft Entra ID.
update_group — Update an existing group in Microsoft Entra ID.
update_group — Update an existing group in Microsoft Entra ID.
Parameters
Response
update_user — Update an existing user in Microsoft Entra ID.
update_user — Update an existing user in Microsoft Entra ID.
Parameters
true)Response
Limits & Quotas
- Microsoft Graph throttling: Varies by resource and tenant; typically 10,000 requests per 10 minutes per app per tenant for most directory endpoints.
- Pagination: List endpoints may return paginated results; the integration follows
@odata.nextLinkautomatically. - Error model: Non-2xx responses and timeouts are caught and returned as
success=False+errorrather than raising.