cannot read property of undefined (reading 'valid') in azure

Pradhumn Sharma 1 Reputation point
2022-03-21T05:08:17.277+00:00

cannot read property of undefined (reading 'valid') in azure

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,299 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Pradhumn Sharma 1 Reputation point
    2022-03-23T08:36:26.867+00:00

    185993-image.png

    0 comments No comments

  2. Prrudram-MSFT 22,581 Reputation points
    2022-04-05T10:21:05.537+00:00

    Hello @Pradhumn Sharma ,

    Thank you for reaching out to the Microsoft Q&A platform. Happy to answer your question.

    By default in azure whenever we create a VM from a specific gallery Image version, it is created with managed disk. So in advanced disk selection, use managed disks is selected. If you have a need to create a VM with unmanaged disks. You need to fall back to different approaches available for creating VMs with an customized VHD etc.

    Adding some references here for your help
    https://social.msdn.microsoft.com/Forums/en-US/e0c9f54e-3549-4a6d-9c7c-1a0b1001d2a2/how-do-i-create-a-vm-from-existing-vhd-using-unmanaged-disk
    https://blog.rmilne.ca/2021/05/07/create-azure-az-vm-using-existing-unmanaged-vhd/

    Note: Please review any scripts carefully before using.

    Disclaimer: This response contains a reference to a third-party World Wide Web site. Microsoft is providing this information as convenient to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there.

    Please "Accept as Answer" and Upvote if any of the above helped to help others in the community looking for remediation for similar issues.

    0 comments No comments