# Microsoft Entra ID MCP

Vendor: Microsoft Entra ID  
Category: other  
Auth: OAUTH2  
Composio slug: `microsoft_entra_id`

Manage Microsoft Entra ID directory resources through Microsoft Graph v1.0, including users, groups, applications, roles, devices, policies, and audit data.

## Tools

- **Add Administrative Unit Member** — Add one existing user, group, or device to an assigned-membership Microsoft Entra administrative unit, bringing that object into the unit's delegated administration scope. Dynamic administrative units are managed only by their membership ru
- **Add Application Owner** — Add an existing user or service principal as an owner of an application registration, granting authority to administer it. For delegated access, the signed-in user must also hold Application Administrator, Cloud Application Administrator, H
- **Add Directory Role Member** — Assign a principal to an activated Microsoft Entra directory role, granting that role's tenant-wide administrative access. This is an access-elevation operation. For delegated access, the signed-in user must be a Privileged Role Administrat
- **Add Group Member** — Add an existing directory object as a direct member of an assigned-membership Microsoft Entra group. Dynamic group membership cannot be changed manually. Role-assignable groups additionally require RoleManagement.ReadWrite.Directory and an 
- **Add Group Owner** — Add an existing user or service principal as an owner of a Microsoft 365 or security group, granting authority to modify the group. Delegated callers must also be a group owner or hold a supported Microsoft Entra role; some roles can add on
- **Add Service Principal Owner** — Add an existing user or service principal as an owner of an enterprise application/service principal, granting authority to administer it. For delegated access, the signed-in user must also hold Application Administrator, Cloud Application 
- **Assign User Licenses** — Add and remove Microsoft product licenses for one Entra user in a single request. Both add and remove lists are required and either can be empty. Removing a license revokes the user's entitlement to that product's services and can immediate
- **Create Administrative Unit** — Create an assigned or dynamic Microsoft Entra administrative unit for scoping directory administration. Restricted member management can be set only during creation and is immutable afterward.
- **Create Application** — Create a Microsoft Entra application registration with allowlisted platform, role, and API permission settings, without creating or accepting password or key credentials.
- **Create App Role Assignment** — Assign an application role to a user, group, or client service principal. This grants the principal the application access represented by that role; for client service principals, the grant is an application permission.
- **Create Group** — Create a Microsoft 365, assigned security, or dynamic-membership group. Optionally bind up to 20 total initial owners and members by directory object ID; dynamic groups cannot have initial members.
- **Create Role Assignment** — Grant a user, role-assignable group, or service principal a Microsoft Entra directory role, conferring the role's administrative access at the explicit tenant, administrative-unit, resource-application, or app-specific scope. This is an acc
- **Create Service Principal** — Create an enterprise application (service principal) for an existing application ID without accepting or creating password or key credentials. Delegated callers also need a supported Microsoft Entra role. With app-only Application.ReadWrite
- **Create User** — Create a Microsoft Entra tenant user with the required sign-in profile and an initial password. This action only sets the password required during creation; it does not reset passwords or modify authentication methods.
- **Delete Administrative Unit** — Delete a Microsoft Entra administrative unit and remove its administrative scope. This is irreversible from this toolkit because restoration is not supported here.
- **Delete Application** — Delete a Microsoft Entra application registration by its directory Object ID. This is irreversible from this toolkit because restoration is not supported here. Deleting the registration can break dependent user or workload sign-in and integ
- **Delete Group** — Delete a Microsoft Entra group and its associated group resources. This is irreversible from this toolkit: Microsoft 365 and security groups can be restored for 30 days only through recovery outside this toolkit, while distribution groups a
- **Delete Service Principal** — Delete a Microsoft Entra enterprise application/service principal. This is irreversible from this toolkit because restoration is not supported here. Deletion removes the enterprise application's tenant identity and can break sign-in, resour
- **Delete User** — Delete a tenant user and remove the directory identity. This deletion is irreversible from this toolkit; restoration is outside this toolkit.
- **Disable User** — Disable a Microsoft Entra user without deleting the directory object. This sets accountEnabled=false and blocks future sign-ins; already-issued access tokens or sessions can remain usable until they expire or are separately revoked.
- **Get Administrative Unit** — Get one Microsoft Entra administrative unit by directory object ID.
- **Get Application** — Get one application registration by its directory Object ID, not its Application (client) ID, returning only credential-safe properties.
- **Get Conditional Access Policy** — Get one Microsoft Entra Conditional Access policy by object ID. This is a read-only paid-tier capability; delegated callers also need a supported Entra role such as Security Reader, Global Reader, or Conditional Access Administrator.
- **Get Device** — Get one Microsoft Entra device by its directory Object ID, not its distinct Device Registration Service deviceId value.
- **Get Directory Audit** — Get one Microsoft Entra directory audit event by its event ID.
- **Get Directory Role** — Get one Microsoft Entra directory role that is activated in the tenant by its activated role object ID. Inactive role definitions are not available.
- **Get Domain** — Get one tenant domain by its fully qualified domain name.
- **Get Group** — Get one tenant group by directory object ID.
- **Get Organization** — Get the connected Microsoft Entra tenant's organization record by tenant organization ID. The keyed Graph route returns one organization entity.
- **Get Role Assignment** — Get one unified Microsoft Entra directory role assignment by its assignment ID, including its principal, role definition, and directory or application scope identifiers.
- **Get Service Principal** — Get one Microsoft Entra enterprise application/service principal by its directory Object ID, not its Application (client) ID, returning only credential-safe properties.
- **Get Sign In** — Get one retained Microsoft Entra sign-in event by event ID. Availability is limited by the tenant's sign-in data retention policy; downloading sign-in logs requires Microsoft Entra ID P1 or P2, and delegated callers need a supported Entra r
- **Get Subscribed SKU** — Get one commercial product subscription acquired by the Microsoft Entra tenant using its subscribed-SKU object ID.
- **Get User** — Get one tenant user by directory object ID or user principal name.
- **Get User Manager** — Get the directory object recorded as a user's manager. Returns not found when no manager is assigned.
- **List Administrative Unit Members** — List users, groups, and devices directly assigned to a Microsoft Entra administrative unit. Hidden membership requires the additional Member.Read.Hidden grant, so hidden members can otherwise be omitted. Properties other than id and type ca
- **List Administrative Units** — List Microsoft Entra administrative units with optional OData filtering, search, field selection, relationship expansion, and cursor pagination.
- **List Administrative Unit Scoped Role Members** — List the legacy scoped-role memberships that grant users administrative access within one Microsoft Entra administrative unit. This action is read-only; create new scoped grants with unified role assignments instead.
- **List Application Owners** — List the users and service principals that own an application registration. Properties other than id and type can be null when the connection lacks permission to read an owner's concrete object type.
- **List Applications** — List Microsoft Entra application registrations with OData filtering, search, ordering, and cursor pagination. Selection and output schemas structurally exclude password and key credential collections.
- **List App Role Assignments** — List users, groups, and client service principals granted application roles on a resource service principal, with OData filtering, field selection, and cursor pagination. Recently added or removed assignments can be delayed by Microsoft Ent
- **List Conditional Access Policies** — List read-only Microsoft Entra Conditional Access policy definitions, including conditions, grant controls, and session controls, with OData queries and cursor pagination. Conditional Access is license-dependent; delegated callers also need
- **List Devices** — List devices registered in the Microsoft Entra tenant with optional advanced OData queries and cursor pagination. Results distinguish each device's directory object ID from its registration-service deviceId.
- **List Directory Audits** — List retained Microsoft Entra directory audit events with documented OData filtering, activity-time ordering, and opaque cursor pagination. Availability is limited by the tenant's Microsoft Entra data-retention policy. For delegated access,
- **List Directory Role Members** — List principals currently assigned to one activated Microsoft Entra directory role. Microsoft Graph returns up to 1,000 objects by default and this operation does not support $top pagination, so the result is a single bounded collection. Co
- **List Directory Roles** — List Microsoft Entra directory roles that are activated in the tenant. Inactive built-in roles and other available role definitions are not returned.
- **List Domains** — List verified and unverified domains configured for the Microsoft Entra tenant, with documented OData query controls and cursor pagination.
- **List Group Members** — List a group's direct members; transitive members are not included. Hidden membership requires the additional Member.Read.Hidden grant and, for delegated access, an eligible Entra role, so hidden members can otherwise be omitted. Properties
- **List Group Owners** — List the users and service principals that own a group. Microsoft Graph can omit service-principal owners during its staged v1.0 rollout. Properties other than id and type can be null when the connection lacks permission to read an owner's 
- **List Groups** — List tenant groups with general OData options, or list only dynamic-membership groups with a fixed safe filter and membership-rule fields.

## Setup

1. Create or open a Switchy Project.
2. Open Integrations and connect Microsoft Entra ID.
3. Authorise through oauth2.
4. Teammates can now @-mention Microsoft Entra ID tools in chat.

---
Last verified: 2026-12-03T02:30:21.129Z  
Canonical URL: https://switchy.build/directory/mcps/microsoft-entra-id