Two different ways to create user in Office 365

Quick guide


According to the subject, you can understand that I am going to introduce you two different ways for creating a user in Office 365.

The first way is the regular way directly from Office 365 Management console:

Active the user >
And add him by clicking the (symbol)

Office365_Create User

Create user Office 365

The second option is to create the mailbox using Powershell:

You have to connect to your office 365 with Administrator credential:

create user Office 365


$UserCredential = Get-Credential (Admin Credential)

create user Office 365



$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri -Credential $UserCredential -Authentication Basic -AllowRedirectio import-PSSession $SessionFollow the commands :

import-PSSession $Session

Create user :

New-MsolUser -UserPrincipalName [email protected] -DisplayName “meirp” -FirstName “meir” -LastName “peleg” Set password:

Set-MsolUserPassword -userPrincipalName [email protected] -NewPassword “Pelegit12!@12!″ -ForceChangePassword $false

Exit from the Session:

remove-pssession $session