On the Deploy Pipeline Configuration, I created an approval from my Dev environment to Production per the instructions on this page: https://lowcodelewis.com/blog/power-platform-pipelines-with-approvals
I have it all working but at the end on the "Perform an unbound action- UpdatePreDeploymentStepStatus action and then set the Item/PreDeploymentStepStatus parameter to 20.
When this executes it gives me the following error and will not finish the promotion:
Error identified in Payload provided by the user for Entity :'', For more information on this error please follow this help link https://go.microsoft.com/fwlink/?linkid=2195293 ----> InnerException : Microsoft.OData.ODataException: One or more parameters of the operation 'UpdatePreDeploymentStepStatus' are missing from the request payload. The missing parameters are: StageRunId.
at Microsoft.OData.ODataParameterReaderCore.EnterScope(ODataParameterReaderState state, String name, Object value)
at Microsoft.OData.JsonLight.ODataJsonLightParameterDeserializer.ReadNextParameter(PropertyAndAnnotationCollector propertyAndAnnotationCollector)
at Microsoft.OData.ODataParameterReaderCore.ReadImplementation()
at Microsoft.OData.ODataParameterReaderCore.<>c.<Read>b__18_0(ODataParameterReaderCore thisParam)
at Microsoft.OData.ODataParameterReaderCore.InterceptException[T](Func`2 action)
at Microsoft.Crm.Extensibility.ODataV4.CrmODataActionPayloadDeserializer.Read(ODataMessageReader messageReader, Type type, ODataDeserializerContext readContext)
at System.Web.OData.Formatter.ODataMediaTypeFormatter.ReadFromStream(Type type, Stream readStream, HttpContent content, IFormatterLogger formatterLogger).