# New User Registration with Automatic User Migration

**URL:** <https://community.auth0.com/t/new-user-registration-with-automatic-user-migration/57390>\
**Category:** Get Help\
**Tags:** registration, migration\
**Created:** [February 4, 2021, 10:27pm UTC](https://community.auth0.com/t/new-user-registration-with-automatic-user-migration/57390 "2021-02-04T22:27:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dbank](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dbank/32/13803_2.png) [@dbank](https://community.auth0.com/u/dbank)\
**Post date:** [February 4, 2021, 10:27pm UTC](https://community.auth0.com/t/new-user-registration-with-automatic-user-migration/57390/1 "2021-02-04T22:27:17Z")

</div>

Just wanted to sanity check myself: you can still have new users register even if you are using automatic migration against a legacy user database, is that correct?

I was looking at this flow chart: [Import and Export Users](https://auth0.com/docs/users/import-and-export-users). It seemed to indicate that if the user is not in Auth0 or the legacy database, that is a failure. I am assuming this is a different flow altogether than registration but wanted to get a confirmation on that.

Thank you,  
Daniel

---

<div class="post-metadata">

**Author:** ![stephanie.chamblee](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/stephanie.chamblee/32/26087_2.png) [@stephanie.chamblee](https://community.auth0.com/u/stephanie.chamblee)\
**Post date:** [February 5, 2021, 12:50pm UTC](https://community.auth0.com/t/new-user-registration-with-automatic-user-migration/57390/3 "2021-02-05T12:50:47Z")

</div>

Hi @dbank,

Welcome to the Community!

> [@dbank](#):
>
> you can still have new users register even if you are using automatic migration against a legacy user database, is that correct?

That is correct! When they register, the Auth0 will check to see if the user exists in the Auth0 DB. If they do not exist, Auth0 will run the Get User script to see if the user exists in the legacy DB. If the Get User script returns a profile, then the user will be migrated to Auth0. If the Get User script returns `null` then a new user will be created in the Auth0 DB.

> **[Configure Automatic Migration from Your Database](https://auth0.com/docs/manage-users/user-migration/configure-automatic-migration-from-your-database)**
>
> Learn how to enable automatic user migration with your custom database.

---

<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:** [February 20, 2021, 12:50pm UTC](https://community.auth0.com/t/new-user-registration-with-automatic-user-migration/57390/4 "2021-02-20T12:50:56Z")

</div>

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