# The term 'New-RemoteMailbox' is not recognized as the name of a cmdlet

Trying to create the new remote mailbox for O365 (on-premis mailox does not exists).

I'm establishing connection to local Exchange server (either by EMS or by Invoke-Command PowerShell) and try to execute New-RemoteMailbox command. After this I'm getting error:

The term 'New-RemoteMailbox' is not recognized as the name of a cmdlet...

Have someone faced such problem? That is strange as well as I using EMS that needs to have all cmdlets..

• Did you establish a connection to the Office 365 tenant account in powershell prior to trying the command? – Todd Wilcox Nov 18 '17 at 20:16

New-ManagementRoleAssignment -Role "Mailbox Import Export" –User <domain\user>