ChrisMcCown-8966 avatar image
0 Votes"
ChrisMcCown-8966 asked jakaruna-MSFT commented

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

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?

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Did you changes the api version of service fabric ?

Did you got this error when you ran the template second time? like creation went well and next update failed with this error.

0 Votes 0 ·

0 Answers