This would not be supported by Microsoft since this OS is out of support. You would need to create a custom image to deploy it
Details at https://learn.microsoft.com/en-us/partner-center/marketplace/azure-vm-use-own-image
If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.
hth
Marcin