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?
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.