Solved

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

Posted on 2016-09-08
6
55 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 39

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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

770 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