# Create WAAD users before they signin

**URL:** <https://community.auth0.com/t/create-waad-users-before-they-signin/19302>\
**Category:** Get Help\
**Tags:** api, enterprise-connectio, user-creation\
**Created:** [December 20, 2018, 7:52pm UTC](https://community.auth0.com/t/create-waad-users-before-they-signin/19302 "2018-12-20T19:52:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Erwann](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/erwann/32/10264_2.png) [@Erwann](https://community.auth0.com/u/Erwann)\
**Post date:** [December 20, 2018, 7:52pm UTC](https://community.auth0.com/t/create-waad-users-before-they-signin/19302/1 "2018-12-20T19:52:06Z")

</div>

Hi,

I do have a question regarding Auth0 users creation.

We have a customer who want to manage authentication but does not want to manage authorization. They have something like 400 users.

We had created an Enterprise connection to their Azure Active Directory and we were hoping to pre-create those users and assign them some roles in Auth0.  
So when a user log for the first time they would have been assign the rights roles already.

But Auth0 Users API does not allowed to create WAAD users, only users through a Database or Passwordless connection.

Is there any other way we could do something like that ?  
Thanks !

---

<div class="post-metadata">

**Author:** ![nicolas\_sabena](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nicolas_sabena/32/6064_2.png) [@nicolas\_sabena](https://community.auth0.com/u/nicolas_sabena)\
**Post date:** [December 21, 2018, 12:58pm UTC](https://community.auth0.com/t/create-waad-users-before-they-signin/19302/2 "2018-12-21T12:58:33Z")

</div>

Hi @Erwann. It is indeed not possible to pre-create Azure AD identities on the Auth0 user store beforehand.

An alternative would be to create a rule that check for an Azure AD identity’s first login and at that moment fetches the roles from an external source (like a temporary backend DB) and stores those roles in the authorization system (not sure if you are using the Authorization Extension but, if so, you can use [its API](https://auth0.com/docs/api/authorization-extension) to create the roles).

---

<div class="post-metadata">

**Author:** ![Erwann](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/erwann/32/10264_2.png) [@Erwann](https://community.auth0.com/u/Erwann)\
**Post date:** [December 21, 2018, 1:32pm UTC](https://community.auth0.com/t/create-waad-users-before-they-signin/19302/3 "2018-12-21T13:32:25Z")

</div>

Thanks @nicolas_sabena for your answer. I will check that !

---

<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:** [August 28, 2019, 2:54pm UTC](https://community.auth0.com/t/create-waad-users-before-they-signin/19302/4 "2019-08-28T14:54:04Z")

</div>

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