Remove User License Azure AD activity
The Remove User License activity revokes the specified Office 365 software license for the named user.
To access this activity in the Workflow Editor, select the Custom tab, and then navigate to . This activity was built with the REST web service activity template.
중요사항:
The REST message used for this activity must be
configured to use OAuth 2.0.
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 someuser@a830edad9050849NDA1.onmicrosoft.com. |
| sku_id | Subscription SKU ID associated with the tenant's enterprise agreement. |
Output variables
| 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. |
Conditions
| Condition | Description |
|---|---|
| Success | Activity removed an Office 365 license from the named user. |
| Failure | Activity failed to remove an Office 365 from a user, or the activity failed to connect to Azure AD. |