How to fix virtual machine is in an invalid provisioning state

Clarence Ruzane 0 Reputation points
2024-11-05T01:59:42.8433333+00:00

Virtual machine is in an invalid provisioning state. Possible Causes: Virtual machine with Id /subscriptions/29ef88bc-7749-4876-b597-41acb7c27e49/resourceGroups/rg-core/providers/Microsoft.Compute/virtualMachines/ADC1 is in provisioning state 'Updating' but should be in 'succeeded' Recommended Action: Ensure that the VM's provisioning state is 'succeeded'. Refer to https://aka.ms/a2a-vm-state-issues to troubleshoot virtual machine provisioning state issues.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,057 questions
Azure Migrate
Azure Migrate
A central hub of Azure cloud migration services and tools to discover, assess, and migrate workloads to the cloud.
821 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Mounika Reddy Anumandla 830 Reputation points Microsoft Vendor
    2024-11-05T02:46:10.5466667+00:00

    Hi Clarence Ruzane,

    Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.

    The document mentions troubleshooting steps. Please let me know if you have tried the methods below.
    https://learn.microsoft.com/en-us/azure/site-recovery/azure-to-azure-troubleshoot-errors#vm-provisioning-state-isnt-valid-error-code-150019

    VM provisioning state isn't valid (error code 150019)

    To enable replication on the VM, its provisioning state must be Succeeded. Perform the following steps to check the provisioning state:

    1. In the Azure portal, select the Resource Explorer from All Services.
    2. Expand the Subscriptions list and select your subscription.
    3. Expand the ResourceGroups list and select the resource group of the VM.
    4. Expand the Resources list and select your VM.
    5. Check the provisioningState field in the instance view on the right side.

    Fix the problem

    • If the provisioningState is Failed, contact support with details to troubleshoot.
    • If the provisioningState is Updating, another extension might be being deployed. Check whether there are any ongoing operations on the VM, wait for them to finish, and then retry the failed Site Recovery job to enable replication.

    If you have any further queries, do tag me in the comments section so that I can assist you further!

    If the answer is helpful, please click "Accept Answer" and "Upvote it."


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.