Perform these steps to reconfigure Azure AD Connect with Domain and OU filtering:
- Open the Azure AD Connect Configuration Wizard from the Start Menu or desktop.
- In the Welcome to Azure AD Connect screen, click Configure.
- In the Additional tasks screen, select the Customize synchronization options ribbon:
- Click Next.
- On the Connect to Azure AD screen, sign in with an Azure AD-based account with Global administrator or Company administrator privileges. Perform multi-factor authentication and/or privileged identity management to connect.
- Click Next.
- When you want to remove entire Active Directory forests ...