Thank you for reaching out to the Microsoft Q&A platform.
When creating a virtual machine (VM) from a non-Marketplace image, you can omit the Plan information. The Plan details are typically required only for Marketplace images, which may have been associated with licensing or pricing information. If you’re using a custom image, you can proceed without specifying a Plan. Likewise, some market images require a plan block, this is a requirement from the service itself.
- Remove Plan Information: Check your ARM template or deployment configuration for any plan information related to the virtual machine that is being created from a non-Marketplace image. If found, remove this plan information as it is not necessary for non-Marketplace images.
"plan": { "name": "centos-8-0", "product": "centos-8-0", "publisher": "skylarkcloud" },
- Review ARM Template: Ensure that your Azure Resource Manager (ARM) template is correctly formatted and that all required fields are properly filled out. The template should not include plan information for VMs created from non-Marketplace images.
- Redeploy: After making the necessary changes, attempt to redeploy your resources. Monitor the deployment to ensure that it is completed successfully.
If you still encounter any issue, I am here to help you. Just tag me in your comments.
If I have answered your query, please click "Accept as answer" as a token of appreciation