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!