Azure Automation Hybrid Woker permission automatically removed
We are experiencing a recurring issue with two installed instances of the Azure Automation Hybrid Worker extension. For several months, both extensions have exhibited the same behavior: approximately twice per month, the custom credential permissions are inexplicably removed from the following paths:
-
C:\ProgramData\AzureConnectedMachineAgent\Tokens
— Read access -
C:\Packages\Plugins\Microsoft.Azure.Automation.HybridWorker.HybridWorkerForWindows
— Read and Execute access
The issue results in jobs being suspended.
Initially, we suspected this might be triggered by Windows Updates or extension upgrades, but after some checks, these events do not correlate with the permission resets. The root cause remains unclear, and the behavior appears to be non-deterministic and unrelated to any scheduled system or extension-level changes.