Block Microsoft Entra ID user - Alert

Browse: 🏠 · Solutions · Connectors · Methods · Tables · Content · Parsers · ASIM Parsers · ASIM Products · Logic Apps · 📊

Back to Content Index


For each account entity included in the alert, this playbook will disable the user in Microsoft Entra ID, add a comment to the incident that contains this alert and notify manager if available. Note: This playbook will not disable admin user!

Attribute Value
Type Playbook
Solution Microsoft Entra ID
Source View on GitHub

Logic App Connectors

This playbook uses 5 Logic App connectors / built-in actions:

Connector / Action Type Connections Actions
azuread Managed 1 2
azuresentinel Managed 1 0
microsoftsentinel Managed 0 5
office365 Managed 1 1
http Built-in 0 1
Action parameters (URLs, paths, function IDs)

azuread (Managed)

Action Method Endpoint Other
Get_user_-_details get /v1.0/users/@{encodeURIComponent(concat(items('For_each')?['Name'], '@', items('for_each')?['UPNSuffix']))}
Update_user_-_disable_user patch /v1.0/users/@{encodeURIComponent(concat(items('For_each')?['Name'], '@', items('for_each')?['UPNSuffix']))}

microsoftsentinel (Managed)

Action Method Endpoint Other
Alert_-_Get_incident get /Incidents/subscriptions/@{encodeURIComponent(triggerBody()?['WorkspaceSubscriptionId'])}/resourceGroups/@{encodeURIComponent(triggerBody()?['WorkspaceResourceGroup'])}/workspaces/@{encodeURIComponent(triggerBody()?['WorkspaceId'])}/alerts/@{encodeURIComponent(triggerBody()?['SystemAlertId'])}
Entities_-_Get_Accounts post /entities/account
Add_comment_to_incident_-with_manager-_no_admin post /Incidents/Comment
Add_comment_to_incident_-no_manager-_no_admin post /Incidents/Comment
Add_comment_to_incident_-_error_details post /Incidents/Comment

office365 (Managed)

Action Method Endpoint Other
Send_an_email_-to_manager-_no_admin post /v2/Mail

http (Built-in)

Action Method Endpoint Other
HTTP_-_get_user_manager GET https://graph.microsoft.com/v1.0/users/@{concat(items('For_each')?['Name'], '@', items('for_each')?['UPNSuffix'])}/manager

Browse: 🏠 · Solutions · Connectors · Methods · Tables · Content · Parsers · ASIM Parsers · ASIM Products · Logic Apps · 📊

Back to Playbooks · Back to Microsoft Entra ID