How to use IBM App Connect with Microsoft Entra ID

Microsoft Entra ID, previously known as Microsoft Azure Active Directory (Azure AD), is a multi-tenant cloud-based directory and identity management service from Microsoft. Microsoft Entra ID extends on-premises Active Directory into the cloud.

Availability:
  • A connector in IBM App Connect Enterprise as a ServiceApp Connect Enterprise as a Service connector
  • A local connector in a Designer instance of IBM App Connect in containers (Continuous Delivery release)Local connector in containers (Continuous Delivery release) 12.0.3.0-r2 or later
  • A local connector in a Designer instance of IBM App Connect in containers (Support Cycle 2)Local connector in containers (Long Term Support Cycle-2 release)

Supported product and API versions

To find out which product and API versions this connector supports, see Detailed System Requirements on the IBM Support page.

Connecting to Microsoft Entra ID

To connect App Connect to a Microsoft Entra ID account, select your preferred authorization method. For more details, see the following table.
Table 1. Connection fields for your chosen authorization methods. Descriptions of the fields are given after this table.
Provide a username, password, d client credentials (OAUTH 2.0 PASSWORD) (For App Connect in containers and App Connect Enterprise as a Service) Provide credentials for App Connect to use (BASIC OAUTH) (For App Connect in containers and App Connect Enterprise as a Service) Use the application's website to sign in (OAUTH 2.0 AUTH CODE) (For App Connect Enterprise as a Service)
Client ID Client ID
Tip: Authorize connection to Microsoft Entra ID by signing in to your account.
Client secret Client secret  
Username Access token  
Password Refresh token  
After you select your authorization method, connect App Connect to a Microsoft Entra ID account by providing the following connection details.
Table 2. Microsoft Entra ID credentials
Field Description
Client ID The application (client) ID value that is generated when you register an application (to use with App Connect) in the Microsoft Entra ID application registration portal. This ID is shown on the Overview page for the registered application.
Client secret The client secret for the Microsoft Entra ID registered application. This secret is generated under Certificates & secrets for the registered application.
Username The username to log in to your Microsoft Entra ID account.
Password The password for the specified username.
Access token For BASIC OAUTH connections only. The access token that is generated from the application client ID and secret.

An access token that is generated by sending a POST request to the Microsoft identity platform endpoint. This token is attached to requests that App Connect sends to Microsoft Entra ID. This token is typically generated by using the client ID, client secret, scope, grant type, username , and password values for the registered application.

Refresh token For BASIC OAUTH connections only. The refresh token that is generated from the application client ID and secret.

A refresh token that was returned for the POST request to the Microsoft identity platform endpoint. This token can be used to obtain a new access token.

To obtain the connection values for Microsoft Entra ID, see Obtaining connection values for Microsoft Entra ID.

To connect to a Microsoft Entra ID endpoint from the App Connect Designer Connect > Applications and APIs page for the first time, expand Microsoft Entra ID, then click Connect.

Tip:

Before you use the account that is created in App Connect in a flow, rename the account to something meaningful that helps you to identify it. To rename the account on the Applications and APIs page, select the account, open its options menu (⋮), then click Rename Account.

Accessing advanced query capabilities

App Connect provides you with several properties for the Device, Group, and User retrieve objects. To retrieve more information about these objects, you can access properties (known as advanced query capabilities) in Microsoft Entra ID by using the following two filter conditions.
Expand references
This field requires the selection of a Boolean (true or false) value. To access more properties, set this field to true.
Note: By default, the value of the Expand references field is set to false.
Navigation properties to expand
Use this field to specify the extra Microsoft Entra ID properties that you want to access. You can choose a maximum of 5 values by using a comma-separated list.
The Navigation properties to expand field is set to memberOf,transitiveMemberOf.
The following navigation properties are available for you to select for the Device, Group and User retrieve objects:
Device
  • memberOf
  • transitiveMemberOf
  • registeredUsers
  • registeredOwners
Group
  • transitiveMembers
  • memberOf
  • transitiveMemberOf
  • owners
  • appRoleAssignments
User
  • memberOf
  • transitiveMemberOf
  • ownedObjects
  • registeredDevices
  • ownedDevices
  • transitiveManagers
  • directReports
  • transitiveReports
  • appRoleAssignments
  • oAuth2PermissionGrant

For more information about Microsoft Entra ID advanced query capabilities, see Advanced query capabilities on Azure AD directory objects.

General considerations

Before you use App Connect Designer with Microsoft Entra ID, take note of the following considerations:

  • (General consideration) If you are using multiple accounts for an application, the set of fields that is displayed when you select an action for that application can vary for different accounts. In the flow editor, some applications always provide a curated set of static fields for an action. Other applications use dynamic discovery to retrieve the set of fields that are configured on the instance that you are connected to. For example, if you have two accounts for two instances of an application, the first account might use settings that are ready for immediate use. However, the second account might be configured with extra custom fields.

Events and actions

Microsoft Entra ID events

These events are for changes in this application that trigger a flow to start completing the actions in the flow.

Show more configurable events: Events that are shown by default are pre-configured by using optimized connectivity. More items are available after you configure events that can trigger a flow by polling this application for new or updated objects. For more information about configurable events, see Configuring polled events to trigger flows.

Microsoft Entra ID actions

Your flow completes these actions on this application.

Object Action Description
Devices Create device Creates a device in Microsoft Entra ID
Delete device Deletes a device from Microsoft Entra ID
Retrieve devices Retrieves the devices from Microsoft Entra ID
Update device Updates a device in Microsoft Entra ID
Update or create device Updates or creates a device in Microsoft Entra ID
Groups Create group Creates a group in Microsoft Entra ID
Delete group Deletes a group from Microsoft Entra ID
Retrieve groups Retrieves the groups in Microsoft Entra ID
Update group Updates the group in Microsoft Entra ID
Update or create group Updates or creates a group in Microsoft Entra ID
Users Create user Creates a user in Microsoft Entra ID
Delete user Deletes a user from Microsoft Entra ID
Retrieve users Retrieves the users from Microsoft Entra ID
Update user Updates a user in Microsoft Entra ID
Update or create user Updates or creates a user in Microsoft Entra ID

More items are available after you connect App Connect to Microsoft Entra ID.

Examples

Dashboard tile for a template that uses Microsoft Entra ID
Dashboard tile for a template that uses Microsoft Entra ID
Dashboard tile for a template that uses Microsoft Entra ID

Use templates to quickly create flows for Microsoft Entra ID

Learn how to use App Connect templates to quickly create flows that complete actions on Microsoft Entra ID. For example, go to the Discover page and search for Microsoft Entra ID.

Dashboard tile for a template that uses Microsoft Entra ID
Microsoft Entra ID flow in detailed view

Use IBM App Connect to build flows that integrate with Microsoft Entra ID.

The following blog post describes how to sync devices between Microsoft Active Directory and Microsoft Entra ID by using a batch process node. Click Read the blog to go to the blog.

Model Context Protocol (MCP) support

The Microsoft Entra ID connector supports MCP, and all Microsoft Entra ID actions for the listed objects can be added to an MCP server as tools. For more information on how to configure an MCP server, see Creating and managing MCP servers.