# What is the best practice to sync tenants?

**URL:** <https://community.auth0.com/t/what-is-the-best-practice-to-sync-tenants/95698>\
**Category:** Get Help\
**Tags:** sync, tenant, user, auth0\
**Created:** [December 5, 2022, 4:56pm UTC](https://community.auth0.com/t/what-is-the-best-practice-to-sync-tenants/95698 "2022-12-05T16:56:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stefan.trenkwalder](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/stefan.trenkwalder/32/41725_2.png) [@stefan.trenkwalder](https://community.auth0.com/u/stefan.trenkwalder)\
**Post date:** [December 5, 2022, 4:56pm UTC](https://community.auth0.com/t/what-is-the-best-practice-to-sync-tenants/95698/1 "2022-12-05T16:56:35Z")

</div>

As suggested in this forum, many applications use different auth0 tenants, for instance, for their production and development environment.

It would be good to have the users of the development tenant to be a superset of that of production.

What is the best practice to sync users from one tenant to another?  
It would be good if that could be implemented directly in aith0.

I had a look at rules (where I could do an API call to the second tenant, whenever a user is created, deleted, or update), but that seems cumbersome.  
I had a look at actions (but I only found a post-creation hook)

So I wondered, how are other people do that? or what is the best practice?

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [December 9, 2022, 9:39pm UTC](https://community.auth0.com/t/what-is-the-best-practice-to-sync-tenants/95698/3 "2022-12-09T21:39:45Z")

</div>

Hi @stefan.trenkwalder,

Welcome to the Auth0 Community!

From what I’ve seen, our customers typically don’t have production data (users) in their dev tenants.

That’s not to say it isn’t possible; you can certainly move users across tenants with [Import and Export Users](https://auth0.com/docs/manage-users/user-migration). It just isn’t typical.

Feel free to expand on your use case if I’m missing something.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [January 30, 2023, 9:38pm UTC](https://community.auth0.com/t/what-is-the-best-practice-to-sync-tenants/95698/4 "2023-01-30T21:38:54Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
