Lucca logoActive Directory logo

Identity and access management

Lucca to Active Directory integration: accounts in your own domain based on Lucca

With an integration between Lucca and Active Directory, a new employee from Lucca gets an account in your own domain, in the folder of their business establishment and with job title, department and manager. As soon as the employment in Lucca ends, the account is disabled and expires on the end date.

What the integration does

Organisations with Lucca as their HR system and their own Active Directory, often with Entra Connect to Microsoft 365, have the service desk create accounts based on a form or email. A branch in France and one in the Netherlands then each develop their own habits, and leavers remain until someone notices them.

  1. In Lucca the administrator creates an OAuth client for KoppelHet; the domain gets a KoppelHet agent with rights on only the integration's folders.
  2. Lucca reports new employees and changes to the KoppelHet platform; the agent collects the tasks there through an outbound connection.
  3. An employee with status upcoming gets a disabled account in their establishment's folder, which is enabled on the start date.
  4. The email address from the domain goes back to Lucca.
  5. At the end of the employment the agent disables the account and moves it to a folder for leavers.
Lucca → KoppelHet → Active DirectorySOURCELuccaTARGETActive DirectoryKoppelHetmapping · logging · monitoringLucca → KoppelHet → Active DirectorySOURCELuccaTARGETActive DirectoryKoppelHetmapping · logging · monitoring
Out: User account in Active Directory · Organisational unit (OU) per business establishment · Job title, department, company and manager · Expiry date and disabling · Work address back to Lucca

What to watch for with Lucca and Active Directory

  • Lucca cannot connect to a server in your network. Notifications from Lucca therefore arrive on the KoppelHet platform, and the agent in the domain collects them there. No inbound port has to be opened.
  • A username in Active Directory may have at most 20 characters and no characters such as / or [. Lucca is widely used for French colleagues with names such as Benoît or Anaïs. KoppelHet converts accents for the username and keeps the display name as Lucca has it.
  • Lucca gives each employee the status upcoming, active or deactivated, calculated from their employments. KoppelHet creates the account disabled at upcoming, enables it at active and disables it at deactivated, so IT never has to compare dates itself.
  • An employment in Lucca has an end date, and one employee's employments never overlap. KoppelHet sets that end date as the account's expiry date. Active Directory then refuses sign-in itself after that day, even if the agent cannot be reached at that moment.
  • In Lucca the establishment is attached to the job position, not to the employee. A transfer to another establishment is a new position with its own start date. KoppelHet moves the account to the new establishment's folder on that date, so group policy per location changes on time.
  • Lucca keeps notifications for two months, even if they were not delivered. After an outage of the agent or the network, KoppelHet still collects missed notifications, and the nightly comparison catches the rest.
  • Lucca has a unique field per employee for a number in another system. KoppelHet puts the objectGUID or account number from Active Directory there, so HR can see in Lucca which account an employee is linked to.

This integration is also part of joiner, mover, leaver.

How we build and run it

  • The integration runs on the KoppelHet platform, hosted in a data centre in the EU.
  • Every sync and every error is visible in the functional log; on an error your administrator is notified.
  • A change that cannot go through is not half-applied but queued for another attempt.
  • KoppelHet is ISO 27001 certified. Data travels encrypted and stays on the platform no longer than needed.
  • After go-live we manage the integration and adjust it when your process changes.
  • The integration fits next to your existing integration layer. Only the fields in the design are transferred; the platform keeps no register of its own.

Implementation, architecture and compliance

Implementation and price

This is not an app you switch on. We build the integration for your organisation on our platform, with building blocks we reuse on every project. So it is custom work that does not start from scratch.

A consultant prepares the intake and analyses both systems. We then record the mapping and exceptions field by field, test in the test or acceptance environment and go live at a moment you choose. Costs are a one-off amount for the setup and a monthly amount for platform, monitoring and support.

Price indication · Basic

Leave your work email and you see the price indication right away.

We only use your address to follow up on your question about this integration.

Frequently asked questions

Does a port have to be opened in our firewall?

No. The agent only makes an outbound connection to the KoppelHet platform.

Does this also work if we only have Entra ID?

Yes, then KoppelHet writes directly to Entra ID without an agent.

What rights does the agent have in our domain?

Only on the integration's folders: creating, changing and disabling accounts. No domain administrator.

Technical details for IT

For those who want to know how it works under the hood: APIs, fields and sources used.

  • Lucca API (v5, header Api-Version 2024-11-01) with OAuth 2.0: employees (status, email, remoteId unique up to 100 characters), employments (start.date, end.date, legalEntity), job-positions (jobTitle, department, businessEstablishment, manager). Webhooks employee.* and employment.*; events kept for two months. Limit 50 requests per minute per tenant.
  • A KoppelHet agent in the domain collects tasks through an outbound connection and only has rights on the integration's OUs. AD attributes employeeID, sAMAccountName (at most 20 characters), userPrincipalName, mail, title, department, physicalDeliveryOfficeName, company, manager, accountExpires and userAccountControl. Entra Connect then takes the account along to Entra ID.

Which fields are transferred

The key fields. The full mapping is agreed per customer.

Field in LuccaField in Active DirectoryNotes
employee.idemployeeID
givenNamegivenName
familyNamesn
Naamgevingsregel zonder accentensAMAccountNameAt most 20 characters
NaamgevingsregeluserPrincipalName en mail
applicableJobPosition.jobTitletitle
applicableJobPosition.departmentdepartment
applicableJobPosition.businessEstablishmentphysicalDeliveryOfficeName en OU
applicableJobPosition.managermanager
employment.legalEntitycompany
employment.end.dateaccountExpires en userAccountControl

Related

Which systems do you want to connect?

Tell us which systems you use and what should happen automatically. Together we define the smallest working solution, with a clear design and a quote before building.