Solved

hybrid Exchange 2013 / Office 365 - Mail enable a DL created in local AD

Posted on 2016-09-08
6
38 Views
Last Modified: 2016-09-08
Hi all.
Im contracting for a company that uses hybrid Exchange 2013 / Office 365.  

Still getting my head around setup.

All users and Groups are created on local AD, then ADConnect syncs them to Office 365.  

We run  "Enable-RemoteMailbox" for new users, however I am wondering if there a similar command to Mail enable a DL??

Or is it as simple as going to AD Object, Attribute Editor and updating Mail and ProxyAddresses attributes?
Cheers
String
0
Comment
Question by:TreadStone_IT
  • 3
  • 2
6 Comments
 
LVL 14

Accepted Solution

by:
Todd Nelson earned 500 total points
Comment Utility
Since there is an on premises Exchange server, I suggest using something like this to mail-enable a group...

Enable-DistributionGroup -Identity "GROUPNAME"

Open in new window


However, if the group scope is not set to Universal, an error will be received.  Universal group scope is required for a mail-enabled group.

Once you've mail-enabled the group, wait for or manually force the sync with AAD Connect to occur.
0
 
LVL 38

Expert Comment

by:Adam Brown
Comment Utility
As long as the security group is Universal, as mentioned, you only need to add an email address and proxyaddresses in Attribute editor and wait for the sync to occur. Running todd's command in Exchange Powershell should do that for you, but it would be advisable to specify the addresses the group will use rather than accepting what Exchange sets by default, since you may end up with addresses that could be longer than you want.
0
 
LVL 14

Expert Comment

by:Todd Nelson
Comment Utility
Correct, Adam.

By default, mail enabling a mailbox or group without specifying an email address (in my prior code sample) will create an email address based on the email address policy.

But by specifying an email address when enabling the group or mailbox, like this...

Enable-DistributionGroup -Identity "GROUPNAME" -PrimarySmtpAddress GROUPNAME@mydomain.com

Open in new window


...it will disable the auto application of the email address policy for that specific group or mailbox.
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 

Author Comment

by:TreadStone_IT
Comment Utility
Thanks guys,
And Im running this line on my local Exchange 2013\ Exchange Management Shell
NOT
PS to Exchange online.

Correct?
0
 
LVL 14

Expert Comment

by:Todd Nelson
Comment Utility
Correct.
0
 

Author Closing Comment

by:TreadStone_IT
Comment Utility
OK thanks guys. I ran the commands on local Exchange 2013\ Exchange Management Shell  and seems to have worked. Many thanks
Warm thanks to both for your assistance
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
Office 365 is currently available in five editions. Three of them are for business use: Office 365 Business Essentials, Office 365 Business, and Office 365 Business Premium. Two of them are for home/personal use: Office 365 Home and Office 365 Perso…
This video discusses moving either the default database or any database to a new volume.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now