0 votes

We have internal AD that syncs to o365 via Azure AD Connect. It is not a hybrid environment; there is no Exchange on site. I am trying to find the best way to use Adaxes to create the local user account, and assign a licence to the o365 after the AD Connect syncs.
For a time (before we were using AD Connect) we were having Adaxes create the local user, then create the o365 account and assign a license. It appears that AD Connect takes up to 30 mins to sync the new user to o365, so I am not sure the best way to handle that. Thanks for any help you can provide.

by (540 points)

1 Answer

0 votes
by (274k points)

Hello Jason,

There is no need to change anything in the process. You can keep creating Office 365 accounts and assigning licenses after creating users in the on-premises Active Directory. AAD Connect will just synchronize the accounts on the next run.


Is there a way to automate this at all? We are having the same issue. We are trying to avoid having to do the following steps manually:

  1. create user in on prem Active Directory (Adaxes)
  2. wait for sync with Azure AD (up to 30 mins)
  3. log into Azure and add new user to M365 group
  4. go back to Adaxes and modify exchange properties (Alias, SMTP, target address)

Since it takes so long to sync I cannot automate those steps because it take so much time to get a new user account created with this manual process



As we mentioned in the answer, that is something you can do by directly creating Microsoft 365 accounts and assigning licenses to newly created users. For details, have a look at the following tutorial: https://www.adaxes.com/tutorials_AutomatingDailyTasks_AutomaticallyAssignOffice365Licenses.htm.

Related questions

0 votes
1 answer

Hi When reading the REST API documentation it does not mention working directly against Azure AD and Exchange Online. Will this be added? Thanks /Peter Sonander

asked Jan 26, 2023 by Sonander (40 points)
0 votes
1 answer

I am unsure how to deal with this because of how Adaxes treats one identity account as two different objects, an AD and AzureAD user account, and both has different last logon values. What is a good way to combine the data?

asked Apr 22 by Daniel (100 points)
0 votes
0 answers

I noticed that other identity management solutions have a way for new user to claim their account. This would be helpful so we can help all of our new students (who do not ... ) claim their account and reduce the burden on our help desk. Thanks for your help.

asked Aug 29, 2020 by rmedeiros (380 points)
0 votes
1 answer

I would like to know how to connect to Azure AD using Adaxes. I've already followed the instructions to connect to AAD using an application ID for Adaxes, but how can I ... place as the script is executed, much like what you see in a normal Powershell command?

asked Sep 2, 2022 by andreashalkias (50 points)
0 votes
1 answer

I am trying to view AD authentication logs to see a user account's authentication attempts. Can this be done in Adaxes?

asked Dec 30, 2021 by Tfarmer (160 points)
3,383 questions
3,082 answers
545,476 users