# Unable to choose Fleet Agent Policy

**URL:** <https://discuss.elastic.co/t/unable-to-choose-fleet-agent-policy/292051>\
**Category:** Elasticsearch\
**Tags:** fleet\
**Created:** [December 15, 2021, 9:23pm UTC](https://discuss.elastic.co/t/unable-to-choose-fleet-agent-policy/292051 "2021-12-15T21:23:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![thedanielmatt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thedanielmatt/32/93284_2.png) [@thedanielmatt](https://discuss.elastic.co/u/thedanielmatt)\
**Post date:** [December 15, 2021, 9:23pm UTC](https://discuss.elastic.co/t/unable-to-choose-fleet-agent-policy/292051/1 "2021-12-15T21:23:51Z")

</div>

Hello everyone,

I'm trying to get a Fleet server set up on my on-premise stack for the first time. Server and Agent are RPM installed with version 7.16.1.

When setting up the Fleet server, I am unable to select an Agent Policy. The drop-down seems to be disabled/empty, though I do have the default policies as well as a custom policy.

Agent enrollment stalls on "Fleet Server - Waiting on fleet-server input to be added to default policy", which I'm guessing is due to the fact I can't select an Agent Policy in the setup.

Would definitely appreciate some help.

---

<div class="post-metadata">

**Author:** ![thedanielmatt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thedanielmatt/32/93284_2.png) [@thedanielmatt](https://discuss.elastic.co/u/thedanielmatt)\
**Post date:** [December 15, 2021, 9:28pm UTC](https://discuss.elastic.co/t/unable-to-choose-fleet-agent-policy/292051/2 "2021-12-15T21:28:45Z")

</div>

Figured it out. Always love the irony when this happens...

Solution was to add a "Fleet Server" integration to a policy and it was then available as an option when setting up the Fleet Server.

---

<div class="post-metadata">

**Author:** ![joshdover](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joshdover/32/42020_2.png) [@joshdover](https://discuss.elastic.co/u/joshdover)\
**Post date:** [December 16, 2021, 5:27pm UTC](https://discuss.elastic.co/t/unable-to-choose-fleet-agent-policy/292051/3 "2021-12-16T17:27:32Z")

</div>

Hi there,

Glad you were able to figure this out!

This is a strange issue you ran into, and there's definitely some improvements we could make here. By default, Fleet should be creating a policy with this integration already configured so that it's available in this dropdown. By chance, do you know if you deleted the "Default Fleet server policy" at any point?

---

<div class="post-metadata">

**Author:** ![thedanielmatt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thedanielmatt/32/93284_2.png) [@thedanielmatt](https://discuss.elastic.co/u/thedanielmatt)\
**Post date:** [December 29, 2021, 3:48am UTC](https://discuss.elastic.co/t/unable-to-choose-fleet-agent-policy/292051/4 "2021-12-29T03:48:37Z")

</div>

It's entirely possible I had deleted the default/original policy at some point, but can't say for sure. I know I took a stab at the Elastic Agent/Fleet setup early on in my Elasticsearch journey and quickly realized I should stick with the basics for a bit first (Beats made more sense to my brain at the time). So as I said, it is possible I deleted the default at that time while trying to figure things out.

Sorry that I can't be more help on that level!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 26, 2022, 3:49am UTC](https://discuss.elastic.co/t/unable-to-choose-fleet-agent-policy/292051/5 "2022-01-26T03:49:12Z")

</div>

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