# OneAgent migration repointing to another SaaS tenant

**URL:** <https://community.dynatrace.com/t/oneagent-migration-repointing-to-another-saas-tenant/45585>\
**Category:** Open Q&A\
**Tags:** dynatrace-saas, migration, oneagent\
**Created:** [May 15, 2024, 5:28am UTC](https://community.dynatrace.com/t/oneagent-migration-repointing-to-another-saas-tenant/45585 "2024-05-15T05:28:27Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sahil23](https://avatars.discourse-cdn.com/v4/letter/s/9de053/32.png) [@Sahil23](https://community.dynatrace.com/u/Sahil23)\
**Post date:** [May 15, 2024, 5:28am UTC](https://community.dynatrace.com/t/oneagent-migration-repointing-to-another-saas-tenant/45585/1 "2024-05-15T05:28:27Z")

</div>

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. ([OneAgent configuration via command-line interface — Dynatrace Docs](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!

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [May 15, 2024, 6:55am UTC](https://community.dynatrace.com/t/oneagent-migration-repointing-to-another-saas-tenant/45585/2 "2024-05-15T06:55:31Z")

</div>

Hi,

I think that is not possible from API, waiting for another answer.

Anyway, do you use some orchestrator as Ansible / Puppet?

Best regards

---

<div class="post-metadata">

**Author:** ![PacoPorro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pacoporro/32/36087_2.png) [@PacoPorro](https://community.dynatrace.com/u/PacoPorro)\
**Post date:** [May 17, 2024, 8:47am UTC](https://community.dynatrace.com/t/oneagent-migration-repointing-to-another-saas-tenant/45585/3 "2024-05-17T08:47:42Z")

</div>

Agree with Anton, you should take into consideration an orchestation tool like Ansible/Puppet/Rundeck/Chef

---

<div class="post-metadata">

**Author:** ![Sahil23](https://avatars.discourse-cdn.com/v4/letter/s/9de053/32.png) [@Sahil23](https://community.dynatrace.com/u/Sahil23)\
**Post date:** [May 21, 2024, 7:51am UTC](https://community.dynatrace.com/t/oneagent-migration-repointing-to-another-saas-tenant/45585/4 "2024-05-21T07:51:26Z")

</div>

Thanks for the suggestion&nbsp;[@PacoPorro](https://community.dynatrace.com/user/40713)&nbsp;and&nbsp;[@AntonPineiro](https://community.dynatrace.com/user/58682)&nbsp;&nbsp;🙂

---

<div class="post-metadata">

**Author:** ![TorstenHellwig](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/torstenhellwig/32/33996_2.png) [@TorstenHellwig](https://community.dynatrace.com/u/TorstenHellwig)\
**Post date:** [October 9, 2025, 7:31am UTC](https://community.dynatrace.com/t/oneagent-migration-repointing-to-another-saas-tenant/45585/5 "2025-10-09T07:31:52Z")

</div>

Strange thing is, that API endpoint&nbsp;[Remote configuration management of OneAgents and ActiveGates — Dynatrace Managed Docs](https://docs.dynatrace.com/managed/ingest-from/bulk-configuration#bulk-configuration-oa-communication-settings)&nbsp;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?

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [October 9, 2025, 7:58am UTC](https://community.dynatrace.com/t/oneagent-migration-repointing-to-another-saas-tenant/45585/6 "2025-10-09T07:58:30Z")

</div>

[@TorstenHellwig](https://community.dynatrace.com/user/22828)&nbsp;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&nbsp;SaaS to SaaS migration feature flags.

What kind of migration do you need?

---

<div class="post-metadata">

**Author:** ![TorstenADAC](https://avatars.discourse-cdn.com/v4/letter/t/a6a055/32.png) [@TorstenADAC](https://community.dynatrace.com/u/TorstenADAC)\
**Post date:** [October 9, 2025, 8:23am UTC](https://community.dynatrace.com/t/oneagent-migration-repointing-to-another-saas-tenant/45585/7 "2025-10-09T08:23:56Z")

</div>

Hi&nbsp;[@JuliusLoman](https://community.dynatrace.com/user/58579)&nbsp;, 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.

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [October 9, 2025, 2:25pm UTC](https://community.dynatrace.com/t/oneagent-migration-repointing-to-another-saas-tenant/45585/8 "2025-10-09T14:25:44Z")

</div>

[@TorstenADAC](https://community.dynatrace.com/user/86095)&nbsp; - 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&nbsp; + ansible (or automation tool you/customer prefers).

---

<div class="post-metadata">

**Author:** ![TorstenADAC](https://avatars.discourse-cdn.com/v4/letter/t/a6a055/32.png) [@TorstenADAC](https://community.dynatrace.com/u/TorstenADAC)\
**Post date:** [October 9, 2025, 2:53pm UTC](https://community.dynatrace.com/t/oneagent-migration-repointing-to-another-saas-tenant/45585/9 "2025-10-09T14:53:01Z")

</div>

Looks like that’s what they have to do. It’s just some dozens of hosts.
