Connecting openDesk to Microsoft Entra ID users
An organization on Microsoft Entra ID that wants openDesk accounts and sign-in without rebuilding its directory should plan for two separate paths: provisioning through the one-way Nubus Directory Importer, fed by LDAP, and sign-in through OIDC federation from Entra ID. The recommended way to provision openDesk users from a directory is that importer, but Entra ID does not expose LDAP, so the tenant cannot feed the importer directly. Azure AD Domain Services is the route that presents an LDAP interface for the tenant, and it is the piece your identity team has to build and maintain before any import can run.
The two paths divide the work cleanly. The Directory Importer copies users and groups into openDesk's Nubus IAM so that accounts, group memberships and attributes exist before anyone signs in. OIDC federation handles authentication: users sign in with their Entra ID credentials at the upstream provider, and the openDesk IdP, which is Keycloak-based, matches them to the imported account by username or another attribute such as mailPrimaryAddress. Because matching depends on the username rules, decide early which Entra ID attribute becomes the openDesk username and confirm it against the federation documentation before you import anything.
Confirm with your identity team whether the Azure AD Domain Services license, network connectivity and secure LDAP certificate requirements are already in place, since each one affects the timeline. Also confirm the exact attribute mapping with ZenDiS guidance for your openDesk release, and test a small pilot group end to end (import, first login and group visibility) before you extend the scope to the whole tenant.
What you need before connecting Entra ID
Connecting Entra ID to openDesk depends on three sides lining up: the Kubernetes platform that runs openDesk, the Entra ID tenant and its Azure AD Domain Services instance, and the network path between them. Check each card before you start the directory import or federation work, because a gap on any side tends to surface late.
Kubernetes cluster baseline
openDesk requires a CNCF-certified Kubernetes cluster at v1.33 or later, along with an ingress controller (haproxy-ingress or the deprecated Ingress nginx), cert-manager and an RWO volume provisioner. The project tests on kubespray clusters and not on OpenShift, so confirm your distribution against the requirements before you commit to it. Also confirm that the cluster can reach the LDAP endpoint you plan to use.
openDesk requirementsDeployment tooling versions
The deployment runs on Helm and Helmfile, so the operator workstation or CI runner needs Helm 3.17.3 or later below v4 and Helmfile 1.0.0 or later. Pin these versions in your build image so that a later tool release does not change how the charts render during an upgrade. Record the openDesk release you deploy, which was v1.19.1 at research time, and check the release notes before moving to a newer minor version.
openDesk releasesExternal production services
For production, openDesk expects you to provide PostgreSQL 15, MariaDB 10, Redis 7, Memcached, Cassandra, an SMTP relay, ClamAV over ICAP, object storage and a TURN server. Decide early whether these run inside the cluster or on managed or existing infrastructure, because backup, sizing and patching responsibilities follow that choice. Entra ID integration adds no new service, but the IAM depends on these stores being available.
Production service listEntra ID tenant and admin rights
The Entra ID side needs an account with enough rights to create an Azure AD Domain Services instance, configure its domain and manage the groups that openDesk will read. Confirm with your Microsoft administrator which tenant, licensing and domain settings apply, because Domain Services has its own requirements. Entra ID does not expose LDAP to openDesk directly, so this instance is the component that makes the directory reachable.
DNS and LDAPS certificate
Domain Services is reached through a managed domain name, and secure LDAP needs a certificate that matches the name openDesk uses to connect. Confirm with Microsoft's current documentation which DNS zone, certificate type and chain Domain Services requires. Plan the certificate renewal date from the start, because an expired certificate breaks the directory import and any login that depends on it.
Network path and enterprise decision
Open a path from the openDesk namespace to the Domain Services LDAPS endpoint, and test it from inside the cluster, not from a laptop, because cluster egress policies and network policies can differ. For production, decide whether to run openDesk Enterprise Edition, which ZenDiS recommends and which adds SLA-backed 2nd and 3rd level support. The Community Edition is supported only by the community, so weigh that against the outage risk of a directory integration.
Enterprise Edition docsWhy an Entra ID tenant cannot feed the directory importer directly
The Nubus Directory Importer reads users and groups from an LDAP directory or Active Directory, and Microsoft Entra ID does not expose LDAP. That means there is no direct import path from an Entra ID tenant into openDesk's Nubus IAM, and no setting in the importer changes this. Entra ID is an identity service that speaks HTTP-based protocols such as OIDC and SAML, while the importer expects a directory it can query over LDAP. Planning must start from this constraint, because a design that assumes the importer can point at the tenant will fail at the first sync.
The practical consequence is that users, groups and password material must first reach an LDAP directory that the importer can read. The usual route is Azure AD Domain Services, which provides a managed domain with an LDAP endpoint synchronized from the tenant. Before you design around it, confirm with Microsoft which attributes are synchronized, how group membership is represented, and how password hashes are made available for LDAP binds, since these determine whether users can sign in with the credentials you expect. Also confirm the current supported configuration for your tenant type and region, because these details change over time.
Treat the managed domain as an additional system in your architecture. It adds a sync path, its own administration, network connectivity from the openDesk cluster to the LDAP endpoint, and a dependency for every import run. Decide early who owns that domain, how deactivated Entra ID accounts are reflected in it, and how often the importer reads from it. The username rules that federated logins depend on should also be checked against the attributes the managed domain exposes, because a mismatch there surfaces later as failed logins rather than as a clear import error.
How directory sync and single sign-on fit together
Directory sync and sign-in run on separate paths. Entra ID feeds Azure AD Domain Services over LDAP, and the one-way Nubus Directory Importer copies users and groups from that LDAP view into openDesk's Nubus IAM. Sign-in is separate: Entra ID acts as the OIDC identity provider, brokered through the Keycloak-based openDesk IdP. Check that usernames match on both paths, because federated logins depend on it.
Directory sync and OIDC sign-in are separate paths into openDesk.
Configuration sequence for Entra ID with openDesk
This sequence connects an Entra ID tenant to openDesk in two parts: Azure AD Domain Services supplies the LDAP source for the one-way Nubus Directory Importer, and OIDC federation handles sign-in. The result is openDesk accounts and groups that follow the directory, with single sign-on in front of them.
Enable Azure AD Domain Services for the tenant
A tenant administrator enables Azure AD Domain Services for the Entra ID tenant that holds your users, choosing the domain name and the virtual network it will run in. Entra ID does not expose LDAP, so this managed service becomes the LDAP endpoint the importer reads. Confirm that the service reports a healthy state and that you can bind to its LDAP endpoint from a host on the network path the importer will use. Confirm setup steps and network requirements in current Microsoft documentation, since they change over time.
Create a scoped service account for the importer
Create a dedicated service account in the managed domain with read-only rights to the users and groups openDesk should receive. Add it to a Domain Services administrative group only if your Microsoft configuration requires that. Limit the synced scope to users and groups that need openDesk access, so disabled, guest and out-of-scope accounts never reach the importer. Check the result by binding with the service account and running a directory search that returns the expected test users and no others. Keep the account password in your secrets store.
Configure the Nubus Directory Importer
The platform or identity team points the Nubus Directory Importer at the Domain Services LDAP endpoint, using the bind account and the search bases that match the scoped groups. Confirm the exact configuration keys in the openDesk deployment and federation documentation for the release you run. Store credentials in Kubernetes secrets and keep them out of plain values files. Verify that the configuration renders and that the importer pod starts without authentication errors in its logs. The import is one-way, so decide now which system is the source of truth for user records.
Run the first import and review results
Trigger the first import and watch the importer job until it finishes. In the Nubus IAM, check that the expected users and groups appear with the attributes you rely on, and that out-of-scope accounts are absent. Compare counts against the scoped list exported from your directory, and record any users the importer skipped so you can explain them before go-live. Because the import is one-way, edits you make in openDesk to imported accounts do not flow back to Entra ID. The check is a reconciled list with every difference explained.
Verify usernames against federated login rules
Check that each imported username matches the attribute openDesk uses to match federated logins, which is either the username or another attribute such as mailPrimaryAddress. Choose that matching attribute during planning. Then compare a sample of Entra ID user principal names and mail addresses with the openDesk usernames, and flag any mismatch, duplicate, or account whose sign-in name differs from the chosen attribute. Resolve these before federation is enabled, because a login that cannot be matched to an account will fail. The check passes when every sampled user matches exactly once.
Register the OIDC client and configure federation
In Entra ID, register an application for openDesk, set the redirect URI provided by the openDesk IdP, create a client secret, and note the issuer and client identifiers. In the openDesk IdP, configure the external OIDC identity provider with those values and with the username matching attribute chosen earlier. Confirm the redirect URI, claims and client settings against the federation documentation for your release. The check is that the IdP shows the Entra ID provider as active and that the discovery document loads from the issuer URL.
Test sign-in and group membership
Sign in through openDesk with at least one administrator test account and one standard user from the scoped group. Confirm that each login completes through Entra ID, lands on the correct openDesk account, and receives the application access and roles assigned to the matching group. Then add a test user to a group in Entra ID, run the next import, and confirm the change appears in openDesk. Record the result for each account type, so the group-driven access model is verified before users depend on it.
Confirm deactivation flows through
Disable a test account in Entra ID, then run an import and check how openDesk reflects the change. Confirm in your environment whether a disabled account is deactivated in the IAM or only stops being imported, and confirm that the account can no longer sign in through federation. The offboarding documentation describes what happens across openDesk when an account is removed. Document who runs this check after each import, and what the owner does with accounts that remain active in openDesk after their directory entry is gone.
Entra ID attributes mapped to openDesk accounts
This table traces each Entra ID identifier from the tenant through Azure AD Domain Services and the Nubus directory to the OIDC claim used for matching. Read each row as a starting point: the attribute names and claim configuration must be checked in your own tenant and openDesk instance before you rely on them for login or import.
| Entra ID source | Domain Services LDAP attribute | Nubus user or group field | OIDC claim for matching |
|---|---|---|---|
| userPrincipalName | Standard user attribute, populated only if the managed domain syncs it (confirm) | Candidate username source for the Directory Importer (confirm the username rules) | preferred_username (confirm the claim is released by your app registration) |
| Standard attribute, expected to hold the primary SMTP address (confirm in your managed domain) | Candidate for the mailPrimaryAddress attribute, which is an alternative matching key | email (confirm it is sent and that it matches the stored address) | |
| displayName | Standard attribute, used for the full name shown to users (confirm) | Display and name fields on the imported user (confirm which field the importer fills) | name (confirm it is included in the ID token) |
| Group membership | memberOf on user objects, only for groups synced into the managed domain (confirm scope) | Groups created by the Directory Importer, which then drive application access | groups claim, only if you configure it in Entra ID (confirm) |
| sAMAccountName | Account name in the managed domain, which may differ from the UPN prefix (confirm) | Alternative username source if your rules use the account name (confirm) | Not a standard Entra ID claim, so confirm before planning on it |
| Object ID (oid) | objectGUID in the managed domain, a stable identifier (confirm) | Confirm whether the importer stores it as a unique key on the account | sub is issued per client application, so do not use it as a cross-system key |
| mailPrimaryAddress | Not an Entra ID property, derived from the mail attribute in the directory (confirm) | Alternative matching attribute when the upstream username is an e-mail address | email when matching on addresses. Consequences are covered on the e-mail usernames page |
Securing the Entra ID integration
The Entra ID route adds a directory bridge, an LDAP path and a federated login, and each one widens what an attacker or a misconfiguration could reach. The cards below cover the controls that keep the sync narrow, the LDAP traffic encrypted and the administrator accounts protected, and they point to the openDesk baseline that the platform already ships.
Least-privilege LDAP service account
The Directory Importer authenticates to Azure AD Domain Services with a service account, and that account should be able to read only what the import needs. Grant it read access to the synced scope in the managed domain and nothing that allows writes to Entra ID or to the domain itself. Review its group memberships after each change, and record who may reset its password. Confirm with your Azure administrator which delegated permissions the managed domain grants by default before you restrict them.
Federation docsScoping users and groups in the sync
Synchronize only the users and groups that need an openDesk account. Entra ID tenants often hold guests, service identities and departments that should never receive a mailbox or chat account. Filter the synced population by group membership or organizational unit in the managed domain, then test the filter with a small set before the first full run. Because the import is one-way, a wrong scope creates accounts that someone must later remove.
LDAPS with a cluster-trusted certificate
Connect the importer over LDAPS rather than plain LDAP so that bind credentials and directory attributes are not sent in clear text. The certificate that the managed domain presents must chain to a certificate authority that the openDesk cluster trusts, and the CA bundle must be mounted where the importer runs. Check the certificate's validity period and host name match before go-live, and plan the renewal so that an expired certificate does not silently stop the sync.
Two-factor enforcement for administrators
Directory data and federated sign-in do not replace second factors inside openDesk. Enforce 2FA for administrator accounts in openDesk's IAM, starting with the Domain Admins group, before opening access to the wider staff. Remember that the identity provider's own multi-factor policy in Entra ID covers its sign-in only, so decide which layer protects which action. Plan recovery for users who lose their second factor, because an administrator locked out of the IAM is a serious operational problem.
Security baseline from the openDesk project
openDesk signs and validates most Helm charts against GPG keys, pins container images by tag and digest, and signs images it builds with cosign. It also documents Kubernetes security settings and network policies. Verify these controls on your own cluster rather than assuming they are active, and confirm that the LDAP and OIDC egress paths to Entra ID and the managed domain are allowed by your network policies. Ask ZenDiS or your implementation partner which version of the baseline your release includes.
Security docsCommon failures when linking Entra ID and openDesk
This table lists the failures teams most often hit when they connect Entra ID to openDesk through Azure AD Domain Services and OIDC federation. Each row gives the likely cause and the check or fix to run first. Work through the rows in order, because a failed LDAP import or bind hides every later problem.
| Failure | Likely cause | Fix or check |
|---|---|---|
| Domain Services not reachable from the cluster | The managed domain's LDAP endpoint is not routable from the openDesk Kubernetes nodes, or the virtual network has no path to it. | Confirm network routing and firewall rules from the cluster's node subnets to the domain controllers, then test LDAP connectivity from a pod in the openDesk namespace before changing openDesk settings. |
| LDAP bind fails with the service account | The service account is not a member of the Domain Services admin group, its password has expired, or the bind DN is written in the wrong format. | Verify the account credentials and bind DN against the Domain Services configuration, check password expiry, and confirm the account has the read rights the importer needs. |
| Usernames do not match, so federated logins fail or create duplicates | The username in Entra ID differs from the attribute openDesk matches on, such as a UPN with a different domain or a mailPrimaryAddress that is not populated. | Compare the attribute openDesk matches on with the value sent in the OIDC token for a test user. Align the upstream claim or the matching attribute before enabling federation for all users. |
| Group membership does not reach openDesk | Groups are not included in the Domain Services synchronization scope, nested groups are not resolved, or the group type is not visible over LDAP. | Confirm the test group is synchronized into Domain Services and visible through an LDAP query. Check that the import picks up the groups openDesk relies on for application access and roles. |
| Deleted Entra ID users still active in openDesk | Removing a user in Entra ID does not automatically remove the openDesk account, since the Directory Importer is one-way and the federated login may still be cached. | Define an offboarding step that deactivates or deletes the openDesk account, revoke active sessions, and check that the user no longer appears in the directory. Review the offboarding procedure for each application. |
| Login works but the user cannot reach some applications | Application access is controlled per user and per group in the IAM, so federated users without the expected group membership see only part of the suite. | Check the group memberships and the application access settings for the affected user in the IAM, then confirm the group exists in the synchronized directory. |
What changes for administrators after go-live
After go-live, the Entra ID to openDesk path is one-way, so every change must originate in Entra ID and flow through the sync. Creating, renaming, disabling or re-grouping a user directly in the openDesk IAM will not be reflected back upstream, and the next import run can overwrite or conflict with it. Administrators should agree on a single system of record for each attribute, usually Entra ID for identity and the openDesk IAM only for application-level rights, and document that rule for the helpdesk. Confirm with ZenDiS or your openDesk support contact exactly how the import handles attributes that openDesk changed locally before you rely on it.
Deprovisioning is where the integration is most exposed. When an employee leaves, access to openDesk ends only if three things keep working together: the account is disabled or removed in Entra ID, the Azure AD Domain Services copy of that account reflects the change, and the import into openDesk runs and removes or deactivates the matching user. Federated login through the openDesk IdP adds a fourth dependency, because a user who still exists upstream cannot be stopped there alone. Test this chain with a dedicated test account on a regular schedule and record the time between the Entra ID change and the openDesk result. Review the offboarding page for what the data side of a deleted account involves.
Upgrades need the integration retested every time. openDesk plans major releases annually in Q3, minor releases monthly and patch releases on demand, and only the latest minor version is supported, so an environment that falls behind must catch up before support is available. In-place upgrades between majors are not guaranteed, and skipping several minor versions may require intermediate steps. Before each upgrade, rerun the directory import, the federation login and a deprovisioning test against a staging environment that mirrors your Entra ID and Domain Services configuration. Keep the release notes for each target version in your change record.
Questions buyers ask about Entra ID and openDesk
Can openDesk read users directly from Microsoft Entra ID?
No. Microsoft Entra ID does not expose LDAP, and the openDesk Nubus Directory Importer reads users and groups over LDAP from Active Directory or another LDAP directory. The documented route is to provide an LDAP endpoint through Azure AD Domain Services, synchronized from your Entra ID tenant, and point the importer at that. Single sign-on is a separate step: OIDC federation from Entra ID to the openDesk IdP handles logins, while the importer handles accounts and groups. Confirm the Domain Services setup and its licensing with Microsoft before planning the work, since those are outside openDesk's documentation.
What does an Entra ID integration cost, and what drives the cost?
Cost depends on who does the work and how much of your environment is in scope. Your side carries the Azure licensing for Domain Services, the Entra ID configuration, and staff time for identity and Kubernetes work. A partner quote is built from the written scope, not from a list price. The main drivers are the size and structure of the tenant, the number of groups and nested memberships that must map to openDesk roles and application access, how usernames are formed and matched, how many systems rely on the same identities, and how much testing is needed before go-live. Ask for each of these items to be listed separately in the quote.
How long does an openDesk and Entra ID integration take?
Duration depends on the scope you agree, and no fixed timeline applies to every tenant. The work usually falls into a few blocks: Domain Services setup and synchronization, the directory import and group mapping, OIDC federation and login testing, and verification of roles and two-factor settings. Each block depends on how clean your tenant data is and how many people must approve decisions. Ask for a written plan that lists the blocks, the dependencies between them, and the points where your team must provide input or sign off.
Can our own team implement this without a partner?
Yes, if your team has working skills in Kubernetes, Helm and Helmfile, identity management, and Entra ID administration. The openDesk deployment requires a CNCF-certified Kubernetes cluster at v1.33 or later, an ingress controller, cert-manager, an RWO volume provisioner, Helm 3.17.3 or later below v4 and Helmfile 1.0.0 or later. You also need the external production services openDesk expects, such as PostgreSQL 15, MariaDB 10, Redis 7, an SMTP relay and object storage. On the identity side, you need someone who can configure Domain Services, the LDAP bind account, OIDC client settings and username rules. Missing any of these areas is the usual reason teams bring in outside help.
Do we need openDesk Enterprise Edition for production?
ZenDiS recommends openDesk Enterprise Edition for production. It uses the same open-source core licenses but adds closed-source modules, an Enterprise-only registry and license file, and SLA-backed second and third level support and patches. It is sold as SaaS or for on-premises installation. The Community Edition is supported only by the community on openCode with no SLA. Enterprise-only features include the GroupSync and Admin Console, which are relevant to directory work. Decide the edition before the identity design starts, because the group synchronization approach depends on which tools you have. Confirm current terms directly with ZenDiS and your procurement team.
What does DeployOpen provide in a fixed-scope Entra ID engagement?
In a fixed-scope engagement, DeployOpen agrees the scope, deliverables and timeline in writing before work starts. For this topic, that scope can cover planning the tenant-to-openDesk mapping, setting up the directory import and OIDC federation inside your infrastructure, defining roles and application access, enabling two-factor policy, testing sign-in and deprovisioning, and documenting the result for your operators. You receive the configuration, runbooks and handover notes, and your team keeps ownership of the Entra ID tenant and Azure subscription. Ask for the exclusions in writing as well, such as work on Entra ID policies you do not manage yourself.
How DeployOpen scopes and delivers the Entra ID integration
DeployOpen plans, implements, integrates, documents and supports openDesk inside your own infrastructure, including the identity path from Microsoft Entra ID through Azure AD Domain Services and OIDC federation. Engagements are agreed as fixed-scope work with written deliverables before any build begins.
How we scope
- The written scope lists which Entra ID user and group attributes feed the directory path and which ones stay out.
- We confirm your Azure AD Domain Services tenant, LDAP exposure and network routes before estimating build work.
- Scope names the federation claims, username matching rule and the openDesk roles that map to your Entra ID groups.
How we build
- We configure the Azure AD Domain Services side for LDAP access and verify the bind accounts openDesk will use.
- We set up OIDC federation between Entra ID and the openDesk Keycloak-based IdP, then test matched logins end to end.
- Build includes a test plan covering provisioning, group membership, application access and two-factor enforcement.
How we hand over
- You receive written configuration records for both sides of the federation, with secrets handled through your own vault.
- We document the username rule, the sync behavior and the steps to follow when a user leaves the Entra ID tenant.
- Handover includes a walkthrough with your identity, security and platform teams so they can review and run the setup.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover.
- Retainers can cover re-testing of the federation after openDesk releases or Entra ID tenant changes.
- Ask for a quote that separates one-time integration work from any recurring support and retesting effort.

