An Azure service that is used to provision Windows and Linux virtual machines.
Looks like you can't do it unless you move them local, do the upgrade, move them back to azure.
https://learn.microsoft.com/en-US/troubleshoot/azure/virtual-machines/in-place-system-upgrade#windows-versions-not-yet-supported-for-in-place-system-upgrades-consider-using-a-workaround
--please don't forget to upvote and Accept as answer if the reply is helpful--