Forum Discussion
AADconnect with Exchange server but without Hybrid Config - Managing users
Hey LIT-RS,
You should be able to use below cmdlet :-
Enable-RemoteMailbox samaccountname -Remoteroutingaddress mailto:alias@domain.com
This should allow you to see the mailbox in on-prem console as a Remote Mailbox. Hybrid is not required to run this cmdlet.
I'd recommend to test this with a test user first.
Deepak
Hi Deepak DeepakRandhawa , thanks for this.
I guess I need to run this on each individual mailbox individually? This is just to see the Existing O365 mailboxes in my ECP, correct?
I read somewhere that we’d also need to set-mailuser ? Is that irrelevant then?
To create new mailboxes in o365, as we’re using AADconnect, how would we go by that to create in from on-prem as O365 mailbox? Would we use the same command?
- DeepakRandhawaFeb 10, 2021Iron Contributor
Hey LIT-RS
Yes, this need to be run for each mailbox.
Yes, this is to see existing O365 mailboxes in on-premises ECP.Not sure what you read about Set-MailUser, I think it is irrelevant in this context.
You can follow the same process that you have been following till now to create new mailboxes and then run this command for each new mailbox that you create.
Deepak
- RobYardeMar 05, 2021Copper ContributorDeepak is correct with the "Enable-RemoteMailbox" command as this will mail enable your on-prem user accounts and update their recipient types. I would also recommend running the hybrid config wizard as it will add the remote routing addresses into your email address policy and also enable the "New Office 365 mailbox" button in the ECP/recipients page to allow you to use the Exchange wizard to create local AD accounts, and following the next AD Connect sync operation, will create the Exchange Online mailboxes for them.