# Installing Custom Application in two Environments - Dynatrace Toolkit

**URL:** <https://community.dynatrace.com/t/installing-custom-application-in-two-environments-dynatrace-toolkit/51724>\
**Category:** Developer Q&A Forum\
**Tags:** dynatrace-app-toolkit, custom-app, app-functions\
**Created:** [May 21, 2025, 8:44am UTC](https://community.dynatrace.com/t/installing-custom-application-in-two-environments-dynatrace-toolkit/51724 "2025-05-21T08:44:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MaximilianoML](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/maximilianoml/32/25038_2.png) [@MaximilianoML](https://community.dynatrace.com/u/MaximilianoML)\
**Post date:** [May 21, 2025, 8:44am UTC](https://community.dynatrace.com/t/installing-custom-application-in-two-environments-dynatrace-toolkit/51724/1 "2025-05-21T08:44:12Z")

</div>

Hello guys!

How are you all?

So, I’m with an interesting problem… Let me introduce you to the context.

I developed a Custom Synthetic Application using the Dynatrace Toolkit, and it worked perfectly on one of ours Tenants (We’ve two PT and BR).

And for my surprise, I changed all the Tokens and Environment URLs to the correct ones, on dev mode the App runs well, I performed the Deploy and it makes with no problem. But when we try to open the App via Tenant, it stays on infinite loading, like if there’s no response from the API (It’s called via App Functions to the Dynatrace APIs following the docs). I’ve checked all the Tokens permissions and User Permissions; the permissions and Policies are the same in both.

The main question here is, why it works only in one if it’s all the same config in both? Maybe some environment config?&nbsp;:thinking:

Kinda regards,

Maximiliano Lopes

---

<div class="post-metadata">

**Author:** ![haris](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/haris/32/38293_2.png) [@haris](https://community.dynatrace.com/u/haris)\
**Post date:** [May 27, 2025, 10:11am UTC](https://community.dynatrace.com/t/installing-custom-application-in-two-environments-dynatrace-toolkit/51724/2 "2025-05-27T10:11:02Z")

</div>

Hi Maximiliano,

could you share app config file for both? Also, could you try temporarily removing app functions usage and putting placeholder code instead to see if that’s only thing affecting it?

---

<div class="post-metadata">

**Author:** ![imsingh](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/imsingh/32/7858_2.png) [@imsingh](https://community.dynatrace.com/u/imsingh)\
**Post date:** [May 27, 2025, 11:02am UTC](https://community.dynatrace.com/t/installing-custom-application-in-two-environments-dynatrace-toolkit/51724/3 "2025-05-27T11:02:12Z")

</div>

Hi&nbsp;[@MaximilianoML](https://community.dynatrace.com/user/73851)

Do you have browser logs that you can share with us where the app isn’t running? Thanks

---

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [June 4, 2025, 7:26pm UTC](https://community.dynatrace.com/t/installing-custom-application-in-two-environments-dynatrace-toolkit/51724/4 "2025-06-04T19:26:02Z")

</div>

This was a tough one. I worked with&nbsp;[@MaximilianoML](https://community.dynatrace.com/user/73851)&nbsp;on it, and a clue on what we had done before, got us through: we had to follow the procedure described in&nbsp;[Allow external requests | Dynatrace Developer](https://developer.dynatrace.com/develop/app-functions/allow-outbound-connections/)&nbsp;as the app was making API calls to the environment:

 ![AntonioSousa_0-1749064704885.png](https://global.discourse-cdn.com/dynatrace/original/3X/2/5/256f0780d48227959588a4176e6a1215c0ced4e4.png)

Please note that before it was available through Settings \> Preferences \> Limit outbound connections  
Not sure why it disappeared from Settings Classic; trying to figure it out…
