# Create deployment for preauthorized devices?

**URL:** <https://hub.mender.io/t/create-deployment-for-preauthorized-devices/4083>\
**Category:** General Discussions\
**Created:** [September 15, 2021, 9:33am UTC](https://hub.mender.io/t/create-deployment-for-preauthorized-devices/4083 "2021-09-15T09:33:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![grantviolet](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/grantviolet/32/1148_2.png) [@grantviolet](https://hub.mender.io/u/grantviolet)\
**Post date:** [September 15, 2021, 9:33am UTC](https://hub.mender.io/t/create-deployment-for-preauthorized-devices/4083/1 "2021-09-15T09:33:22Z")

</div>

Hi. I have a batch of new devices which have all been preauthorized but haven’t yet been online. I need to deploy a release to this device group so that when they do come online, they immediately take the update. How do I do this? It currently fails to create the deployment as there aren’t yet any accepted devices in the group. Many thanks.

---

<div class="post-metadata">

**Author:** ![grandfield](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/grandfield/32/949_2.png) [@grandfield](https://hub.mender.io/u/grandfield)\
**Post date:** [September 21, 2021, 8:38am UTC](https://hub.mender.io/t/create-deployment-for-preauthorized-devices/4083/2 "2021-09-21T08:38:53Z")

</div>

I think this question was already asked [here](https://hub.mender.io/t/deployment-management-for-failures-and-new-devices/1516) ? My solution is to have agent that polls the server and auto deploys.

---

<div class="post-metadata">

**Author:** ![grantviolet](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/grantviolet/32/1148_2.png) [@grantviolet](https://hub.mender.io/u/grantviolet)\
**Post date:** [September 21, 2021, 9:17am UTC](https://hub.mender.io/t/create-deployment-for-preauthorized-devices/4083/3 "2021-09-21T09:17:31Z")

</div>

Many thanks, I hadn’t found that previous question. Yes, that’s exactly what I’ve done to get around the problem.
