Microsoft Entra ID integration
Manage users and groups and confirm compromised users in Entra ID.
How it works
Each Microsoft Entra ID action is a YAML template or Python function in Tracecat's open-source registry, under tools.microsoft_entra. Add an action as a step in a workflow, or give it to an agent as a tool.
Credentials
Add these in Tracecat before running the actions. How credentials work
- OAuth connection
microsoft_entra_oauth(optional)
Actions
Missing an integration? Write your own actions in YAML or Python in a custom registry and sync them from your Git repository.
Add user to group
Add a Microsoft Entra ID user to a group.
Confirm compromised users
Confirm one or more riskyUser objects as compromised. This action sets the targeted user's risk level to high. Requires a Microsoft Entra ID P2 license and the IdentityRiskyUser.ReadWrite.All permission (delegated or application). IdentityRiskyUser.ReadWrite.All is not in the default delegated scopes, so add it to the integration's scopes before connecting. For delegated access, the signed-in user needs at least the Security Administrator role.
Create group
Create a Microsoft Entra ID group.
Create user
Create a Microsoft Entra ID user account.
Delete group
Delete a Microsoft Entra ID group.
Delete user
Delete a Microsoft Entra ID user.
Get group
Retrieve details for a Microsoft Entra ID group.
Get user
Retrieve details for a Microsoft Entra ID user.
Get user ID by email
Get a user's ID by searching for their email address in mail or userPrincipalName.
List groups
List Microsoft Entra ID groups with optional OData queries.
List user memberships
Get groups, directory roles, and administrative units that the user is a direct member of. This operation isn't transitive; use list user transitive memberships to include transitive membership. Least privileged permission: User.Read.All (delegated) or Directory.Read.All (application).
List user transitive memberships
Get groups, directory roles, and administrative units that the user is a member of through either direct or transitive membership. Least privileged permission: User.Read.All (delegated or application).
List users
List Microsoft Entra ID users with optional OData query parameters.
Remove user from group
Remove a Microsoft Entra ID user from a group.
Revoke user sign-in sessions
Invalidate all the refresh tokens issued to applications for a user (and session cookies in a user's browser) by resetting the signInSessionsValidFromDateTime user property to the current date-time. There might be a delay of a few minutes before tokens are revoked. Does not revoke sessions for external users. Least privileged permission: User.RevokeSessions.All (delegated or application); User.ReadWrite.All and Directory.ReadWrite.All also work for delegated access.
Update group
Update properties on a Microsoft Entra ID group.
Update user
Update properties on a Microsoft Entra ID user.