Configure an Active Directory as a User Federation in Keycloak
3 min
You can connect an Active Directory to Keycloak through LDAP (Lightweight Directory Access Protocol) as a User Federation.
Before You Begin
You will need an Active Directory to connect to. If needed, follow up with your IT department to create one.
Step 1: Configure Standalone Realm
You will first need to configure the default standalone realm with the new LDAP provider that you will create.
To configure the standalone realm:
- Log in to Keycloak using the following URL: https://[Manufacturing Connect IP address]/auth/admin. See Access Keycloak to learn more.
- Configure the remaining settings as needed and then click Save.
Step 2: Confirm Successful Setup
After creating the realm, you can test the connection to confirm the Active Directory is successfully set up.
To confirm the setup is successful:
- Use the credentials of any user in your Active Directory to sign in. If the login in successful, the user is now authenticated using an Active Directory.








