Unable to enroll Elastic Agent to fleet running in the cloud

Getting the below error message when attempting to enroll an Elastic Agent to a Fleet running in Elastic Cloud. Please help!

{"log.level":"info","@timestamp":"2024-01-18T22:51:26.027-0500","log.origin":{"file.name":"cmd/enroll_cmd.go","file.line":479},"message":"Starting enrollment to URL: [URL of fleet]","ecs.version":"1.6.0"}
Error: fail to enroll: acquiring metadata failed: failed to create new agent info: could not get agent info from store: failed to load from ioStore: failed to ensure key during encrypted disk store Load: could not get agent key: procdecryptdata: Key not valid for use in specified state.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.