11 Apr 2025
08:34 AM
- last edited on
14 Apr 2025
08:20 AM
by
MaciejNeumann
Hello,
We have integrated Dynatrace SaaS with a Linux-based App Service and an Azure Kubernetes cluster (Dynatrace Operator), and we had a requirement to move the workloads to a totally new SaaS tenant.
Do we have an option to reconfigure the OneAgent change the target tenant and tokens without the need to uninstall and reinstall the OneAgent/Operator and restart the applications? Does the oneagentctl command work with App Services and AKS?
Thanks,
DynaQ
Solved! Go to Solution.
12 Apr 2025 06:01 PM
Hi,
In AKS, you need to remove and re-apply the Dynakube with the proper apiUrl and token (and remove secret too - here the guide).
This will restart the OneAgents, and you will also need to restart your monitored application pods to allow the new tenant's OneAgent modules to be injected.
In Azure App Services, you need to change the startup script/commands to point to the new tenant. You can find more information here: Integrate OneAgent on Web App for Containers. After that, you need to restart your app service.
oneagentctl will not works in these two scenario.