Azure AI Foundry connector
Azure AI Foundry is Microsoft’s unified platform for building and deploying AI agents and applications. The Azure AI Foundry connector is a read-only connector that discovers AI agents created in Azure AI Foundry and governance-relevant objects including tools, knowledge bases, guardrails, connections, service accounts, tool credentials, and identity bindings.
| Retrieval of the governance objects discovered by the companion inventory job is enabled through an offline inventory mechanism that requires an Agent Governance license. Contact your Customer Success Outcome Manager (CSOM) for details. |
Azure AI Foundry requirements
Before you configure the connector, you must register an application with Microsoft Entra and configure the Azure AI Foundry project. You need a Microsoft Azure subscription to complete this procedure.
Register an app in Microsoft Entra
-
Sign on to the Azure portal as an administrative user.
-
Select App registrations under Azure services.
-
On the Register an application page, enter a name for the application and select the supported account types.
-
On the new registration page, make a note of the Application (client) ID and the Directory (tenant) ID.
-
Generate a client secret. Select Certificates & secrets > New client secret, enter a description, and click Add. Copy the client secret value.
-
Assign the
Azure AI Userrole to the application on the Azure AI Foundry project. The connector uses this role to list and get agents.
If you enable entraAgentIdLookupEnabled, also grant the application the Application.Read.All Microsoft Graph application permission.
The connector service principal doesn’t require Microsoft.Authorization/roleAssignments/read. The inventory collector’s managed identity holds that permission.
Offline inventory collector permissions
The inventory collector is a Python Azure Function that runs hourly and writes a tools-inventory JSON document to Azure Blob Storage. Its system-assigned managed identity needs the following role assignments:
| Role | Scope |
|---|---|
|
Azure AI Foundry project resource |
|
Subscription or resource group containing the AI Foundry project |
|
Subscription |
|
Subscription |
|
Storage account that holds the inventory JSON |
Set up the inventory collector
The inventory collector gathers tools, knowledge bases, guardrails, connections, service accounts, tool credentials, and identity bindings into a single JSON document. Agent discovery doesn’t use the collector. The connector reads agents live from the Azure AI Foundry Agent Service API during reconciliation.
To set up the inventory collector:
-
Contact your Ping Identity CSOM or Account Executive to obtain the inventory collector package and runbook.
-
Follow the runbook to deploy the inventory collector in your Azure environment.
-
Configure the connector’s
toolsInventoryUrlproperty with the Azure Blob SAS URL for the inventory document.
Install the Azure AI Foundry connector
|
To check for an Advanced Identity Cloud application for this connector, refer to: |
You can download most connectors from Ping Identity Product Downloads, but some are included in the default deployment for Advanced Identity Cloud, IDM, or RCS. When using an included connector, you can skip installing it and move directly to configuration.
| Connector | IDM | RCS |
|---|---|---|
No |
No |
Download the connector .jar file from Ping Identity Product Downloads.
-
If you’re running the connector locally, place it in the
/path/to/openidm/connectorsdirectory, for example:mv ~/Downloads/azureaifoundry-connector-1.5.20.39.jar /path/to/openidm/connectors/
-
If you’re using a remote connector server (RCS), place it in the
/path/to/openicf/connectorsdirectory on the RCS.
Configure the Azure AI Foundry connector
Before you configure the connector, confirm you have the following:
| Requirement | Value |
|---|---|
Tenant ID |
Microsoft Entra tenant ID |
Client ID |
Service principal (app registration) client ID |
Client Secret |
Service principal client secret |
Agent Service Endpoint |
Azure AI Foundry project endpoint URL, for example |
Required if you want |
To create a connector configuration using a UI, use the Platform admin UI or the legacy admin UI (deprecated). Learn more about creating connector configuration.
Using the Platform admin UI
-
From the sidebar, click Provisioners.
-
On the Provisioners page, click New Provisioner.
-
In the New Provisioner modal, enter a Name.
-
From the Connector Type list, select Azure AI Foundry Connector - 1.5.20.39.
The UI displays a code editor field with the default provisioner configuration for the Azure AI Foundry connector.
-
Make changes to the provisioner configuration, and click Save.
For a list of all configuration properties, refer to Azure AI Foundry Connector Configuration.
When your connector is configured correctly, the connection status on the provisioner page displays as Connected.
Using the legacy admin UI
-
From the navigation bar, click Configure > Connectors.
-
On the Connectors page, click New Connector.
-
On the New Connector page, type a Connector Name.
-
From the Connector Type list, select Azure AI Foundry Connector - 1.5.20.39.
-
Complete the Base Connector Details and any applicable Additional Options.
For a list of all configuration properties, refer to Azure AI Foundry Connector Configuration. -
Click Save.
When your connector is configured correctly, the connector displays as Active in the legacy admin UI.
Connection details
The Azure AI Foundry connector uses the following configuration properties:
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
|
String |
Yes |
None |
Azure AI Foundry project endpoint URL, for example |
|
String |
Yes |
None |
Microsoft Entra tenant ID (GUID). Used to derive the token endpoint when |
|
String |
Yes |
None |
Microsoft Entra application (client) ID for OAuth2 client credentials. |
|
GuardedString |
Yes |
None |
Microsoft Entra application client secret. |
|
String |
No |
Derived |
Entra ID token endpoint. Derived from the tenant ID as |
|
String |
No |
Derived |
OAuth2 scope for the Azure AI Foundry token. Defaults to |
|
String |
No |
|
Azure region reported in the agent |
|
String |
No |
|
Agent Service API flavor. Use |
|
String |
No |
|
API version string used when calling the Azure AI Foundry Agents API. |
|
GuardedString |
Conditional |
None |
HTTPS URL pointing to the tools-inventory JSON document, for example the blob’s SAS URL. The URL query string is treated as a credential. Required for the inventory-based object classes. |
|
String |
Conditional |
None |
Local filesystem path to the tools-inventory JSON document. Alternative to |
|
Boolean |
No |
|
When |
|
Boolean |
No |
|
When |
Example Azure AI Foundry configuration
{
"connectorRef": {
"bundleName": "org.forgerock.openicf.connectors.azureaifoundry-connector",
"bundleVersion": "[1.5.0.0,1.6.0.0)",
"connectorName": "org.forgerock.openicf.connectors.azureaifoundry.AzureAIFoundryConnector"
},
"configurationProperties": {
"serviceUri": "https://myresource.services.ai.azure.com/api/projects/myproject",
"tenantId": "00000000-0000-0000-0000-000000000000",
"clientId": "11111111-1111-1111-1111-111111111111",
"clientSecret": {
"$crypto": {
"type": "x-simple-encryption",
"value": {
"cipher": "...",
"data": "...",
"iv": "...",
"key": "openidm-sym-default"
}
}
},
"agentApiFlavor": "classic",
"toolsInventoryUrl": "https://storageaccount.blob.core.windows.net/tools-inventory/azure-ai-foundry/tools-inventory.json?<SAS_PARAMS>",
"identityBindingScanEnabled": false
}
}
Test the Azure AI Foundry connector
Test that the configuration is correct by running the following command:
curl \
--header "X-OpenIDM-Username: openidm-admin" \
--header "X-OpenIDM-Password: openidm-admin" \
--header "Accept-API-Version: resource=1.0" \
--request POST \
"http://localhost:8080/openidm/system/azureaifoundry?_action=test"
{
"name": "azureaifoundry",
"enabled": true,
"config": "config/provisioner.openicf/azureaifoundry",
"connectorRef": {
"bundleVersion": "[1.5.0.0,1.6.0.0)",
"bundleName": "org.forgerock.openicf.connectors.azureaifoundry-connector",
"connectorName": "org.forgerock.openicf.connectors.azureaifoundry.AzureAIFoundryConnector"
},
"displayName": "Azure AI Foundry Connector",
"objectTypes": [
"__ACCOUNT__",
"__ALL__"
],
"ok": true
}
If the command returns "ok": true, your connector has been configured correctly and can authenticate to the Azure AI Foundry API.
TestOp validates connectivity by listing agents from the Agent Service API. It doesn’t prove that the inventory source is reachable. Verify the inventory source separately when validating the inventory-based object classes.
|
Azure AI Foundry remote connector
If you want to run this connector outside of PingOne Advanced Identity Cloud or IDM, you can configure the Azure AI Foundry connector as a remote connector. Java Connectors installed remotely on a Java Connector Server function identically to those bundled locally within PingOne Advanced Identity Cloud or installed locally on IDM.
Refer to Remote connectors for configuring the Azure AI Foundry remote connector.
Configure connection pooling
The Azure AI Foundry connector uses a non-poolable mechanism to manage connections. Learn more about the different pooling mechanisms in Connectors by pooling mechanism.
Implementation specifics
Collection architecture
The Azure AI Foundry connector uses a split collection model.
Live collection runs inside the Java connector during reconciliation. The connector calls the Azure AI Foundry Agent Service API to list and get agents, using the /agents (classic) or /assistants (new) endpoint according to agentApiFlavor.
Offline collection is handled by the companion inventory collector. That collector gathers tools, knowledge bases, guardrails, connections, service accounts, tool credentials, and identity bindings into a single JSON document in Azure Blob Storage, and the connector reads that document during reconciliation. The connector caches the document in memory, and a fetch or parse failure fails the operation rather than reporting an empty inventory.
Live data
| Data | API / source |
|---|---|
Agents |
Azure AI Foundry Agent Service API ( |
Entra agent object IDs |
Microsoft Graph beta API, when |
Inventory data
The connector reads the tools-inventory JSON from the following configured source:
| Source | Configuration property | Used for |
|---|---|---|
Azure Blob SAS URL |
|
|
Local file path |
|
Same object classes; development or test use |
Search filtering
The connector evaluates ICF query filters in memory, before offset paging, so page contents, pagedResultsCookie, and remaining-results values always describe the filtered result set. Any filter the ICF Filter.accept contract can evaluate is supported, including equality, contains, comparisons, and and/or/not compositions. Matching is case-sensitive. An equality filter on __UID__ is served as a direct get. No filtering is pushed down to the Azure APIs. The connector fetches the corpus once per cache window and filters locally.
Use the Azure AI Foundry connector
The Azure AI Foundry connector discovers the following resource types:
| ICF Native Type | Azure AI Foundry Resource Type | Naming Attribute | Notes |
|---|---|---|---|
|
Azure AI Foundry agent |
|
Represents one AI Foundry agent. UID is the agent ID and |
|
Tool attached to one or more agents |
|
Represents tool definitions from the inventory, such as |
|
Knowledge base used by agents |
|
Represents MCP knowledge base references or vector store IDs from the inventory. |
|
Agent guardrail (RAI policy) |
|
Represents the Responsible AI policy applied to one or more agents. One record per unique policy. |
|
Derived IAM-to-agent identity binding |
|
Not a native Azure AI Foundry entity. Represents a role assignment granting invoke access to an agent. Gated by |
|
Managed identity of the AI Foundry project or account |
|
Read from the offline inventory artifact. |
|
Auth binding between an agent tool and a connection or managed identity |
|
Read from the offline inventory artifact. |
|
Azure AI Foundry project connection |
|
Represents connections (such as to Azure OpenAI or GitHub) configured in the Foundry project. |
__ACCOUNT__ attributes
| Attribute | Type | Multivalued | Description |
|---|---|---|---|
|
String |
No |
Connector platform identifier. Current value is |
|
String |
No |
Azure AI Foundry agent ID. Also the UID. |
|
String |
No |
Agent version. Current value is |
|
String |
No |
Agent description. |
|
String |
No |
Foundation model configured for the agent. |
|
String |
No |
System prompt or instructions for the agent. |
|
String |
No |
Agent creation timestamp. |
|
String |
No |
Responsible AI policy name applied to the agent. |
|
Number |
No |
Model temperature parameter. |
|
Number |
No |
Model top-P parameter. |
|
String |
No |
Response format configuration. |
|
String |
No |
Raw tools configuration from the agent definition, serialized as JSON. |
|
String |
No |
Raw tool resources configuration. |
|
String |
No |
Microsoft Entra object ID associated with the agent. Populated when |
|
String |
No |
Runtime managed identity associated with the agent. |
|
String |
No |
Value of the |
|
String |
Yes |
Forward pointers to |
|
String |
Yes |
Forward pointers to |
|
String |
No |
Forward pointer to the |
|
String |
Yes |
Agent IDs of connected sub-agents. |
|
String |
Yes |
Forward pointers to |
|
String |
Yes |
Forward pointers to |
|
String |
Yes |
Forward pointers to |
|
String |
Yes |
Forward pointers to |
agentTool attributes
| Attribute | Type | Multivalued | Description |
|---|---|---|---|
|
String |
No |
Tool description. |
|
String |
No |
Tool type classification, such as |
|
String |
No |
Executor reference, when present. |
|
String |
No |
Full tool definition node serialized as JSON, when present. The attribute name predates the implementation. |
agentKnowledgeBase attributes
| Attribute | Type | Multivalued | Description |
|---|---|---|---|
|
String |
No |
Connector platform identifier. |
|
String |
No |
Knowledge base ID. |
|
String |
No |
Knowledge base state. |
|
String |
No |
Knowledge base source type. |
|
String |
No |
Connection reference for the knowledge base source. |
agentGuardrail attributes
| Attribute | Type | Multivalued | Description |
|---|---|---|---|
|
String |
No |
Connector platform identifier. |
|
String |
No |
Guardrail ID. |
|
String |
No |
Full Responsible AI policy name. |
|
String |
No |
Short name for the RAI policy. |
|
String |
Yes |
Agent IDs that reference this guardrail. |
agentIdentityBinding attributes
| Attribute | Type | Multivalued | Description |
|---|---|---|---|
|
String |
No |
Connector platform identifier. |
|
String |
No |
Agent ID the binding grants access to. |
|
String |
No |
Agent version. |
|
String |
No |
Binding kind. |
|
String |
No |
Principal reference. |
|
String |
No |
Principal object ID. |
|
String |
No |
Principal type, such as |
|
String |
No |
Azure role name. |
|
String |
No |
Azure role definition ID. |
|
String |
No |
IAM member string. |
|
String |
Yes |
Permissions associated with the binding. |
|
String |
No |
Azure RBAC scope. |
|
String |
No |
Resource ID of the scope. |
|
String |
No |
Scope type. |
|
String |
No |
Azure tenant ID. |
|
String |
No |
Azure RBAC condition, serialized as JSON. |
|
String |
No |
Source tag from the inventory artifact. |
|
String |
No |
Confidence value from the inventory artifact. |
|
Boolean |
No |
Whether the principal was expanded by the inventory process. Group principals have |
serviceAccount attributes
| Attribute | Type | Multivalued | Description |
|---|---|---|---|
|
String |
No |
Connector platform identifier. |
|
String |
No |
Azure resource ID of the account or project owning the identity. |
|
String |
No |
Identity type as reported by ARM, such as |
|
String |
No |
Principal object ID of the managed identity. |
|
String |
No |
Service principal or managed identity object ID. |
|
String |
No |
Azure tenant ID. |
|
String |
No |
Client ID of the managed identity or service principal. |
|
String |
No |
Identity scope. |
|
String |
Yes |
Agent IDs linked to this service account. |
agentToolCredential attributes
| Attribute | Type | Multivalued | Description |
|---|---|---|---|
|
String |
No |
Tool ID. |
|
String |
No |
Tool type classification. |
|
String |
Yes |
Agent IDs that use this tool credential. |
|
String |
No |
Authentication type, such as OAuth2, API key, or managed identity. |
|
String |
No |
Credential reference. Doesn’t contain secret material. |
|
String |
No |
Connection ID used by the tool. |
|
String |
No |
Connection name used by the tool. |
|
String |
No |
Azure resource ID of the connection referenced by the tool credential. |
|
String |
No |
Target endpoint or resource. |
|
String |
No |
Azure resource ID backing the tool credential. |
agentConnection attributes
| Attribute | Type | Multivalued | Description |
|---|---|---|---|
|
String |
No |
Connector platform identifier. |
|
String |
No |
Azure resource ID of the connection. |
|
String |
No |
Connection type, such as |
|
String |
No |
Credentials type used by the connection. |
|
String |
No |
Connection target endpoint or resource URI. |
|
String |
No |
Azure resource ID backing the connection. |
|
Boolean |
No |
Whether this is the default connection for the project. |
OpenICF Interfaces Implemented by the Azure AI Foundry Connector
The Azure AI Foundry Connector implements the following OpenICF interfaces. For additional details, see ICF interfaces:
- Schema
-
Describes the object types, operations, and options that the connector supports.
- Script on Connector
-
Enables an application to run a script in the context of the connector.
Any script that runs on the connector has the following characteristics:
-
The script runs in the same execution environment as the connector and has access to all the classes to which the connector has access.
-
The script has access to a
connectorvariable that is equivalent to an initialized instance of the connector. At a minimum, the script can access the connector configuration. -
The script has access to any script arguments passed in by the application.
-
- Search
-
Searches the target resource for all objects that match the specified object class and filter.
- Test
-
Tests the connector configuration.
Testing a configuration checks all elements of the environment that are referred to by the configuration are available. For example, the connector might make a physical connection to a host that is specified in the configuration to verify that it exists and that the credentials that are specified in the configuration are valid.
This operation might need to connect to a resource, and, as such, might take some time. Do not invoke this operation too often, such as before every provisioning operation. The test operation is not intended to check that the connector is alive (that is, that its physical connection to the resource has not timed out).
You can invoke the test operation before a connector configuration has been validated.
Azure AI Foundry Connector Configuration
The Azure AI Foundry Connector has the following configurable properties:
Basic Configuration Properties
| Property | Type | Default | Encrypted(1) | Required(2) |
|---|---|---|---|---|
|
|
|
|
Yes |
Base endpoint for the Azure AI Foundry Agents API, for example |
||||
|
|
|
|
No |
The service login name. |
||||
|
|
|
Yes |
No |
The service user password. |
||||
|
|
|
|
Yes |
Defines which method is to be used to authenticate on the remote server. Options are |
||||
|
|
|
|
No |
Entra ID token endpoint. Derived as |
||||
|
|
|
|
No |
Entra ID application (client) ID for OAuth2 client credentials. |
||||
|
|
|
Yes |
No |
Entra ID application client secret. |
||||
|
|
|
Yes |
No |
Static authentication token. |
||||
|
|
|
|
No |
To be used for debug/test purposes. To be avoided in production. |
||||
|
|
|
|
No |
To be used for debug/test purposes. To be avoided in production. |
||||
|
|
|
|
No |
Set this property to |
||||
|
|
|
|
No |
If TLS Mutual Auth is needed, set this to the certificate alias from the keystore. |
||||
|
|
|
Yes |
No |
If TLS Mutual Auth is needed and the client certificate (private key) password is different from the keystore password, set this to the client private key password. |
||||
|
|
|
|
No |
Defines the max size of the HTTP connection pool used. |
||||
|
|
|
|
No |
Defines the Hostname if an HTTP proxy is used between the connector and the service. |
||||
|
|
|
|
No |
Defines the Port if an HTTP proxy is used between the connector and the service. |
||||
|
|
|
|
No |
Defines Proxy Username if an HTTP proxy is used between the connector and the service. |
||||
|
|
|
Yes |
No |
Defines Proxy Password if an HTTP proxy is used between the connector and the service. |
||||
|
|
|
|
No |
Defines a timeout for the underlying HTTP connection in seconds. |
||||
|
|
|
|
No |
Used by the refresh_token grant type. |
||||
|
|
|
|
No |
The OAuth2 grant type to use ( |
||||
|
|
|
|
No |
OAuth2 scope for the Azure AI Foundry token. Defaults to |
||||
|
|
|
|
No |
The prefix to be used in the Authorization HTTP header for Token authentication. |
||||
|
|
|
|
No |
The Authentication method for refresh token (Basic Authentication or Sending the ClientId and Client Secret in the Header). |
||||
|
|
|
Yes |
No |
The JWT data structure that represents a cryptographic key. |
||||
|
|
|
|
No |
Defines the JWT expiration time in minutes. |
||||
|
|
|
|
No |
The Algorithm type to sign payload. |
||||
|
|
|
|
No |
JWT Claims to be included in the payload |
||||
|
|
|
Yes |
No |
The contents of the private key of the PEM file |
||||
|
|
|
Yes |
No |
The contents of the certificate of the PEM file |
||||
|
|
|
|
No |
Indicates the type of key (such as RSA, DSA or EC) used to sign from the PEM. |
||||
|
|
|
|
No |
The User Agent HTTP Header used by the connector. Defaults to |
||||
(1) Whether the property value is considered confidential, and is therefore encrypted in IDM.
(2) A list of operations in this column indicates that the property is required for those operations.
Configuration properties
| Property | Type | Default | Encrypted(1) | Required(2) |
|---|---|---|---|---|
|
|
|
|
Yes |
Microsoft Entra ID tenant ID (GUID). Used to derive the token endpoint when |
||||
|
|
|
|
No |
Azure region where AI Foundry resources (agents, tools, knowledge bases, guardrails) are deployed. |
||||
|
|
|
|
No |
Agent Service API flavor: |
||||
|
|
|
|
No |
API version string used when calling the Azure AI Foundry Agents API. Defaults to |
||||
|
|
|
Yes |
No |
HTTPS URL pointing to the tools-inventory JSON document that includes tools, knowledge bases, guardrails, connections, service accounts, tool credentials, and identity bindings. Confidential: the SAS token or function key in the URL query string is a credential. |
||||
|
|
|
|
No |
Local filesystem path to the tools-inventory JSON document. Used only if |
||||
|
|
|
|
No |
When true, the connector returns |
||||
|
|
|
|
No |
When enabled, queries Microsoft Graph beta API to resolve Entra agent identity service principals and enrich agents with their Entra object IDs. Requires |
||||
(1) Whether the property value is considered confidential, and is therefore encrypted in IDM.
(2) A list of operations in this column indicates that the property is required for those operations.