ICF 1.5.20.39

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

  1. Sign on to the Azure portal as an administrative user.

  2. Select App registrations under Azure services.

  3. On the Register an application page, enter a name for the application and select the supported account types.

  4. On the new registration page, make a note of the Application (client) ID and the Directory (tenant) ID.

  5. Generate a client secret. Select Certificates & secrets > New client secret, enter a description, and click Add. Copy the client secret value.

  6. Assign the Azure AI User role 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 User

Azure AI Foundry project resource

Reader

Subscription or resource group containing the AI Foundry project

Microsoft.Authorization/roleAssignments/read

Subscription

Microsoft.Authorization/roleDefinitions/read

Subscription

Storage Blob Data Contributor

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:

  1. Contact your Ping Identity CSOM or Account Executive to obtain the inventory collector package and runbook.

  2. Follow the runbook to deploy the inventory collector in your Azure environment.

  3. Configure the connector’s toolsInventoryUrl property 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 included in default deployment
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/connectors directory, 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/connectors directory 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 https://<resource>.services.ai.azure.com/api/projects/<project>

Companion inventory job

Required if you want agentTool, agentKnowledgeBase, agentGuardrail, serviceAccount, agentToolCredential, agentConnection, or agentIdentityBinding populated

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

  1. From the sidebar, click settings_ethernet Provisioners.

  2. On the Provisioners page, click New Provisioner.

  3. In the New Provisioner modal, enter a Name.

  4. 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.

  5. 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

  1. From the navigation bar, click Configure > Connectors.

  2. On the Connectors page, click New Connector.

  3. On the New Connector page, type a Connector Name.

  4. From the Connector Type list, select Azure AI Foundry Connector - 1.5.20.39.

  5. Complete the Base Connector Details and any applicable Additional Options.

    For a list of all configuration properties, refer to Azure AI Foundry Connector Configuration.
  6. 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

serviceUri

String

Yes

None

Azure AI Foundry project endpoint URL, for example https://<resource>.services.ai.azure.com/api/projects/<project>. Must use https://.

tenantId

String

Yes

None

Microsoft Entra tenant ID (GUID). Used to derive the token endpoint when tokenEndpoint is left unset.

clientId

String

Yes

None

Microsoft Entra application (client) ID for OAuth2 client credentials.

clientSecret

GuardedString

Yes

None

Microsoft Entra application client secret.

tokenEndpoint

String

No

Derived

Entra ID token endpoint. Derived from the tenant ID as https://login.microsoftonline.com/<tenant-id>/oauth2/v2.0/token when left unset.

scope

String

No

Derived

OAuth2 scope for the Azure AI Foundry token. Defaults to https://ai.azure.com/.default when left unset.

defaultLocation

String

No

eastus

Azure region reported in the agent region attribute.

agentApiFlavor

String

No

classic

Agent Service API flavor. Use classic for the /agents API or new for the /assistants API. Any other value fails validation.

apiVersion

String

No

v1

API version string used when calling the Azure AI Foundry Agents API.

toolsInventoryUrl

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.

toolsInventoryFilePath

String

Conditional

None

Local filesystem path to the tools-inventory JSON document. Alternative to toolsInventoryUrl. Intended for development or test use.

identityBindingScanEnabled

Boolean

No

false

When true, the connector returns agentIdentityBinding objects read from the tools inventory. When false, agentIdentityBinding searches return no data regardless of inventory configuration.

entraAgentIdLookupEnabled

Boolean

No

false

When true, queries the Microsoft Graph beta API to resolve Entra agent identity service principals and enrich agents with their Entra object IDs. Requires the Application.Read.All Graph API permission. Correlation is by agent display name (best-effort).

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 (/agents or /assistants).

Entra agent object IDs

Microsoft Graph beta API, when entraAgentIdLookupEnabled=true.

Inventory data

The connector reads the tools-inventory JSON from the following configured source:

Source Configuration property Used for

Azure Blob SAS URL

toolsInventoryUrl

agentTool, agentKnowledgeBase, agentGuardrail, serviceAccount, agentToolCredential, agentConnection, agentIdentityBinding

Local file path

toolsInventoryFilePath

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

__ACCOUNT__

Azure AI Foundry agent

__NAME__

Represents one AI Foundry agent. UID is the agent ID and __NAME__ is the agent name. Read live from the Agent Service API and enriched with relationship attributes from the inventory. The connector is read-only. It doesn’t support Create, Update, or Delete operations.

agentTool

Tool attached to one or more agents

__NAME__

Represents tool definitions from the inventory, such as openapi, file_search, code_interpreter, mcp, and connected_agent.

agentKnowledgeBase

Knowledge base used by agents

__NAME__

Represents MCP knowledge base references or vector store IDs from the inventory.

agentGuardrail

Agent guardrail (RAI policy)

__NAME__

Represents the Responsible AI policy applied to one or more agents. One record per unique policy.

agentIdentityBinding

Derived IAM-to-agent identity binding

__NAME__

Not a native Azure AI Foundry entity. Represents a role assignment granting invoke access to an agent. Gated by identityBindingScanEnabled.

serviceAccount

Managed identity of the AI Foundry project or account

__NAME__

Read from the offline inventory artifact.

agentToolCredential

Auth binding between an agent tool and a connection or managed identity

__NAME__

Read from the offline inventory artifact.

agentConnection

Azure AI Foundry project connection

__NAME__

Represents connections (such as to Azure OpenAI or GitHub) configured in the Foundry project.

__ACCOUNT__ attributes

Attribute Type Multivalued Description

platform

String

No

Connector platform identifier. Current value is AZURE_AI_FOUNDRY.

agentId

String

No

Azure AI Foundry agent ID. Also the UID.

agentVersion

String

No

Agent version. Current value is latest.

description

String

No

Agent description.

foundationModel

String

No

Foundation model configured for the agent.

instructions

String

No

System prompt or instructions for the agent.

createdAt

String

No

Agent creation timestamp.

raiPolicyName

String

No

Responsible AI policy name applied to the agent.

temperature

Number

No

Model temperature parameter.

topP

Number

No

Model top-P parameter.

responseFormat

String

No

Response format configuration.

toolsRaw

String

No

Raw tools configuration from the agent definition, serialized as JSON.

toolResourcesRaw

String

No

Raw tool resources configuration.

entraAgentObjectId

String

No

Microsoft Entra object ID associated with the agent. Populated when entraAgentIdLookupEnabled=true.

serviceAccount

String

No

Runtime managed identity associated with the agent.

region

String

No

Value of the defaultLocation configuration property.

toolIds

String

Yes

Forward pointers to agentTool objects.

knowledgeBaseIds

String

Yes

Forward pointers to agentKnowledgeBase objects.

guardrailId

String

No

Forward pointer to the agentGuardrail object.

connectedAgents

String

Yes

Agent IDs of connected sub-agents.

identityBindingIds

String

Yes

Forward pointers to agentIdentityBinding records.

serviceAccountIds

String

Yes

Forward pointers to serviceAccount records.

toolCredentialIds

String

Yes

Forward pointers to agentToolCredential records.

connectionIds

String

Yes

Forward pointers to agentConnection records.

agentTool attributes

Attribute Type Multivalued Description

description

String

No

Tool description.

toolType

String

No

Tool type classification, such as openapi or file_search.

executorArn

String

No

Executor reference, when present.

schemaUri

String

No

Full tool definition node serialized as JSON, when present. The attribute name predates the implementation.

agentKnowledgeBase attributes

Attribute Type Multivalued Description

platform

String

No

Connector platform identifier.

knowledgeBaseId

String

No

Knowledge base ID.

knowledgeBaseState

String

No

Knowledge base state.

sourceType

String

No

Knowledge base source type.

connectionRef

String

No

Connection reference for the knowledge base source.

agentGuardrail attributes

Attribute Type Multivalued Description

platform

String

No

Connector platform identifier.

guardrailId

String

No

Guardrail ID.

raiPolicyName

String

No

Full Responsible AI policy name.

raiPolicyShortName

String

No

Short name for the RAI policy.

agentIdsUsingGuardrail

String

Yes

Agent IDs that reference this guardrail.

agentIdentityBinding attributes

Attribute Type Multivalued Description

platform

String

No

Connector platform identifier.

agentId

String

No

Agent ID the binding grants access to.

agentVersion

String

No

Agent version.

kind

String

No

Binding kind.

principal

String

No

Principal reference.

principalId

String

No

Principal object ID.

principalType

String

No

Principal type, such as User, Group, or ServicePrincipal.

roleName

String

No

Azure role name.

roleDefinitionId

String

No

Azure role definition ID.

iamMember

String

No

IAM member string.

permissions

String

Yes

Permissions associated with the binding.

scope

String

No

Azure RBAC scope.

scopeResourceId

String

No

Resource ID of the scope.

scopeType

String

No

Scope type.

tenantId

String

No

Azure tenant ID.

conditionJson

String

No

Azure RBAC condition, serialized as JSON.

sourceTag

String

No

Source tag from the inventory artifact.

confidence

String

No

Confidence value from the inventory artifact.

expanded

Boolean

No

Whether the principal was expanded by the inventory process. Group principals have expanded=false; individual member resolution isn’t performed.

serviceAccount attributes

Attribute Type Multivalued Description

platform

String

No

Connector platform identifier.

armResourceId

String

No

Azure resource ID of the account or project owning the identity.

identityType

String

No

Identity type as reported by ARM, such as SystemAssigned.

serviceAccount

String

No

Principal object ID of the managed identity.

principalId

String

No

Service principal or managed identity object ID.

tenantId

String

No

Azure tenant ID.

clientId

String

No

Client ID of the managed identity or service principal.

identityScope

String

No

Identity scope.

linkedAgentIds

String

Yes

Agent IDs linked to this service account.

agentToolCredential attributes

Attribute Type Multivalued Description

toolId

String

No

Tool ID.

toolType

String

No

Tool type classification.

agentIds

String

Yes

Agent IDs that use this tool credential.

authType

String

No

Authentication type, such as OAuth2, API key, or managed identity.

credentialRef

String

No

Credential reference. Doesn’t contain secret material.

connectionId

String

No

Connection ID used by the tool.

connectionName

String

No

Connection name used by the tool.

armResourceId

String

No

Azure resource ID of the connection referenced by the tool credential.

target

String

No

Target endpoint or resource.

backingResourceId

String

No

Azure resource ID backing the tool credential.

agentConnection attributes

Attribute Type Multivalued Description

platform

String

No

Connector platform identifier.

armResourceId

String

No

Azure resource ID of the connection.

connectionType

String

No

Connection type, such as AzureOpenAI or AzureBlob.

credentialsType

String

No

Credentials type used by the connection.

target

String

No

Connection target endpoint or resource URI.

backingResourceId

String

No

Azure resource ID backing the connection.

isDefault

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 connector variable 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)

serviceUri

String

null

Yes

Base endpoint for the Azure AI Foundry Agents API, for example https://<resource>.services.ai.azure.com/api/projects/<project>;.

login

String

null

No

The service login name.

password

GuardedString

null

Yes

No

The service user password.

authenticationMethod

String

OAUTH

Yes

Defines which method is to be used to authenticate on the remote server. Options are BASIC (username/password), OAUTH (Client id/secret), JWT_TOKEN (jwt token), or TOKEN (static token).

tokenEndpoint

String

null

No

Entra ID token endpoint. Derived as https://login.microsoftonline.com/{tenantId}/oauth2/v2.0/token when left unset.

clientId

String

null

No

Entra ID application (client) ID for OAuth2 client credentials.

clientSecret

GuardedString

null

Yes

No

Entra ID application client secret.

authToken

GuardedString

null

Yes

No

Static authentication token.

acceptSelfSignedCertificates

boolean

false

No

To be used for debug/test purposes. To be avoided in production.

disableHostNameVerifier

boolean

false

No

To be used for debug/test purposes. To be avoided in production.

disableHttpCompression

boolean

false

No

Set this property to true to disable content compression.

clientCertAlias

String

null

No

If TLS Mutual Auth is needed, set this to the certificate alias from the keystore.

clientCertPassword

GuardedString

null

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.

maximumConnections

Integer

10

No

Defines the max size of the HTTP connection pool used.

httpProxyHost

String

null

No

Defines the Hostname if an HTTP proxy is used between the connector and the service.

httpProxyPort

Integer

null

No

Defines the Port if an HTTP proxy is used between the connector and the service.

httpProxyUsername

String

null

No

Defines Proxy Username if an HTTP proxy is used between the connector and the service.

httpProxyPassword

GuardedString

null

Yes

No

Defines Proxy Password if an HTTP proxy is used between the connector and the service.

connectionTimeout

int

30

No

Defines a timeout for the underlying HTTP connection in seconds.

refreshToken

GuardedString

null

No

Used by the refresh_token grant type.

grantType

String

client_credentials

No

The OAuth2 grant type to use (client_credentials, refresh_token, or jwt_bearer).

scope

String

null

No

OAuth2 scope for the Azure AI Foundry token. Defaults to https://ai.azure.com/.default when left unset.

authorizationTokenPrefix

String

Bearer

No

The prefix to be used in the Authorization HTTP header for Token authentication.

useBasicAuthForOauthTokenNeg

boolean

false

No

The Authentication method for refresh token (Basic Authentication or Sending the ClientId and Client Secret in the Header).

jwtKey

GuardedString

null

Yes

No

The JWT data structure that represents a cryptographic key.

jwtExpiration

Integer

null

No

Defines the JWT expiration time in minutes.

jwtAlgorithm

String

null

No

The Algorithm type to sign payload.

jwtClaims

Map

null

No

JWT Claims to be included in the payload

jwtPem

GuardedString

null

Yes

No

The contents of the private key of the PEM file

jwtCert

GuardedString

null

Yes

No

The contents of the certificate of the PEM file

keyAlgorithm

String

null

No

Indicates the type of key (such as RSA, DSA or EC) used to sign from the PEM.

userAgent

String

PingIdentityConnector

No

The User Agent HTTP Header used by the connector. Defaults to PingIdentityConnector.

(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)

tenantId

String

null

Yes

Microsoft Entra ID tenant ID (GUID). Used to derive the token endpoint when tokenEndpoint is left unset.

defaultLocation

String

eastus

No

Azure region where AI Foundry resources (agents, tools, knowledge bases, guardrails) are deployed.

agentApiFlavor

String

classic

No

Agent Service API flavor: classic (uses /agents) or new (uses /assistants). Defaults to classic. Any other value is rejected during validation.

apiVersion

String

v1

No

API version string used when calling the Azure AI Foundry Agents API. Defaults to v1 if not specified.

toolsInventoryUrl

GuardedString

null

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.

toolsInventoryFilePath

String

null

No

Local filesystem path to the tools-inventory JSON document. Used only if toolsInventoryUrl is not provided.

identityBindingScanEnabled

boolean

false

No

When true, the connector returns agentIdentityBinding objects read from the tools inventory. When false (default), agentIdentityBinding searches return no data regardless of inventory configuration.

entraAgentIdLookupEnabled

boolean

false

No

When enabled, queries Microsoft Graph beta API to resolve Entra agent identity service principals and enrich agents with their Entra object IDs. Requires Application.Read.All Graph API permission. Correlation is by agent displayName (best-effort). Default: false.

(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.