Connect Securex to Active Directory (on-premise)

Connect Securex to Active Directory (on-premise)

Connect Securex to Active Directory (on-premise)

When someone joins, moves or leaves in Securex, you want that change reflected in your on-premise Active Directory without anyone touching it by hand. To connect Securex to Active Directory, Joinly reads each HR change from the Securex HR platform (Exact Officient) through the Officient REST API and applies it to your domain through the Joinly AD Agent — a lightweight connector that runs inside your network. Securex stays your source of truth; Joinly is the engine that keeps every account in the right OU, accurate and traceable.

Key takeaways

  • Your Securex HR platform (Exact Officient) stays the source of truth; 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.

  • Joinly maps Officient teams and functions to the right AD security groups and target OUs, and builds the sAMAccountName, UPN and distinguished name from your own rules.

  • Bilingual NL/FR records are handled with diacritic-safe rules, so a French or Dutch name still produces a valid, unique sAMAccountName within AD’s 20-character limit.

  • 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.

Securex

Joiner

Mover

Leaver

On-premise Active Directory (AD DS)

Quick facts

Source system

Securex HR platform (Exact Officient)

Target system

On-premise Active Directory (AD DS)

Connection method

Officient REST API → 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 and contract changes)

Synced attributes

Name, sAMAccountName, UPN, mail, function, team, department, manager, distinguished name / 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 Securex to Active Directory?

Joinly reads each HR change from your Securex HR platform (Exact Officient) in the cloud through the Officient REST API, then hands the action to the Joinly AD Agent inside your network, which makes the change in Active Directory. Officient holds the authoritative people, team and contract record; the agent is the only component that touches your domain.

  1. Joiner. HR completes the hire in the Securex/Officient platform. Joinly reads the new person, team and function, determines the role, and instructs the AD Agent to create the user in the correct OU, build the sAMAccountName and UPN from your rules, and add the right security groups — timed to the contract start date.

  2. Mover. When someone changes function, team or department in Officient, Joinly tells the agent to move the user to the matching 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.

  3. Leaver. On the contract end date, Joinly instructs the agent to disable the AD account and optionally move it to a disabled-users OU. A grace window keeps the account recoverable for a set period before it is retired.

Example: A Belgian hospitality group runs its HR in the Securex/Officient platform and an on-premise AD across several hotels. It hires a front-office employee for its Brussels site with a start date next Monday. Joinly reads the new person and contract, and on Monday morning the AD Agent creates the user in the Brussels > FrontOffice OU, sets a unique sAMAccountName from the French record with a diacritic-safe rule, and adds the FrontOffice group. When the employee later moves to the reservations team, the agent moves the object to the new OU and swaps the groups the same day.

What manual AD account management costs

Without automation, every account starts as an email from HR that an admin works through in Active Directory Users and Computers by hand — creating the object, choosing the OU, building the sAMAccountName, adding groups. Securex’s HR platform holds the people and contract data, but there is no first-party connector that writes it to your on-premise AD, so the decisions still fall to people.

  • Onboarding delays. New joiners wait for an AD account and group access while a request sits in a queue, losing productive days in their first week.

  • Permissions that don’t keep up (privilege creep). When movers change function or team, 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 an expired fixed-term contract can leave an active account behind for weeks if nobody acts on it.

Joinly vs. the Entra provisioning agent for AD

Securex has no native path to on-premise AD, so the realistic alternatives are Microsoft’s Entra provisioning agent fed from a cloud source, or scripting the Officient API to AD yourself. Here’s how the Joinly AD Agent compares for a Securex/Officient-driven AD setup.


Joinly AD Agent

Entra provisioning agent / custom script

Source

Reads the Officient REST API directly

Reads a cloud directory, or your own code reads Officient

OU placement

Rule-based on teams and functions

Single configured container; limited logic

Role-to-group mapping

Built in, rule-based

Not available out of the box; manual

Bilingual NL/FR data

Diacritic-safe sAMAccountName and UPN rules

Custom string handling; easy to get wrong

sAMAccountName / UPN rules

Custom transformation with uniqueness fallback

Limited expression mapping or hand-coded

Audit trail

Per-action logging tied to the HR source

Limited

Watch-outs when connecting Securex to Active Directory

A few details decide whether this connection stays reliable at scale.

  • sAMAccountName uniqueness and length. AD limits the sAMAccountName to 20 characters and it must be unique across the domain. French and Dutch names with accents make this harder. Joinly builds it from your rules with a diacritic-safe transform and a fallback pattern, so duplicate or accented names never produce a collision or a truncated, unreadable login.

  • OU placement from teams and functions. Officient models a person through their team and function rather than a deep legal-entity hierarchy, so these don’t map one-to-one to your OU structure. Joinly builds explicit rules that place each user — and move them on a transfer — into the correct OU.

  • Read HR, not the payroll batch. Securex runs a live HR platform (Officient) alongside the payroll files that go to your sociaal-secretariaat klantenadviseur. Joinly reads the Officient REST API, so AD is driven by up-to-date HR data rather than a periodic payroll export.

  • Employee number availability. The linked payroll employee number is only exposed on certain Securex/Officient integrations. Joinly derives a stable identifier from the fields your tenant actually returns, so matching to the right AD object never depends on a value that may be missing.

  • Service-account permissions. The agent acts under a service account with delegated rights. Joinly works with least-privilege delegation scoped to the target 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 OU and groups changed and which Securex 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 Belgian hospitality group with around 900 employees across several hotels and restaurants, running its HR in the Securex/Officient platform but still living in an on-premise Active Directory for its front-office and property-management systems. Every new receptionist, kitchen or housekeeping hire starts as an email from HR that IT processes by hand in AD — creating the object, choosing the site OU, building the login, adding groups. With seasonal contracts and staff moving between properties, the queue never empties, and new joiners wait until day two or three for their account.

Connect Securex to Active Directory with Joinly and that work disappears. The Joinly AD Agent creates each user in the right site OU on the contract start date, builds a unique sAMAccountName from the French or Dutch record, adds the correct security groups, moves people on a transfer between properties and disables accounts on the contract end date with a 30-day grace window — all driven by the HR change in the Officient platform.

“Seasonal turnover used to bury us in AD tickets. Now an account is simply ready in the right site’s OU when the person starts, a move between hotels updates access by itself, and we can show the auditor exactly which Securex change created every bit of access.” — Head of IT, hospitality group

The outcome this setup is designed for: onboarding drops from days to zero touch, seasonal leavers stop lingering in AD, and the team can walk into its next NIS2 assessment with a complete, source-backed audit trail.

More than a connector

A standalone Securex 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 manual

Installation manual

Connect Securex to Active Directory (on-premise)

Connect Securex to Active Directory (on-premise)

Installation guide

Follow these steps to connect Securex 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.


Joinly account creation screen at platform.joinly.app


Sign up at platform.joinly.app to get started.

2. Find the Securex integration in the Joinly marketplace

Open the Joinly marketplace and search for the Securex (Officient) integration.

Don’t see your system listed? Get in touch at support@koppelhet.nl and we’ll help you out.


Joinly marketplace showing available HR integrations


Search the marketplace for the Securex integration.

3. Follow the installation wizard

You may be redirected to integrations.joinly.app. Create an account there and enter your Securex/Officient connection details: authorise Joinly through the OAuth2 flow, or paste an access token generated in the Exact Officient developer menu. All data is encrypted and stored securely.


Joinly installation wizard for entering Securex Officient connection details


Authorise Joinly against the Officient API or paste your access token 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.


Joinly platform screen to download the AD Agent installer


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.


Joinly AD Agent pairing screen with a connection token


Pair the agent with your tenant using the pairing token.

7. Set the target OU and attribute mapping

Configure where users are created and how their attributes are built. Map the distinguished name / OU from Officient teams and functions, and build the sAMAccountName, userPrincipalName, mail, department and manager with Liquid templates, using a diacritic-safe transform for French and Dutch records.


Joinly field mapping screen for Securex Officient to Active Directory attributes


Select the 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 the Officient platform flows through the agent to AD. Add a threshold workflow that disables the account a set period after the contract end date (for example 30 days), optionally moving it to a disabled-users OU.


Joinly workflow editor creating an employee onboarding workflow


Create a trigger-based onboarding workflow.


Creating a threshold workflow that runs days after the contract end date


A date-threshold workflow disables accounts a set number of days after the contract ends.

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 Securex to Microsoft Entra ID, or contact support at support@koppelhet.nl.

Frequently asked questions

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 OUs so it can create, move and disable user objects without domain-admin rights.

Which OU do new accounts land in?
The one your rules define. Joinly builds the distinguished name and OU placement from Officient teams and functions, and moves the object to a new OU automatically when someone transfers.

How is the sAMAccountName built and kept unique?
From your Liquid template, with a diacritic-safe transform for French and Dutch names and the generateUniqueUsername helper falling back to the next pattern on a collision, all within AD’s 20-character limit.

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 Securex to Entra ID guide.

Can I run more than one agent for high availability?
Yes. You can install the agent on multiple domain-joined servers so provisioning continues if one server is unavailable.

Request installation support