Cloud Service - SwappableCloudService failing to deploy

Dan Martinelli 1 Reputation point

I have a generalised ARM template that I'm using to deploy 2 Cloud Service (extended support) instances.
Instance A deploys successfully from the template however when I come to deploy Instance B with the additional property of

 "swappableCloudService": {
        "id": "<Resource ID of Service A>"

the deployment fails and returns the message

"status": "Failed",
"error": {
"code": "VipswapCloudServiceNotSucceeded",
"message": "Cloud service <Resource ID of Service A> not in Succeeded state."

When querying the API and checking the portal I can see the the provisioning state for service A is "Succeeded"

As I understand the it, the additional property and ID to "partner" the two services and make them swappable must be defined at the time the second service is deployed and cant be added afterwards.

Am I missing something obvious here?

Azure Cloud Services
Azure Cloud Services
An Azure platform as a service offer that is used to deploy web and cloud applications.
631 questions
{count} votes