Kibana version:
Kibana: 8.0.0-SNAPSHOT cloud environment with commit 6f983728d7f8c2cf065a6d5099157a5cfdc3cd08
Elasticsearch version:
Elasticsearch: 8.0.0-SNAPSHOT cloud environment
Host OS and Browser version:
Windows , All
Original install method (e.g. download page, yum, from source, etc.):
From 8.0.0-SNAPSHOT cloud environment
Description
Error is displayed in powershell on enrolling agent on Windows with install command
Preconditions
- 8.0.0-SNAPSHOT latest Kibana cloud environment should be available(commit 6f983728d7f8c2cf065a6d5099157a5cfdc3cd08).
- Login to the above environment with elastic superuser.
- 8.0.0 windows agent using https://snapshots.elastic.co/8.0.0-af3cda3c/downloads/beats/elastic-agent/elastic-agent-8.0.0-SNAPSHOT-windows-x86_64.zip file should be available.
Steps to Reproduce
-
RDP to the windows endpoint
-
Copy the above agent file and extract it under C:/Program Files
-
Navigate to C:/Program Files/ElasticAgent folder and open powershell as admin
-
Run the below command:
./elastic-agent install
-
Proceed and provide kibana url and enrollment token.
-
Observe that agent is enrolled in the UI but error is displayed in powershell.
Test data
N/A
Impacted Test case id
N/A
Actual Result
Error is displayed in powershell on enrolling agent on Windows with install command.
Expected Result
No Error should be displayed in powershell on enrolling agent on Windows with install command
What's working
What's not working
Screenshot

Logs
Elastic-Agent-logs.zip
Kibana version:
Kibana: 8.0.0-SNAPSHOT cloud environment with commit 6f983728d7f8c2cf065a6d5099157a5cfdc3cd08
Elasticsearch version:
Elasticsearch: 8.0.0-SNAPSHOT cloud environment
Host OS and Browser version:
Windows , All
Original install method (e.g. download page, yum, from source, etc.):
From 8.0.0-SNAPSHOT cloud environment
Description
Error is displayed in powershell on enrolling agent on Windows with install command
Preconditions
Steps to Reproduce
RDP to the windows endpoint
Copy the above agent file and extract it under C:/Program Files
Navigate to C:/Program Files/ElasticAgent folder and open powershell as admin
Run the below command:
./elastic-agent install
Proceed and provide kibana url and enrollment token.
Observe that agent is enrolled in the UI but error is displayed in powershell.
Test data
N/A
Impacted Test case id
N/A
Actual Result
Error is displayed in powershell on enrolling agent on Windows with install command.
Expected Result
No Error should be displayed in powershell on enrolling agent on Windows with install command
What's working
What's not working
Screenshot

Logs
Elastic-Agent-logs.zip