Skip to main content
added 343 characters in body
Source Link
Erwin Paul
  • 319
  • 1
  • 12

----------------azuredeploy The file azuredeploy.parameters.json--------------- { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", "contentVersion": "1.0.0.0", "parameters": { "deploymentId": { "value": "" }, "location": { "value": "East US" }, "sitecoreAdminPassword": { "value": "ProvidedValue" }, "licenseXml": { "value": "" }, "repAuthenticationApiKey": { "value": "ProvidedValue" }, "sqlServerLogin": { "value": "ProvidedValue" }, "sqlServerPassword": { "value": "ProvidedValue" }, "cmMsDeployPackageUrl": { "value": "ProvidedValue" }, "cdMsDeployPackageUrl": { "value": "ProvidedValue" }, "prcMsDeployPackageUrl": { "value": "ProvidedValue" }, "repMsDeployPackageUrl": { "value": "ProvidedValue" }, "xcRefDataMsDeployPackageUrl": { "value": "ProvidedValue" }, "xcCollectMsDeployPackageUrl": { "value": "ProvidedValue" }, "xcSearchMsDeployPackageUrl": { "value": "ProvidedValue" }, "maOpsMsDeployPackageUrl": { "value": "ProvidedValue" }, "maRepMsDeployPackageUrl": { "value": "ProvidedValue" }, "deployExmDds": { "value": true }, "exmDdsMsDeployPackageUrl": { "value": "ProvidedValue" }, "exmCmMsDeployPackageUrl": { "value": "ProvidedValue" }, "authCertificateBlob":{ "value": "" }, "authCertificatePassword":{ "value": "ProvidedValue" }, "sitecoreSKU":{ "value": "Small" } } } -----------------DeploySitecore9XPScaled.ps1--------- $SCSDK="D:\sitecore9_azure_PaaS\tools" $SCTemplates="https://raw.githubusercontent.com/Sitecore/Sitecore-Azure-Quickstart-Templates/master/Sitecore%209.0.1/XP" $DeploymentId = "demo-sc901azure" $ResourceGroup = "demo-sc901azurerg" $LicenseFile = "D:\sitecore9_azure_PaaS\license.xml" $CertificateFile = "ProvidedValue" $SubscriptionId = "ProvidedValue" $Location="East US" $ParamFile="D:\sitecore9_azure_PaaS\azuredeploy.parameters.json" $Parameters = @{ "deploymentId"=$DeploymentId; "authCertificateBlob" = [System.Convert]::ToBase64String([System.IO.File]::ReadAllBytes($CertificateFile)) } Import-Module $SCSDK\Sitecore.Cloud.Cmdlets.psm1 Add-AzureRMAccount Set-AzureRMContext -SubscriptionId $SubscriptionId Start-SitecoreAzureDeployment -Name $ResourceGroup -Location $Location -ArmTemplateUrl "$SCTemplates/azuredeploy.json" -ArmParametersPath $ParamFile -LicenseXmlPath $LicenseFile -SetKeyValue $Parameters -Verbose has the following parameters

{
  "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
  "contentVersion": "1.0.0.0",

"parameters": {
    "deploymentId": {
      "value": ""
    },
"location": {
  "value": "East US"
},
    "sitecoreAdminPassword": {
      "value": "ProvidedValue"
    },
    "licenseXml": {
      "value": ""
    },
    "repAuthenticationApiKey": {
      "value": "ProvidedValue"
    },
    "sqlServerLogin": {
      "value": "ProvidedValue"
    },
    "sqlServerPassword": {
      "value": "ProvidedValue"
    },
    "cmMsDeployPackageUrl": {
      "value": "ProvidedValue"
    },
    "cdMsDeployPackageUrl": {
      "value": "ProvidedValue"
    },
    "prcMsDeployPackageUrl": {
      "value": "ProvidedValue"
    },
    "repMsDeployPackageUrl": {
      "value": "ProvidedValue"
    },
    "xcRefDataMsDeployPackageUrl": {
      "value": "ProvidedValue"
    },
    "xcCollectMsDeployPackageUrl": {
      "value": "ProvidedValue"
    },
    "xcSearchMsDeployPackageUrl": {
      "value": "ProvidedValue"
    },
    "maOpsMsDeployPackageUrl": {
      "value": "ProvidedValue"
    },
    "maRepMsDeployPackageUrl": {
      "value": "ProvidedValue"
    }, 
    "deployExmDds": {
      "value": true
    },
    "exmDdsMsDeployPackageUrl": {
      "value": "ProvidedValue"
    },
    "exmCmMsDeployPackageUrl": {
      "value": "ProvidedValue"
    },
    "authCertificateBlob":{
      "value": ""
    },
    "authCertificatePassword":{
      "value": "ProvidedValue"
    },
    "sitecoreSKU":{
      "value": "Small"
    }
  }
}

Powershell script that looks like

$SCSDK="D:\sitecore9_azure_PaaS\tools"
$SCTemplates="https://raw.githubusercontent.com/Sitecore/Sitecore-Azure-Quickstart-Templates/master/Sitecore%209.0.1/XP"
$DeploymentId = "demo-sc901azure"
$ResourceGroup = "demo-sc901azurerg"
$LicenseFile = "D:\sitecore9_azure_PaaS\license.xml"
$CertificateFile = "ProvidedValue"
$SubscriptionId = "ProvidedValue"
$Location="East US"
$ParamFile="D:\sitecore9_azure_PaaS\azuredeploy.parameters.json"
$Parameters = @{
"deploymentId"=$DeploymentId;
"authCertificateBlob" = [System.Convert]::ToBase64String([System.IO.File]::ReadAllBytes($CertificateFile))
}
Import-Module $SCSDK\Sitecore.Cloud.Cmdlets.psm1
Add-AzureRMAccount
Set-AzureRMContext -SubscriptionId $SubscriptionId
Start-SitecoreAzureDeployment -Name $ResourceGroup -Location $Location -ArmTemplateUrl "$SCTemplates/azuredeploy.json" -ArmParametersPath $ParamFile -LicenseXmlPath $LicenseFile -SetKeyValue $Parameters -Verbose

----------------azuredeploy.parameters.json--------------- { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", "contentVersion": "1.0.0.0", "parameters": { "deploymentId": { "value": "" }, "location": { "value": "East US" }, "sitecoreAdminPassword": { "value": "ProvidedValue" }, "licenseXml": { "value": "" }, "repAuthenticationApiKey": { "value": "ProvidedValue" }, "sqlServerLogin": { "value": "ProvidedValue" }, "sqlServerPassword": { "value": "ProvidedValue" }, "cmMsDeployPackageUrl": { "value": "ProvidedValue" }, "cdMsDeployPackageUrl": { "value": "ProvidedValue" }, "prcMsDeployPackageUrl": { "value": "ProvidedValue" }, "repMsDeployPackageUrl": { "value": "ProvidedValue" }, "xcRefDataMsDeployPackageUrl": { "value": "ProvidedValue" }, "xcCollectMsDeployPackageUrl": { "value": "ProvidedValue" }, "xcSearchMsDeployPackageUrl": { "value": "ProvidedValue" }, "maOpsMsDeployPackageUrl": { "value": "ProvidedValue" }, "maRepMsDeployPackageUrl": { "value": "ProvidedValue" }, "deployExmDds": { "value": true }, "exmDdsMsDeployPackageUrl": { "value": "ProvidedValue" }, "exmCmMsDeployPackageUrl": { "value": "ProvidedValue" }, "authCertificateBlob":{ "value": "" }, "authCertificatePassword":{ "value": "ProvidedValue" }, "sitecoreSKU":{ "value": "Small" } } } -----------------DeploySitecore9XPScaled.ps1--------- $SCSDK="D:\sitecore9_azure_PaaS\tools" $SCTemplates="https://raw.githubusercontent.com/Sitecore/Sitecore-Azure-Quickstart-Templates/master/Sitecore%209.0.1/XP" $DeploymentId = "demo-sc901azure" $ResourceGroup = "demo-sc901azurerg" $LicenseFile = "D:\sitecore9_azure_PaaS\license.xml" $CertificateFile = "ProvidedValue" $SubscriptionId = "ProvidedValue" $Location="East US" $ParamFile="D:\sitecore9_azure_PaaS\azuredeploy.parameters.json" $Parameters = @{ "deploymentId"=$DeploymentId; "authCertificateBlob" = [System.Convert]::ToBase64String([System.IO.File]::ReadAllBytes($CertificateFile)) } Import-Module $SCSDK\Sitecore.Cloud.Cmdlets.psm1 Add-AzureRMAccount Set-AzureRMContext -SubscriptionId $SubscriptionId Start-SitecoreAzureDeployment -Name $ResourceGroup -Location $Location -ArmTemplateUrl "$SCTemplates/azuredeploy.json" -ArmParametersPath $ParamFile -LicenseXmlPath $LicenseFile -SetKeyValue $Parameters -Verbose

The file azuredeploy.parameters.json has the following parameters

{
  "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
  "contentVersion": "1.0.0.0",

"parameters": {
    "deploymentId": {
      "value": ""
    },
"location": {
  "value": "East US"
},
    "sitecoreAdminPassword": {
      "value": "ProvidedValue"
    },
    "licenseXml": {
      "value": ""
    },
    "repAuthenticationApiKey": {
      "value": "ProvidedValue"
    },
    "sqlServerLogin": {
      "value": "ProvidedValue"
    },
    "sqlServerPassword": {
      "value": "ProvidedValue"
    },
    "cmMsDeployPackageUrl": {
      "value": "ProvidedValue"
    },
    "cdMsDeployPackageUrl": {
      "value": "ProvidedValue"
    },
    "prcMsDeployPackageUrl": {
      "value": "ProvidedValue"
    },
    "repMsDeployPackageUrl": {
      "value": "ProvidedValue"
    },
    "xcRefDataMsDeployPackageUrl": {
      "value": "ProvidedValue"
    },
    "xcCollectMsDeployPackageUrl": {
      "value": "ProvidedValue"
    },
    "xcSearchMsDeployPackageUrl": {
      "value": "ProvidedValue"
    },
    "maOpsMsDeployPackageUrl": {
      "value": "ProvidedValue"
    },
    "maRepMsDeployPackageUrl": {
      "value": "ProvidedValue"
    }, 
    "deployExmDds": {
      "value": true
    },
    "exmDdsMsDeployPackageUrl": {
      "value": "ProvidedValue"
    },
    "exmCmMsDeployPackageUrl": {
      "value": "ProvidedValue"
    },
    "authCertificateBlob":{
      "value": ""
    },
    "authCertificatePassword":{
      "value": "ProvidedValue"
    },
    "sitecoreSKU":{
      "value": "Small"
    }
  }
}

Powershell script that looks like

$SCSDK="D:\sitecore9_azure_PaaS\tools"
$SCTemplates="https://raw.githubusercontent.com/Sitecore/Sitecore-Azure-Quickstart-Templates/master/Sitecore%209.0.1/XP"
$DeploymentId = "demo-sc901azure"
$ResourceGroup = "demo-sc901azurerg"
$LicenseFile = "D:\sitecore9_azure_PaaS\license.xml"
$CertificateFile = "ProvidedValue"
$SubscriptionId = "ProvidedValue"
$Location="East US"
$ParamFile="D:\sitecore9_azure_PaaS\azuredeploy.parameters.json"
$Parameters = @{
"deploymentId"=$DeploymentId;
"authCertificateBlob" = [System.Convert]::ToBase64String([System.IO.File]::ReadAllBytes($CertificateFile))
}
Import-Module $SCSDK\Sitecore.Cloud.Cmdlets.psm1
Add-AzureRMAccount
Set-AzureRMContext -SubscriptionId $SubscriptionId
Start-SitecoreAzureDeployment -Name $ResourceGroup -Location $Location -ArmTemplateUrl "$SCTemplates/azuredeploy.json" -ArmParametersPath $ParamFile -LicenseXmlPath $LicenseFile -SetKeyValue $Parameters -Verbose
added 2668 characters in body
Source Link
Erwin Paul
  • 319
  • 1
  • 12

----------------azuredeploy.parameters.json--------------- { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", "contentVersion": "1.0.0.0", "parameters": { "deploymentId": { "value": "" }, "location": { "value": "East US" }, "sitecoreAdminPassword": { "value": "ProvidedValue" }, "licenseXml": { "value": "" }, "repAuthenticationApiKey": { "value": "ProvidedValue" }, "sqlServerLogin": { "value": "ProvidedValue" }, "sqlServerPassword": { "value": "ProvidedValue" }, "cmMsDeployPackageUrl": { "value": "ProvidedValue" }, "cdMsDeployPackageUrl": { "value": "ProvidedValue" }, "prcMsDeployPackageUrl": { "value": "ProvidedValue" }, "repMsDeployPackageUrl": { "value": "ProvidedValue" }, "xcRefDataMsDeployPackageUrl": { "value": "ProvidedValue" }, "xcCollectMsDeployPackageUrl": { "value": "ProvidedValue" }, "xcSearchMsDeployPackageUrl": { "value": "ProvidedValue" }, "maOpsMsDeployPackageUrl": { "value": "ProvidedValue" }, "maRepMsDeployPackageUrl": { "value": "ProvidedValue" }, "deployExmDds": { "value": true }, "exmDdsMsDeployPackageUrl": { "value": "ProvidedValue" }, "exmCmMsDeployPackageUrl": { "value": "ProvidedValue" }, "authCertificateBlob":{ "value": "" }, "authCertificatePassword":{ "value": "ProvidedValue" }, "sitecoreSKU":{ "value": "Small" } } } -----------------DeploySitecore9XPScaled.ps1--------- $SCSDK="D:\sitecore9_azure_PaaS\tools" $SCTemplates="https://raw.githubusercontent.com/Sitecore/Sitecore-Azure-Quickstart-Templates/master/Sitecore%209.0.1/XP" $DeploymentId = "demo-sc901azure" $ResourceGroup = "demo-sc901azurerg" $LicenseFile = "D:\sitecore9_azure_PaaS\license.xml" $CertificateFile = "ProvidedValue" $SubscriptionId = "ProvidedValue" $Location="East US" $ParamFile="D:\sitecore9_azure_PaaS\azuredeploy.parameters.json" $Parameters = @{ "deploymentId"=$DeploymentId; "authCertificateBlob" = [System.Convert]::ToBase64String([System.IO.File]::ReadAllBytes($CertificateFile)) } Import-Module $SCSDK\Sitecore.Cloud.Cmdlets.psm1 Add-AzureRMAccount Set-AzureRMContext -SubscriptionId $SubscriptionId Start-SitecoreAzureDeployment -Name $ResourceGroup -Location $Location -ArmTemplateUrl "$SCTemplates/azuredeploy.json" -ArmParametersPath $ParamFile -LicenseXmlPath $LicenseFile -SetKeyValue $Parameters -Verbose

----------------azuredeploy.parameters.json--------------- { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", "contentVersion": "1.0.0.0", "parameters": { "deploymentId": { "value": "" }, "location": { "value": "East US" }, "sitecoreAdminPassword": { "value": "ProvidedValue" }, "licenseXml": { "value": "" }, "repAuthenticationApiKey": { "value": "ProvidedValue" }, "sqlServerLogin": { "value": "ProvidedValue" }, "sqlServerPassword": { "value": "ProvidedValue" }, "cmMsDeployPackageUrl": { "value": "ProvidedValue" }, "cdMsDeployPackageUrl": { "value": "ProvidedValue" }, "prcMsDeployPackageUrl": { "value": "ProvidedValue" }, "repMsDeployPackageUrl": { "value": "ProvidedValue" }, "xcRefDataMsDeployPackageUrl": { "value": "ProvidedValue" }, "xcCollectMsDeployPackageUrl": { "value": "ProvidedValue" }, "xcSearchMsDeployPackageUrl": { "value": "ProvidedValue" }, "maOpsMsDeployPackageUrl": { "value": "ProvidedValue" }, "maRepMsDeployPackageUrl": { "value": "ProvidedValue" }, "deployExmDds": { "value": true }, "exmDdsMsDeployPackageUrl": { "value": "ProvidedValue" }, "exmCmMsDeployPackageUrl": { "value": "ProvidedValue" }, "authCertificateBlob":{ "value": "" }, "authCertificatePassword":{ "value": "ProvidedValue" }, "sitecoreSKU":{ "value": "Small" } } } -----------------DeploySitecore9XPScaled.ps1--------- $SCSDK="D:\sitecore9_azure_PaaS\tools" $SCTemplates="https://raw.githubusercontent.com/Sitecore/Sitecore-Azure-Quickstart-Templates/master/Sitecore%209.0.1/XP" $DeploymentId = "demo-sc901azure" $ResourceGroup = "demo-sc901azurerg" $LicenseFile = "D:\sitecore9_azure_PaaS\license.xml" $CertificateFile = "ProvidedValue" $SubscriptionId = "ProvidedValue" $Location="East US" $ParamFile="D:\sitecore9_azure_PaaS\azuredeploy.parameters.json" $Parameters = @{ "deploymentId"=$DeploymentId; "authCertificateBlob" = [System.Convert]::ToBase64String([System.IO.File]::ReadAllBytes($CertificateFile)) } Import-Module $SCSDK\Sitecore.Cloud.Cmdlets.psm1 Add-AzureRMAccount Set-AzureRMContext -SubscriptionId $SubscriptionId Start-SitecoreAzureDeployment -Name $ResourceGroup -Location $Location -ArmTemplateUrl "$SCTemplates/azuredeploy.json" -ArmParametersPath $ParamFile -LicenseXmlPath $LicenseFile -SetKeyValue $Parameters -Verbose

Edited title to include the primary error message shown and also formatted error log into code block
Source Link
Jason St-Cyr
  • 6.8k
  • 1
  • 19
  • 46

installing sitecore on Azure PaaS using ARM template installation error - "Invalid URI: The URI is empty"

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
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.&lt;DownloadPackageAndSettings&gt;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.&lt;DownloadAndDeployPackage&gt;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.&lt;DownloadPackageAndSettings&gt;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.&lt;DownloadAndDeployPackage&gt;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.&lt;DownloadPackageAndSettings&gt;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.&lt;DownloadAndDeployPackage&gt;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

installing sitecore on Azure PaaS using ARM template

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

Azure PaaS ARM template installation error - "Invalid URI: The URI is empty"

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.&lt;DownloadPackageAndSettings&gt;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.&lt;DownloadAndDeployPackage&gt;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.&lt;DownloadPackageAndSettings&gt;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.&lt;DownloadAndDeployPackage&gt;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.&lt;DownloadPackageAndSettings&gt;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.&lt;DownloadAndDeployPackage&gt;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
added 2 characters in body
Source Link
Erwin Paul
  • 319
  • 1
  • 12
Loading
Source Link
Erwin Paul
  • 319
  • 1
  • 12
Loading