The following forum(s) have migrated to Microsoft Q&A (Preview): Azure Virtual Machines!
Visit Microsoft Q&A (Preview) to post new questions.

Learn More

 locked
Azure Guest Agent Status: Not Ready, Agent Version: Unknown RRS feed

  • Question

  • Hi,

    I have a couple of VMs in Azure which I can backup using the built in Azure backup function without issue, I have one VM (which is a domain controller) which I cannot backup, whenever I attempt a backup of this VM, I get the error:

    UserErrorGuestAgentStatusUnavailable

    Sure enough, if I check the Overview page for the VM, the Agent Status is shown as:

    Not Ready, and the Agent Version is shown as: Unknown

    I have other VMs in the same subnet (also domain controllers) which are members of the same ASGs and subject to the same NSG rules, and these backup without issue.

    I have checked the WaAppAgent.txt log file in C:\WindowsAzure\Logs and the Guest Agent seems to be stuck at the stage:

    Started scanning OS to find JIT created user accounts.

    It seems to sit at this stage forever, while the other VMs get past this to the "Initializing StateExecutor" stage and work correctly.

    I have tried restarting the VM, restarting the Guest Agent service, even re-installing the agent itself, but nothing seems to make a difference.

    If I reboot the VM, or otherwise force the agent to restart I can see the following error in the logs: Could not initialize dictionary of users. Exception: System.Runtime.InteropServices.COMException (0x80070548): The security account manager (SAM) or local security authority (LSA) server was in the wrong state to perform the security operation

    Has anyone come across something like this before?

    Thanks!

    Friday, November 22, 2019 11:33 AM

All replies

  • Hi Arron,

    Can you please take a look at the suggestions in this post and let me know if that resolves your issue.

    Thanks.

    Saturday, November 23, 2019 12:20 AM
  • Hi Karishma,

    I have had a look at the post, from what I have read the Get-AzureVM command only works with older Azure VMs created using the classic Azure Service Manager, rather than the newer Azure Resource Manager (the VM I'm having trouble with was created using ARM).

    The equivalent command, Get-AzureRMVM, doesn't have a 'ProvisionGuestAgent' property, so the suggestion from that thread wont work.

    These are the only properties available:

    Thanks,

    Arron

    Monday, November 25, 2019 11:36 AM
  • It looks like a problem that needs to be looked at the backend.

    Can you email me at AzCommunity@microsoft.com and provide me with your subscriptionID and link to this thread? I can enable a support request for you to get you unblocked.

    Tuesday, December 3, 2019 6:20 AM
  • I have replied to your email with instructions to create a support request. Please post the resolution once your support request is resolved.
    Wednesday, December 4, 2019 10:40 PM