Configure an Enable Azure AD User Task (Beta)

This document is intended for early-access customers, and it is updated as Automated Response features are enhanced.

In your automated response playbook, you can configure an Enable Azure AD User task to enable a user in Azure Active Directory (AD).

A typical use case is to enable an Office 365 user who was disabled previously after being the victim of an incident.

The source of the incident can be any of the following:

  • Incident that meets the conditions of a trigger for the playbook
  • Incident that a user selects to run the playbook on manually
  • Sample incident payload used to test the playbook

Complete the following steps to successfully configure the Enable Azure AD User task:

  1. Create a connection target for Microsoft Azure
  2. Add the task to your playbook
  3. Configure the task input
  4. Configure the task output (optional)

Create a connection target for Microsoft Azure

The Enable Azure AD User task requires a Microsoft Azure connection target that grants Alert Logic access to manage users in Azure AD.

To check whether it exists, in the Alert Logic console, click Configure in the navigation menu (), click Connectors, and then click the Connection Targets tab.

If any Microsoft Azure connection targets appear in the list, review their configurations to determine whether the one you need already exists.

If you do not have a connection target for Microsoft Azure already, complete the instructions in Configure Microsoft Azure Connection.

Add the task to your playbook

If you have not added the task to your playbook, complete the instructions in Add a task in the workflow diagram and Add task details (optional).

Configure the task input

Complete these instructions to provide the input values for your Enable Azure AD User task.

To configure the task input:

  1. On the task Input tab, select the connection target in Microsoft Azure Connection Target that you created or identified in Create a connection target for Microsoft Azure.
  2. In Azure User Name, leave the YAQL expression <% ctx().payload.victim %> to reference the victim, or enter the expression <% ctx().payload.attacker.value %> to reference the attacker.

Insert a YAQL expression in an input field

Any field that supports one or more Yet Another Query Language (YAQL) expressions has a SELECT VARIABLE drop-down list above the field. A YAQL expression can reference a value in the playbook context, such as a field in the incident payload, or the published result of a previous task.

To insert a YAQL expression, place your cursor in the field where you want to insert the reference, click SELECT VARIABLE, and then select the variable. A YAQL expression that references the selected value appears in the field.

Configure the task output (optional)

This task does not generate results that you can publish as output. For other ways to publish output, see Configure task output (optional).

Technical reference

Action Name

Enable Azure AD User

Action Type

user_enable

Permissions

User.ReadWrite.All permission in Azure AD