Answered by:

Compute.ConstrainedAllocationFailed

Question

I have been trying to upload a web role and worker role to an empty staging slot all day and keep seeing the error below. I have plenty of cores available and have tried uploading both through visual studio and manually with the same result.
I recently upgraded this project to the 2.2 sdk and wondering if this is related. I have been able to upload another project that is on the previous SDK. This project, however, was working fine after the upgrade to 2.2. My
last successful upload was two days ago. The dashboard shows no issues in my region which is WEST US. Any help would be much appreciated.

Allocation failed; unable to satisfy constraints in request. The requested new service deployment is bound to an Affinity Group, or it targets a Virtual Network, or there is an existing deployment under this hosted service. Any of these conditions
constrains the new deployment to specific Azure resources. Please retry later or try reducing the VM size or number of role instances. Alternatively, if possible, remove the aforementioned constraints or try deploying to a different region.

Microsoft is conducting an online survey to understand your opinion of the Technet Web site. If you choose to participate, the online survey will be presented to you when you leave the Technet Web site.