Task: Create 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 create 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 or not | 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/ |
Username | User’s username | String | {user}@{domain} | This will also be his email address |
Name | Unique name for the mailbox | String | John doe | |
Password | User’s password | String | Password123! | |
Reset password next logon | Specify whether or not the user has to change the password, at first logon | Boolean | True | If true, the user will have to choose a personal password as soon as the user logs on |
Database | Name of the Database for on-premises environments | String | Database 1 | Not necessary when using Exchange Online. Optionally, choose any value that uniquely identifies the database where you wish to create the mailbox. If left empty, the default database is used |
Firstname | User’s first name | String | John | Optionally, specify the firstname |
Lastname | User’s last name | String | Doe | Optionally, specify the lastname |
Display name | User’s display name | String | John Doe | Optionally, specify the display name |
Alias | User’s alias | String | j.doe | Optionally, specify the alias for the mailbox. Also known as the nickname. If left empty, the username will be used without the @{domain}-value |