Skip to navigation

Microsoft Entra ID

Beta
Connect your AI agents to Microsoft Entra ID.
This Connector is in Beta

Merge has validated Microsoft Entra ID against the provider’s documented API and not yet verified it against the live one, so its behavior can differ from the documentation. It carries the same tool surface it will have at general availability. Connectors overview covers the tier and how to turn Beta Connectors off.

Authentication: OAuth. See Magic Link for the runtime auth flow, or Application credentials to bring your own OAuth app.

Sample use cases

  • List the users who have not registered for MFA and the Conditional Access policies that apply to them.
  • Add a new hire to the Engineering security group and set their manager.
  • Find enterprise apps whose client secrets expire this month and add a new secret to each.

Available Tools

add_application_password

Add a client secret to an Entra app registration (application_object_id from get_app_status or create_application), with an optional name and validity window.

add_group_member

Add a user, group, device or service principal as a direct member of an Entra group.

add_owner

Make a user or service principal an owner of an Entra app registration, group or service principal (enterprise app).

add_user_sponsor

Add a sponsor to a user, typically a guest (POST /users//sponsors/$ref): user_id from get_users, sponsor_id a user from get_users or a group from search_groups (sponsor_type).

assign_manager

Set a user’s manager (PUT /users//manager/$ref), replacing any current manager; user_id and manager_id from get_users.

create_app_role_assignment

Assign an app role to a user (POST /users//appRoleAssignments): user_id from get_users, resource_id the app’s service principal ID and app_role_id one of its app_roles (both from get_app_status; the…

create_application

Register a new Entra application (app registration) with a display name and optional sign-in audience, description, tags, identifier URIs and web redirect URIs.

create_extension_property

Define a directory extension property on an Entra app registration (application_object_id from get_app_status or create_application) so users, groups or other target objects can carry a custom…

create_federated_identity_credential

Add a federated identity credential to an Entra app registration so an external workload (GitHub Actions, Kubernetes, another cloud) can get tokens without a secret.

create_group

Create an Entra group: a security group (security_enabled true, mail_enabled false) or a Microsoft 365 group (group_types [‘Unified’], mail_enabled true), optionally dynamic, with owners and members.

create_group_extension

Store custom data on an Entra group as an open extension: a unique extension_name plus properties (strings, numbers, booleans or lists of them).

create_role_assignment

Grant a Microsoft Entra directory role to a user, group or service principal with POST /roleManagement/directory/roleAssignments.

create_service_principal

Create the service principal (enterprise app) for an app registration in this tenant, so it can sign users in and receive role assignments.

create_user

Create an Entra ID user (POST /users) with account_enabled, display_name, mail_nickname, user_principal_name (domain from list_domains) and an initial password_profile, plus optional directory…

delete_app_role_assignment

Remove an app role assignment from a user (DELETE /users//appRoleAssignments/): user_id from get_users, app_role_assignment_id from create_app_role_assignment or get_app_status.

delete_application

Delete an Entra app registration by object ID (from get_app_status with match_on ‘application’, or create_application).

delete_deleted_item

Permanently delete one soft-deleted Microsoft Entra user, group, application or service principal from the deleted-items recycle bin.

delete_extension_property

Delete a directory extension property from an Entra app registration.

delete_federated_identity_credential

Delete one federated identity credential from an Entra app registration; the external workload that used it can no longer get tokens, and this cannot be undone.

delete_group

Delete an Entra group (Microsoft 365 and security groups stay restorable from deleted items for 30 days).

delete_group_extension

Delete one open extension (custom data) from an Entra group.

delete_role_assignment

Revoke one Microsoft Entra directory role assignment with DELETE /roleManagement/directory/roleAssignments/.

delete_service_principal

Delete a service principal (enterprise app): its sign-ins, role assignments and consent grants stop working; the app registration remains and the service principal can be restored from deleted items…

delete_user

Delete an Entra ID user (DELETE /users/); user_id from get_users or create_user.

get_administrative_unit

Get one Microsoft Entra administrative unit by object ID: display name, description, membership type (Assigned or Dynamic), dynamic membership rule and its processing state, visibility and whether it…

get_app_status

Application access status: lists service principals (or app registrations with match_on='application') with accountEnabled, granted application permissions, delegated grants with consentType…

get_application_changes

Track Microsoft Entra app registrations added, changed or deleted since a checkpoint, from /applications/delta.

get_application_template

Get one Microsoft Entra application gallery template by ID, from /applicationTemplates/: its name, publisher, categories, home page and logo URLs, and the single sign-on modes and provisioning types…

get_authentication_method_mode

Get one authentication method mode that Microsoft Entra authentication strengths combine, by mode ID such as ‘password’, ‘fido2’, ‘microsoftAuthenticatorPush’ or ‘windowsHelloForBusiness’: its base…

get_authentication_strength_policy

Get one Microsoft Entra authentication strength policy by ID (built-in, e.g. ‘00000000-0000-0000-0000-000000000002’ for Multifactor authentication, or custom): display name, description, policy type,…

get_consent_settings

App consent settings: whether users can consent to apps themselves (authorization policy’s ManagePermissionGrantsForSelf policies), whether the admin consent workflow is enabled and who reviews it…

get_delegated_grant_changes

Track Microsoft Entra delegated permission grants (OAuth2 consents: which app may act for which users with which scopes) added, changed or removed since a checkpoint, from…

get_deleted_items

Read Microsoft Entra directory objects in the deleted-items recycle bin (kept 30 days, restorable): one object by item_id (GET /directory/deletedItems/), or a page of the deleted users, groups,…

get_directory_audit

Get one Microsoft Entra directory audit log entry by directory_audit_id from /auditLogs/directoryAudits/ (Graph v1.0): when it happened, the activity and operation type, category, the service that…

get_directory_role

Get one activated Microsoft Entra directory role (directoryRole) by role_id, or by role_template_id: its display name, description and role template ID.

get_directory_role_template

Get one Microsoft Entra directory role template by template_id: the built-in role’s display name and description.

get_extension

Read a Microsoft Entra group’s open extensions (custom data apps store on the group).

get_extension_property

Get one directory extension property of an app registration by ID, from /applications//extensionProperties/: its full name, data type, multi-valued and on-premises sync flags, and target object types.

get_federated_identity_credential

Get one federated identity credential (workload identity federation trust, e.g. a GitHub Actions or Kubernetes workload) of an app registration by ID or name, from…

get_group_changes

Track Microsoft Entra groups added, changed or deleted since a checkpoint, from /groups/delta.

get_group_setting

Read one Microsoft Entra group setting by group_setting_id from list_group_settings or list_settings.

get_group_setting_template

Read one Microsoft Entra group setting template by template_id (from list_group_setting_templates or a setting’s template_id): its settings with type, default value and description.

get_mfa_policies

Show how the tenant enforces MFA: security defaults (on or off), Conditional Access policies (state, users/groups/roles included and excluded, apps, locations, platforms, grant controls such as ‘mfa’…

get_mfa_registration

Report who has registered for MFA, from the authentication methods registration report (userRegistrationDetails): per user, whether they are MFA registered and capable, passwordless capable, SSPR…

get_multi_tenant_organization_identity_synchronization

Get the tenant’s multi-tenant organization identity synchronization policy template from the cross-tenant access policy: which partners it applies to (template_application_level) and whether inbound…

get_multi_tenant_organization_partner_configuration

Get the tenant’s multi-tenant organization partner configuration template from the cross-tenant access policy: which partners it applies to, inbound trust (MFA, compliant and hybrid-joined device…

get_principal_application_permissions

Get the application permissions (app role assignments) granted to a user: which app role (appRoleId) on which resource service principal (resourceId) the user holds.

get_provisioning_status

Get an enterprise app’s SCIM provisioning status from Graph v1.0: its synchronization jobs (template, schedule, state, last run and counts, quarantine, settings and whether it syncs all users or only…

get_role_assignment_schedule

Get one Microsoft Entra PIM role assignment schedule by schedule_id: who (principal_id) holds which role (role_definition_id) at which scope, whether assigned or activated, its schedule_info (start…

get_role_assignment_schedule_instance

Get one Microsoft Entra PIM role assignment schedule instance (a current or upcoming active role assignment) by instance_id: principal, role, scope, assignment type, start and end time, and the…

get_role_definition

Get one Microsoft Entra unified role definition (built-in or custom directory role) by role_definition_id: name, description, built-in, enabled and privileged flags, resource scopes, allowed and…

get_role_eligibility_schedule

Get one Microsoft Entra PIM role eligibility schedule by schedule_id: who (principal_id) may activate which role (role_definition_id) at which scope, its schedule_info (start and expiration), status,…

get_role_eligibility_schedule_instance

Get one Microsoft Entra PIM role eligibility schedule instance (a current or upcoming eligibility to activate a role) by instance_id: principal, role, scope, member type, start and end time and its…

get_scoped_role_member

Get one scoped role membership of a Microsoft Entra administrative unit: the directory role ID, the administrative unit ID and the member (user, group or service principal) holding that role over the…

get_service_principal_changes

Track Microsoft Entra service principals (enterprise apps and managed identities) added, changed or deleted since a checkpoint, from /servicePrincipals/delta.

get_sign_ins

List recent Microsoft Entra sign-ins from /auditLogs/signIns (Graph v1.0), or get one by sign_in_id: user and app, resource, time, IP and location, device, client app, correlation ID, status with…

get_sso_config

SSO configuration of one enterprise app (e.g. Drata) by service_principal_id, app_id or application_object_id: preferredSingleSignOnMode, SAML settings, identifier and reply URLs, claims mapping…

get_template

Get a Microsoft Entra template.

get_tenant_info

Get the Microsoft Entra tenant’s details from /organization: tenant ID, display name, verified domains (default, initial, managed or federated), tenant type, assigned plans, on-premises sync state,…

get_tenant_licenses

List the tenant’s subscribed license SKUs from /subscribedSkus (part number, status, purchased and assigned units, included service plans) and report whether Microsoft Entra ID P1 and P2 are…

get_user_changes

Track Microsoft Entra users added, changed or deleted since a checkpoint, from /users/delta.

get_user_memberships

List the groups, directory roles and administrative units a user belongs to.

get_user_roles

Get a user’s Microsoft Entra directory role assignments from /roleManagement/directory/roleAssignments, with each role’s name resolved (e.g. Global Administrator, Privileged Role Administrator) and…

get_users

Read Entra ID users: one by ID/UPN (GET /users/) or a list (GET /users) with select, filter, search, order_by, expand, count, limit and cursor.

list_activity_based_timeout_policies

List the tenant’s Microsoft Entra activity-based timeout policies, which sign users out of idle web sessions: display name, whether it is the organization default, the raw definition, and the parsed…

list_administrative_units

List the tenant’s Microsoft Entra administrative units (or, with deleted=True, the deleted ones still restorable) with display name, description, membership type and rule, rule processing state,…

list_app_management_policies

List the tenant’s Microsoft Entra app management policies, which restrict password and key credentials on the applications and service principals they apply to: display name, description, whether…

list_application_templates

List Microsoft Entra application gallery templates (pre-integrated SaaS apps such as Salesforce or ServiceNow), from /applicationTemplates, with each template’s ID, name, publisher, categories and…

list_authentication_strength_policies

List the tenant’s authentication strength policies, built-in and custom, that Conditional Access can require: display name, description, policy type, requirements satisfied, allowed method…

list_combination_configurations

List the combination configurations of one authentication strength policy, which narrow a method combination further: configuration type, ID, the combinations it applies to, and the allowed FIDO2…

list_created_objects

List the directory objects a service principal or a user created, from /servicePrincipals//createdObjects or /users//createdObjects.

list_direct_reports

List the users and contacts who report directly to a user (GET /users//directReports).

list_directory_audits

List Microsoft Entra directory audit logs from /auditLogs/directoryAudits (Graph v1.0): who changed what in the directory (users, groups, apps, roles, policies, password resets, PIM), with time,…

list_directory_memberships

List the groups, directory roles and administrative units a Microsoft Entra group or service principal belongs to: membership ‘direct’ (memberOf) or ‘transitive’ (transitiveMemberOf, includes…

list_directory_roles

List the activated Microsoft Entra directory roles in the tenant (id, displayName, description, roleTemplateId); use the id with list_scoped_members.

list_domains

List the tenant’s domains from /domains with isVerified, authenticationType (Managed or Federated), default/initial/root flags, supported services and password policy, plus the federation settings…

list_extension_properties

List the directory extension properties an app registration defines, from /applications//extensionProperties: each extension’s ID, full name (extension_<appId>_<name>), data type, whether it is…

list_feature_rollout_policies

List the tenant’s Microsoft Entra feature rollout (staged rollout) policies: display name, description, feature (e.g. passthroughAuthentication, seamlessSso), whether it is enabled and applied to the…

list_federated_identity_credentials

List the federated identity credentials (workload identity federation trusts) on one Entra app registration: name, issuer, subject, audiences and description, e.g. which GitHub Actions repo or…

list_group_members

List a group’s members with direct and nested (via nested groups) members returned separately, each with its own cursor; a directly assigned member is never counted as nested.

list_group_setting_templates

List the Microsoft Entra group setting templates (/groupSettingTemplates), e.g. Group.Unified, with every setting’s name, type, default value and description.

list_group_settings

List tenant-wide Microsoft Entra group settings (/groupSettings), e.g. Group.Unified values such as EnableGroupCreation, with each setting’s templateId.

list_home_realm_discovery_policies

List Microsoft Entra home realm discovery policies, which control sign-in routing to federated identity providers: display name, organization-default flag, raw definition and its parsed…

list_m365_capabilities

List the default cross-tenant access policy’s Microsoft 365 capabilities (e.g. crossTenantOpenProfileCard, crossTenantMigration): name, inbound access (allowed flag and included/excluded resource…

list_managers

Get a user’s manager (GET /users//manager) with Graph’s user properties.

list_members

List the members of an activated directory role (target='directory_role', role_id) or of an administrative unit (target='administrative_unit', administrative_unit_id): users, groups, devices and…

list_owned_objects

List the directory objects (applications, groups, service principals and others) that one service principal or user owns, with each object’s ID, type, display name and deletion time, e.g. to review…

list_owners

List the owners (users and service principals) of one Entra application, group or service principal, with each owner’s ID, type, display name, UPN or app ID and deletion time, e.g. to confirm every…

list_partners

List the partner-specific configurations of the tenant’s cross-tenant access policy, one per partner tenant: partner tenant ID, service provider and multi-tenant organization flags, inbound trust,…

list_permission_grants

List resource-specific consent grants on a Microsoft 365 group or team (/groups//permissionGrants): which apps (client_app_id) hold which permission, Application or Delegated.

list_role_assignment_schedule_instances

List the active Microsoft Entra directory role assignments as PIM sees them right now: permanent assignments and just-in-time activations, with start and end time, assignment type (Assigned or…

list_role_assignment_schedule_requests

List Microsoft Entra PIM role assignment requests: each admin assignment, self-activation, extension or removal, with action, status, justification, ticket, requested schedule and who created it.

list_role_assignment_schedules

List Microsoft Entra PIM role assignment schedules: who is assigned which directory role, from when until when (schedule_info), how it was created and its status.

list_role_definitions

List the Microsoft Entra directory role definitions (built-in and custom): name, description, whether built-in, enabled and privileged, template ID, version, resource scopes and the resource actions…

list_role_eligibility_schedule_instances

List the current Microsoft Entra PIM role eligibilities: who can activate which directory role right now, with start and end time and member type (Direct or Group).

list_role_eligibility_schedule_requests

List Microsoft Entra PIM role eligibility requests: each request to make a principal eligible for, extend or remove eligibility for a directory role, with action, status, justification, ticket,…

list_role_eligibility_schedules

List Microsoft Entra PIM role eligibility schedules: who is eligible to activate which directory role, from when until when (schedule_info), how it was created and its status.

list_scoped_members

List the members of a Microsoft Entra directory role whose assignment is scoped to an administrative unit (scoped role memberships): membership id, role_id, administrative_unit_id and the member’s id…

list_scoped_role_members

List the scoped role memberships of a Microsoft Entra administrative unit: each membership’s ID, the directory role ID, the administrative unit ID and the member (ID and display name) who holds the…

list_settings

List the settings applied to one Microsoft Entra group (/groups//settings), e.g. Group.Unified.Guest AllowToAddGuests.

list_sponsor_ofs

List the users and groups a user sponsors (GET /users//sponsorOf).

list_sponsors

List the users and groups that sponsor a user, typically a guest (GET /users//sponsors), with Graph’s user properties.

list_token_issuance_policies

List Microsoft Entra token issuance policies, which shape SAML tokens and responses: display name, organization-default flag, raw definition and its parsed Version, SigningAlgorithm,…

list_token_lifetime_policies

List Microsoft Entra token lifetime policies: display name, organization-default flag, raw definition and its parsed Version and AccessTokenLifetime (e.g. ‘8:00:00’).

list_usages

List the Conditional Access policies that use a Microsoft Entra authentication strength policy, split into ‘mfa’ (policies that require MFA) and ‘none’; each has the policy ID, display name and grant…

list_user_license_details

List the licenses assigned to a user (GET /users//licenseDetails): each license’s skuId, skuPartNumber and service plans with provisioning status.

remove_application_password

Remove one client secret from an Entra app registration.

remove_group_member

Remove a direct member from an Entra group; the member object itself is not deleted.

remove_manager

Remove a user’s manager (DELETE /users//manager/$ref); user_id from get_users.

remove_owner

Remove one owner from an Entra application registration, group or service principal (enterprise app) by deleting the ownership link; the user or service principal itself is not deleted.

remove_sponsor

Remove a sponsor from a user (DELETE /users//sponsors//$ref): user_id from get_users, sponsor_id as passed to add_user_sponsor.

restore_deleted_item

Restore one soft-deleted Microsoft Entra user, group, application or service principal from the deleted-items recycle bin, with its original ID and properties.

search_groups

Find Entra groups by name ($search), OData filter or ID, returning displayName, id, groupTypes, securityEnabled, mailEnabled, membershipRule, its processing state, onPremisesSyncEnabled and each…

update_application

Update an Entra app registration’s directory properties: display name, description, notes, tags, identifier URIs, sign-in audience, group membership claims, fallback public client flag or service…

update_federated_identity_credential

Update a federated identity credential (workload identity federation trust) on an Entra app registration: issuer, subject, audiences or description.

update_group

Update an Entra group’s displayName, description, mailNickname, securityEnabled, visibility, preferredDataLocation or uniqueName; only the fields you pass change.

update_service_principal

Update a service principal’s (enterprise app’s) directory properties: enable or disable sign-in, require assignment, display name, homepage, logout URL, SSO mode, reply URLs, service principal names,…

update_user

Update an Entra ID user’s directory attributes (PATCH /users/): user_id from get_users or create_user, then only the properties to change, e.g. account_enabled=false to block sign-in, display_name,…