Can't add and remove certificates at the same request.

Chris McCown 1 Reputation point
2020-03-24T03:05:36.683+00:00

I have an ARM template I'm using to create a service fabric resource. I'm using it to set the client certificate and the admin client certificate. The ARM section in properties looks like this:

"certificate": {
    "thumbprint": "[parameters('certificateThumbprint')]",
    "x509StoreName": "[parameters('certificateStoreValue')]"
},
"clientCertificateCommonNames": [],
"clientCertificateThumbprints": [
    {
        "isAdmin": true,
        "certificateThumbprint": "[parameters('clientCertificateThumbprint')]";
    }
]

This use to work just fine, but now when I run it, I get this message:

{
    "error": {
        "code": "CantAddAndRemoveCertificatesAtSameTime",
        "message": "Can't add and remove certificates at the same request.",
        "details": []
    }
}

What changed?

Azure Service Fabric
Azure Service Fabric
An Azure service that is used to develop microservices and orchestrate containers on Windows and Linux.
252 questions
{count} votes