Skip to main content
Joinly by KoppelHet

Entra ID and Active Directory

Entra ID and Active Directory: how identities, groups and access fit together

Microsoft Entra ID and Active Directory decide who can sign in at your organisation and what they can reach. This guide walks through the whole picture: from the user object and the sync between the two, through groups, roles and licences, to what has to happen when someone starts, changes jobs or leaves.

The key points

  • Active Directory controls access inside your own network, Entra ID controls access to Microsoft 365 and the cloud. In a hybrid environment AD is the source and a sync keeps the two aligned.
  • Almost everything Entra ID automates, from dynamic groups to licences, reads fields on the user object. If those are wrong, the access is wrong too.
  • Groups carry the permissions in one system. A role describes everything that belongs to a job, in every system at once.
  • Most mistakes happen at a change: a move, a departure, a new colleague starting on Monday. That is where the signal from HR should come from.

Two directories, one identity

Active Directory has been around since the start of this century and runs in your own network. It handles sign-in on Windows computers, permissions on file servers and printers, and the applications that still run on premises. Microsoft Entra ID, Azure AD until 2023, is the directory behind Microsoft 365: Outlook, Teams, SharePoint and the thousands of cloud applications that sign in with a Microsoft account.

The two speak different languages. AD works with Kerberos, LDAP, organisational units and Group Policy. Entra ID works with tokens, groups and Conditional Access, and has no OUs. Where the line between them runs and when you still need AD is covered in Active Directory or Entra ID.

Most organisations with a few hundred employees have both. Then AD is the source: an account is created in AD, and Microsoft Entra Connect Sync or Cloud Sync carries it to the cloud. That also decides where you make a change. Edit a synchronised account in the cloud and the next sync puts it back. Which of the two syncs suits you and how they differ is in Entra Connect or Cloud Sync.

Everything runs on the user object

Behind every account is a user object with dozens of fields: department, job title, manager, employee number, usage location, start date. Those fields are not just administration. A dynamic group picks its members on department, a licence needs a usageLocation, a workflow for new starters waits for employeeHireDate, and approvals go to the manager.

That is also the weak spot. When an account is created the fields are often filled in by hand, and after that kept up to date by nobody. Someone who moves to another department is still in the old one in Entra ID. A dynamic group that filters on that field then does exactly what it should, with the wrong result. Which fields matter, who reads them and what breaks when they are empty is in user attributes in Entra ID.

Groups carry the access, roles give it meaning

In Microsoft, access almost always runs through groups. A security group grants rights to an application, a SharePoint site or a licence; a Microsoft 365 group is also a shared mailbox, calendar and Team. The difference is in security groups or Microsoft 365 groups, and how you assign applications through groups in access to applications through groups.

A group fills up by hand or dynamically, on a rule about the fields of the user object. Dynamic groups save a lot of work, as long as the fields are right; how to build them on HR data is in dynamic groups on HR attributes. Groups that take their members from other groups with memberOf have not been updated since 3 November 2026; how to find and replace them is in memberOf in dynamic groups. In Active Directory it works differently, with groups per scope and the AGDLP model.

After a few years every tenant has hundreds of groups, and nobody knows why someone is in one. A group carries a permission in one system. A role describes everything that belongs to a job: the groups, the licence, the applications, the shared mailbox, in Entra ID and in AD. How to set up groups so that they fit a role is in Entra ID groups for role-based access.

Het beheer van Entra-groepen, Teams en kanalen in Joinly

Licences: who gets what, and until when

You assign a Microsoft 365 licence directly to a user, or through a group. With a direct assignment someone has to remember who has which licence. With group-based licensing membership takes care of it, but with rules of its own: you need Entra ID P1, nested groups do not count, and a licence that does not fit stays on the user as an error. Both routes are in assigning licences and group-based licensing.

Most money leaks away at departures and moves. A disabled account with a licence costs as much as an active one. At the same time, simply removing the licence is risky, because the mailbox and OneDrive depend on it. Convert to a shared mailbox first, then free the licence: that order is in licences when people leave. How to find the licences nobody uses is in reducing licence costs.

Provisioning: how an account comes to be

Provisioning is creating, updating and disabling accounts automatically. Microsoft has three routes for it. Sync carries accounts from AD to the cloud. Inbound provisioning brings employees from an HR system into Entra ID or AD. Outbound provisioning passes them from Entra ID on to applications, usually over SCIM. How these routes connect is on one map in provisioning in Entra ID.

For HR systems without a Microsoft connector of their own there is API-driven inbound provisioning: you send the employees to Entra ID as a SCIM request, and Microsoft creates the accounts in Entra ID or, through the provisioning agent, in AD. Microsoft supplies the endpoint. Reading from HR, converting, scheduling and catching a bad export are yours to build; what that involves is in API-driven inbound provisioning. If you still create AD accounts with a PowerShell script, from HR to Active Directory has the script, why it breaks after a few years, and the alternatives.

From the first working day to the last

On the first day someone has to be able to sign in and register MFA themselves. A temporary password on a note is the weakest link there. A Temporary Access Pass is a time-limited code that lets someone sign in and set up Authenticator or a passkey straight away; how to set it up is in Temporary Access Pass. With Entra ID Governance you can bundle such steps in Lifecycle Workflows, which run on the start date, a changed field or the last working day; what they need and where they stop is in Lifecycle Workflows.

Between start and departure a lot changes. Someone moves to another team and needs another shared mailbox, and the old one often just stays. The three permissions on a shared mailbox and who can reach it now are in shared mailbox permissions.

When someone leaves, disabling the account is not enough. Someone who is already signed in can carry on for a while with the tokens they hold; that is why you also revoke the sessions, and go through forwarding rules, MFA methods, devices and ownership. The checklist in order is in offboarding in Entra ID.

Where Joinly fits in

You can set up everything above with Microsoft's own tools. What makes it hard is that it always starts with the same thing: someone has to know that something has changed, update the right fields, groups and licences in time, and later still be able to show who had access and why.

Joinly uses your HR system as the source and keeps accounts, groups and licences up to date from it in Microsoft Entra ID and in your own Active Directory, cloud-only or hybrid. Entra ID stays your identity provider; Joinly is the management layer on top. For Entra ID, Joinly turns the changes from HR into a SCIM request to Microsoft's own inbound provisioning. For on-premises AD, the Joinly Agent runs in your own network, with outbound traffic only.

  • Roles on job title, department or location decide which groups, licences, applications and shared mailboxes someone gets. When the job changes in HR, the access moves with it.
  • When someone leaves, the account is disabled on the leave date, sessions are revoked and licences are freed, in the cloud and in AD.
  • Workflows set out the right steps at every change: a Temporary Access Pass on the first day, an MFA reset, a ticket for the service desk.
  • External staff, contractors and guests get an owner, a reason and an end date, even when they are not in your HR system.
  • Access requests go to the manager for approval, and segregation of duties warns about a combination that is not allowed.
  • You see in advance what changes: a trial import with an Excel export, and a threshold that stops an import that suddenly changes far more than you expect.
  • Every change is in the audit log, with the HR change or the role that caused it.

More on how that works in Entra ID is on Microsoft Entra ID with Joinly; for on-premises AD on on-premises Active Directory. The connection for each HR system is on integrations.

Het lifecycle-overzicht in Joinly: accounts die elke HR-mutatie automatisch volgen

What you can count on

  • No vendor lock-inYour identities and your configuration stay yours.
  • Your data out whenever you wantYou can export your data at any time.
  • Standard SLAOur standard SLA is available on request.
  • Support during implementationOur specialists set it up together with you.
  • ISO 27001 certifiedInformation security to an internationally recognised standard.

Entra ID and Active Directory

Frequently asked questions about Entra ID and Active Directory

  • Does it work in a hybrid environment?

    Yes. One HR source can feed your Microsoft Entra ID and your on-premises Active Directory at the same time, with both integrations running side by side.

  • Do I need to open ports for the Joinly Agent?

    No. Every connection is opened from your own network. No inbound firewall rule, no VPN and no publicly reachable endpoint are needed.

  • How does Joinly get into Microsoft Entra ID?

    Joinly delivers the changes as a SCIM 2.0 request to Entra ID's inbound provisioning. That is the route Microsoft itself offers for provisioning from an HR source.

  • What goes into a role?

    Entra groups (security and Microsoft 365), Enterprise Applications with their app roles, Microsoft licences and applications such as Bitwarden or HubSpot. Whoever gets the role gets all of it at once, and loses it again when it is revoked, unless another source still covers the access.

Try Joinly on top of your own Microsoft environment

Roles, workflows, external staff and an audit log for Entra ID and Active Directory. Start with demo data in the free trial environment.

No credit card, nothing to install.

Rather talk to someone first? Talk to an IAM specialist