From be262d3be9b48faeddb604bfcfaa2cc556d41619 Mon Sep 17 00:00:00 2001 From: itssimmi <88383644+itssimmi@users.noreply.github.com> Date: Wed, 29 Nov 2023 14:01:04 +1100 Subject: [PATCH] Adding master connection string for SPE as it is a required parameter in sitecore webdeploy ffile Fix for error: Package deployment failed ARM-MSDeploy Deploy Failed: 'Microsoft.Web.Deployment.DeploymentException: The path '' is not valid for the 'dbDacFx' provider. ---> System.ArgumentNullException: Value cannot be null. Parameter name: value --- SXA 10.3.0/xm/azuredeploy.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/SXA 10.3.0/xm/azuredeploy.json b/SXA 10.3.0/xm/azuredeploy.json index 35fc8bd5..cb89b1d4 100644 --- a/SXA 10.3.0/xm/azuredeploy.json +++ b/SXA 10.3.0/xm/azuredeploy.json @@ -6,6 +6,7 @@ "resourcesApiVersion": "2016-09-01", "sqlServerFqdnTidy": "[toLower(trim(parameters('sqlServerFqdn')))]", "coreSqlDatabaseNameTidy": "[toLower(trim(parameters('coreSqlDatabaseName')))]", + "masterSqlDatabaseNameTidy": "[toLower(trim(parameters('masterSqlDatabaseNameTidy')))]", "cdWebAppNameTidy": "[toLower(trim(parameters('cdWebAppName')))]", "cmWebAppNameTidy": "[toLower(trim(parameters('cmWebAppName')))]" }, @@ -113,7 +114,8 @@ "connectionString": "[concat('Data Source=tcp:', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=master;User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", "setParameters": { "Application Path": "[variables('cmWebAppNameTidy')]", - "Core Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('coreSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]" + "Core Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('coreSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", + "Master Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('masterSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]" } }, { @@ -148,4 +150,4 @@ } } ] -} \ No newline at end of file +}