AADconnect with Exchange server but without Hybrid Config - Managing users

%3CLINGO-SUB%20id%3D%22lingo-sub-2118150%22%20slang%3D%22en-US%22%3EAADconnect%20with%20Exchange%20server%20but%20without%20Hybrid%20Config%20-%20Managing%20users%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2118150%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EWe%20have%20all%20of%20our%20mailboxes%20in%20Exchange%20Online.%20MX%20records%20point%20to%20Exchange%20Online.%20Autodiscover%20points%20to%20Exchange%20Online%20(autodiscover.outlook.com).%3C%2FP%3E%3CP%3EThese%20were%20migrated%20to%20O365%20from%20a%20previous%20project%20(previous%20supplier).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20a%20new%20on-premises%20Active%20Directory%20forest.%20I%20have%20configured%20AADConnect%20server%20and%20will%20be%20syncing%20my%20new%20AD%20users%20to%20Azure.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20will%20also%20be%20hard%20matching%20the%20Exchange%20Online%20mailboxes%20to%20my%20on-premises%20AD%20users%20(using%20immutableID%20command.%20Not%20an%20issue).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAs%20I%20have%20installed%20a%20new%20Exchange%202016%20environment%2C%20I%20want%20to%20see%20the%20Exchange%20Online%20mailboxes%20visible%20in%20my%20on-premise%20Exchange%20ECP.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20want%20to%20do%20this%20without%20having%20to%20set%20up%20a%20Hybrid%20Configuration.%20The%20reason%20is%2C%20There%20is%20no%20need%20for%20Free%2FBusy%2C%20no%20need%20for%20mail%20to%20route%20across%20on-prem%20and%20EXO%20-%20because%2C%20Autodiscover%20points%20to%20Outlook.com%2C%20MX%20records%20point%20direct%20to%20Exchange%20Online.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20just%20want%20to%20be%20able%20to%20see%20the%20Exchange%20Online%20mailboxes%20displayed%20as%20%22Office%20365%22%20mailboxes%20in%20my%20on-premise%20Exchange%202016%20so%20IT%20admin%20team%20can%20do%20BAU%20activities%20such%20as%20changing%20Exchange%20related%20attributes%20(e.g.%20hide%20from%20address%20list)%20etc%20from%20on-prem.%20Or%20even%20be%20able%20to%20create%20a%20new%20remote%20mailbox%20from%20Exchange%20on-prem.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3CBR%20%2F%3ERon%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2118150%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAADConnect%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Eadministration%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EAzure%20AD%20Connect%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EECP%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Ehybrid%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2120362%22%20slang%3D%22en-US%22%3ERe%3A%20AADconnect%20with%20Exchange%20server%20but%20without%20Hybrid%20Config%20-%20Managing%20users%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2120362%22%20slang%3D%22en-US%22%3E%3CP%3EHey%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F857282%22%20target%3D%22_blank%22%3E%40LIT-RS%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYes%2C%20this%20need%20to%20be%20run%20for%20each%20mailbox.%3CBR%20%2F%3EYes%2C%20this%20is%20to%20see%20existing%20O365%20mailboxes%20in%20on-premises%20ECP.%3C%2FP%3E%3CP%3ENot%20sure%20what%20you%20read%20about%20Set-MailUser%2C%20I%20think%20it%20is%20irrelevant%20in%20this%20context.%3C%2FP%3E%3CP%3EYou%20can%20follow%20the%20same%20process%20that%20you%20have%20been%20following%20till%20now%20to%20create%20new%20mailboxes%20and%20then%20run%20this%20command%20for%20each%20new%20mailbox%20that%20you%20create.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDeepak%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2118364%22%20slang%3D%22en-US%22%3ERe%3A%20AADconnect%20with%20Exchange%20server%20but%20without%20Hybrid%20Config%20-%20Managing%20users%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2118364%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Deepak%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F333418%22%20target%3D%22_blank%22%3E%40DeepakRandhawa%3C%2FA%3E%26nbsp%3B%2C%20thanks%20for%20this.%3CBR%20%2F%3EI%20guess%20I%20need%20to%20run%20this%20on%20each%20individual%20mailbox%20individually%3F%20This%20is%20just%20to%20see%20the%20Existing%20O365%20mailboxes%20in%20my%20ECP%2C%20correct%3F%3CBR%20%2F%3EI%20read%20somewhere%20that%20we%E2%80%99d%20also%20need%20to%20set-mailuser%20%3F%20Is%20that%20irrelevant%20then%3F%3CBR%20%2F%3E%3CBR%20%2F%3ETo%20create%20new%20mailboxes%20in%20o365%2C%20as%20we%E2%80%99re%20using%20AADconnect%2C%20how%20would%20we%20go%20by%20that%20to%20create%20in%20from%20on-prem%20as%20O365%20mailbox%3F%20Would%20we%20use%20the%20same%20command%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2118283%22%20slang%3D%22en-US%22%3ERe%3A%20AADconnect%20with%20Exchange%20server%20but%20without%20Hybrid%20Config%20-%20Managing%20users%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2118283%22%20slang%3D%22en-US%22%3E%3CP%3EHey%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F857282%22%20target%3D%22_blank%22%3E%40LIT-RS%3C%2FA%3E%2C%3C%2FP%3E%3CP%3EYou%20should%20be%20able%20to%20use%20below%20cmdlet%20%3A-%3C%2FP%3E%3CP%3EEnable-RemoteMailbox%20samaccountname%20-Remoteroutingaddress%20%3CA%20href%3D%22mailto%3Aalias%40domain.com%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ealias%40domain.com%3C%2FA%3E%3C%2FP%3E%3CP%3EThis%20should%20allow%20you%20to%20see%20the%20mailbox%20in%20on-prem%20console%20as%20a%20Remote%20Mailbox.%20Hybrid%20is%20not%20required%20to%20run%20this%20cmdlet.%3C%2FP%3E%3CP%3EI'd%20recommend%20to%20test%20this%20with%20a%26nbsp%3B%20test%20user%20first.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDeepak%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hi,

We have all of our mailboxes in Exchange Online. MX records point to Exchange Online. Autodiscover points to Exchange Online (autodiscover.outlook.com).

These were migrated to O365 from a previous project (previous supplier).

 

I have a new on-premises Active Directory forest. I have configured AADConnect server and will be syncing my new AD users to Azure.

 

I will also be hard matching the Exchange Online mailboxes to my on-premises AD users (using immutableID command. Not an issue).

 

As I have installed a new Exchange 2016 environment, I want to see the Exchange Online mailboxes visible in my on-premise Exchange ECP.

 

I want to do this without having to set up a Hybrid Configuration. The reason is, There is no need for Free/Busy, no need for mail to route across on-prem and EXO - because, Autodiscover points to Outlook.com, MX records point direct to Exchange Online.

 

I just want to be able to see the Exchange Online mailboxes displayed as "Office 365" mailboxes in my on-premise Exchange 2016 so IT admin team can do BAU activities such as changing Exchange related attributes (e.g. hide from address list) etc from on-prem. Or even be able to create a new remote mailbox from Exchange on-prem.

 

Thanks
Ron

4 Replies

Hey @LIT-RS,

You should be able to use below cmdlet :-

Enable-RemoteMailbox samaccountname -Remoteroutingaddress 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?

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

Deepak 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.