Creating shared mailboxes in bulk in Exchange Server and Microsoft 365
Administrators often find it tedious to create shared mailboxes in bulk for users. The native Active Directory (AD) tools do not have an option for creating multiple shared mailboxes in Exchange server and Microsoft 365 environments for all users at once. Therefore, admins have to use complex PowerShell scripts or VBScripts, or run batch files from the Windows command line to get this done. With ADManager Plus, bulk shared mailbox creation becomes simpler, faster, and a completely script-free activity.
Steps to create shared mailboxes in bulk
- Click the Management tab > Mailbox Management.
- Click the Create Bulk Shared Mailbox link under Shared Mailbox Creation.
- Select the domain of your choice from the Selected Domain drop-down box.
- By default the system template will be applied to create the shared mailbox. But if you wish to change the template, select a previously created Shared Mailbox Creation Template from the Selected Template drop-down menu.
- You can use any one of the following options to create shared mailboxes:
Note: When you use a combination of Shared Mailbox Creation Template and CSV file, the attribute values specified in the CSV file takes precedence.
- After adding all the mailboxes, click Next and select the container where the shared mailboxes have to be created. You can also create a new container by selecting the Create New OU option.
- Click Create Mailbox to create the shared mailboxes in bulk in the selected container.
- If you cancel the creation of a shared mailbox, you can still view that by clicking the View Uncreated Mailbox.
Importing data from CSV files
ADManager Plus provides you the flexibility to import mailbox details from a CSV file. The first line in the CSV file should contain the attribute names as defined in AD. The givenName attribute is a mandatory field in the CSV file. An example entry is given below:
You can view a sample CSV file here. (Sample CSV file - Need to be added as downloadable link in the webpage)
Hints:
- While adding multiple shared mailboxes with the same permissions, you can create a Shared Mailbox Creation Template with the required permissions and a CSV file containing the names of the mailboxes and other details. You can then import the CSV file and apply the template to create shared mailboxes in bulk.
- If you have to create multiple shared mailboxes with different permissions, you can include the attributes that have different values for different users in the CSV file along with their names and can still have a base template for common attributes.