Best way to Disable Exchange User Account of a Leaver

Disabling an AD account is not instant so the best was is to disable the services for the user :

(It can take around 5-10 minutes for the disabling of the protocols and/or settings to go into effect ) 

 

For Exchange 2007: Set-CASMailbox -Identity <user> -OwaEnabled $false

Set-CASMailbox -Identity <user> -MapiEnabled $false

Set-CASMailbox -Identity <user> -MapiBlockOutlookRpcHttp $true

Set-CASMailbox -Identity <user> -OwaEnabled $false

 

 For Exchange 2010, 2013, 2016 and 365:Set-CASMailbox -Identity <user> -OwaEnabled $false

Set-CASMailbox -Identity <user> -EwsEnabled $false

Set-CASMailbox -Identity <user> -EwsEnabled $false

Set-CASMailbox -Identity <user> -EcpEnabled $fals

Set-CASMailbox -Identity <user> -MapiEnabled $false

Set-CASMailbox -Identity <user> -MapiBlockOutlookRpcHttp $true

Set-CASMailbox -Identity <user> -EwsAllowMacOutlook $false

Set-CASMailbox -Identity <user> -EwsAllowOutlook $false

 

You might want to set an Out of Office on for the user if needed for external parties, and also arrange email forwarding to a colleague and access to the mailbox for previous mail

 

Then Disable AD account!

 

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Tags: disable AD account, how long does it take to disable user in exchange, leaver process, user still able to access active sync after being disabled

Trackback from your site.