How do I fix a 'certificate credential lifetime' related error while adding a trusted certificate to an existing App Registration?
Greetings all,
I am trying to add a trusted certificate (not self-signed) to an existing Azure App Registration from the 'Microsoft Entra Admin Center' portal. The certificate is issued by a trusted CA (MS OneCert) and has a lifetime of 1 month. My intent is to use the certificate for non-interactive/automatic Azure Authentication from a Windows 'service' application.
The addition attempt consistently fails with this error:
"Failed to add certificate. Error detail: Credential lifetime exceeds the max value allowed as per assigned policy '538f1913-366a-440a-95a0-e195cb55b282'."
CoPilot is unable to suggest a solution and recommends contacting support. The support page in turn needs a mandatory selection of a subscription and my subscription is not shown on the drop-down list even though I can manage my subscription just fine on the Azure Portal.
How do I go about adding the certificate to my App Registration?
Thanks!
DV