# Creating Pre-defined Application IDs for consistent Webapp/Detecion rules with Monaco

**URL:** <https://community.dynatrace.com/t/creating-pre-defined-application-ids-for-consistent-webapp-detecion-rules-with-monaco/46687>\
**Category:** Open Q&A\
**Tags:** monaco\
**Created:** [July 18, 2024, 6:51pm UTC](https://community.dynatrace.com/t/creating-pre-defined-application-ids-for-consistent-webapp-detecion-rules-with-monaco/46687 "2024-07-18T18:51:47Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![r\_weber](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/r_weber/32/24884_2.png) [@r\_weber](https://community.dynatrace.com/u/r_weber)\
**Post date:** [July 18, 2024, 6:51pm UTC](https://community.dynatrace.com/t/creating-pre-defined-application-ids-for-consistent-webapp-detecion-rules-with-monaco/46687/1 "2024-07-18T18:51:47Z")

</div>

I’m slowly switching from my own config management solution to Monaco 2.x.

Now I’m trying to create consistent Web Application configs with monaco but this seems to be impossible, due to the non-unique naming of Applications (multiple Applications with the same name, but different IDs can exist).

In my own solution I’ve “delegated” the uniqness to the user (which is perfectly fine if you have control over the config anyway. But with monaco this isn’t possible?

Assume you want to create a webapplication and detection rules, there are two issues:

1. To create the detection rule, you need an application ID first
2. You can’t create an application with a predefined ID with monaco

In my own solution I did use a PUT instead of a POST for creating the application and specify the Application identifier myself in the API payload and URL. If monaco would support this, it would be possible to create a full transportable configuration that can be applied to any environment that creates consistent applications. All the dependencies could be easily managed in monaco.

But currenlty you can only create the applications, then take note of the Application IDs and modify any depending configs based on that. It is not really automatable.

Has anyone found a solution for this?

---

_[View the full topic](https://community.dynatrace.com/t/creating-pre-defined-application-ids-for-consistent-webapp-detecion-rules-with-monaco/46687)._
