dyn365-ce-vsts-tasks icon indicating copy to clipboard operation
dyn365-ce-vsts-tasks copied to clipboard

Get Solution Task returning old version

Open jblaseske opened this issue 3 years ago • 1 comments

We have noticed a pipeline change in the last week where the Get Solution task, when implemented within a release pipeline after a solution has been upgraded, is returning the previous (not post-upgrade) version of the solution. I am guessing the task is using a cached connection. If this is the case, is there a way to re-cache the connection prior to invoking this task?

jblaseske avatar May 21 '21 13:05 jblaseske

@jblaseske did you try to set RequireNewInstance = true in the connection string

https://docs.microsoft.com/en-us/power-apps/developer/data-platform/xrm-tooling/use-connection-strings-xrm-tooling-connect#connection-string-parameters

WaelHamze avatar Apr 01 '22 17:04 WaelHamze