Microsoft Entra ID
Users, groups, sign-ins, audit and Defender alerts
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
Client ID and secret
Your users enter
- Directory (tenant) IDRequiredIdentifier
- Application (client) IDRequired
- Client secret valueSecretRequired
Where to find them
- Complements “Microsoft 365”, which acts as your user: here an application reads the whole directory.
- At entra.microsoft.com (or portal.azure.com → “Microsoft Entra ID”) → “App registrations” → “New registration”: give it a name (e.g. culturewire-entra) and click “Register”.
- Copy the “Application (client) ID” and the “Directory (tenant) ID”.
- Under “API permissions” → “Add a permission” → “Microsoft Graph” → “Application permissions”, add Directory.Read.All, AuditLog.Read.All, SecurityAlert.Read.All and SecurityEvents.Read.All (if you will use them, also SecurityIncident.Read.All, IdentityRiskyUser.Read.All and Policy.Read.All) and click “Grant admin consent” (a Global Administrator or Privileged Role Administrator is required).
- Under “Certificates & secrets” → “New client secret”, choose the expiration and copy the “Value”: it is shown only once. Users' last sign-in requires an Entra ID P1 or P2 license, and alerts require Microsoft Defender XDR.
OAuth 2.0
PKCEYour OAuth appBring your own OAuth app: register one with Microsoft Entra ID, then create a custom auth config with its client ID and secret and our redirect URI. Setup guide
Registering the OAuth app
- In the Microsoft Entra admin center open “App registrations” → “New registration” and register a “Web” application.
- Under “Authentication” add the redirect URI shown below.
- Under “Certificates & secrets” create a client secret and copy its value, together with the application (client) ID.
- Under “API permissions” add the delegated permissions listed in the scopes.
- Depending on your tenant's policy, some permissions may need an administrator to grant consent. Set the tenant to your directory (tenant) ID for a single-tenant app, or keep “organizations” for work and school accounts of any tenant. These steps are only needed for your own OAuth app: when this deployment has a managed Microsoft app, Continue connects without them.
Default scopes
Directory.Read.AllAuditLog.Read.AllSecurityAlert.Read.AllSecurityEvents.Read.AllSecurityIncident.Read.AllIdentityRiskyUser.Read.AllPolicy.Read.Alloffline_access
Tools (3)
Microsoft Entra ID API request
ENTRAID_SEND_REQUESTAuthenticated call to the Microsoft Entra ID API (https://graph.microsoft.com/v1.0). Any endpoint of the API is allowed. Examples: GET /users?$select=displayName,userPrincipalName,accountEnabled,userType&$top=100, GET /users/{id or UPN}/memberOf, GET /groups?$filter=securityEnabled eq true, GET /directoryRoles?$expand=members (administrators), GET /auditLogs/signIns?$filter=createdDateTime ge 2026-10-01T00:00:00Z and status/errorCode ne 0&$top=50 (failed sign-ins), GET /auditLogs/directoryAudits?$top=50, GET /identityProtection/riskyUsers?$filter=riskState eq 'atRisk', GET /identity/conditionalAccess/policies, GET /reports/authenticationMethods/userRegistrationDetails (MFA registration), GET /security/secureScores?$top=1, GET /security/incidents?$top=20, GET /servicePrincipals. $search and $count need the ConsistencyLevel: eventual header; for the beta API, use the full URL https://graph.microsoft.com/beta/….
Required scopes
No scopes required
Input
Microsoft Entra ID API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically. Users and last sign-in
ENTRAID_LIST_USERSDirectory users with status, type (member or guest), creation date and last sign-in (interactive, non-interactive and successful): useful for finding inactive accounts or forgotten guests. The activity data requires Entra ID P1 or P2.
Required scopes
No scopes required
Input
Users and last sign-in input Name Type Description filterstringOData filter, e.g. userType eq 'Guest', accountEnabled eq false or signInActivity/lastSignInDateTime le 2026-07-01T00:00:00Z (the last one cannot be combined with others) maxintegerDefault: 100nextstringURL of the next page (the “next” field of the previous response) Security alerts
ENTRAID_LIST_SECURITY_ALERTSMicrosoft Defender XDR alerts (endpoint, identity, Office 365, cloud apps, Entra ID Protection, Sentinel…), from newest to oldest, with severity, status, source, MITRE techniques, entities involved, incident and link.
Required scopes
No scopes required
Input
Security alerts input Name Type Description severitystringOne of: high,medium,low,informationalstatusstringOne of: new,inProgress,resolvedsincestringOnly alerts created since this date (YYYY-MM-DD or ISO 8601) maxintegerDefault: 50

