I'm using the Exchange Web Services SDK and am getting strange results after these lines run:
ScpUrlGuidString = @"77378F46-2C66-4aa9-A6A6-3E7A48B19596";
ScpPtrGuidString = @"67661d7F-8FC4-4fa7-BFAC-E1D7794C1F68";
configSearcher.Filter =
"(&(objectClass=serviceConnectionPoint)" +
"(|(keywords=" + ScpPtrGuidString + ")(keywords=" + ScpUrlGuidString + ")))";
It seems that one of my CAS servers is missing, and the other is misconfigured.
Question
What administrative commands should I run to edit how the CAS publishes or updates the AD SCP?
You can list the
AutoDiscoverServiceInternalUri
property of the Client Access Servers with the Exchange Management Shell (this is the serviceBindingInformation attribute of the CAS SCP):Update the property with the Set-ClientAccessServer cmdlet if necessary