How to create a new user mailbox in Exchange Online
Created#More Posted time:Sep 27, 2019 4:09 AM
You have to use the Microsoft 365 admin center or Microsoft Exchange Online PowerShell to create an Exchange Online user mailbox.
You can't create new user mailboxes using the Exchange admin center (EAC). However, after Exchange Online mailboxes are created,
you can manage them using the EAC.
Use the Microsoft 365 admin center to create a new mailbox
You can use the Microsoft 365 admin center to create a new user account. When you assign the user account a license for Exchange Online
, a mailbox is automatically created for the user. To create new user accounts in the Microsoft 365 admin center, see the following topics:
· Create or edit users
· Add multiple users with a CSV file
Use Exchange Online PowerShell to create a new mailbox
This example creates an Exchange Online mailbox and Office 365 user account for Holly Holt. The optional parameter ResetPasswordOnNextLogon will
require the user to reset their password the first time they sign in to Office 365.
New-Mailbox -Alias hollyh -Name
hollyh -FirstName Holly -LastName Holt -DisplayName "Holly Holt"
-MicrosoftOnlineServicesID email@example.com -Password
(ConvertTo-SecureString -String 'P@ssw0rd' -AsPlainText -Force)
After you create a mailbox by running the previous command, an Office 365 user account is also created. You have to activate this user account by assigning a license.
How do you know this worked?
To verify that you've successfully created a new mailbox, do one of the following:
· In the EAC, navigate to Recipients > Mailboxes. The new user mailbox is displayed in the mailbox list. Under Mailbox Type, the type is User.
Click Refresh if the new mailbox isn't displayed at first.
· In theMicrosoft 365 admin center, verify that the new user account is listed and that it's been assigned an Exchange Online license.
· In Exchange Online PowerShell, run the following command to display information about the new user mailbox.
Get-Mailbox <Name>| Format-List Name,RecipientTypeDetails,PrimarySmtpAddress,SKUAssigned
If a license is assigned to the mailbox, the value for the SKUAssigned property is True. If a license hasn't been assigned, the value is blank.
Hope this helps !
1st Reply#Posted time:Sep 27, 2019 16:08 PM
Thanks for sharing this!