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.
- In Windows, select .
- Select the Okta AD Agent, and then select Uninstall.
- 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.
- Complete the following steps to remove the agent from Okta:
- On the Okta Admin Console, click .
- Click Active Directory and select the Agents tab.
- Under Agent Monitors, click Deactivate agent twice.
- Click Delete agent twice.