Uninstall Okta Active Directory agent

Complete the following steps to uninstall an Okta Active Directory agent.

For agent versions 3.18.0 or later, uninstalling an agent disconnects all associated domains from Okta. See Register multiple domains to an Okta Active Directory agent.

For agent versions 3.17.0 or earlier, this process also removes and revokes its associated API token.

  1. In Windows, select StartControl PanelProgramsPrograms and Features.
  2. Select the Okta AD Agent, and then select Uninstall.
  3. To remove the agent configuration data from the agent server, go to C:\Program Files (x86)\Okta and delete the Okta AD Agent folder. Deleting this folder removes the agent configuration data and the API token. The API token for the server remains valid in Okta, so it's important to remove the configuration data. Deleting this folder also removes all log records for the agent, which are stored in C:\Program Files (x86)\Okta\Okta AD Agent\logs. If you need to access log records, be sure to move these files to another location.
  4. Complete the following steps to remove the agent from Okta:
    1. On the Okta Admin Console, click Directory Directory Integrations.
    2. Click Active Directory and select the Agents tab.
    3. Under Agent Monitors, click Deactivate agent twice.
    4. Click Delete agent twice.