Azure Active Directory Connect (AADConnect) is the tool that connects your on-premises Active Directory to Azure Active Directory.
At the end of the setup there is a rather unhelpful message asking you to run
Translated to English this means.
- Open PowerShell and set your execution policy to unrestricted.
- Change directory to
C:\Program Files\Microsoft Azure Active Directory Connect\AdPrep>
- Supply values for the following parameters:
AdConnectorAccount: your AAD connector account.
AzureADCredentials: your credentials for Azure.
- If successful you should see
Initializing your Active Directory forest to sync Windows 10 domain joined computers to Azure AD.
- As good practice, set your execution policy back to restricted.