During a latest Hybrid Migration from Exchange 2010 to Office 365, I encounter this problem. The client has Mail-Enabled Public Folders that are members of Distribution Groups. DirSync synchronizes all members of the Distribution Groups except the Mail-Enabled Public Folders. Also since the DirSync is active you cannot manually add the Mail-Enabled Public folder to the Distribution Group. The solution that worked for me is to create a Mail Contact, then using ADSIEdit or the attrributes tab, change the “TargetAddress” to the Mail-Enabled Public Folder smtp address and finally add the Mail Contact as a member to the Distribution Group.
Lets say that the Mail-Enabled PF’s name is mypublicfolder and the Email Address is [email protected]
- Open Exchange Management Console
- Go to “Receipient Configuration” / “Mail Contact” / “New Mail Contact”
- Select “New Contact” and click Next
- Since the we cannot add the same details as the Public Folder, enter something similar just to remember, I use the “-O365” extension like this:
External e-mail address: [email protected]
- Click Next, New and finally Finish to create the Mail Contact
- Open Active Directory Users & Computers
- Go to “View” and check the “Advanced Features”
- Go to the container that the new Mail Contact is located and double click to open the properties
- Go to the “Attribute Editor” tab and search for the “TargetAddress”
- Click Edit and change the address to the Mail-Enable Public Folders address, in this case the Target Address field should change to: SMTP:[email protected]
- Click OK, Apply and OK to close the properties.
- Now go back to the Exchange Management Console and go to “Reciepient Configuration” / “Distribution Group”
- Locate the Distribution Group and add the Mail-Contact as a member.
- Wait the DirSync to finish a full sync or force it and you are ok.
Pantelis Apostolidis is a Sr. Cloud Solutions Architect professional at Office Line SA and a recognized Microsoft Azure MVP. For the last 15 years, Pantelis has been involved to major cloud projects in Greece and abroad, helping companies to adopt and deploy cloud technologies, driving business value. He is entitled to a lot of Microsoft Expert Certifications, demonstrating his proven experience in delivering high quality solutions. He is an author, blogger and he is acting as a spokesperson for conferences, workshops and webinars. He is also an active member of several communities as a moderator in azureheads.gr and autoexec.gr. Follow him on Twitter @papostolidis.