Avatar of Member_2_8201772
Member_2_8201772Flag for Switzerland

asked on 

AD Contacts are not sync with MSX 2016

Dear Experts, I have a synchronisation problem between our "one and only" DC (WS 2016 Std.) and also "one and only" Exchange 2016. We are opening and editing contacts in AD but they are not automatically synchronized with our exchange. Both are new installation and maybe I've made something wrong or didn't understand the way they are communicating. Please be indulgent, I'm not the best SYS Admin ;-)

Have a great stressfree day and thank you for reading my problem

Best Regards Olivier
ExchangeInstallation

Avatar of undefined
Last Comment
Member_2_8201772
Avatar of Alex
Alex
Flag of United Kingdom of Great Britain and Northern Ireland image

Olivier,

Firstly, and I'm sure/hope you understand the rather precarious position you're in with a single domain controller. That goes, you're screwed, simple as.


https://docs.microsoft.com/en-us/previous-versions/office/exchange-server-2010/bb124237(v=exchg.141)?redirectedfrom=MSDN

You need to sync it yourself and mail enable the contact. It's all in the above link.
Avatar of Alan Cox
Alan Cox
Flag of United States of America image

are they mail enabled? https://docs.microsoft.com/en-us/powershell/module/exchange/users-and-groups/enable-mailcontact?view=exchange-ps
I generally create and edit contacts in Exchange EAC not Active directory.
SOLUTION
Avatar of Alex
Alex
Flag of United Kingdom of Great Britain and Northern Ireland image

Blurred text
THIS SOLUTION IS 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
ASKER CERTIFIED SOLUTION
Avatar of Alan Cox
Alan Cox
Flag of United States of America image

Blurred text
THIS SOLUTION IS 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.
Avatar of Member_2_8201772

ASKER

Hi Alex / Hi Alan

Thank you very much for the quick answers. Yes, Alan, I know how dangerous the fact that we have now just one DC. This is on my radar. I will try to run the export all the contacts and run the script. The editing from contacts are made from an employee without knowledge of Exchange. That's why I've created a snapin with delegate control on the OU.

I wish you a merry christmas and a happy new year :-)

Greetings from Switzerland

Olivier
Avatar of Alan Cox
Alan Cox
Flag of United States of America image

you as well. keep us posted.
Avatar of Member_2_8201772

ASKER

@Alan, could you please make a script with that file? Do you need more Infos?
Avatar of Alan Cox
Alan Cox
Flag of United States of America image

I'll need name (display name), External Email address and Organizational unit path in CSV headers
Avatar of Alan Cox
Alan Cox
Flag of United States of America image

These are just raw contacts with no External email address so exchange won't see them (no mail attributes). So I would need a csv with at least an externalemailaddress column and OU (where you want contacts to be in Active Directory, Finally a Name Column so the 'display name' will appear correctly in GAL.
Avatar of Member_2_8201772

ASKER

Dear Alan

I'm really sorry for that. I didn't proof the file. It was a long day yesterday. I will do it tomorrow morning.

Kindly Olivier
Avatar of Member_2_8201772

ASKER

Dear Alan/Alex

I've found what I exactly need. This Powershell script has done it for all the objects contatcs:

get-contact -organizationalunit testou -RecipientTypeDetails Contact -Filter 'WindowsEmailAddress -ne $null' |
 foreach { enable-mailcontact -Identity $_ -ExternalEmailAddress $_.WindowsEmailAddress.toString() }

Please feel free to share it if you want

Best Regards Olivier Travelletti
Exchange
Exchange

Exchange is the server side of a collaborative application product that is part of the Microsoft Server infrastructure. Exchange's major features include email, calendaring, contacts and tasks, support for mobile and web-based access to information, and support for data storage.

213K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo