We are installing elastic agents onto WS2019 VMs via Azure DevOps pipelines.
In the pipeline in one particular stage/task there is one powershell script that installs different packages on the server and Elastic Agent is among them (installed last).
Everything runs fine and agent seems to be installed and running on the server, but it is not present in the Fleet UI. It is not shipping data to elastic.
Here is the output from the pipeline.
How its elastic-agent.yml looks like:
From the log we can see that is installed as a standalone. Can't see any other issue in the log.
Not sure what is the issue, any suggestions how to troubleshoot?