Two different ways to create user in Office 365

UserCredential Get Credential UserCredential Get Credential
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 -DisplayName “meirp” -FirstName “meir” -LastName “peleg” Set password:

Set-MsolUserPassword -userPrincipalName -NewPassword “Pelegit12!@12!″ -ForceChangePassword $false

Exit from the Session:

remove-pssession $session


Leave a Comment

Your email address will not be published.

Comment moderation is enabled. Your comment may take some time to appear.

In the news
Load More