Avatar of String :-)
String :-)
Flag for Australia asked on

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

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
ExchangeMicrosoft 365

Avatar of undefined
Last Comment
String :-)

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Todd Nelson

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Adam Brown

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.
Todd Nelson

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.
String :-)

ASKER
Thanks guys,
And Im running this line on my local Exchange 2013\ Exchange Management Shell
NOT
PS to Exchange online.

Correct?
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
Todd Nelson

Correct.
String :-)

ASKER
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