Use Microsoft Entra ID, formerly Azure Active Directory, to manage directory users, groups, memberships, licenses, passwords, sign-in sessions, app roles, and directory roles. Read sign-in and audit logs, registered devices, and conditional access policies; device writes are excluded.
Use OData filters to query directory records. Grant the connection the permissions and administrative roles required by each operation before using it for onboarding, offboarding, or access review. Microsoft 365 groups have a 30-day recovery window. Cloud security-group recovery is a public-cloud preview with tenant restrictions; confirm eligibility before deleting a group.
OAuth scopes
Sim requests these scopes when someone connects an Azure AD account. For a self-hosted deployment, register your own app with the provider using the settings below. See Integrations and OAuth for setup.
Use the block
Create, update, and delete users and groups, manage group memberships, assign and remove licenses, reset passwords, revoke sign-in sessions, read sign-in and directory audit logs, grant and revoke app and directory roles, and read registered devices and conditional access policies. Device writes are not supported.
Actions
List Azure AD Users
List users in Azure AD (Microsoft Entra ID)
Get Azure AD User
Get a user by ID or user principal name from Azure AD
Create Azure AD User
Create a new user in Azure AD (Microsoft Entra ID)
Update Azure AD User
Update user properties in Azure AD (Microsoft Entra ID)
Delete Azure AD User
Delete a user from Azure AD (Microsoft Entra ID). The user is moved to a temporary container and can be restored within 30 days.
List Azure AD Groups
List groups in Azure AD (Microsoft Entra ID)
Get Azure AD Group
Get a group by ID from Azure AD (Microsoft Entra ID)
Create Azure AD Group
Create a new group in Azure AD (Microsoft Entra ID)
Update Azure AD Group
Update group properties in Azure AD (Microsoft Entra ID)
Delete Azure AD Group
Delete a group from Azure AD (Microsoft Entra ID). Microsoft 365 groups can be restored within 30 days. Cloud security-group recovery is a public-cloud preview with tenant restrictions; confirm eligibility before deleting.
List Azure AD Group Members
List members of a group in Azure AD (Microsoft Entra ID)
Add Azure AD Group Member
Add a member to a group in Azure AD (Microsoft Entra ID)
Remove Azure AD Group Member
Remove a member from a group in Azure AD (Microsoft Entra ID)
Assign Microsoft Entra ID License
Add or remove subscription licenses (SKUs) on a user in Microsoft Entra ID. Removing a license immediately revokes the access it granted to the associated services.
List Microsoft Entra ID User Licenses
List the subscription licenses assigned to a user in Microsoft Entra ID
List Microsoft Entra ID Subscribed SKUs
List the subscription SKUs the tenant owns, including how many license units are prepaid and how many are consumed
Revoke Microsoft Entra ID Sign-In Sessions
Invalidate every refresh token and session cookie issued to a user, forcing them to sign in again on all applications and devices. Revocation can take a few minutes to take effect and does not apply to external users.
Set Microsoft Entra ID User Password
Set a specific password on a user by updating their password profile. Cannot be used for federated users. Requires an administrator role in Microsoft Entra ID.
Reset Microsoft Entra ID User Password
Reset another user's password through their password authentication method. Leave the new password empty to have Microsoft generate one and return it. The user is prompted to change the password at their next sign-in. Cannot be run against your own account.
List Microsoft Entra ID Authentication Methods
List the authentication methods a user has registered, such as passwords, phone numbers, FIDO2 keys, and authenticator apps
List Microsoft Entra ID Sign-Ins
List sign-in events from the Microsoft Entra ID sign-in logs, newest first. Requires a Microsoft Entra ID P1 or P2 license. Apply a date filter to keep large queries from timing out.
List Microsoft Entra ID Directory Audits
List directory audit records showing who changed what in Microsoft Entra ID, such as user creation, group membership changes, and role assignments
List Microsoft Entra ID User App Role Assignments
List the application role assignments granted to a user, including assignments the user inherits from groups they are a direct member of
Grant Microsoft Entra ID App Role To User
Grant a user an application role on a service principal, giving them access to that application
Revoke Microsoft Entra ID App Role From User
Revoke an application role assignment from a user, removing their access to that application. Takes the assignment's own ID, not the app role ID.
List Microsoft Entra ID Service Principals
List the enterprise applications and service principals in the tenant, including the app roles each one exposes
List Microsoft Entra ID Application Assignments
List every user, group, and service principal assigned to an application, by reading the app role assignments on its service principal. Recently granted or removed assignments can take time to appear.
List Microsoft Entra ID Directory Roles
List the administrator roles that are activated in the tenant, such as Global Administrator and User Administrator. Roles that have never been activated are not returned.
List Microsoft Entra ID Directory Role Members
List the principals holding an administrator role. Returns up to 1000 members; this endpoint does not support paging.
Add Microsoft Entra ID Directory Role Member
Grant a user an administrator role in Microsoft Entra ID. This is a privileged change that expands what the user can do across the tenant.
Remove Microsoft Entra ID Directory Role Member
Revoke an administrator role from a user in Microsoft Entra ID. Removes only the role membership; the user account itself is not deleted.
List Microsoft Entra ID Devices
List the devices registered in Microsoft Entra ID
Get Microsoft Entra ID Device
Get a registered device by its object ID from Microsoft Entra ID
List Microsoft Entra ID User Devices
List the devices a user has registered or owns. Devices the caller cannot read are returned with only their ID and the remaining fields null.
List Microsoft Entra ID Conditional Access Policies
List the conditional access policies configured in the tenant, including their state and the conditions and controls they enforce. Read-only.
Get Microsoft Entra ID Conditional Access Policy
Get a single conditional access policy by ID, including the conditions it matches and the controls it enforces. Read-only.