cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Looking to upgrade from Dynatrace Managed to SaaS? See how

In a Dynatrace Managed Environment where do I get TENANT and TENANT_TOKEN

r_weber
DynaMight Champion
DynaMight Champion

We need to automate the roll out of OneAgent and want to parametrize the installation process with TENANT and TENANT_TOKEN (as per documentation).

Where can we find these tokens on the Managed Server UI, or even better get it via a API query from the Managed Server?

Certified Dynatrace Master, Dynatrace Partner - 360Performance.net
4 REPLIES 4

Radoslaw_Szulgo
Inactive

I guess that will help you: https://www.dynatrace.com/support/help/get-started/monitoring-environment/environment-id 

Senior Product Manager,
Dynatrace Managed expert

r_weber
DynaMight Champion
DynaMight Champion

Wondering why the community search did not reveal this.

Nevertheless getting the ID and TOKEN via a rest call would be helpful, or if you don't want to go the way of manually getting the installation parameters and copying the tokens from there.

Ideally I want to call the server management API, search for environments (tenants by name) and then get the tokens from there.

Certified Dynatrace Master, Dynatrace Partner - 360Performance.net

Radoslaw_Szulgo
Inactive

Well token is rather something static that you pre-configure to use it in your automation scripts. TENANT_ID for all environments probably could be retrieved automatically if that helps you.

Senior Product Manager,
Dynatrace Managed expert

gautier_begin
Advisor

Hello,

How to get this TENANT_TOKEN used by oneagent installation script in an automatic way ?

Regards,

Featured Posts