Creating shared mailboxes on Office365 / Exchange online hybrids

Creating shared mailboxes on Office365 / Exchange online hybrids

Create a AD object and then enable a remote mailbox from On-Prem

  • Open Active Directory users and computers console. 
  • Navigate to the desired OU (remember that the OU should be Synced to Office365)
  • Right Click on the OU to create a New user.
  • Complete the user details in the New Object dialog box and click on finish.
  • Open exchange management powershell on the Hybrid servers and run the below command to enable a remote mailbox for the user.
Enable-RemoteMailbox -Identity "useralias@domain.com" -primarysmtpaddress "useralias@domain.com" -RemoteRoutingAddress "useralias@tenant.mail.onmicrosoft.com"

If you need Archive to be enabled, run the below command as well.

Enable-RemoteMailbox -Identity "useralias@domain.com" -Archive

  • Please add "smpt:useralias@tenant.mail.onmicrosoft.com" to proxyaddress list to avoid mail flow issues.
  • Wait for the object to Sync
  • We would be able to search for the user in Office365 Admin console once the sync is completed.
  • We would be searching for the mailbox in user mailboxes list as the mailbox type is not yet set.
  • At this step rather than assigning license we could be converting the mailbox to shared. follow the link and complete the mailbox setup. 

Comments

Popular posts from this blog

Clearing Exchange online mailbox purge, dumpster folder

create AD contacts, Bulk create AD contacts - Active Directory PowerShell

Add description to AD contact and bulk add description for contacts - Active Directory PowerShell