Hello,
As of now, Azure does not support an in-place upgrade from Windows 10 to Windows 11.
It is recommended that you create a new Virtual Machine using a fresh Marketplace image for Windows 11, that's optimized with the correct configuration settings.
More details you can refer to this link:
Best Regards,
Hania Lian
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.