15 May 2024
06:28 AM
- last edited on
23 May 2024
02:55 PM
by
Michal_Gebacki
Hello everyone!
I was trying to migrate repoint oneagent from one SaaS tenant to another.
Is it possible to do this using API?
I know it is possible using oneagentclt command. (https://docs.dynatrace.com/docs/shortlink/oneagentctl#set-oneagent-communication-settings) but I dont want to log into servers and perform this activity 🙂
Thanks, in adv!
Solved! Go to Solution.
15 May 2024 07:55 AM
Hi,
I think that is not possible from API, waiting for another answer.
Anyway, do you use some orchestrator as Ansible / Puppet?
Best regards
09 Oct 2025 08:31 AM
Strange thing is, that API endpoint https://docs.dynatrace.com/managed/ingest-from/bulk-configuration#bulk-configuration-oa-communicatio... on Managed can do this. So I can move agents from one managed tenant to another or to a Saas tenant. But then I'm stuck with oneagentctl. Or is this a glitch in the docs?
09 Oct 2025 08:58 AM
@TorstenHellwig yes, it's possible to do that Managed -> SaaS using UI (and API).
It's also possible to have a SaaS -> SaaS, but you need to raise a support ticket for this. It's unfortunately disabled for security reasons. I stumbled upon this at first (why ??) but then understood the reasons. Ask for enabling SaaS to SaaS migration feature flags.
What kind of migration do you need?
09 Oct 2025 09:23 AM
Hi @JuliusLoman , it is a Saas PoC where we moved a few non-prod agents from Managed to the PoC tenant and now want to go back. And I was sure it's the same convenient way. The customer has a hosted data center and can't access the monitored systems himself.
09 Oct 2025 03:25 PM
@TorstenADAC - Oh, not sure if you will be able to do SaaS to Managed. Most likely, you are left with oneagentctl on the hosts. If I remember how it looked like, it was SaaS to SaaS only. Unless you have 200+ agents, I'd do this using oneagentctl + ansible (or automation tool you/customer prefers).
09 Oct 2025 03:53 PM
Looks like that's what they have to do. It's just some dozens of hosts.
17 May 2024 09:47 AM
Agree with Anton, you should take into consideration an orchestation tool like Ansible/Puppet/Rundeck/Chef
21 May 2024 08:51 AM - edited 21 May 2024 08:51 AM
Thanks for the suggestion @PacoPorro and @AntonPineiro 🙂