Task: Office365 License Remove
Prerequisites
MSOnline module
Office 365 system
Description
This task will remove an office 365 license from a user in office 365.
This task can be used as a self-service task.
An Office 365 connection system can be configured in Automation > Systems for defining global variables for Office 365.
Azure AD connection system
Name | Description | Type | Example | Comment |
Office 365 domain | Specify the active directory domain | String | enyoi | Normally the office domain is like ‘enyoi.onmicrosoft.com’ Although, the task adds this by default, so only specify your custom domain. |
Office 365 admin username | Specify the administrator username | String | ||
Office 365 admin password | Specify the administrator password | String | P@ssw0rd! |
Task editor
Name | Description | Type | Example | Comment |
Email address | Specify the samaccountname of the user | String | ||
License id | Specify the license id of the license | String | EXCHANGESTANDARD | This must be the license ID and not the license Name, these can be found at https://docs.microsoft.com/en-gb/azure/active-directory/users-groups-roles/licensing-service-plan-reference |