You can disable a user in Exchange 2016 using the Exchange Admin Center (EAC) or the Exchange Management Shell.
Using the Exchange Admin Center (EAC)
- Log in to the EAC: Open your web browser and navigate to the Exchange Admin Center.
- Navigate to the "Recipients" section: In the left-hand menu, click on "Recipients" and then select "Users."
- Select the user: Find the user you want to disable and click on their name.
- Disable the user: In the user's properties window, go to the "Account" section and uncheck the "Enabled" checkbox.
- Save the changes: Click on "Save" to confirm the changes.
Using the Exchange Management Shell
- Open the Exchange Management Shell: Open the Exchange Management Shell on your Exchange server.
- Run the Disable-Mailbox cmdlet: Use the following command, replacing "<username>" with the user's account name:
Disable-Mailbox -Identity "<username>"
Additional Notes
- Disabling a user in Exchange 2016 will prevent them from accessing their mailbox and sending or receiving emails.
- The user's mailbox and other data will still be stored on the Exchange server.
- You can re-enable a disabled user at any time by following the same steps but checking the "Enabled" checkbox in the EAC or using the Enable-Mailbox cmdlet in the Exchange Management Shell.