---
title: "Microsoft Entra integration for AI agents | Langdock"
description: "Connect Microsoft Entra to Langdock. Agents and workflows can use 21 actions, such as “Add client secret” and “Add group member”."
url: "https://langdock.com/integrations/microsoft-entra"
language: "en"
---

[Integrations](https://langdock.com/products/integrations)

# Microsoft Entra integration for AI agents

Manage users, groups, app registrations, and OAuth permission grants

Connect Microsoft Entra to Langdock and use it in chat, in agents and in workflows.

21 actions

[Start free trial](https://app.langdock.com/signup) [Talk to sales](https://langdock.com/talk-to-sales)

## Microsoft Entra actions

Each action is one step an agent or workflow can run in Microsoft Entra.

- Add client secret

  Generates a new client secret for a Microsoft Entra application registration with a specified display name and expiration. Plaintext secret is redacted by default unless explicitly requested.
- Add group member

  Adds a user or a group as a member of a Microsoft Entra group with assigned membership, such as a security group or Microsoft 365 group. Dynamic groups, groups synced from on-premises Active Directory, distribution lists, mail-enabled security groups and role-assignable groups can't be changed with this action.
- Add redirect URI

  Adds a redirect URI to a Microsoft Entra application registration across Web, SPA, or Public Client platforms.
- Assign app role

  Assigns an application permission (app role) to an Entra application or service principal for a target resource API (e.g., Microsoft Graph).
- Create permission grant

  Creates a new delegated OAuth permission grant (oauth2PermissionGrant) for a service principal.
- Delete permission grant

  Revokes and deletes an entire delegated OAuth permission grant (oauth2PermissionGrant) by its grant ID.
- Get application

  Retrieves detailed properties of a Microsoft Entra application registration, including redirect URIs, credentials with expiration dates, and resolved API permissions.
- Get manager

  Returns the direct manager of a user by their ID or user principal name. Returns the manager's full profile, or indicates no manager is set.
- Get permission grant

  Retrieves detailed properties of a specific delegated OAuth permission grant by its grant ID.
- List app role assignments

  Lists application permissions (app role assignments) granted to an Entra application or service principal, including resolved permission names and resource APIs.
- List expiring credentials

  Scans tenant application registrations for secrets and certificates that are expiring within a specified number of days or are already expired. Only credential metadata (key IDs, hints, expiration dates) is returned; plaintext secrets are never exposed.
- List permission grants

  Lists delegated OAuth permission grants (oauth2PermissionGrants) for an application or service principal.
- Remove app role

  Revokes an application permission (app role assignment) from an Entra application or service principal by assignment ID or role name.
- Remove client secret

  Deletes an existing client secret from a Microsoft Entra application registration by its key ID.
- Remove group member

  Removes a user or a group from a Microsoft Entra group with assigned membership. Only removes direct membership: a member who also belongs through a nested group keeps access through that group. Dynamic groups, groups synced from on-premises Active Directory, distribution lists, mail-enabled security groups and role-assignable groups can't be changed with this action.
- Remove redirect URI

  Removes an existing redirect URI from a Microsoft Entra application registration.
- Search applications

  Searches and lists Microsoft Entra application registrations with overview counts of credentials, redirect URIs, and configured permissions.
- Search group members

  Lists members of a specific group: user members with attributes like department, job title, and optionally their manager, and on request the security groups nested in it
- Search groups · Searches for groups in the organization directory by name or description
- Search users

  Searches for users in the organization directory by name, email, or other attributes.
- Update permission grant

  Safely updates scopes on an existing delegated OAuth permission grant (oauth2PermissionGrant) using replace, add, or remove modes.

## Setup and permissions

An action can ask for your confirmation before it runs. In an agent, each action is set to “Always allow” or “Needs approval”.

### Documentation

- [Setup guide for Microsoft Entra](https://docs.langdock.com/en/admin/manage-integrations/integration-setup-guides/microsoft-entra)
- [Microsoft permissions for Microsoft Entra](https://docs.langdock.com/en/admin/manage-integrations/microsoft-integration-scopes/entra)
- [Using integrations](https://docs.langdock.com/en/using-langdock/guides/integrations/using-integrations)
- [How connections work](https://docs.langdock.com/en/using-langdock/integrations/connections)
- [Manage access to actions](https://docs.langdock.com/en/admin/manage-integrations/manage-action-access)

[All integrations](https://langdock.com/products/integrations)
