Azure VM Disaster Recovery Agent Update

OzDownUnder 156 Reputation points
2022-10-24T04:05:34.843+00:00

Is there a way to check from either the Azure UI or PowerShell how many of the Azure VM's in the subscription need to have their disaster recovery agent updated?

253300-image.png

I've stumbled across one server that needs the agent update, so I need to check how many other servers need the agent update. I have too many VMs, so I don't think it is practical to check each of them one at a time.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,044 questions
Azure Site Recovery
Azure Site Recovery
An Azure native disaster recovery service. Previously known as Microsoft Azure Hyper-V Recovery Manager.
824 questions
0 comments No comments
{count} votes

Accepted answer
  1. srbhatta-MSFT 8,586 Reputation points Microsoft Employee
    2022-10-25T07:24:37.42+00:00

    Hello @OzDownUnder ,

    Thanks for providing your valuable feedback on this thread. We value your input, and that is why here is some additional information that I would like to share with you on your query which will help you resolve your doubt. Please take a look at the below and let us know if this information helps you, and also if you need and further details.

    In general if you are doing azure to azure replication and auto update is not enabled, then every time there is a new agent version available, you will be notified through a banner on the portal, under the Vault as mentioned in this doc Automatic update of the Mobility service in Azure Site Recovery - Azure Site Recovery | Microsoft Learn

    When you click on that banner, it shows all the VMs that needs upgrade as shown below.

    253832-2022-10-25-12-45-41-clipboard.png

    Another way would be by adding the column to show the agent version of listed replicated items under vault like this.

    253804-2022-10-25-12-47-04-clipboard.png

    As far as I know, there is no direct way to do this via PowerShell.

    Hope this helps you. Do let us know by replying to this thread. Thank you.

    --------------------

    If you find the above information helpful, please "Accept as Answer" for the benefit of the community.

    0 comments No comments

3 additional answers

Sort by: Most helpful
  1. risolis 8,741 Reputation points
    2022-10-24T04:35:43.08+00:00

    Hello @OzDownUnder

    Thank you for sharing this question on this community space.

    I would like to gather the next article which fits great into your previous case scenario described ... So please direct yourself down below:

    https://learn.microsoft.com/en-us/azure/site-recovery/azure-to-azure-autoupdate

    I hope you can find this useful to address your concern in an accurate manner.

    Looking forward to your feedback,

    Cheers,

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments

  2. OzDownUnder 156 Reputation points
    2022-10-25T03:54:59.06+00:00

    @risolis , thanks for your response. I had a look at that article, but it does not have information on how to get the agent version or status using PowerShell. Neither does it show how to find which ones need to be updated.


  3. OzDownUnder 156 Reputation points
    2022-10-25T21:00:45.057+00:00

    @srbhatta-MSFT , thank you for your response. This helps answer the question.


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.