Hi,
The Migration and modernization tool only supports like-for-like migrations currently. The tool doesn’t support upgrading the OS version during migration. The migrated machine will have the same OS as the source machine.
I will suggest lift and shift approach instead of migration if it is single VM.
Also check the supported matrix for the OS and version - [https://learn.microsoft.com/en-us/azure/virtual-machines/linux/create-upload-generic
Hope this helps.
JS
==
Please Accept the answer if the information helped you. This will help us and others in the community as well.