Task: Remove an Exchange mailbox
Prerequisites
Exchange environment
Exchange 2010, 2013, 2016 or Exchange Online
Remote access to Exchange server in case of on-premises installation
Description
This task will remove an Exchange mailbox.
Variables
Name | Description | Type | Example | Comment |
Administrator username | The Exchange administrator’s username | String | admin@{domain}.onmicrosoft.com | |
Administrator password | The Exchange administrator’s password | String | Password123! | |
Exchange Online | Specify whether the installation is Exchange Online | String | True | Select false in case of on-premises. Select true when using Exchange Online |
Exchange url | The url to the on-premises installation of Exchange | String | https://exchangeserver.westeurope.cloudapp.azure.com/PowerShell | Not necessary when using Exchange Online. Should always end with /PowerShell/ |
Email address | Specify the email address to remove | String | {user}@{domain} | Optionally an alias or user id can be used in this field. |