Hi Vivek krishnan Jayachandran,
Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.
The error message “Use of TrustedLaunch setting is not supported for the provided image. Please select Trusted Launch Supported Gen2 OS Image” indicates that the custom image you are using does not support the Trusted Launch feature.
Trusted Launch is a security feature that requires the base image to be Generation 2 (Gen2) OS and Trusted Launch capable. Here's how you can resolve this issue:
- The base image used to create the custom image must be Trusted Launch capable. Trusted Launch requires specific security configurations, which might not be present in images converted from on-premises environments.
- If the current image is not compatible, you may need to use a different base image that supports Trusted Launch. You can find Trusted Launch supported images in the Azure Marketplace.
- For more details on enabling Trusted Launch on existing Azure Generation 2 VMs, you can refer to the official Microsoft documentation: Enable Trusted launch on existing Azure VMs, Trusted Launch for Azure VMs.
If you have any further queries, do let us know. If the comment is helpful, please click "Upvote".