Skip to main content
1 of 5
Erwin Paul
  • 319
  • 1
  • 12

installing sitecore on Azure PaaS using ARM template

Could anybody please help on below. I'm getting below error after 1 hour of execution in powershell script while installing sitecore on Azure PaaS using ARM template but I can access CM and CD server after this.

New-AzureRmResourceGroupDeployment : 11:49:54 PM - Resource Microsoft.Web/sites/extensions 'demo-sc901azure2-cm/MSDeploy' failed with message '{ "status": "failed", "error": { "code": "ResourceDeploymentFailure", "message": "The resource operation completed with terminal provisioning state 'failed'.", "details": [ { "code": "Failed", "message": "AppGallery Deploy Failed: 'System.UriFormatException: Invalid URI: The URI is empty.\r\n at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)\r\n at Microsoft.Web.Deployment.WebApi.DeploymentController.<DownloadPackageAndSettings>d__26.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Microsoft.Web.Deployment.WebApi.DeploymentController.<DownloadAndDeployPackage>d__17.MoveNext()'" } ] } }' At D:\sitecore9_azure_PaaS\tools\Sitecore.Cloud.Cmdlets.psm1:123 char:35

  • ... eployment = New-AzureRmResourceGroupDeployment -Name $Name -ResourceG ...
  • CategoryInfo : NotSpecified: (:) [New-AzureRmResourceGroupDeployment], Exception
  • FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDeploymentCmdlet

New-AzureRmResourceGroupDeployment : 11:49:54 PM - AppGallery Deploy Failed: 'System.UriFormatException: Invalid URI: The URI is empty. at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind) at Microsoft.Web.Deployment.WebApi.DeploymentController.<DownloadPackageAndSettings>d__26.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.Web.Deployment.WebApi.DeploymentController.<DownloadAndDeployPackage>d__17.MoveNext()' At D:\sitecore9_azure_PaaS\tools\Sitecore.Cloud.Cmdlets.psm1:123 char:35

  • ... eployment = New-AzureRmResourceGroupDeployment -Name $Name -ResourceG ...
  • CategoryInfo : NotSpecified: (:) [New-AzureRmResourceGroupDeployment], Exception
  • FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDeploymentCmdlet

VERBOSE: 11:49:54 PM - Resource Microsoft.Web/sites 'demo-sc901azure2-exm-dds' provisioning status is succeeded VERBOSE: 11:49:54 PM - Resource Microsoft.Resources/deployments 'demo-sc901azure2-application' provisioning status is succeeded VERBOSE: 11:49:55 PM - Checking deployment status in 60 seconds New-AzureRmResourceGroupDeployment : 11:51:10 PM - Resource Microsoft.Resources/deployments 'demo-sc901azure2-application-exm' failed with message '{ "status": "Failed", "error": { "code": "ResourceDeploymentFailure", "message": "The resource operation completed with terminal provisioning state 'Failed'.", "details": [ { "code": "DeploymentFailed", "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.", "details": [ { "code": "Conflict", "message": "{\r\n "status": "failed",\r\n "error": {\r\n "code": "ResourceDeploymentFailure",\r\n "message": "The resource operation completed with terminal provisioning state 'failed'.",\r\n "details": [\r\n {\r\n "code": "Failed",\r\n "message": "AppGallery Deploy Failed: 'System.UriFormatException: Invalid URI: The URI is empty.\r\n at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)\r\n at Microsoft.Web.Deployment.WebApi.DeploymentController.<DownloadPackageAndSettings>d__26.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Microsoft.Web.Deployment.WebApi.DeploymentController.<DownloadAndDeployPackage>d__17.MoveNext()'"\r\n }\r\n ]\r\n }\r\n}" } ] } ] } }' At D:\sitecore9_azure_PaaS\tools\Sitecore.Cloud.Cmdlets.psm1:123 char:35

  • ... eployment = New-AzureRmResourceGroupDeployment -Name $Name -ResourceG ...
  • CategoryInfo : NotSpecified: (:) [New-AzureRmResourceGroupDeployment], Exception
  • FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDeploymentCmdlet

New-AzureRmResourceGroupDeployment : 11:51:10 PM - At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details. At D:\sitecore9_azure_PaaS\tools\Sitecore.Cloud.Cmdlets.psm1:123 char:35

  • ... eployment = New-AzureRmResourceGroupDeployment -Name $Name -ResourceG ...
  • CategoryInfo : NotSpecified: (:) [New-AzureRmResourceGroupDeployment], Exception
  • FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDeploymentCmdlet
Erwin Paul
  • 319
  • 1
  • 12