Forum Discussion
Chris Stewart
May 23, 2018Brass Contributor
Enable-RemoteMailbox -Archive Parameter set cannot be resolved
https://docs.microsoft.com/en-us/powershell/module/exchange/federation-and-hybrid/enable-remotemailbox?view=exchange-ps documentation, see Example2, seems to suggest the following command should work...
Brian Reid
Jun 06, 2018MVP
We are talking about Enable-RemoteMailbox and not Enable-Mailbox. The
examples at the top of the document are correct and not Example 2. You
need to run the following two cmdlets. The first to make the remote
mailbox and the second to add an archive to that remote mailbox:
Enable-RemoteMailbox -Identity fake@fake.com -RemoteRoutingAddress
fake@fake.mail.onmicrosoft.com Enable-RemoteMailbox -Identity
fake@fake.com -Archive If you want to create the archive only in the
cloud then that is Enable-Mailbox -ArchiveDomain
fake.mail.onmicrosoft.com (using Enable-Mailbox to update the mailbox
on-premises but with an archive at the URL namespace mentioned.