Skip to content
Maua.Culturewire

Microsoft Entra ID

Users, groups, sign-ins, audit and Defender alerts

Developer toolsCatalog3 tools · 0 triggers

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

    1. Complements “Microsoft 365”, which acts as your user: here an application reads the whole directory.
    2. 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”.
    3. Copy the “Application (client) ID” and the “Directory (tenant) ID”.
    4. 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).
    5. 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.

    Get credentials (opens in a new tab)

  • OAuth 2.0

    PKCEYour OAuth app

    Bring 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

    1. In the Microsoft Entra admin center open “App registrations” → “New registration” and register a “Web” application.
    2. Under “Authentication” add the redirect URI shown below.
    3. Under “Certificates & secrets” create a client secret and copy its value, together with the application (client) ID.
    4. Under “API permissions” add the delegated permissions listed in the scopes.
    5. 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.All
    • AuditLog.Read.All
    • SecurityAlert.Read.All
    • SecurityEvents.Read.All
    • SecurityIncident.Read.All
    • IdentityRiskyUser.Read.All
    • Policy.Read.All
    • offline_access

Tools (3)

  • Microsoft Entra ID API requestENTRAID_SEND_REQUEST

    Authenticated 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
    NameTypeDescription
    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-inENTRAID_LIST_USERS

    Directory 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
    NameTypeDescription
    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: 100
    nextstringURL of the next page (the “next” field of the previous response)
  • Security alertsENTRAID_LIST_SECURITY_ALERTS

    Microsoft 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
    NameTypeDescription
    severitystringOne of: high, medium, low, informational
    statusstringOne of: new, inProgress, resolved
    sincestringOnly alerts created since this date (YYYY-MM-DD or ISO 8601)
    maxintegerDefault: 50