When attempting to import a virtual machine (VM) to Spot, the process may fail with an error indicating that the id parameter is required and cannot be null. This issue often occurs when the VM uses an unsupported disk type.
-
Review the error message received during the import process:
Status code [400] differ from SC_OK, Body:[{"request":{"id":"...","url":"/azure/compute/resourceGroup/.../virtualMachine/.../details?...","method":"GET","timestamp":"..."}, "response":{"status":{"code":400,"message":"Bad Request"},"errors":[{"code":"GENERAL_ERROR","message":"Parameter 'id' is required and cannot be null."}],"count":1}}] -
Verify the VM disk type in Azure:
-
This error is typically caused by the use of unmanaged disks, which are not supported by Spot.
-
Azure has deprecated unmanaged disks, and new unmanaged disks cannot be created as of September 30, 2023. For more details, refer to Microsoft’s official documentation:
-
-
Migrate the VM from an unmanaged disk to a managed disk:
-
Use the Microsoft guide for this process:
-
Important: This process is irreversible. Ensure that this action aligns with your use case and organizational requirements before proceeding.
-
-
After the disk migration is complete, re-import the VM to Spot.
Outcome
Following these steps ensures compatibility with Spot services by using Azure managed disks, enabling a successful VM import.
Related Articles
Azure virtual machine import fails with create or import errors 10Number of Views Input Parameter HostId of TrustedHostEntityBO.createTrustedHostEntityBO Cannot be Null 8Number of Views "Get Azure VM Instances" Azure import reader step may fail with error: "Could not load file or assembly '[...]' or one of … 17Number of Views PVU reconciliation fails or loses consumption after host and LPAR UID reassignment, causing "ReconcileLicenses - Calculate… 11Number of Views Azure error: RequestDisallowedByPolicy when launching VM 13Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago