title: Error swap slot settings Release Management Visual Studio Team Services
body: <p>In Release Management on Visual Studio Team Services I receive the following error:</p>
  
  <pre><code>"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.",
  </code></pre>
  
  <p>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</p>
  
  <p>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"</p>
  
  <p>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)</p>
  
  <p>The slots are like this:</p>
  
  <blockquote>
    <p>QA: </p>
    
    <ul>
    <li>some steps (like blob copy), </li>
    <li>final step: deploy a complete ARM template which creates the resources</li>
    </ul>
    
    <p>PROD: </p>
    
    <ul>
    <li>step 1: SWAP, with Azure App Service Manager (Preview)</li>
    <li>step 2: ARM template with only AppSettings</li>
    </ul>
  </blockquote>
  
  <p>Even a new build (which triggers a new release) still causes this error, any hints/clues?</p>