xrm-ci-framework icon indicating copy to clipboard operation
xrm-ci-framework copied to clipboard

Service Endpoint Registration - Error using Reset method if no existing endpoints

Open bo-stig-christensen opened this issue 5 years ago • 2 comments

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 avatar Sep 04 '19 07:09 bo-stig-christensen

@bo-stig-christensen did you try to use upsert?

WaelHamze avatar Sep 16 '19 04:09 WaelHamze

@WaelHamze As I mentioned in the first paragraph, it works fine with Upsert :-)

bo-stig-christensen avatar Sep 24 '19 10:09 bo-stig-christensen