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"
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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.
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"