AssignLicense
Manages user subscriptions and service plans by adding or removing licenses.
Input
Name | Type | Description |
UserID | String | The globally unique identifier (GUID) of the user to whom the license will be assigned. Leave blank if assigning a license to the currently logged-in user. |
UserPrincipalName | String | The user principal name (UPN) usually includes the user's email address and username when assigning a license. Leave blank if assigning a license to the currently logged-in user. |
AddLicenseSkuId | String | The GUID for the stock keeping unit (SKU) representing the license to be added to the user. |
DisabledPlans | String | A comma-separated list of GUIDs within the SKU that should be disabled for this user. |
RemoveLicenses | String | A comma-separated list of license GUIDs to remove from the user, if applicable. |
Result Set Columns
Name | Type | Description |
Success | String | Indicates whether the license assignment operation completed successfully (true or false). |