IaasVMProvider service stops

Anup Mistry 0 Reputation points
2023-02-22T17:52:22.4433333+00:00

Have a VM running Win2019 within Azure. Found the service named IaasVMProvider is set to Automatic but is always at a Stopped Status.

How do we keep it at a Running Status? Or is it normal for it to go into Stopped State.

Thanks.

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

2 answers

Sort by: Most helpful
  1. TP 125.8K Reputation points Volunteer Moderator
    2023-02-23T22:56:07.8566667+00:00

    Hi,

    It is normal for it to Stop when there is no backup running to conserve resources. When a backup job runs it will be started and then stop again as needed. It is part of the VMSnapshot extension which allows Azure Backup to take application-consistent backup of the VM.

    https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/vmsnapshot-windows

    If the above was helpful please click Accept Answer.

    Thanks.

    -TP

    2 people found this answer helpful.

  2. KarishmaTiwari-MSFT 20,777 Reputation points Microsoft Employee Moderator
    2023-03-03T01:36:05.3666667+00:00

    If the service is set to Automatic but is always in a Stopped state, you can try the following steps:

    1. Restart the IaasVMProvider service. You can use the Get-Service and Restart-Service cmdlets in PowerShell to restart the service.
       Get-Service -Name IaasVMProvider | Restart-Service
    
    1. Check the dependencies of the IaasVMProvider service. If the service is dependent on another service that is not running, you can start the dependent service and then restart the IaasVMProvider service.
    2. Check the event logs for any errors related to the IaasVMProvider service. You can use the Get-EventLog cmdlet in PowerShell to retrieve the event logs.
       Get-EventLog -LogName System -Source IaasVMProvider
    

    If you have any questions/concerns, let me know in the "comments" and I can engage the right teams to further investigate this.

    0 comments No comments

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.