I am trying to deploy a WFFM package on top of the already working Sitecore deploy. My Azure Resource Manager template is based on the work of Rob Habraken and on the Sitecore Azure Quickstart Templates for 8.2.3
Unfortunately, I can't seem to get the last step (deploy WFFM) working. This is my template (with some parameters left out for readability):
"resources": [
{
"type": "Microsoft.Web/sites",
"name": "[parameters('cmWebAppNameTidy')]",
"apiVersion": "[variables('webApiVersion')]",
"properties": {},
"location": "[parameters('location')]",
"resources": [
{
"type": "slots",
"name": "cm-staging",
"apiVersion": "[variables('webApiVersion')]",
"properties": {},
"location": "[parameters('location')]",
"dependsOn": [
"[resourceId('Microsoft.Web/sites', parameters('cmWebAppNameTidy'))]"
],
"resources": [
{
"name": "MSDeploy",
"type": "extensions",
"location": "[parameters('location')]",
"apiVersion": "[variables('webApiVersion')]",
"dependsOn": [
"[resourceId('Microsoft.Web/sites/slots', parameters('cmWebAppNameTidy'), 'cm-staging')]"
],
"properties": {
"packageUri": "[parameters('cm_msdeploy_packageurl')]",
"dbType": "SQL",
"connectionString": "[concat('Data Source=tcp:', parameters('sqlserver_connection'), ',1433;Initial Catalog=master;User Id=', parameters('sqlserver_admin_login'), '@', parameters('dbServerNameTidy'), ';Password=', parameters('sqlserver_admin_password'), ';')]",
"setParameters": {
"Application Path": "[parameters('cmWebAppNameTidy')]",
[...]
"IP Security Client IP Mask": "[parameters('security_clientIpMask')]"
}
}
},
{
"name": "[concat(parameters('cmWebAppNameTidy'), '/', 'MSDeploy')]",
"type": "Microsoft.Web/sites/extensions",
"location": "[parameters('location')]",
"apiVersion": "[variables('webApiVersion')]",
"dependsOn": [
"[resourceId('Microsoft.Web/sites/slots', parameters('cmWebAppNameTidy'), 'cm-staging')]",
"[concat('Microsoft.Web/sites/', parameters('cmWebAppNameTidy'), '/slots/cm-staging/extensions/MSDeploy')]"
],
"properties": {
"mode": "incremental",
"addOnPackages": [
{
"dbType": "SQL",
"connectionString": "[concat('Data Source=tcp:', parameters('sqlserver_connection'), ',1433;Initial Catalog=master;User Id=', parameters('sqlserver_admin_login'), '@', parameters('dbServerNameTidy'), ';Password=', parameters('sqlserver_admin_password'), ';')]",
"packageUri": "[parameters('cm_wffm_msdeploy_packageurl')]",
"setParameters": {
"Application Path": "[parameters('cmWebAppNameTidy')]",
"Core Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', parameters('sqlserver_connection'), ',1433;Initial Catalog=',parameters('coreDbNameTidy'),';User Id=', parameters('sqlserver_admin_login'), ';Password=', parameters('sqlserver_admin_password'), ';')]",
"Master Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', parameters('sqlserver_connection'), ',1433;Initial Catalog=',parameters('masterDbNameTidy'),';User Id=', parameters('sqlserver_admin_login'), ';Password=', parameters('sqlserver_admin_password'), ';')]"
}
}
]
}
}
]
}
]
}
]
This template does not give any warnings or errors when executing. Every step succeeds, but in the end the necessary WFFM files are just not there.
When running only the first step (deploy CM) everything works as expected. When running only the second step (deploy WFFM), there are again no errors, but nothing seems to get deployed.
Nowhere in the Azure documention or Github account can I find anything regarding "addOnPackages", so I'm wondering if I'm using it correctly here, and if not, how should I be using this?
Thanks in advance!