In Release Management on Visual Studio Team Services I receive the following error:
"Code": "Conflict",
"Message": "The slot cannot be changed because its configuration settings have been prepared for swap.",
"ExtendedCode": "04081",
"MessageTemplate": "The slot cannot be changed because its configuration settings have been prepared for swap.",
From my Release management template in the "Azure Deployment" step, I have the following configuration: Azure connection type: Azure Resource Manager Action: Create or update Resourcegroup Deployment mode: incremental
We have an ARM template with only appsettings we want to have applied to the production slot. the previous step in this release is a "Swap"
More info: we first release to some test slots, then a QA slot, which swaps with PROD. This first occurred with a scheduled release (at midnight)
The slots are like this:
QA:
- some steps (like blob copy),
- final step: deploy a complete ARM template which creates the resources
PROD:
- step 1: SWAP, with Azure App Service Manager (Preview)
- step 2: ARM template with only AppSettings
Even a new build (which triggers a new release) still causes this error, any hints/clues?