Hi @Frankie Huang Thank you for posting your question on Microsoft Q&A platform. Happy to assist!
The error message "Committing migration. This operation may take some time to complete." indicates that the migration process from classic VM to ARM is still in progress. This process can take some time depending on the size of the VM and the amount of data being migrated.
During the migration process, the VM is being copied from the classic deployment model to the ARM deployment model. Once the migration is complete, the VM will be available in the ARM deployment model and you can manage it using the Azure portal, Azure CLI, or Azure PowerShell.
To check the status of the migration, you can use the Azure portal or Azure PowerShell.
Using the Azure portal:
- Go to the Azure portal and navigate to the VM that you are migrating.
- In the VM menu, click on "Overview".
- Under "Operations", you should see the status of the migration process.
Using Azure PowerShell:
- Open Azure PowerShell and connect to your Azure account.
- Run the following command to check the status of the migration:
Get-AzureRmResource -ResourceId <resource-id-of-the-VM> -ExpandProperties | Select-Object -ExpandProperty Properties | Select-Object -Property ProvisioningState
Replace <resource-id-of-the-VM>
with the resource ID of the VM that you are migrating.
If the migration process is still in progress, you will need to wait until it is complete before you can manage the VM in the ARM deployment model. If you continue to experience issues, please let us know and we can help you troubleshoot further.
If the response helped, do "Accept Answer" and up-vote it