Change the number of Okta Active Directory agent threads
You don't need to install more AD agents for large requests. Increasing the number of threads used to poll allows the existing Okta AD agent to process more requests.
- Open Windows Services and stop the Okta AD agent service.
- From the terminal, locate the
OktaAgentService.exe.configfile for each Okta AD agent server:C:\Program Files (x86)\Okta\Okta AD Agent\OktaAgentService.exe.config -
Open
OktaAgentService.exe.configin a text editor. Find thePollingThreadsentry:<add key="PollingThreads" value="2" />The default value is 2 and the maximum value is 10.
-
Save the file and then restart the Okta AD agent service. To verify that the setting has changed, open the
agent.logfile at startup and observe the startup information at the bottom of the file:2017/07/21 06:06:22.167 Debug – TEST-SERVER-1(4) – PollingThreads: <thread number>