---
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


---

# Assign User License Azure AD activity

# Assign User License 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 Assign User License activity assigns an additional Office 365 software license to
the named user.
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_AssignUserLicenseAzureADActivity__table_gnn_tcc_p5__entry__2}{#r_AssignUserLicenseAzureADActivity__e_ObjectIDDesc}{#r_AssignUserLicenseAzureADActivity__e_skuID}

| 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. |
| sku_id | Subscription SKU ID associated with the tenant's enterprise agreement. |
[Tabelle : 1. Assign User License input variables]

{#r_AssignUserLicenseAzureADActivity__table_gnn_tcc_p5}

## Output variables

{#r_AssignUserLicenseAzureADActivity__table_idh_wcc_p5__entry__2}

| Variable | 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. Assign User License output variables]

{#r_AssignUserLicenseAzureADActivity__table_idh_wcc_p5}

## Conditions

{#r_AssignUserLicenseAzureADActivity__table_j1j_zcc_p5__entry__2}

| Condition | Description |
|-|-|
| Success | Activity successfully assigned an Office 365 license to a user. |
| Failure | Activity failed to assigned an Office 365 license to a user, or the activity failed to connect to Azure AD. |
[Tabelle : 3. Assign User License conditions]

{#r_AssignUserLicenseAzureADActivity__table_j1j_zcc_p5}

