Active Directory Integration
π OCA Study Notes: Configure the Active Directory Integration
1. Why Integrate Active Directory With Okta?
Your company likely uses:
AD to authenticate and authorize users for email, file shares, and on-prem apps.
Okta to provide cloud SSO and lifecycle automation.
Integrating AD with Okta provides:
Centralized identity management
Delegated authentication (AD verifies credentials)
Importing or Just-In-Time (JIT) user creation
Provisioning users and groups to AD
Password sync, attribute sync, lifecycle automation
Unified profile mapping with UD
2. How AD Integrates with Okta
Integration relies on the Okta AD Agent:
Installed on a Windows Server on-prem
Lightweight
Communicates outbound to Okta (no inbound firewall ports needed)
Runs as a service account
Provides:
User import
Profile mastering
Delegated authentication
Password sync (optional)
Provisioning to AD
Group management
3. Active Directory Integration Prerequisites
A. Okta Admin Account Requirements
The account used to install/manage the AD agent must have:
Manage application directory integration
Manage agents
Register agents
Best practice β Create custom admin roles with JUST these permissions.
Separate roles example:
Integration role: Manage integration + agents
Registration role: Register agents only (used during installation)
Use Resource Sets to constrain permissions to only the AD app.
B. AD Admin Account To Install the AD Agent
Installer offers:
Create the Okta service account automatically
β Requires Domain AdminUse existing account
β Requires:Domain User
Local Administrator on the host server
Read access to required OUs
C. AD Domain User To Run the AD Agent Service
This becomes the Okta service account.
Requirements:
Member of Domain Users
Password never expires
Dedicated to Okta agent and nothing else
4. Installing the Okta AD Agent
Steps:
Download agent from Okta (Directory β Directory Integrations β AD).
Install on Windows server(s).
Provide service account credentials.
Register the agent with Okta.
Agent appears in the Okta Admin Console under Agents.
Use Okta AD Agent Manager (Windows tray app) to:
Start/stop agent
Register additional domains
Modify proxy settings
(Not recommended) Add service account to Domain Admins
5. High Availability & Best Practices
Install at least TWO AD agents per domain.
Install each on separate host servers β no single point of failure.
Keep agents up to date.
If agents run mixed versions β the oldest version restricts functionality.
6. Managing Agents in Okta
In Admin Console β Directory β Directory Integrations β Active Directory:
Add agent
Download + install more agents.
Update agents
Auto-update removes old agent and installs new version.
Actions
Deactivate or delete agent.
Manage auto-updates
Requires minimum two operational agents.
Schedule when agents will update.
7. Active Directory Profile in Universal Directory
Once integrated, Okta creates an AD User Profile with:
Default AD attributes
Custom attributes if added
Okta auto-maps many fields
Admins can adjust mappings in the Profile Editor.
8. Provisioning Direction Scenarios
Scenario 1 β AD is the Profile Source
Used when AD is the system of record.
You can configure:
Scheduled imports (regular sync)
JIT provisioning (user created on first login)
Matching rules for user imports
Allow AD to master Okta users (default)
Protect against mass deletes/unassignments
Scenario 2 β HR System is Profile Source (HR-as-a-Master)
Example: Workday or BambooHR master profiles.
Okta β AD provisioning supports:
Create or link users in AD when assigned to AD app
Update attributes in AD when Okta profile changes
Deactivate AD accounts when user deactivated/unassigned
Create AD passwords and push to AD during provisioning
Service account permissions in AD are required for each object type (users, groups, OUs).
9. Most Testable OCA Exam Topics
Expect questions on:
β AD vs HR system as source of truth
β Agent installation requirements
β Service account permissions
β Auto-update constraints
β Provisioning direction and attribute mastering
β Delegated authentication behavior
β JIT vs scheduled import
β Profile mapping and AD profile structure
β High availability agent requirements
β Preventing mass deletion in imports
β OCA Exam Notes: Okta AD Agent Installation (Video Summary)
This is everything the video includes, reduced down to what is testable.
1. Downloading the AD Agent
You install the AD Agent from:
Admin Console β Directory β Directory Integrations β Add Directory β Active Directory β Download Agent
The installer is Windows-only.
2. Installation Requirements (re-stated in the video)
During installation, you're prompted for:
β A local Windows Admin account
To install the service.
β AD Domain Admin account OR an existing dedicated service account
Depending on whether you allow the installer to automatically create the Okta service account.
β Register the Agent with Okta
The installer opens a browser window for you to log into your Okta org with an account that has:
Manage application directory integration
Manage agents
Register agents
3. Installation Steps (as shown in video)
Run the agent installer (.msi)
Accept EULA
Choose whether the installer should create Okta service account or use an existing one
Enter domain and credentials
Installer registers the agent with Okta
Agent appears in Okta under:
Directory Integrations β Active Directory β AgentsOkta AD Agent Manager appears in Windows tray area
4. AD Agent Manager (video UI walkthrough)
From the Okta AD Agent Manager, you can:
Start/stop the service
Modify proxy settings
Register additional domains
View agent status
You should not use the optional feature to add the service account to Domain Admins.
5. Video Best Practices Confirmed
The video reinforces:
β Install at least two agents per domain
β Use different host servers to avoid single points of failure
β Keep agents updated (auto-update recommended)
π― Soβ¦ Do you need the video for the exam?
Not really.
Everything testable from the video is already in your notes.
The OCA exam does not test step-by-step installation detailsβit tests:
Permissions
Prerequisites
Behavior of the agent
High availability requirements
What AD Agent Manager is used for
When to use JIT vs import
What delegated authentication does
So yes β you already have everything needed.
But for flashcards, I'll produce the installation portion next.