Identity and access management

Loket to Entra ID integration: Microsoft accounts from payroll

With an integration between Loket and Microsoft Entra ID, a new employee in Loket gets a Microsoft account with the right name, department, employer and photo, and sign-in is blocked after the end of employment. IT no longer waits for a message from payroll.

Intake and design are free. The quote follows once the design is right.

  • ISO 27001 certified
  • Data in Amsterdam
  • Support after go-live included
Loket logoSourceLoketPayroll records a new employee, department change or end of employment in Loket
KoppelHetYour rules, set per field
Microsoft Entra ID logoTargetMicrosoft Entra ID
  • Microsoft account with employee number
  • Name according to name usage
  • Department and employer
  • Photo from Loket

How it works

Design, platform and support in one place

For Loket and Microsoft Entra ID: a tailored integration, on our own platform, that we keep managing after go-live.

Design

Set per field before we build

Which data goes where, when, and what happens with exceptions. You approve the design; the quote follows from it.

More on how we work
Loket logoMicrosoft Entra ID logo
Detailed designWhat is transferred
  • employeeNumber (per werkgever)→ employeeId
  • firstName→ givenName
  • prefix, lastName, prefixPartner en lastNamePartner→ surname en displayName
  • Naamgevingsregel met domein per werkgever→ userPrincipalName en mail

Platform

Every run visible, every error reported

Per integration and per employee you see what was processed. If something goes wrong, you get an alert with the reason.

More about the platform
HistoryLoket → Microsoft Entra ID
Example
  • 09:003 changesOK
  • 08:00No changesOK
  • 05:00Alert with explanationResolved

Support

We keep it running

We handle vendor API changes. The people who built the integration also answer your questions.

Trust Center
ISO 27001
Support after go-liveOne team to turn to
  • 24/7 monitoring
  • API changes handled
  • Hosting in Amsterdam

The project

From first conversation to ongoing support

An integration starts from your HR process, not the API. We only build after you approve the design, and you choose the go-live moment.

The project in ten steps

  1. Step 1IntakeQuestions a consultant has prepared for your systems.
  2. Step 2Detailed designField by field what happens, with exceptions and test scenarios.
  3. Step 3Approval and quoteYou approve the design; the quote follows from it.
  4. Step 4Build and testOn our platform, then your acceptance test.
  5. Step 5Go-live and supportAt a moment you choose. After that we monitor it.

Organisations that rely on their integrations

What the integration does

Employers that have a payroll bureau process salaries in Loket and work in Microsoft 365 often pass new colleagues to IT by email, sometimes only after the first working day. Leavers keep their account until someone goes through the list.

  1. A user with the right permissions in Loket grants the integration access once; that access is renewed afterwards.
  2. KoppelHet fetches the changes per employer since the previous round.
  3. For a new employee KoppelHet creates the Microsoft account, with the employer's domain, the name as the employee uses it and the department from Loket.
  4. If there is a photo in Loket, it goes onto the account, so colleagues see it in Teams and Outlook.
  5. After the end of employment KoppelHet blocks sign-in and removes the employee from the groups.
Loket → KoppelHet → Microsoft Entra IDSOURCELoketTARGETMicrosoft Entra IDKoppelHetmapping · logging · monitoringLoket → KoppelHet → Microsoft Entra IDSOURCELoketTARGETMicrosoft Entra IDKoppelHetmapping · logging · monitoring
Out: Microsoft account with employee number · Name according to name usage · Department and employer · Photo from Loket · Blocking after end of employment

What to watch for with Loket and Microsoft Entra ID

  • Loket has no notifications to other systems; event messages only go to people by email. KoppelHet therefore requests the changes Loket has recorded per employer since the previous round.
  • Loket keeps name prefix, surname and partner's name separately, and also provides a formal form such as "Wiel - van Bergen S.L. van de". That suits a payslip, not Teams. KoppelHet composes the display name as the employee calls themselves, for example "Susan van de Wiel - van Bergen".
  • Loket has a photo per employee, intended as a profile picture. KoppelHet puts it on the Microsoft account, so the photo from the personnel records also appears in Teams and Outlook.
  • Access to Loket runs through a one-off consent from a Loket user, which is then renewed. We have that consent given by a separate user with read-only rights, so the integration does not stop when a payroll staff member leaves.
  • Employee numbers in Loket are per employer. With several employers in one environment KoppelHet puts an employer code in front of the number in Entra ID, so employee 156 of one employer does not merge with 156 of another.
  • A new employee can first exist as a concept in Loket. KoppelHet only creates the account once payroll has converted the concept, or already at the concept stage if you agree, so a withdrawn hire does not produce an account.

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 we will email you the price indication for this integration.

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

Frequently asked questions

A payroll bureau manages our Loket. Is that possible?

Yes. The bureau or your own administrator grants the integration read access to your employers; the bureau's other clients stay out of view.

Does the integration see salaries in Loket?

It only reads personal and employment data and the photo. Pay, BSN and bank details do not go to Entra ID.

Does this also work with Active Directory in our own network?

Yes, we build that integration too.

What about the GDPR?

You are the controller and KoppelHet is the processor, under a data processing agreement. Every action of the integration is in the audit logging.

Technical details for IT

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

  • Loket is read through the Loket REST API with OAuth (authorization code flow with refresh token), per employer through the mutations on the employee and employment tables. Fields include employeeNumber, firstName, prefix, lastName, prefixPartner, lastNamePartner, formattedName, photo, organisational entity and start and end date of employment. Event notifications in Loket are email recipients only.
  • Entra ID is written through Microsoft Graph (user with employeeId, givenName, surname, displayName, userPrincipalName, jobTitle, department, companyName, employeeHireDate and accountEnabled; profile photo through PUT photo/$value, at most 4 MB, with ProfilePhoto.ReadWrite.All).

Which fields are transferred

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

Field in LoketField in Microsoft Entra IDNotes
employeeNumber (per werkgever)employeeIdWith employer code; at most 16 characters
firstNamegivenName
prefix, lastName, prefixPartner en lastNamePartnersurname en displayNameAccording to name usage, not the formal form
Naamgevingsregel met domein per werkgeveruserPrincipalName en mail
FunctiejobTitle
Organisatorische eenheiddepartment
WerkgevercompanyName
photoProfielfotoAt most 4 MB
Begindatum dienstverbandemployeeHireDate
Einddatum dienstverbandaccountEnabled = false

Related

Want to talk your integration through?

Tell us which systems you use. In a 30-minute call you hear what is possible, what you arrange yourself and how we start. We begin with the smallest integration that works.

Integrations built for Hogan Lovells, Tentoo and Evondos Group, among others.

You talk to Marcel, Mike, Dylan or Melvin, not a call centre.