Microsoft Copilot Studio connector
Microsoft Copilot Studio is Microsoft’s low-code platform for building and deploying AI agents. The Microsoft Copilot Studio connector is a read-only connector that discovers Copilot Studio agents and governance-relevant objects including tools, knowledge sources, connected-agent references, owners, and identity bindings.
Retrieval of agentIdentityBinding is enabled through an offline inventory mechanism that requires an Agent Governance license. Contact your Customer Success Outcome Manager (CSOM) for details.
|
Microsoft Copilot Studio requirements
Before you can use the connector, you must register an application with Azure. You need a Microsoft Azure subscription to complete this procedure:
-
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, for example
ICF Copilot Studio Connector. -
Select the supported account types and enter a Redirect URI.
The redirect URI is the IDM or Advanced Identity Cloud URI that Azure should redirect to after successful authentication, for example
https://idm.example.com:8443/. -
On the new registration page, make a note of the Application (client) ID and the Directory (tenant) ID. You’ll need these to configure the connector.
-
Generate a client secret:
-
Select Certificates & secrets > New client secret.
-
Enter a description, select an expiration date, and click Add.
-
Copy the client secret value.
-
-
Set the API permissions:
Service Permission Dynamics CRM
mcp.tools,user_impersonationMicrosoft Graph
user.readPowerApps Service
user -
Navigate to the Power Platform admin center.
-
Navigate to Environments and select your environment.
-
Select Settings > Application Users.
-
Add the app you created and grant it the System Administrator role.
Offline inventory job permissions
The agentIdentityBinding object class depends on a separate offline inventory job. That job needs the following permissions:
| Permission area | Required access |
|---|---|
Dataverse |
Access to read Copilot Studio bot records and |
Microsoft Graph |
|
Azure Blob Storage |
Permission to write the identity binding inventory JSON |
The connector reads the inventory JSON using either a SAS URL or a local file path. When using a SAS URL, the connector performs an unauthenticated HTTP GET and doesn’t send an Authorization header.
Set up the inventory collector
The companion inventory job reads Copilot Studio group authorization data, resolves Microsoft Entra group metadata, and writes a normalized JSON artifact to Azure Blob Storage. The connector reads that artifact during reconciliation when identity binding scanning is enabled.
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 artifact.
Install the Microsoft Copilot Studio 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/m365copilot-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 Microsoft Copilot Studio connector
Before you configure the connector, confirm you have the following:
| Requirement | Value |
|---|---|
Microsoft Azure subscription |
Required to register the application |
Dataverse environment URL |
URL for the target Copilot Studio environment |
Tenant ID |
Microsoft Entra tenant ID |
Client ID |
Application (client) ID from the app registration |
Client Secret |
Client secret from the app registration |
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 Microsoft Copilot Studio Connector - 1.5.20.39.
The UI displays a code editor field with the default provisioner configuration for the Microsoft Copilot Studio connector.
-
Make changes to the provisioner configuration, and click Save.
For a list of all configuration properties, refer to Microsoft Copilot Studio 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 Microsoft Copilot Studio Connector - 1.5.20.39.
-
Complete the Base Connector Details and any applicable Additional Options.
For a list of all configuration properties, refer to Microsoft Copilot Studio Connector Configuration. -
Click Save.
When your connector is configured correctly, the connector displays as Active in the legacy admin UI.
Connection details
The Microsoft Copilot Studio connector uses the following configuration properties:
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
|
String |
Yes |
None |
Microsoft Entra tenant ID. |
|
String |
Yes |
None |
Dataverse environment URL, for example |
|
String |
Yes |
None |
Microsoft Entra application client ID. |
|
GuardedString |
Yes |
None |
Microsoft Entra application client secret. |
|
String |
No |
None |
SAS URL for the identity binding inventory JSON. Used when |
|
String |
No |
None |
Local path to the identity binding inventory JSON. Intended for development or test use. |
|
Integer |
No |
|
HTTP connect, socket, and connection request timeout. |
|
Boolean |
No |
|
Logs raw API payloads. Use only for development or troubleshooting. |
|
Boolean |
No |
|
Enables |
|
Boolean |
No |
|
Includes agents where |
Example Microsoft Copilot Studio configuration
{
"connectorRef": {
"bundleName": "org.forgerock.openicf.connectors.m365copilot-connector",
"bundleVersion": "[1.5.0.0,1.6.0.0)",
"connectorName": "org.forgerock.openicf.connectors.m365copilot.M365CopilotConnector"
},
"configurationProperties": {
"tenantId": "00000000-0000-0000-0000-000000000000",
"environmentUrl": "https://org.example.crm.dynamics.com",
"clientId": "11111111-1111-1111-1111-111111111111",
"clientSecret": {
"$crypto": {
"type": "x-simple-encryption",
"value": {
"cipher": "...",
"data": "...",
"iv": "...",
"key": "openidm-sym-default"
}
}
},
"toolsInventoryUrl": "https://storageaccount.blob.core.windows.net/tools-inventory/copilot-studio/identity-bindings.json?<SAS_PARAMS>",
"httpTimeoutSeconds": 30,
"logPayloads": false,
"identityBindingScanEnabled": true,
"includeUnpublishedAgents": false
}
}
Test the Microsoft Copilot Studio 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/m365copilot?_action=test"
{
"name": "m365copilot",
"enabled": true,
"config": "config/provisioner.openicf/m365copilot",
"connectorRef": {
"bundleVersion": "[1.5.0.0,1.6.0.0)",
"bundleName": "org.forgerock.openicf.connectors.m365copilot-connector",
"connectorName": "org.forgerock.openicf.connectors.m365copilot.M365CopilotConnector"
},
"displayName": "Microsoft Copilot Studio Connector",
"objectTypes": [
"__ACCOUNT__",
"__ALL__"
],
"ok": true
}
If the command returns "ok": true, your connector has been configured correctly and can authenticate to the Dataverse environment.
TestOp validates connectivity by calling the Dataverse bots endpoint (GET /api/data/v9.2/bots?$top=1&$select=botid). It doesn’t prove that the identity binding inventory exists. Verify the inventory source separately when validating agentIdentityBinding.
|
Microsoft Copilot Studio remote connector
If you want to run this connector outside of PingOne Advanced Identity Cloud or IDM, you can configure the Microsoft Copilot Studio 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 Microsoft Copilot Studio remote connector.
Configure connection pooling
The Microsoft Copilot Studio 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 Microsoft Copilot Studio connector uses a split collection model.
Live collection runs inside the Java connector during reconciliation, calling the Dataverse Web API to list Copilot Studio agents and bot components. Bot components are classified into tools, knowledge sources, topics, and connected-agent references.
Offline collection is handled by a companion inventory job. That job reads Copilot Studio group authorization data, resolves Microsoft Entra group metadata, writes a normalized JSON artifact to Azure Blob Storage, and the connector reads that artifact during reconciliation when identity binding scanning is enabled. This split keeps reconciliation focused on Dataverse reads and avoids requiring Microsoft Graph permissions in the connector itself.
Live data
| Data | API / source |
|---|---|
Agents |
Dataverse |
Agent owner |
Dataverse |
Agent tools |
Dataverse |
Knowledge sources |
Dataverse |
Connected-agent references |
Dataverse |
AI settings |
Parsed from the Dataverse |
Inventory behavior
| Behavior | Description |
|---|---|
Inventory source |
|
Identity binding gate |
Inventory is fetched only when |
SAS URL behavior |
SAS URL fetch is unauthenticated. The connector doesn’t send a bearer token with the SAS request. |
Local file behavior |
The connector reads the JSON file from |
Missing inventory source |
|
Inventory cache |
The client caches the inventory JSON for the connector instance lifetime. The connector is non-poolable so reconciliations get a fresh instance and fresh caches. |
Expected inventory shape:
{
"identityBindings": [
{
"agentId": "00000000-0000-0000-0000-000000000000",
"groupId": "11111111-1111-1111-1111-111111111111",
"groupDisplayName": "Copilot Agent Users",
"groupMail": "copilot-agent-users@example.com",
"groupType": "Security"
}
]
}
Use the Microsoft Copilot Studio connector
The Microsoft Copilot Studio connector discovers the following resource types:
| ICF Native Type | Microsoft Copilot Studio / Dataverse Resource Type | Naming Attribute | Notes |
|---|---|---|---|
|
Copilot Studio agent / Dataverse |
|
Represents one Copilot Studio agent. UID is the Dataverse |
|
Dataverse |
|
Represents Power Platform connector tools and MCP tools. The connector classifies type |
|
Dataverse |
|
Represents knowledge sources attached to a Copilot Studio agent. These are Dataverse |
|
Derived Microsoft Entra group-to-agent authorization binding |
|
Not a native Dataverse object. Represents an authorized security group for an agent, derived from offline inventory and exposed as one object per agent/group pair. |
__ACCOUNT__ attributes
| Attribute | Type | Multivalued | Description |
|---|---|---|---|
|
String |
No |
Connector platform identifier. Current value is |
|
String |
No |
Dataverse |
|
Integer |
No |
Dataverse state code. |
|
Integer |
No |
Dataverse status code. |
|
String |
No |
Label derived from Dataverse |
|
String |
No |
Dataverse authentication mode. |
|
String |
No |
Dataverse runtime provider. |
|
String |
No |
Agent language. |
|
String |
No |
Dataverse schema name. |
|
String |
No |
Published timestamp. |
|
String |
No |
Created timestamp. |
|
String |
No |
Modified timestamp. |
|
String |
Yes |
Bot component IDs for child tool components. |
|
String |
Yes |
Bot component IDs for child knowledge source components. |
|
String |
Yes |
Schema names of connected-agent wrapper components. |
|
String |
Yes |
Target bot schema names parsed from connected-agent YAML. |
|
String |
Yes |
Resolved target bot IDs for same-environment connected agents. |
|
String |
No |
Parsed from the |
|
Boolean |
No |
Parsed from the |
|
Boolean |
No |
Parsed from the |
|
String |
No |
Microsoft Entra object ID from Dataverse |
|
String |
No |
Owner display name from Dataverse |
|
String |
No |
Owner UPN from Dataverse |
|
String |
No |
Owner email from Dataverse |
agentTool attributes
The connector reads Dataverse botcomponent rows with component type 9 and classifies them by parsing the YAML data field:
| YAML value | Result |
|---|---|
|
|
|
|
|
Connected-agent attributes on |
|
Topic; skipped by |
| Attribute | Type | Multivalued | Description |
|---|---|---|---|
|
String |
No |
Connector platform identifier. |
|
String |
No |
Parent Dataverse |
|
String |
No |
|
|
String |
No |
YAML |
|
String |
No |
YAML |
|
String |
No |
YAML |
|
String |
No |
Dataverse |
|
String |
No |
Dataverse created timestamp. |
|
String |
No |
Dataverse modified timestamp. |
agentKnowledgeBase attributes
| Attribute | Type | Multivalued | Description |
|---|---|---|---|
|
String |
No |
Connector platform identifier. |
|
String |
No |
Parent Dataverse |
|
String |
No |
Dataverse |
|
String |
No |
Dataverse |
|
String |
No |
Dataverse created timestamp. |
|
String |
No |
Dataverse modified timestamp. |
agentIdentityBinding attributes
| Attribute | Type | Multivalued | Description |
|---|---|---|---|
|
String |
No |
Connector platform identifier. |
|
String |
No |
Dataverse |
|
String |
No |
Current implementation emits |
|
String |
No |
Current implementation emits |
|
String |
No |
JSON string containing |
|
String |
Yes |
Current implementation emits an empty list. |
|
String |
No |
Current implementation emits |
|
String |
No |
Agent ID associated with the binding. |
Troubleshooting
Connector initializes but test fails
Check:
-
tenantIdis valid. -
environmentUrlpoints to the target Dataverse environment and doesn’t include/api/data/v9.2. -
clientIdandclientSecretare valid. -
The app registration is represented as a Dataverse application user in the target environment.
-
The application user has sufficient Dataverse permissions to read
botrecords. -
The environment actually contains Copilot Studio agents.
Agents reconcile but expected agents are missing
Check:
-
includeUnpublishedAgentsis set correctly. -
The missing agents have a non-null
publishedonvalue whenincludeUnpublishedAgents=false. -
The Dataverse application user can read the relevant
botrecords. -
The connector is pointed to the correct
environmentUrl.
Agents reconcile but toolIds or agentTool is empty
Check:
-
The agent has Dataverse
botcomponentrecords of component type9. -
The
datafield contains YAML that classifies asTaskDialog. -
The YAML action kind is either
InvokeConnectorTaskActionorInvokeExternalAgentTaskAction. -
The Dataverse application user can read
botcomponentrecords.
Agents reconcile but knowledgeBaseIds or agentKnowledgeBase is empty
Check:
-
The agent has Dataverse
botcomponentrecords of component type16. -
The Dataverse application user can read
botcomponentrecords. -
The knowledge source belongs to the same parent bot ID returned in
_parentbotid_value.
agentIdentityBinding returns no records
Check:
-
identityBindingScanEnabled=true. -
Either
toolsInventoryUrlortoolsInventoryFilePathis configured. -
The inventory JSON contains an
identityBindingsarray. -
If using
toolsInventoryUrl, the SAS token hasn’t expired. -
The SAS URL allows read access to the blob.
-
The offline inventory job has run successfully.
-
The agent uses group-based access control in Copilot Studio / Dataverse.
Connected-agent target IDs are missing
Check:
-
The connected-agent component is in the same Dataverse environment.
-
The YAML action contains
botSchemaName. -
A target agent exists in the same environment with a matching
schemaname. -
Cross-environment connected agents may populate
connectedAgentTargetSchemaNamewithout resolvingconnectedAgentTargetBotId.
OpenICF Interfaces Implemented by the Microsoft Copilot Studio Connector
The Microsoft Copilot Studio 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.
Microsoft Copilot Studio Connector Configuration
The Microsoft Copilot Studio Connector has the following configurable properties:
Basic Configuration Properties
| Property | Type | Default | Encrypted(1) | Required(2) |
|---|---|---|---|---|
|
|
|
|
Yes |
Dataverse environment URL, e.g. https://org00000001.crm.dynamics.com |
||||
|
|
|
|
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 |
AAD token endpoint. Derived as https://login.microsoftonline.com/{tenantId}/oauth2/v2.0/token when left unset. |
||||
|
|
|
|
No |
Azure AD application (client) ID for OAuth2 client credentials |
||||
|
|
|
Yes |
No |
Azure AD 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 Dataverse token. Derived as {serviceUri}/.default when left unset. |
||||
|
|
|
|
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 |
Azure AD tenant ID (GUID). Used to derive the AAD token endpoint when tokenEndpoint is left unset. |
||||
|
|
|
Yes |
No |
HTTPS URL to identity bindings inventory JSON in Azure Blob Storage. Confidential: the SAS token in the URL is a credential. |
||||
|
|
|
|
No |
Local file path to inventory JSON. Dev/test only |
||||
|
|
|
|
No |
When true, the connector reads the identity binding inventory (from toolsInventoryUrl or toolsInventoryFilePath) and returns agentIdentityBinding objects. When false (default), agentIdentityBinding searches return no data regardless of inventory configuration. |
||||
|
|
|
|
No |
When true, agents with no publish timestamp (never published / draft) are included in search results. When false (default), only published agents â those whose publishedon field is non-null â appear in reconciliations. UID lookups of unpublished agents return UnknownUidException when this flag is false. |
||||
|
|
|
|
No |
When true, log raw JSON payloads for debugging |
||||
(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.