Cannot launch AMA

121321321 5 Reputation points
2024-10-24T09:36:20.43+00:00

User's image

PS: VM已加入DCR,并开启System-assigned
[ValidateDataStorePersistence] ErrorCode:0 ERROR: The registry value exists but the key file does not. Cannot launch AMA.[2024-10-25 03:03:39.000] [StartAzureMA] ErrorCode:1120 ERROR: Failed to validate data store persistence C:\WindowsAzure\Resources\AMADataStore.g5pls-au-sRE0

[2024-10-25 03:03:39.000] [AggregateHeartbeat] ErrorCode:1120 WARN: Unable to start or detect MA service running. Will try again in 5 min.

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,310 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,978 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. 34008400 5 Reputation points
    2024-10-31T15:13:50.5+00:00

    If you have still the issue I solved it. by doing the following
    What I did was removing the registry key and reboot the machine.

    SOFTWARE\Microsoft\AzureMonitorAgent\secret and remove the key "persistenceKeyCreated"

    1 person found this answer helpful.

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.