On-prem AD account creation in a Hybrid Enivornment

%3CLINGO-SUB%20id%3D%22lingo-sub-1814984%22%20slang%3D%22en-US%22%3EOn-prem%20AD%20account%20creation%20in%20a%20Hybrid%20Enivornment%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1814984%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20are%20having%20Hybrid%20environment%20our%20AD%20server%20will%20be%20sync%20using%20Azure%20connector%20to%20Azure%20AD%2C%20and%20we%20have%20OUs%20for%20each%20branch%2C%3C%2FP%3E%3CP%3EIs%20their%20any%20way%20we%20can%20Connect%20on-prem%20AD%20server%20to%20create%20a%20user%20so%20that%20it%20can%20directly%20added%20to%20On-prem%20then%20after%20sync%20it%20should%20appear%20in%20Azure%20AD%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1814984%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EIdentity%20Management%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1816433%22%20slang%3D%22en-US%22%3ERe%3A%20On-prem%20AD%20account%20creation%20in%20a%20Hybrid%20Enivornment%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1816433%22%20slang%3D%22en-US%22%3ENot%20sure%20what%20the%20question%20is%20here%3F%3CBR%20%2F%3E%3CBR%20%2F%3EYou%20can%20specify%20filter%20settings%20with%20AAD%20Connect.%20Every%20user%20will%20be%20sync'ed%20to%20AAD.%3CBR%20%2F%3EYou%20need%20to%20create%20the%20user%20in%20AD%20first%20before%20it%20syncs%20to%20AAD%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1822552%22%20slang%3D%22en-US%22%3ERe%3A%20On-prem%20AD%20account%20creation%20in%20a%20Hybrid%20Enivornment%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1822552%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F186539%22%20target%3D%22_blank%22%3E%40Thijs%20Lecomte%3C%2FA%3E%26nbsp%3B%20is%20there%20any%20connector%20for%20AD%20server%20like%20SQL%20we%20have%20in%20powerapps%3F%3C%2FP%3E%3CP%3Eactually%20i%20am%20using%20powerapp%20for%20creating%20new%20user%20accounts%2C%20when%20creating%20users%20it%20directly%20added%20in%20to%20my%20Azure%2C%20instead%20i%20wanted%20the%20account%20to%20be%20create%20in%20on-prem%20AD%20server%2C%20then%20the%26nbsp%3B%20dir%20sync%20will%20propagate%20the%20user%20in%20the%20Azure.%20hope%20this%20is%20clear%20for%20you.%20or%20API%20is%20a%20must..%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

We are having Hybrid environment our AD server will be sync using Azure connector to Azure AD, and we have OUs for each branch,

Is their any way we can Connect on-prem AD server to create a user so that it can directly added to On-prem then after sync it should appear in Azure AD

5 Replies
Not sure what the question is here?

You can specify filter settings with AAD Connect. Every user will be sync'ed to AAD.
You need to create the user in AD first before it syncs to AAD

@Thijs Lecomte  is there any connector for AD server like SQL we have in powerapps?

actually i am using powerapp for creating new user accounts, when creating users it directly added in to my Azure, instead i wanted the account to be create in on-prem AD server, then the  dir sync will propagate the user in the Azure. hope this is clear for you. or API is a must..

@Syed Rabbani I am not sure about PowerApps. However, you can use PowerShell script to create user on premises and then sync to Azure AD. Look at below examples for more info

https://gallery.technet.microsoft.com/office/Onboarding-New-Users-in-an-706f5efd#content

https://www.itpromentor.com/bulk-hybrid-user/

 

@Syed Rabbani 

I think for your case, you need to look into Azure Automation and Hybrid Workers

https://docs.microsoft.com/en-us/azure/automation/automation-hybrid-runbook-worker

Hi @Syed Rabbani ,

 

I assume you are aware that the synchronization between on-prem AD (source) and Azure AD (target) using AAD Connect is (predominantly) a one-way sync. You still have a possibility to create identities directly in AAD (Portal, PowerShell, API), but these are "cloud-only", and they won't show up in your on-prem AD.

 

Most enterprises have some 'Identity and Access Management' system on-prem, where typically an HR system is a source of user information and the IAM system is creating respective user accounts (and groups) in AD, which in turn is synced to AAD (should you choose to configure it this way).

 

If your question was about creating those "source" identities in AD, then apart from some integration with another source system (as I mentioned above) you have traditional options like MMC console, and Active Directory PowerShell.

 

You could use Azure Automation with Hybrid Runbook Worker and have a runbook in place that would (pending it has appropriate rights in your AD) create new accounts in AD (and AADC would sync it afterwards to AAD), but the remaining question is: what would be the data source for such automation? The runbook would need some input about user properties that you would need to provide. 

How are you planning to handle this part?