Thank you for your feedback.
Form temporarily unavailable. Please try again or contact to submit your comments.

Delete User Azure AD activity

Log in to subscribe to topics and get notified when content changes.

Delete User Azure AD activity

The Delete User activity deletes the named user's account from the Azure Active Directory tenant.

To access this activity in the Workflow Editor, select the Custom tab, and then navigate to Custom Activities > Azure AD. This activity was built with the REST web service activity template.

Important: The REST message used for this activity must be configured to use OAuth2 authentication.

Input variables

Table 1. Delete User input variables
Variable Description
user_id The object ID (GUID) or the user principal name of the target user. An example of a user principal name is

Output variables

Table 2. Delete User output variables
Variables Description
error Returns the error string from the REST message. If there are no errors, this variable returns a null value.
body Contains a string value representing the output from the REST message.
status_code Contains the status code returned from the Web service.


Table 3. Delete User conditions
Condition Description
Deleted user Activity deleted the specified user.
User does not exist Specified user does not have an account in the tenant domain.
Failure Activity failed to connect to Azure AD.