Hello Rancy,
An in‑place upgrade from Windows Server 2016 Standard to Windows Server 2025 on Azure VMs is supported, including systems running Active Directory Certificate Services. The upgrade process itself does not inherently break the CA role, but you must treat it as a high‑risk workload because the CA database, private keys, and registry configuration under HKLM\SYSTEM\CurrentControlSet\Services\CertSvc\Configuration are critical. Before proceeding, perform a full backup of the CA database (%windir%\System32\CertLog), the CA private key, and export the CA configuration using certutil -backupdb and certutil -backupkey. It is also recommended to snapshot the VM in Azure prior to the upgrade.
Microsoft’s guidance emphasizes that while in‑place upgrades are technically supported, the best practice for certificate services is migration rather than upgrade, because it reduces risk and ensures clean state continuity. If you decide to proceed with in‑place upgrade, validate the CA service immediately afterward by issuing and revoking test certificates, and confirm CRL publishing. If any anomalies appear, restore from backup or fall back to the snapshot. In short, yes, it is possible, but you should prepare backups and a rollback plan, and strongly consider migration if this CA is mission‑critical.
Harry.