When someone joins, moves or leaves in Cornerstone OnDemand, you want that change reflected in your on-premise Active Directory without anyone touching it by hand. To connect Cornerstone OnDemand to Active Directory, Joinly reads each change through the Cornerstone Edge API and applies it to your domain through the Joinly AD Agent — a lightweight connector that runs inside your network. There’s a deliberate twist here: a Cornerstone OU and an Active Directory OU are two completely different things, and Joinly keeps them straight so a user lands in the right AD container based on their Cornerstone Organizational Units.
Key takeaways
Cornerstone stays your source for the people it governs; Joinly applies every joiner, mover and leaver to on-premise Active Directory automatically.
The Joinly AD Agent runs inside your network and needs only an outbound HTTPS connection — no inbound ports and no domain controller exposed to the internet.
Two kinds of OU, one mapping: Joinly translates Cornerstone Organizational Units (Division, Position, Location, Cost Center, Grade) into the right AD security groups and target Active Directory OU containers — they share a name but nothing else.
Cornerstone’s userId, username and SSO subject are three different identifiers; Joinly keys on the stable userId so the sAMAccountName, UPN and distinguished name stay attached to the right object.
Every action is logged for a complete audit trail, aligned with NIS2 and ISO 27001 — and the same setup extends to a hybrid Entra ID environment.
Quick facts
Source system | Cornerstone OnDemand (CSX / Organizational Units) |
Target system | On-premise Active Directory (AD DS) |
Connection method | Cornerstone Edge API (REST) → Joinly AD Agent → Active Directory |
Agent requirement | Domain-joined Windows server with a GMSA, outbound HTTPS (443) only |
Supported events | Joiner, mover, leaver (incl. rehire, OU transfer, status change) |
Synced attributes | Name, sAMAccountName, UPN, mail, division, position, manager, location, cost center, distinguished name / AD OU, start and end date |
Real-time or batch | Frequent sync, multiple times per day |
Compliance | ISO 27001, NIS2-ready, GDPR (EU data centre) |
How does Joinly sync Cornerstone OnDemand to Active Directory?
Joinly reads each change in Cornerstone in the cloud, then hands the action to the Joinly AD Agent inside your network, which makes the change in Active Directory. Cornerstone holds the talent record and its Organizational Units; the agent is the only component that touches your domain — and Joinly does the translation from Cornerstone OU to AD OU for you.
Joiner. A new user appears in Cornerstone with their Organizational Units set. Joinly reads the record through the Edge API, determines the role from Division, Position and Cost Center, and instructs the AD Agent to create the user in the correct Active Directory OU, build the sAMAccountName and UPN from your rules, and add the right security groups — timed to the start date.
Mover. When someone changes Position, Division or Location in Cornerstone, Joinly tells the agent to move the user to the matching AD OU, swap security-group membership and update attributes. Access that no longer fits the new role is removed, so permissions stay aligned with the actual job.
Leaver. When a user’s status moves to inactive or their end date passes in Cornerstone, Joinly instructs the agent to disable the AD account and optionally move it to a disabled-users OU. Matching runs on the internal Cornerstone userId, so a recycled username never disables the wrong object.
Example: A government agency runs Cornerstone OnDemand for training and an on-premise AD across three regional offices. It onboards a policy officer with a start date next Monday, placed in the Cornerstone Division ‘Regulatory Affairs’ and Location ‘North Office’. Joinly reads the record, and on Monday morning the AD Agent creates the user in the AD OU ‘OU=North,OU=Regulatory,DC=agency,DC=gov’, sets a unique sAMAccountName, and adds the Reg-Affairs group. Note the two OUs in play: the Cornerstone Division is the source signal; the AD OU is where the object actually lives — Joinly maps one to the other.
What manual AD account management costs
Without automation, every account starts as a Cornerstone export that an admin works through in Active Directory Users and Computers by hand — creating the object, choosing the AD OU, building the sAMAccountName, adding groups. With no supported native Cornerstone-to-AD provisioning path left, the decisions all fall to people, and the Cornerstone-OU-versus-AD-OU naming clash makes the manual mapping easy to get wrong.
Onboarding delays. New joiners wait for an AD account and group access while a ticket sits in a queue, losing productive days in their first week.
Permissions that don’t keep up (privilege creep). When movers change Position or Division, old security-group membership often stays attached, so people accumulate rights they no longer need.
Forgotten offboarding. Accounts that aren’t disabled on time are a security and audit risk — and a username-based match can disable the wrong object when a Cornerstone login was recycled.
Joinly vs. manual AD provisioning for Cornerstone
There is no supported native Cornerstone-to-on-premise-AD provisioning path, so the realistic alternative is a flat-file export and manual work in ADUC, or a generic connector. Here’s how that compares with Joinly for a Cornerstone-driven AD setup.
Joinly AD Agent | Export / connector / manual ADUC | |
|---|---|---|
Source | Reads the Cornerstone Edge API directly | Flat-file export or generic connector |
AD OU placement | Rule-based, mapped from Cornerstone OUs | Single container or manual choice; easy to confuse the two OU meanings |
Role-to-group mapping | Built in, rule-based on Division / Position | Not available out of the box; manual |
Identifier handling | Keys on stable Cornerstone userId | Often keys on username — drifts when it changes |
Source-of-truth control | Pick the authoritative feed per attribute | Cornerstone OU data can overwrite better data |
sAMAccountName / UPN rules | Custom transformation with uniqueness fallback | Manual, error-prone |
Audit trail | Per-action logging tied to the HR source | Limited |
Watch-outs when connecting Cornerstone OnDemand to Active Directory
A few details — one of them a genuine naming trap — decide whether this connection stays reliable at scale.
Cornerstone OU is not an Active Directory OU. Cornerstone calls its Division, Position, Location, Cost Center and Grade containers ‘Organizational Units (OUs)’ — the exact same term Active Directory uses for the containers that hold objects. They are unrelated. Joinly treats the Cornerstone OU as a source signal and maps it to a target AD OU through explicit rules, so the naming clash never causes a user to land in the wrong container.
Three identifiers that don’t auto-map. Cornerstone’s internal userId, the login username and the SSO subject are three separate identifiers, and none derives from the others. Joinly keys the AD object on the stable userId and maintains the mapping, so a renamed username never detaches the sAMAccountName from the right person.
Cornerstone may not be your source of truth. Cornerstone is talent/learning-first and its OU data is often fed from an upstream HRIS. Joinly lets you set which feed is authoritative per attribute, so weaker Cornerstone values don’t overwrite better data before the agent writes it to AD.
sAMAccountName uniqueness and length. AD limits the sAMAccountName to 20 characters and it must be unique across the domain. Joinly builds it from your rules with a fallback pattern, so duplicate names never produce a collision or a truncated, unreadable login.
Service-account permissions. The agent acts under a service account with delegated rights. Joinly works with least-privilege delegation scoped to the target AD OUs, so the agent can create, move and disable users without domain-admin rights.
Joinly handles each of these by default with custom mapping and transformation.
Always audit-ready
Every account action the Joinly AD Agent performs is logged in the Joinly cloud: who was affected, when it happened, which AD OU and groups changed and which Cornerstone change triggered it. For NIS2 that matters directly: access can be traced back to an authorised HR source rather than an ad-hoc request. Joinly is ISO 27001 certified, runs in an EU data centre in Amsterdam, applies least-privilege by default, and is built to meet NIS2 and ISO 27001.
Example case
Take a government agency with around 3,500 staff across regional offices, running Cornerstone OnDemand for mandatory training but still living in an on-premise Active Directory for its case-management systems. Every new officer starts as a Cornerstone export that IT processes by hand in AD — creating the object, choosing the AD OU, building the login, adding groups. The team has been bitten more than once by the OU naming trap, dropping a user into an AD container that merely shared a name with their Cornerstone Division.
Connect Cornerstone OnDemand to Active Directory with Joinly and that work disappears. The Joinly AD Agent creates each user in the right AD OU on the start date — mapped explicitly from the Cornerstone OU, never confused with it — builds a unique sAMAccountName, adds the correct security groups, moves people on a transfer and disables accounts on the end date with a 30-day grace window, all matched on the stable Cornerstone userId.
“We kept dropping people into the wrong AD container because a Cornerstone Division and an AD OU happened to share a name. Joinly maps one to the other explicitly, the account is ready in the right place on day one, and we can show the auditor exactly which Cornerstone change created every bit of access.” — Head of IT, government agency
The outcome this setup is designed for: onboarding drops from days to zero touch, the Cornerstone-OU-versus-AD-OU mix-ups stop entirely, and the team can walk into its next NIS2 assessment with a complete, source-backed audit trail.
More than a connector
A standalone Cornerstone to Active Directory connection is a good start, but identity rarely stops at one target. The same Joinly setup extends to Entra ID for a hybrid environment and to your other systems, managing the complete chain from joiner to leaver with logging and governance built in. You review the exceptions; Joinly maintains the chain.
Schedule a demo
Installation guide
Follow these steps to connect Cornerstone OnDemand to your on-premise Active Directory with Joinly. Most of the setup happens in the cloud platform; the only local component is the lightweight Joinly AD Agent, which you install on a domain-joined server.
1. Create your account
Go to platform.joinly.app and create your account.
Note: charges may apply for using the platform after the trial period ends.

Sign up at platform.joinly.app to get started.
2. Find the Cornerstone integration in the Joinly marketplace
Open the Joinly marketplace and search for the Cornerstone OnDemand integration.
Don’t see your system listed? Get in touch at support@koppelhet.nl and we’ll help you out.

Search the marketplace for the Cornerstone OnDemand integration.
3. Follow the installation wizard
You may be redirected to integrations.joinly.app. Create an account there and enter your Cornerstone connection details: your portal (corp) URL and the OAuth 2.0 Edge API credentials with the right scopes. Make sure the Cornerstone API and Reporting API are enabled under Admin > Tools > Edge > Integrations > Manage APIs. All data is encrypted and stored securely.

Enter your Cornerstone portal URL and OAuth Edge API credentials in the wizard.
4. Download the Joinly AD Agent
In the platform, go to Workflows → Select a workflow → Add action → Select ‘Provisioning via Agent’ and download the installer. The agent is a lightweight Windows service that connects your domain to the Joinly cloud over an outbound HTTPS connection only — there are no inbound ports to open.

Download the Joinly AD Agent installer from the provisioning settings.
5. Install the agent on a domain-joined server
Run the installer on a domain-joined Windows server that can reach a domain controller. The server needs outbound HTTPS (port 443) to the Joinly cloud and a GMSA account installation on your domain controller. Run through the installer; it registers the agent as a Windows service that starts automatically.
6. Pair the agent with your Joinly tenant
Copy the pairing token from Settings → Provisioning → AD Agent in the platform and paste it into the agent’s configuration screen. The agent uses the token to register securely with your tenant; once paired, its status shows as Connected in the platform.

Pair the agent with your tenant using the pairing token.
7. Set the target AD OU and attribute mapping
Configure where users are created and how their attributes are built. Map the distinguished name / target AD OU from the Cornerstone Organizational Units — remember these are two different kinds of OU — and build the sAMAccountName, userPrincipalName, mail, department and manager with Liquid templates.

Select the target AD OU and attribute mapping.
8. Configure your workflows
Create an onboarding (joiner) and offboarding (leaver) workflow with trigger-based execution, then an Identity updated workflow with a Create/update employee in Active Directory action so every change in Cornerstone flows through the agent to AD. Add a threshold workflow that disables the account a set period after the end date (for example 30 days), optionally moving it to a disabled-users OU.

Create a trigger-based onboarding workflow.

A date-threshold workflow disables accounts a set number of days after the end date.
9. Network and firewall requirements
The agent needs outbound HTTPS (443) to the Joinly cloud and a GMSA account with PowerShell access to your domain controllers. No inbound firewall rules are required, and no domain controller is exposed to the internet. For high availability you can run the agent on more than one server.
Need cloud Entra ID provisioning as well? See our guide on connecting Cornerstone OnDemand to Microsoft Entra ID, or contact support at support@koppelhet.nl.
Frequently asked questions
What’s the difference between a Cornerstone OU and an Active Directory OU?
They share a name and nothing else. Cornerstone calls its Division, Position, Location, Cost Center and Grade containers Organizational Units; Active Directory uses ‘OU’ for the containers that hold user objects. Joinly maps the Cornerstone OU (a source signal) to the target AD OU (where the object lives) through explicit rules, so the naming clash never lands a user in the wrong container.
Does the Joinly AD Agent need inbound firewall openings?
No. The agent only makes an outbound HTTPS connection to the Joinly cloud and acts on your domain controllers from inside the network through a GMSA with PowerShell access. There are no inbound ports to open and no domain controller is exposed to the internet.
What account does the agent run under?
A Group Managed Service Account (GMSA) with PowerShell access to your domain controllers, scoped to the target AD OUs so it can create, move and disable user objects without domain-admin rights.
How is the sAMAccountName built and kept unique?
From your Liquid template, with the generateUniqueUsername helper falling back to the next pattern on a collision, all within AD’s 20-character limit. Joinly keys the object on the stable Cornerstone userId so the login stays attached to the right person.
Can I provision to both Active Directory and Entra ID?
Yes. The same Joinly setup drives a hybrid environment — the AD Agent for on-premise AD and the native Entra connection for the cloud. See the Cornerstone OnDemand to Entra ID guide.


