Is there any idea why cannot add another domain mail contact within same org to the distribution group.
It was no issue with ECP manually add the mail contact, but EMS seems return couldn't find it. Thanks
Technology Tips and News
Is there any idea why cannot add another domain mail contact within same org to the distribution group.
It was no issue with ECP manually add the mail contact, but EMS seems return couldn't find it. Thanks
Hi,
Please can you post the EMS command and the error you're getting. Also look out for any AD replication latency which can result in missing contacts.
Thanks.
Add-DistributionGroupMember -ErrorAction Stop -Identity $mailNickName -Member $membermailNickname -BypassSecurityGroupManagerCheck
Hi,
Please post the full command.
And what's the error with this command?
Run this command, then try to add contact.
Set-AdServerSettings -ViewEntireForest $True
Best Regards.
Hi cjohn1,
You seem to be running it as a part of a script. As others suggested it can be AD scoping or replication issue.
You should test it using single command at a time with single user. Removing extra parameters.
Add-DistributionGroupMember -Identity "StaffDL" -Member "JohnEvans@contoso.com"
If above works you can troubleshoot further on the script.
Add-DistributionGroupMember:
https://technet.microsoft.com/en-us/library/bb124340(v=exchg.150).aspx