Azure AD trigger

Preview — Azure AD trigger

This feature is subject to the "Pre-GA Offerings Terms" in the General Service Terms section of theService Specific Terms. Pre-GA features are available "as is" and might have limited support. For more information, see thelaunch stage descriptions.

TheAzure AD trigger is aConnector Event trigger that lets you invoke an integration based on theAzure AD events that you've subscribed to in your Azure AD connection.

Important: Integration Connectors is a billable component of Google Cloud. For information about the costs and charges of using Integration Connectors, seeIntegration Connectors pricing.

Before you begin

If you plan to create or configure a new connection for theAzure AD trigger, make sure that you have the following IAM role on the project:

  • Connector Admin (roles/connectors.admin)
  • For information about granting roles, seeManage access.

Grant the following IAM roles to the service account that you want to use for theAzure AD trigger:

  • Application Integration Invoker (roles/integrations.integrationInvoker)
  • For information about granting roles to a service account, seeManage access to service accounts.

Add the Azure AD trigger

To add aAzure AD trigger to your integration, perform the following steps:

  1. In the Google Cloud console, go to theApplication Integration page.

    Go to Application Integration

  2. In the navigation menu, clickIntegrations

    TheIntegrations List page appears listing all the integrations available in the Google Cloud project.

  3. Select an existing integration or clickCreate integration to create a new one.

    If you are creating a new integration:

    1. Enter a name and description in theCreate Integration pane.
    2. Select a region for the integration.Note: TheRegions dropdown only lists the regions provisioned in your Google Cloud project. To provision a new region, ClickEnable Region. SeeEnable new region for more information.
    3. Select a service account for the integration. You can change or update the service account details of an integration any time from theIntegration summary pane in the integration toolbar.Note: The option to select a service account is displayed only if you have enabled integration governance for the selected region.
    4. ClickCreate.

    The newly created integration opens in theintegration editor.

  4. In theintegration editor navigation bar, clickTriggers to view the list of available triggers.
  5. Click and place theAzure AD trigger element in the integration editor.
  6. To configure theAzure AD trigger, you can either use an existing Azure AD connection available in Integration Connectors, or create a new Azure AD connection using the inline connection creation option.

Configure Azure AD trigger using an existing connection

You can configure theAzure AD trigger using an existing Azure AD connection in Integration Connectors. Note that theAzure AD trigger is anConnector Event trigger, therefore you can only use an Azure AD connection with event subscription enabled to configure the trigger.

For information about how to configure aAzure AD trigger using a new Azure AD connection, SeeConfigure Azure AD trigger using a new connection

To configure aAzure AD trigger using an existing Azure AD connection, perform the following steps:

  1. Click theAzure AD trigger element in the integration editor to open the trigger configuration pane.
  2. ClickConfigure trigger.
  3. Provide the following configuration details in theConnector Event Trigger Editor page:
    1. Region: Select the region of your Azure AD connection.
    2. Connection: Select the Azure AD connection that you want to use.

      Application Integration only displays those Azure AD connections that are active and have an event subscription enabled.

    3. Event subscription type: Select the type of event subscription that triggers the integration. For information about the supported event subscription types for this trigger, seeSupported event subscription types.
    4. Service Account: Select a service account with therequired IAM roles for the Azure AD trigger.
  4. ClickDone to complete the trigger configuration and close the page.

Configure Azure AD trigger using a new connection

To configure theAzure AD trigger using a new Azure AD connection, perform the following steps:

  1. Click theAzure AD trigger element in the integration editor to open the trigger configuration pane.
  2. ClickConfigure trigger.
  3. Skip theRegion field.
  4. ClickConnection and select theCreate Connection option from the drop-down menu.
  5. Complete the following steps in theCreate Connection pane:
    1. In theLocation step, choose the location for the new Azure AD connection:
      1. Region: Select a region from the drop-down list.
      2. ClickNext.
    2. In theConnection Details step, provide details about the new Azure AD connection:
      1. Connector version: Choose an available version of the Azure AD connector from the drop-down list.
      2. Connection Name: Enter a name for the Azure AD connection.Note: Connection names must meet the following criteria:
        • Connection names can use letters, numbers, or hyphens.
        • Letters must be lower-case.
        • Connection names must begin with a letter and end with a letter or number.
        • Connection names cannot exceed 49 characters.
      3. (Optional)Description: Enter a description for the connection.
      4. (Optional)Enable Cloud Logging: Select this checkbox to store all log data of the connection.
      5. Service Account: Select a service account with therequired IAM roles for the Azure AD connection.
      6. Enable event subscription: Select to create and enable a new event subscription for the Azure AD connection. You can either enable only event subscriptions or also include connectionentities, operations, and actions.Note: The following additional connection configuration steps are required if you choose to enableentities, operations, and actions for the connection:
        • Azure Tenant: The Microsoft Online tenant being used to access data. If you don't specify a tenant, your default tenant is used.
        • Destinations
        • Authentication
      7. (Optional) ExpandAdvanced settings to configure the connection node settings.

        For more information about the connection node settings for Azure AD, see theAzure AD connection documentation.

      8. (Optional) Click+ Add label to add a label to the connection in the form of a key-value pair.
      9. ClickNext.
    3. In theDestinations step, provide the Azure AD instance details:
      1. Destination Type: SelectHost address.
      2. Host: Enter the hostname or IP address of your Azure AD instance.
      3. ClickNext.
    4. In theAuthentication step, provide the authentication details for the Azure AD instance:
      1. Select your desired authentication type and enter the relevant details.

        To understand how to configure these authentication types, seeConfigure authentication.

      2. ClickNext.
    5. In theEvent subscription details step, provide details of the Azure AD instance where the event subscriptions will be created.
      1. Client ID: The client ID used for requesting access tokens.
      2. Client secret: The client secret used for requesting access tokens.
      3. Secret version: Select a secret version.
      4. Client state: The Secret Manager Secret containing the client state. This is used for change notifications authentication.
      5. Azure Tenant: The Microsoft Online tenant being used to access data. If you don't specify a tenant, your default tenant is used.
      6. Optionally, selectEnable data enrichment if you want additional information to be appended to the backend system's response.

        The additional information is specific to the entity for which you have configured the event. For more information, seeData enrichment in event notifications.

        Note: If you have configured this connection for only event subscription, you can't enable this option. To enable data enrichment, you must configure the connection for both event subscription and connector operations (entities and actions).
    6. SelectEnable private connectivity for secured connectivity between your backend application and your connection. If you select this option, you must perform additional configuration stepsafter creating the connection. For more information, seePrivate connectivity for event subscription.
    7. Enter the dead-letter configuration. If you configure dead-letter, the connection writes the unprocessed events to the specifiedPub/Sub topic. Enter the following details:
      1. Dead-letter project ID:The Google Cloud project ID where you have configured the dead-letter Pub/Sub topic.
      2. Dead-letter topic:The Pub/Sub topic where you want to write the details of the unprocessed event.
    8. If you want to use a proxy to connect to your backend (for event subscription), enter the following details:
      1. Proxy SSL Type: The SSL type to use when connecting to the proxy server. Select any of the following authentication types:
        • Always: The connection is always SSL enabled for event subscription.
        • Never: The connection is not SSL enabled for event subscription.
      2. Proxy Auth Scheme: Select the authentication type to authenticate with the proxy server. The following authentication types are supported:
        • Basic: Basic HTTP authentication.
      3. Proxy User: Enter the user name to be used to authenticate with the proxy server.
      4. Proxy Password: Select the Secret Manager secret of the user's password.
      5. Secret version: Select the secret version.
      6. In theProxy Server section, enter details of the proxy server.
        1. Click+ Add destination, and then select theDestination Type asHost address.
        2. Enter the proxy server's hostname or IP address, and the proxy server's port number.
    9. ClickNext.
  6. Review: Review the provided Azure AD connection details.
  7. ClickCreate to complete creating a new Azure AD connection.
  8. Event type ID: Select the type of event subscription that triggers the integration. For information about the supported event subscription types for this trigger, seeSupported event subscription types.
  9. ClickDone and close the page.

Trigger output

TheAzure AD trigger takes a couple of minutes to complete the event subscription configuration. You can view the status of your event subscription in the trigger configuration pane underEvent Subscription details.

TheAzure AD trigger indicates the status of an event subscription using the following states:

  • Creating: Indicates that the trigger is subscribing to the event subscription.
  • Active: Indicates that the trigger is successfully subscribed to an event subscription.
  • Error: Indicates that the there is an issue with the configured event subscription.

In addition to the event subscription status, theEvent Subscription details section also displays other details such as connection region, connection name, event subscription name, and more.

Trigger output variable

For each event, theAzure AD trigger generates aConnectorEventPayload output variable which you can use in your downstream tasks. The output variable is in JSON format containing the output Azure AD payload schema.

Example 1: Output payload for the Azure AD event:User updated

{"type":"object","properties":{"changeType":{"type":"string"},"clientState":{"type":"string"},"resource":{"type":"string"},"resourceData":{"type":"object","properties":{}},"subscriptionExpirationDateTime":{"type":"string"},"subscriptionId":{"type":"string"},"tenantId":{"type":"string"}}}

Example 2: Data enriched output payload for the Azure AD event:User updated

{"type":"object","properties":{"changeType":{"type":"string"},"clientState":{"type":"string"},"context-data":{"type":"object","properties":{}},"resource":{"type":"string"},"resourceData":{"type":"object","properties":{}},"subscriptionExpirationDateTime":{"type":"string"},"subscriptionId":{"type":"string"},"tenantId":{"type":"string"}}}

Thecontext-data field contains enriched data about the entity.

View event subscriptions

To view and manage all the event subscriptions associated with a connection in Integration Connectors, do the following:

  1. Go toIntegration Connectors > Connections page.

    Go to the Connections page

  2. Click the connection for which you want to view the subscriptions.
  3. Click theEvent subscriptions tab.

    This displays all the event subscriptions for the connection.

Edit Azure AD trigger

You can edit aAzure AD trigger to change or update the connection configuration and event subscription details.

Important: When you edit or modify an Azure AD trigger, you can either retain the previously configured event subscription that is attached to the trigger, or you can delete it. Deleting an event subscription will affect all the published integrations using that event subscription.

To edit an Azure AD trigger, perform the following steps:

  1. Click theAzure AD trigger element in the integration editor to open the trigger configuration pane.
  2. ClickConfigure Azure AD trigger.
  3. Do the following in theConnector Event Trigger Editor page:
    1. To retain the previously configured event subscription, clickRetain, else clickDelete.Warning: Deleting an event subscription will affect all the published integrations using the event subscription. This task cannot be undone.
    2. Update the connection configuration and event subscription details as desired.
    3. ClickDone.
  4. You can view the updated connection and event subscription details in the trigger configuration pane underEvent Subscription details.

Supported event subscription types

You can use theAzure AD trigger to invoke an integration for the following event subscription types:

Event subscription typesDescription
UserprofilesA user is added, deleted, updated or permanently deleted.
Users.updatedA user is created, updated or soft-deleted. Creation and deletion of users triggers anupdated event type.
Users.deletedA user is permanently deleted.

Quotas and limits

For information about quotas and limits, seeQuotas and limits.

What's next

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-02-19 UTC.