<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
How to Uninstall the Okta AD Agent from Window Server
Okta Classic Engine
Okta Identity Engine
Directories
Overview

This article discusses the steps required to uninstall the Okta AD Agent from the host server. 

Applies To
  • Directories
  • Active Directory
  • Active Directory Agents
Solution
  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 hard drive on 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 is 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 needing to access log records, be sure to move these files to another location.
  4. To revoke the API token of an uninstalled agent:
    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.

Afterward, it is possible to remove the Okta AD Agents from the Okta Admin Dashboard by following these steps: How to Remove an Okta AD Agent from the Okta Admin Dashboard

NOTE: The AD Agent version 3.18 or above does not use an API token anymore, and it uses the OAuth 2.0 flow instead. Please see the following article for more details: AD Agent Changes Using OAuth 2.0

Loading
How to Uninstall the Okta AD Agent from Window Server