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

The user running that command needs to be assigned to the Mailbox Import/Export role. If you are not part of that role you will get the above message.

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.