Microsoft Entra ID Response Integration via API

This guide explains how to register an application in Microsoft Entra ID (formerly Azure AD), get its Tenant ID, Client ID and Client Secret, and configure them in Logsign USO as a Response integration.

What this integration does: the Logsign Entra ID response device supports exactly two actions: disabling a user account (containment) and re-enabling it (recovery). It does not manage groups, devices or passwords. If you need Entra ID/Intune device management, see the separate Microsoft Intune Response Integration guide.

The same device has two other uses. Logsign also uses the Microsoft Entra ID device for identity and device sync (Settings > Enrichment > Identities and Hosts) and for SSO login. If you plan to use sync, add the sync permission in the API permissions step below and see Microsoft Entra ID Identity and Asset Sync. For SSO login, see Microsoft Entra ID SSO Login Configuration.

Register an Application in Microsoft Entra ID

To enable API access, you must create an application in Microsoft Entra ID and obtain the necessary credentials.

Access Microsoft Entra ID

1. Open a web browser and navigate to Microsoft Entra Admin Center.

2. Log in using a Microsoft account with administrative privileges.

3. Select Microsoft Entra ID from the left-hand navigation panel.

Register a New Application

  1. Go to App registrations and click + New registration.
  2. Enter a Name for the application (e.g., "Logsign USO Integration").
  3. Under Supported account types, select Accounts in this organizational directory only.
  4. Leave Redirect URI empty. The response actions and sync do not use it. Only SSO login needs it.
  5. Click Register to create the application.

Retrieve the Client ID and Tenant ID

After registration, go to the Overview page.

Copy and securely store the following:

Client ID (Application ID)

Tenant ID (Directory ID)

Configure Authentication and API Permissions

Create a Client Secret

1. Navigate to Certificates & secrets.

2. Under Client secrets, click + New client secret.

3. Provide a Description and set an expiration period.

4. Click Add.

5. Copy the secret Value immediately. Do not copy the Secret ID. The Value is shown only once.

Note the expiry date. When the secret expires, the response actions and the sync stop working until you create a new secret and enter its Value in Logsign.

Configure API Permissions

Go to API Permissions and click + Add a permission.

Select Microsoft Graph > Application permissions and add the permissions for the features you use:

Permission Type Needed for
User.ReadWrite.All Application The disable_user and enable_user actions. They update the user's accountEnabled property.
Directory.Read.All Application Identity and device sync into Settings > Enrichment > Identities and Hosts. Without it, the Identities and Hosts lists stay empty.

Do not add Delegated permissions for this integration. It authenticates with the client-credentials (app-only) flow, so Delegated permissions are not used.

Click Add permissions.

Click Grant admin consent to approve the requested permissions.

Configure Microsoft Entra ID in Logsign USO

Once you have obtained the Tenant ID, Client ID and Client Secret, follow these steps to configure Logsign USO:

Open Logsign USO

Log in to your Logsign USO platform.

Navigate to Settings

Go to Settings > Integrations > Responses, search for Microsoft Entra ID, click Configure and click +Device.

Enter API Credentials

Fill in the fields and click Submit:

Field Required Description
Device Name Yes A name for this device in Logsign.
Tenant Id Yes The Directory (tenant) ID from the Overview page.
Client Id Yes The Application (client) ID from the Overview page.
Client Secret Yes The client secret Value, not the Secret ID. Logsign stores it encrypted.
Sync Interval No How often identities and hosts are synced automatically: 1, 2, 4, 6 or 12 hours. At 24 hours (the default), the sync runs once a day at 02:00.

There is no separate Scope field in this form; the integration always requests https://graph.microsoft.com/.default internally, which grants a token for the application permissions consented to above.

Available Methods

Once configured, the device exposes exactly two actions, usable from an Incident, Alarm, or Action Rule:

  • disable_user (Containment) — sets the target user's account to disabled.
  • enable_user (Recovery) — re-enables a previously disabled user's account.

Troubleshooting

Symptom Likely cause What to check
An action fails with get access token failed and AADSTS7000215 The Client Secret in Logsign is wrong, or it is the Secret ID instead of the Value. Create a new client secret, copy its Value and enter it in the device.
An action fails with AADSTS7000222 The client secret has expired. Create a new client secret and enter its Value in the device.
An action fails with AADSTS700016 or AADSTS90002 The Client Id or Tenant Id is wrong. Copy both values again from the Overview page.
Sync Ldap shows success, but Identities or Hosts stay empty The Client Secret is wrong or expired, or Directory.Read.All (Application) is missing or not consented. The sync does not show this error on screen. Check the secret Value and its expiry, and the admin consent status of Directory.Read.All.
Was this article helpful?
1 out of 1 found this helpful

Articles in this section

See more
Become a Certified Logsign User/Administrator
Sign-up for Logsign Academy and take the courses to learn about Logsign USO Platform in detail. Enjoy the courses, and get your badges and certificates. In these courses, you'll learn how to use Logsign in your work and add value to your career.
Visit Our Blog
Our Logsign USO Platform illustrate our expertise. So do the blog. Through our blog posts, deepen your knowledge on various SecOps topics or get updated about important news & modern approaches for cybersecurity. Get into the habit of reading valuable information provided by Logsign. Be a step ahead.