Forum Discussion
Enabling Exchange Online E1 and Exchange Online Archiving
- Aug 23, 2017
To filter out users with some specific service disabled, you can use something like:
Get-MsolUser | ? {$_.Licenses.ServiceStatus | ? {$_.ServicePlan.ServiceName -eq "EXCHANGE_S_STANDARD" -and $_.ProvisioningStatus -eq "Disabled"}}
Once you have the list, applying new license is pretty straightforward. I'd recommend using Litigation hold instead of In-place holds though, they are quite easier to manage.
To filter out users with some specific service disabled, you can use something like:
Get-MsolUser | ? {$_.Licenses.ServiceStatus | ? {$_.ServicePlan.ServiceName -eq "EXCHANGE_S_STANDARD" -and $_.ProvisioningStatus -eq "Disabled"}}
Once you have the list, applying new license is pretty straightforward. I'd recommend using Litigation hold instead of In-place holds though, they are quite easier to manage.
That script worked like a charm, thank you!