Purpose
This guide explains how to sync Microsoft Entra ID (formerly Azure AD) users and devices into Logsign USO. Users appear under Settings > Enrichment > Identities and devices under Settings > Enrichment > Hosts. Logsign uses these records to enrich logs with the user's display name, email and phone, and to look up devices by owner.
Sync uses the same Microsoft Entra ID device as the Microsoft Entra ID Response Integration and Microsoft Entra ID SSO Login. One device can serve all three. Each use needs its own permission in Entra ID.
Prerequisites
- An Entra ID account that can register applications and grant admin consent.
- Every Logsign node must reach
login.microsoftonline.comandgraph.microsoft.comon TCP 443. - On the Logsign side, access to Settings > Integrations > Responses and Settings > Enrichment.
Step 1: Register an Application and Grant the Permission
If you already have an app registration for the Entra ID response device or SSO login, use it and go to step 5.
- In the Microsoft Entra admin center, go to App registrations and click New registration.
- Enter a name such as
Logsign USO, choose Accounts in this organizational directory only and click Register. - On the Overview page, copy the Application (client) ID and the Directory (tenant) ID.
- Open Certificates & secrets, click New client secret, choose an expiry and click Add. Copy the secret Value, not the Secret ID. It is shown only once.
- Open API permissions, click Add a permission > Microsoft Graph > Application permissions, add Directory.Read.All and click Grant admin consent.
| Permission | Type | Needed for |
|---|---|---|
| Directory.Read.All | Application | Reading users, devices and device owners for Identities and Hosts. |
Step 2: Configure the Device in Logsign USO
Go to Settings > Integrations > Responses, search for Microsoft Entra ID and click Configure. Open your existing device, or click +Device to create one. Fill in the fields and click Submit.
| Field | Required | Description |
|---|---|---|
| Device Name | Yes | A name for this device in Logsign. You select it by this name when you sync. |
| Tenant Id | Yes | The Directory (tenant) ID from Step 1. |
| Client Id | Yes | The Application (client) ID from Step 1. |
| Client Secret | Yes | The client secret Value from Step 1. Logsign stores it encrypted. |
| Sync Interval | No | How often Logsign syncs identities and hosts automatically: 1, 2, 4, 6 or 12 hours. At 24 hours (the default), the sync runs once a day at 02:00. |
Step 3: Sync Identities and Hosts
- Go to Settings > Enrichment > Identities, click Sync Ldap, select the Microsoft Entra ID device and sync.
- Go to Settings > Enrichment > Hosts, click Sync LDAP, select the same device and sync.
- To let synced users log in to Logsign, select them under Identities, click Apply Role Selected and assign a role. See Microsoft Entra ID SSO Login Configuration.
Each page syncs only its own list. The automatic sync runs both. Manual sync works at any time, whatever the Sync Interval is. If one sync source fails, the other sources still sync.
What Gets Synced
Identities: username (the part of the UPN before @), domain (the part after @), display name, email, mobile phone and the Entra ID object ID. Logsign uses the object ID to match records across syncs.
Hosts: device display name, operating system and version, owner (the username of the first registered owner) and the Entra ID device ID. Entra ID does not provide IP addresses, so this sync does not fill the IP column.
Notes and Limits
- The sync reads the whole directory. There is no filter by group or administrative unit.
- Criticality values that you set in Logsign are kept across syncs. Identity aliases are kept too.
- Sync Ldap shows success even when Logsign cannot get data from Entra ID. If the secret is wrong or expired, or the permission is missing, the lists stay empty and no error appears on screen.
- When a sync gets no records, Logsign removes the identities it synced earlier from this device. This includes the Logsign users you added with Apply Role Selected. An expired client secret therefore removes those users at the next sync. Renew the secret before it expires.
Troubleshooting
| Symptom | Likely cause | What to check |
|---|---|---|
| Sync shows success, but Identities and Hosts stay empty | The client secret is wrong, expired, or is the Secret ID instead of the Value. | Create a new client secret, copy its Value and enter it in the device. Then sync again. |
| The secret is correct, but the lists stay empty | Directory.Read.All (Application) is missing or admin consent was not granted. | API permissions and admin consent status in the app registration. |
| Identities fill, but Hosts stay empty | The app has User.ReadWrite.All or User.Read.All but not Directory.Read.All. These permissions read users but not devices. | Add Directory.Read.All (Application) and grant admin consent. |
| Synced users and their Logsign accounts disappeared | A sync ran with an expired or wrong secret and got no records. | Renew the secret, sync again and assign the roles again with Apply Role Selected. |
| Sync runs only once a day | Sync Interval is 24 hours (the default), which runs at 02:00. | Set Sync Interval to 1, 2, 4, 6 or 12 hours. |