Exchange Online and Azure AD Connect

MVP

Hi everyone,

 

We are planning to implement Azure AD Connect in a Password Hash Synchronization with Seamless Sign On scenario, hosted on Azure B1ms Windows Server 2016 AD DC connect to on-prem AD via S2S VPN.

 

My company of around 100 users have had O365 for several years and the on-prem and AAD environments are totally separate for now.

 

One thing that has come up in my research is with Azure AD Connect in place, on-prem AD must be the source of all objects, attributes, and changes - makes sense.  Where there is confusion is Exchange Online attributes.  Several older threads on Tech Community and other forums state you cannot change EXO attributes, in an AAD Connect environment, without on-prem Exchange installed or at least its schema changes.

 

On review, the only EXO attributes we would change that aren't in the default AD schema are mailbox delegation (SendAs, AccessRights, etc) and email addresses (multiple SMTP addresses).  Other attributes that show in EXO such as Job Title, Address, and Tel Numbers are all available in the default schema via AD Users & Computers, so my presumption is they're not of concern.

 

Can anyone shed some light on this and confirm how we'd manage things like multiple SMTP addresses without the Exchange scheme in our on-prem AD?  Does this differ depending on where the object is managed (cloud only vs hybrid) or user mailbox vs shared?

 

Thank you,

 

Ruairidh

30 Replies
AADC won't sync/write back without Azure Premium license. And usually it syncs from on premise to the cloud. Yes, it is probably better to extend before installing AADC or it won't even install without a schema already being present. Then you would put email addresses into local AD users profiles and then AADC would sync this info to Exchange Online.

@wroot 

I did see this text on the AADC options:

Exchange Hybrid DeploymentThe Exchange Hybrid Deployment feature allows for the co-existence of Exchange mailboxes both on-premises and in Office 365. Azure AD Connect is synchronizing a specific set of attributes from Azure AD back into your on-premises directory.

 

Even though Exchange may not be installed locally, won't AADC and Azure AD still be treating it like a hybrid exchange environment?  @Ru I should be selecting this option when installing AADC, correct?  Seems that others already had Exchange installed on premise, so this would have been checked when they deployed AADC and then later decommissioned their on prem exchange servers.

 

@redamalekiWe did not select options for enabling Exchange Hybrid.  That is strictly for people who want to control Exchange on-prem and Exchange online in a coexisting environment.  If you never had Exchange or have moved all mailboxes to Exchange online, you don't need that; only the schema extension.  You then just need to make sure the attributes match your AAD and on-prem AD before the AAD Connect sync, such as UPN and email.  AAD Connect with then perform a 'soft match' between the AAD and on-prem identity.

Awesome, thank you for the clarification.
You can also run Idfix tool against your AD before AADC install. It will show you errors that you can fix before hand, like duplicated UPNs, etc. And yes, if you use emails like name.lastname@domain.com and your AD users use username111 UPN, you will have to change them to email address form before the sync, so it would match AAD format.

@Ru Thanks for the information.  I believe that we are going to deploy Exchange 2016 on prem soley for management.  My issue is that the AD environment never had Exchange deployed, so the domain has never been prepped, auto discover scp has not been set, and client namespace has not been defined.  My concern is that deploying Exchange on prem after AADC and getting them on board with using on Prem AD credentials might cause some service interruptions.  I've been trying to find a guide or directions on deploying an Exchange 2016 Management server in a greenfield AD only to manage mail properties for Exchange Online for synchronized users.

My approach at this point is to install it like a new Exchange deployment, but point Autodiscover to https://autodiscover.outlook.com/Autodiscover/Autodiscover.xml and use the hybrid wizard only to license the server.  Outside of that, and not routing any mail services to the server, there wouldn't be much else to it.

 

@redamalekiI don't quite understand why you need to install Exchange.  The attributes can managed without it, as long as you extend the schema.  You can do it very easily with the AD Users & Computers console.  What's leading you to this conclusion?

@Ru Most information I have found says this is the recommended practice.  What tool are you using to manage email aliases?  The more I think about it, the more I am intending to agree with you.  An on-premise exchange server in a green-field AD seems like more of a headache than what it would be worth.

You can use regular ADUC (AD Users and Computers console), enable Advanced options in it and when you open a user, it should have the Attribute editor tab. In there you can change various attributes. To add/edit aliases you can edit ProxyAddresses attribute.

 

SMPT:name@domain.com is the main address

smpt:name@domain.com is the secondary address and you can add many of them

I’ve had this discussion many times with customers and we all end up with ”it’s unsupported” to remove the last Exchange - period. I also know it’s possible to edit attributes directly in ADUC but I would never recommend it.

But I also agree Microsoft should fix this - it doesn’t make any sense. I was on whole day session just regarding Hybrid at Ignite 3 years ago and they said ”we’re working on it” but now they don’t even say that. I think this requirement will never go away and they are working on other things. Long term solution if you REALLY want to get rid of Exchange on-premises is probably to move away from on-premise AD and Azure AD Connect completely and go all-in on Cloud Only Identities. Again, not what I want to tell my customers but to be honest, that is what I think.

...and I’ll keep asking the experts at Ignite - which I do every year

@Jonas Back  this still doesn't account for sites that have never had exchange installed