Connect Microsoft Entra ID for joiners and leavers
- graal Agentic Platform
- Version 0.30 (actuelle)
- Open source · Apache 2.0
- Source : graalsystems/tranibor@v0.30.1
For an organisation administrator. Procedure connector.identity.entra, version 1, reviewed 2026-10-16 against the vendor’s own pages. It applies to the connector type identity/entra.
It ships with the platform. In the console it opens with How to set this up, beside the form that adds the connector and on the connector’s settings.
Addresses are written <api_url>, <public_url> and <org> here: the console shows the same text with your deployment’s own.
Before you start
Section intitulée « Before you start »- An Entra administrator (Global Administrator or Privileged Role Administrator) who can grant consent and assign directory roles.
- An administrative unit that holds only the accounts the platform may manage. A restricted-management administrative unit is recommended.
- This connector writes to the directory: its operations (
create_user,add_to_group,remove_from_group,disable_user,revoke_sessions) are governed actions that wait for a human approval, andget_userreads.
At Microsoft
Section intitulée « At Microsoft »- App registrations, New registration (single tenant, no redirect URI). Copy the Directory (tenant) ID and the Application (client) ID.
- Certificates & secrets, New client secret: copy the Value, shown once. Note its expiry.
- Create the administrative unit (Entra ID, Roles & admins, Administrative units) and copy its Object ID.
Permissions
Section intitulée « Permissions »Preferred, because it is bounded: give the app’s service principal the User Administrator and Groups Administrator roles scoped to the administrative unit (Roles and administrators, open the role, Add assignments, choose the administrative unit scope, select the app).
Fallback: Microsoft Graph application permissions User.ReadWrite.All and GroupMember.ReadWrite.All
with admin consent. They are tenant-wide: the connector refuses to touch an account outside
administrative_unit_id, and that check is then the only bound. Say so when you ask for approval.
Not proven here: the role-based variant has not been run against a live tenant from this repository. Check the first run on a test unit before pointing it at people.
In Tranibor
Section intitulée « In Tranibor »- Administration, Connectors, Declare: capability Identity, type Microsoft Entra ID.
tenant_id,client_id: from the app’s Overview.client_secret: the Value, in the password field.administrative_unit_id: the unit’s Object ID. Every account the platform creates enters it; any other account is refused.
Run a workflow step (or ask through the MCP door) that calls get_user on a known user principal name
inside the unit. A returned profile proves the secret and the read permission.
When it fails
Section intitulée « When it fails »AADSTS7000215: the Secret ID was pasted instead of the Value.AADSTS700016: wrongclient_idortenant_id.403 Authorization_RequestDenied: the role or permission is missing, or the target account is not in the administrative unit.- A refusal naming the administrative unit: the account is outside
administrative_unit_id, by design. - A timeout: open
graph.microsoft.comandlogin.microsoftonline.comin the egress allowlist.
| Field | What to put in it |
|---|---|
administrative_unit_id |
the Object ID of the administrative unit the platform may touch |
client_id |
Application (client) ID |
client_secret |
the secret’s Value, typed once |
tenant_id |
Directory (tenant) ID |
Network egress
Section intitulée « Network egress »Hosts the platform must be allowed to reach:
graph.microsoft.comlogin.microsoftonline.com