Install multiple Okta Active Directory (AD) agents

To configure high availability, you can install additional AD agents on separate servers or virtual machines. We recommend setting up two or more AD agents per domainA domain is an attribute of an Okta organization. Okta uses a fully-qualified domain name, meaning it always includes the top-level domain (.com, .eu, etc.), but does not include the protocol (https)..


Note: Installing multiple agents in close geographical proximity to your users does not enhance performance. When you have multiple agents installed, the process randomly selects which agentA software agent is a lightweight program that runs as a service outside of Okta. It is typically installed behind a firewall and allows Okta to tunnel communication between an on-premises service and Okta's cloud service. Okta employs several agent types: Active Directory, LDAP, RADIUS, RSA, Active Directory Password Sync, and IWA. For example, users can install multiple Active Directory agents to ensure that the integration is robust and highly available across geographic locations. it uses so user location is not a factor. In addition, setting up large numbers of agents in this manner can cause problems when the system attempts to perform status checks on their performance.

Setting up a second AD agent follows the same steps as setting up your first agent. If you created the Okta service account with the first AD agent, then you are prompted to enter your password during the second agent installation.

To install additional AD agents on a domain

  1. Select Directory > Directory Integrations.
  2. Click Active DirectoryActive Directory (AD) is a directory service that Microsoft developed for the Windows domain networks. It is included in most Windows Server operating systems as a set of processes and services. Initially, Active Directory was only in charge of centralized domain management..
  3. Select the Settings tab. Your agents are listed in the Agent Monitors section.
  4. Click Add Agent.
  5. Run the installer as described in Install and configure the Okta Active Directory (AD) agent.

You can check the status console in the AdminAn abbreviation of administrator. This is the individual(s) who have access to the Okta Administrator Dashboard. They control the provisioning and deprovisioning of end users, the assigning of apps, the resetting of passwords, and the overall end user experience. Only administrators have the Administration button on the upper right side of the My Applications page. appAn abbreviation of application. Essentially, it is a web-based site used to perform any number of specific tasks, and requires authentication from end users by signing in. to make sure that the second agent was installed. A green circle next to the agent name indicates the agent is connected and healthy.

AD Agent Request Handling

Each agent connects to the Okta service independently. When the service needs to communicate to AD (for example, to authenticate a user), it picks one of the available agents and sends it a task to complete. If one of the agents becomes unavailable, it is automatically removed from the queue and not given additional tasks.

Agent Availability

Agents send periodic messages to the service. If the service does not receive a message for 120 seconds, it is marked as unavailable. After 30 days of inactivity, the API token that was assigned during the agent install will expire and you will need to re-install the agent.

Domain Controller Selection

The AD agent relies on the underlying operating system to select which domain controller to communicate with.

Change the AD Agent User

  1. Sign in to the server running the AD Agent.
  2. From the Start menu, type run, then type services.msc.
  3. Locate the Okta AD Agent Service.
  4. Right click the Okta AD Agent Service and select Properties.
  5. Select the Log On tab and change the account credentials.
  6. Restart the service and verify that the agent displays as green in your Okta orgThe Okta container that represents a real-world organization..