---
sourceDocument: Australia ServiceNow AI Platform Capabilities
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/de-DE/servicenow-platform

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia ServiceNow AI Platform Capabilities

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# Delete User Azure AD activity

# Delete User Azure AD activity {#ariaid-title1}

* Freigeben Version: Australia
* 
* Aktualisiert 12. März 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 Minute Lesedauer

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 ActivitiesAzure AD. This activity was built with the [REST web service activity template](https://servicenow-prod.fluidtopics.net/wCuNCscqoAb4VkDEqCL61w#t_CreateARESTWebServiceActivity "Use this procedure to create a custom REST web service Orchestration activity.").  
Wichtig:  
The REST message used for this activity must be configured to use [OAuth 2.0](https://www.servicenow.com/docs/access?context=c_OAuthApplications&version=australia&pubname=australia-platform-security&ft:locale=en-US).

## Input variables

{#r_DeleteUserAzureADActivity__table_asg_d2c_p5__entry__2}

| 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 someuser@a830edad9050849NDA1.onmicrosoft.com. |
[Tabelle : 1. Delete User input variables]

{#r_DeleteUserAzureADActivity__table_asg_d2c_p5}

## Output variables

{#r_DeleteUserAzureADActivity__table_jyc_b2c_p5__entry__2}

| 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. |
[Tabelle : 2. Delete User output variables]

{#r_DeleteUserAzureADActivity__table_jyc_b2c_p5}

## Conditions

{#r_DeleteUserAzureADActivity__table_xzy_xdc_p5__entry__2}

| 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. |
[Tabelle : 3. Delete User conditions]

{#r_DeleteUserAzureADActivity__table_xzy_xdc_p5}

