Commands › Exchange Online
Expedite-Delicensing
End the delay for removing mailbox licenses from users. After you remove the delay, the licenses are removed from mailboxes within 24 hours. You configure delayed mailbox license removal using the DelayedDelicensingEnabled parameter on the Set-OrganizationConfig cmdlet.
Quick start script
# Expedite-Delicensing — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-ExchangeOnline -CertificateThumbprint $thumb -AppId $appId -Organization $org
# 2. Run and inspect
Expedite-Delicensing -Identity <RecipientIdParameter> | Format-List
# 3. Export for evidence / drift tracking
Expedite-Delicensing | Export-Clixml .\Delicensing-$(Get-Date -Format yyyyMMdd).xml
Syntax
Expedite-Delicensing [-Identity] <RecipientIdParameter>
[<CommonParameters>]
Parameters (1)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.