Solved

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

Posted on 2016-09-08
6
45 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
ID: 41790588
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
ID: 41790638
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
ID: 41790647
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
Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 

Author Comment

by:TreadStone_IT
ID: 41790688
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
ID: 41790690
Correct.
0
 

Author Closing Comment

by:TreadStone_IT
ID: 41790707
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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you don't know how to downgrade, my instructions below should be helpful.
Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

911 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

18 Experts available now in Live!

Get 1:1 Help Now