ARM-MSDeploy Deploy Failed: The declared parameter 'Application Path' is not recognized

Issue Details

We are getting a failed deployment with using the template.

Error Message:

DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.","details":[{"code":"Failed","message":"ARM-MSDeploy Deploy Failed: 'Microsoft.Web.Deployment.DeploymentXmlException: The declared parameter 'Application Path' is not recognized.\r\n\r\n at Microsoft.Web.Deployment.DeploymentSyncParameterCollection.LoadFromFile(XPathNavigator nav, String fileName, Boolean ignoreExtraSetParameters)\r\n at Microsoft.Web.Deployment.DeploymentSyncParameterCollection.LoadXml(String xml)\r\n at Microsoft.Web.Deployment.WebApi.AppGalleryPackage.LoadSetParameters(DeploymentObject deploymentObject, IDictionary`2 setParams, String setParamXmlFile)\r\n at Microsoft.Web.Deployment.WebApi.AppGalleryPackage.Deploy(String deploymentSite, String siteSlotId, Boolean doNotDelete)\r\n at Microsoft.Web.Deployment.WebApi.DeploymentController.<DownloadAndDeployPackage>d__25.MoveNext()'"},{"code":"Failed","message":"ARM-MSDeploy Deploy Failed: 'Microsoft.Web.Deployment.DeploymentXmlException: The declared parameter 'Application Path' is not recognized.\r\n\r\n at Microsoft.Web.Deployment.DeploymentSyncParameterCollection.LoadFromFile(XPathNavigator nav, String fileName, Boolean ignoreExtraSetParameters)\r\n at Microsoft.Web.Deployment.DeploymentSyncParameterCollection.LoadXml(String xml)\r\n at Microsoft.Web.Deployment.WebApi.AppGalleryPackage.LoadSetParameters(DeploymentObject deploymentObject, IDictionary`2 setParams, String setParamXmlFile)\r\n at Microsoft.Web.Deployment.WebApi.AppGalleryPackage.Deploy(String deploymentSite, String siteSlotId, Boolean doNotDelete)\r\n at Microsoft.Web.Deployment.WebApi.DeploymentController.<DownloadAndDeployPackage>d__25.MoveNext()

Repro steps

1.We create a new Resource Group in our Azure environment.

2.Once created we go through the Umbraco Template (such as filling up the Region, Action Group Name, App Insight Name, DB Details, Rdis name, etc.

3.We validate then Deploy.

4.Everything would go well except 2 MSDeploy issues.

Does any of you have an Idea what is wrong here?


This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/107187-arm-msdeploy-deploy-failed-the-declared-parameter-application-path-is-not-recognized