204000 - Azure CLI Not Installed
Uploading...Agent error code #204000 indicates that the agent could not find the az binary on the host it is running on. The Azure NSG backend drives network security groups by shelling out to the Azure CLI, so without it no grant can be applied.
Common causes include:
PATH
The agent runs in a minimal container image that does not include it
Steps to Resolve
Install the Azure CLI
az --version
Check the Agent's PATH
The agent inherits the PATH of the service manager, not your login shell.
command -v az to find the binary
If that directory is not on the service PATH, add it in the unit file or symlink the binary somewhere already on the path
Restart the agent so it picks up the change
Verify as the Agent's Own Account
sudo -u knocknoc az --version
For the full setup, see the backends chapter.