Users from your company directory
Section titled “Users from your company directory”This page is for tenant administrators whose organization keeps its staff in a company directory: Active Directory on your own servers, or Microsoft Entra ID (formerly Azure AD). It explains what the directory import does, which decisions are yours, what to hand to your operator, and how to check the result. You do not run the import yourself: there is no screen for it in Administration.
How it works
Section titled “How it works”Instead of adding hundreds of people by hand, your operator can schedule an import that reads your directory and keeps OSOS in step with it:
- People. Everyone in the directory who has an email address becomes a user in OSOS, or is updated if they are already there. Names and email addresses follow the directory.
- Group membership. For each group you prepared in OSOS, the people in the matching directory group are added to it.
The import runs on a schedule your operator sets, for example every hour. Each run picks up new joiners and changes.
Example. Your HR department has a directory group HR-Staff with 20 people. You create an HR group in OSOS and link it to HR-Staff. After the next run, the 20 people exist as users and are members of HR. When a new HR officer joins HR-Staff in the directory, they appear in OSOS, in the HR group, after the following run.
What the import does not do
Section titled “What the import does not do”Plan for these, because they stay your job:
- It does not remove anyone. A person who leaves the directory, or a directory group, stays in OSOS and in the group. Offboard leavers yourself. See Offboard someone who leaves.
- It does not create groups. It only fills groups you created and linked.
- It does not give access. Imported people get no system level and no permissions until you give them, usually through their groups.
- It does not bring back archived users. If someone was archived in OSOS, the import leaves them archived.
- It skips people without an email address in the directory.
How imported people sign in
Section titled “How imported people sign in”Imported people are marked as directory accounts. They do not get a set-password email, and they cannot set or reset a OSOS password. They sign in with their company account through single sign-on. So set up single sign-on before you import, or at the same time. See Sign-in methods & single sign-on.
Decide what to import
Section titled “Decide what to import”Agree these with your operator before the first run. They go into the hand-off checklist.
- Which directory. Active Directory on your own servers, Microsoft Entra ID, or both.
- Which people. Everyone, or only some:
- With Active Directory, the import can be limited to the members of one directory group.
- With Microsoft Entra ID, it can be limited by a condition, for example department is Finance.
- Which groups to mirror. List the directory groups whose membership should fill a OSOS group, and which OSOS group each one fills.
- How often. For example every hour, or once a night.
- Names. Check with your operator how first and last names are mapped. With Active Directory, the standard set-up can swap first and last names; ask for it to be corrected before the first run.
Prepare the groups
Section titled “Prepare the groups”For each directory group you want to mirror:
- Create the OSOS group, for example HR, under Administration › Organization › Users Groups. See Create a group.
- Link it to the directory group. The group must be marked as a directory group and carry the directory group’s identifier: its distinguished name in Active Directory (for example
CN=HR-Staff,OU=Groups,DC=example,DC=com), or its object ID in Microsoft Entra ID.
Out of the box, the group form has no fields for this link. The fields are added once to the Users Group entity, either by an app builder or by your operator, and then appear on every group. Ask your operator for this when you hand over the checklist.
- Give the group its access, so that people get what they need as soon as they arrive. Include a system level of at least Restricted. See Permissions & access.
Hand-off checklist
Section titled “Hand-off checklist”Copy this table, fill it in and send it to your operator. Send passwords and secrets separately, through a secure channel.
| # | Item | Your value |
|---|---|---|
| A | Directory | |
| A1 | Active Directory, Microsoft Entra ID, or both | |
| A2 | Active Directory: server address and the part of the directory to read (base) | |
| A3 | Active Directory: a read-only account that can read users and groups (password sent separately) | |
| A4 | Microsoft Entra ID: directory (tenant) ID | |
| A5 | Microsoft Entra ID: an app registration with application permission to read all users and groups, its client ID and a client secret (secret sent separately), and the secret’s expiry date | |
| B | Scope | |
| B1 | Import everyone, or only: one directory group (Active Directory) / a condition such as a department (Entra ID) | |
| B2 | Directory groups to mirror → OSOS group each one fills | |
| B3 | Add the directory-link fields to the Users Group entity (needed for B2) | yes / already done |
| C | Running it | |
| C1 | Schedule for people (for example, every hour) | |
| C2 | Schedule for group membership (run after the people import) | |
| C3 | Name mapping checked (first and last name not swapped) | yes / no |
| C4 | Who to tell when a run fails |
The app registration in A5 is not the same as the one used for single sign-on: the import reads the directory on its own, without anyone signing in, so it needs application permissions. Your Entra administrator chooses the exact Microsoft Graph permissions.
Check the result
Section titled “Check the result”After the first run:
- Open Administration › Organization › Users and check that the expected people are there, with their names the right way round.
- Open each mirrored group under Users Groups and check its members on the Users tab.
- Pick one imported person and check their access in Administration › Access Management › User Permissions.
- Ask one imported person to sign in through single sign-on.
Good to know
Section titled “Good to know”- The directory wins for names and email addresses. If you change an imported person’s name in OSOS, the next run changes it back. Change it in the directory instead.
- People already in OSOS are matched by email address (and, with Entra ID, also by their directory ID), so they are updated, not duplicated.
- Running the import again does not add people to a group twice.
- Large Entra ID directories. Group membership is read only from the first page of groups, and the first page of each group’s members, that Microsoft returns. If you mirror many groups or very large groups, ask your operator to confirm that everyone arrived.
Troubleshooting
Section titled “Troubleshooting”| What you see | What to check |
|---|---|
| Someone is missing. | They have no email address in the directory, are outside the scope you chose (B1), or were archived in OSOS. |
| A group stays empty. | The group is not marked as a directory group, its directory identifier does not match exactly, or the people import has not run yet. |
| Someone who left is still in a group. | The import never removes people. Remove them yourself. |
| First and last names are swapped. | Ask your operator to correct the name mapping (C3). |
| Imported people cannot sign in. | Single sign-on is not set up for their domain, or their directory account does not match the email address in OSOS. |
| New people stopped arriving. | The import is failing. With Entra ID, the client secret may have expired. Ask your operator to check the import’s logs. |
Platform 1.10.0 · Backend 1.11.0-alpha.11 · Frontend 1.11.0-alpha.6 · Mobile 1.10.2 · Chart 1.11.8 · Gateway 2.6.11 · MCP 0.2.0 · Grafana DS 1.2.0Docs build 2026-11-27