Office 365 – Using Synced On-Premises AD Users with External SMTP Mail Addresses

azure-active-directoryazureadconnectdistribution-listsexchangemicrosoft-office-365

We are an academy with a an on-premises domain setup with an Office 365 tenant using Azure AD Connect, we have no Exchange servers. We have two categories of on-premises domain users, Staff and Students. Staff will be given Exchange Online mailboxes but Students will either not have access to the tenant at all or will not be given a mailbox, we wish for students to continue using their personal email accounts, their Domain Users have their external SMTP address kept in the 'mail' attribute currently.

We want to use these Student Users in our Office 365 tenant in so far that they can be used with Distribution Lists and appear in the Exchange GAL but it seems Users must have a mailbox or we must use Mail Contacts.

How can I use my Student Users, that have external email addresses, with Distribution Lists and have them appear in the GAL without giving them a mailbox and provisioned email address?

Best Answer

Setting the Domain User attributes as below appeared to work for me.

...to create a mail-enabled user in your local AD with no on-premise exchange server, you can create a user object manually and set the following required attributes

mail = externalemail@domain.com

mailNickName = internal.username (should be the same value as samAccountName)

targetAddress = SMTP:externalemail@domain.com

proxyAddresses = SMTP:externalemail@domain.com

Source: https://social.msdn.microsoft.com/Forums/en-US/478e3ee9-1723-4ac7-8d58-c6d0961e000f/create-mailuser-no-mailbox-external-address-in-local-ad-and-sync-to-365?forum=WindowsAzureAD#b9e80a5b-239b-4fd9-81ab-241ab8ee61af

Related Topic