xrm-ci-framework
xrm-ci-framework copied to clipboard
Service Endpoint Registration - Error using Reset method if no existing endpoints
In ServiceEndpointRegistration.ps1 it is possible to use the RegistrationType "Upsert" in order to create/update service endpoint registrations.
However, if using RegistrationType "Reset", the initial deletion of the service endpoints fails if no endpoint with specified guid exists in the environment. It should, however, just check if it exists first and if it does not, skip deletion stage.
@bo-stig-christensen did you try to use upsert?
@WaelHamze As I mentioned in the first paragraph, it works fine with Upsert :-)