Sync local AD passwords to Azure AD

aristosva 6 Reputation points
2022-12-16T11:20:46.09+00:00

I need to synchronize the local Active Directory passwords, with Azure AD passwords on regular intervals.

  • On the local Active Directory I have Administrative rights under a specific OU only.
  • On Azure Active Directory I have full Administrative rights.

I've looked into Azure AD Connect, but it requires an Enterprise Admin account for the local Active Directory.

So I need to somehow use my admin rights, under the specific OU I have access on, to synchronize the user's passwords to Azure AD.

I'd prefer using PowerShell, so I can schedule it to run regularly, but any suggestions are welcome.

Thanks

Windows for business | Windows Client for IT Pros | Directory services | Active Directory
Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments
{count} vote

4 answers

Sort by: Most helpful
  1. !Daniel Bradley 1,066 Reputation points MVP
    2022-12-16T11:46:52.983+00:00

    Hi @aristosva

    The only solution here is to install Azure AD Connect, that will require Enterprise admin rights (as you already know).

    As this is a strategic business change, it would be best you make the request to the relevant people so they can either:

    • Provide you the relevant permissions
    • Perform the install and setup themselves

    Unfortunately there is no way around this.

    Kind regards
    Daniel

    0 comments No comments

  2. aristosva 6 Reputation points
    2022-12-16T12:22:24.99+00:00

    Keep in mind that I am only trying to sync the passwords of the users under the OU that I have admin rights.

    Since I already have admin rights under that OU, isn't there a way I can pull information and push it to Azure AD?


  3. Limitless Technology 44,766 Reputation points
    2022-12-19T09:18:15.2+00:00

    Hello there,

    You can use the PowerShell cmdlets given in the below stocks to force the synchronization of passwords between local AD and Azure AD. The password sync time interval in AD Connect is 2 minutes. You may need to force password sync with Azure AD Connect.

    Synchronization of legacy password hashes to Azure AD may take some time and depend on directory size in terms of number of accounts and groups. Once completed, the passwords are synchronized to the to Azure AD followed by syncing to the Azure AD DS managed domain.

    How to Force a Full Password Sync in AzureAD Connect https://techcommunity.microsoft.com/t5/itops-talk-blog/powershell-basics-how-to-force-a-full-password-sync-in-azuread/ba-p/900063 Hope this resolves your Query !!

    --If the reply is helpful, please Upvote and Accept it as an answer--

    0 comments No comments

  4. aristosva 6 Reputation points
    2022-12-19T09:53:05.657+00:00

    @Limitless Technology as I mentioned I can't use Azure AD Connect because it requires Enterprise Admin rights on the local AD.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.