title: What does 'the current update to this deployment has been preempted' error mean in Windows Azure?
body: <p>When scaling up a Windows Azure hosted service's instance count I occasionally get the following error when using the <a href="http://wappowershell.codeplex.com/" rel="nofollow">WAPP powershell cmdlets</a>:</p>
  
  <pre><code>Get-OperationStatus : Failed: The current update to this deployment has been
  preempted.At
  D:\TFS\12\Deploy-Api\Sources\CloudServices\BuildProcessTemplates\DeploymentScripts\ChangeAllRolesInstanceCount.ps1:64 char:120
  + $deployment | Set-DeploymentConfiguration {$deployment.RolesConfiguration}
  -ErrorVariable +err | Get-OperationStatus &lt;&lt; -WaitToComplete -ErrorVariable +err;
  + CategoryInfo : CloseError: (:) [Get-OperationStatus], Exception
  + FullyQualifiedErrorId :
  Microsoft.WindowsAzure.Samples.ManagementTools.PowerShell.Services.Common.GetOperationStatusCommand
  </code></pre>
  
  <p>I am scaling up by changing the instance count in the config, and then calling Set-DeploymentConfiguration with the new values.</p>