An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
Hello Brahim Ait Ouakrim,
Based on the information you've provided, the current evidence does not yet confirm that the certificate policy is actually being reverted.
The PowerShell output you shared shows:
-
ValidityInMonths = 12 -
RenewAtPercentageLifetime = 24
which are the values you updated the policy to. [Azure - Mi...rosoft Q&A | Learn.Microsoft.com]
Before concluding that another process is resetting the policy, I would recommend validating the effective policy at the exact time you observe the portal showing the original 6 months / 50% values.
Could you please capture the following when the issue occurs again?
- A screenshot of the Azure portal showing the 6 months / 50% settings.
- A fresh PowerShell or CLI export of the certificate policy taken at approximately the same time.
- The approximate timestamp when the policy appears to revert.
If the portal shows 6 months / 50% but PowerShell still returns 12 months / 24%, that would indicate a discrepancy between the portal display and the stored policy.
If both the portal and PowerShell show 6 months / 50%, then we can investigate whether another process (automation, deployment pipeline, Azure Policy remediation, or issuer-side policy synchronization) is updating the policy.
Since the certificate is issued through an integrated CA, it would also be useful to understand whether the issuer template enforces specific validity or renewal settings. [Azure - Mi...rosoft Q&A | Learn.Microsoft.com]
Please share the updated portal screenshot and PowerShell output when the behavior reoccurs, and we'll continue the investigation from there.
Thanks, Moosa Khan