Run the slmgr /ipk command. Azure images may not correctly fall back to AVMA, but if they can reach the Azure KMS system, they will activate. It's recommended that you ensure these VMs are set to use AVMA.