AgentCollection.Read.All
Allows the app to read all collections and their membership in your organization's Agent Registry without a signed-in user.
Permission Details
Read all collections in Agent Registry
Allows the app to read all collections and their membership in your organization's Agent Registry without a signed-in user.
e65ee1da-d1d5-467b-bdd0-3e9bb94e6e0c
Read collections in Agent Registry
Allows the app to read collections and their membership in your organization's Agent Registry on behalf of the signed-in user.
fa50be38-fdff-469c-96dc-ef5fce3c64bf
Properties
Properties is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.
| Property | Type | Description |
|---|---|---|
createdBy |
String |
Object ID of the user or app that created the agent instance. |
createdDateTime |
DateTimeOffset |
Timestamp when agent collection was created. |
description |
String |
Description / purpose of the collection. |
displayName |
String |
Friendly name of the collection. |
id |
String |
Unique identifier for the collection. Key. Inherited from entity. |
lastModifiedDateTime |
DateTimeOffset |
Timestamp of last update. |
managedBy |
String |
appId (referred to as Application (client) ID on the Microsoft Entra admin center) of the service principal managing this agent. |
originatingStore |
String |
Source system/store where the collection originated. For example Copilot Studio. |
ownerIds |
String collection |
List of object IDs for the owners of the agent instance. |
copilotTools |
copilotTool collection |
JSON Representation
JSON representation is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.
{
"@odata.type": "#microsoft.graph.agentCollection",
"id": "String (identifier)",
"ownerIds": [
"String"
],
"managedBy": "String",
"originatingStore": "String",
"createdBy": "String",
"displayName": "String",
"description": "String",
"createdDateTime": "String (timestamp)",
"lastModifiedDateTime": "String (timestamp)"
}
Relationships
Relationships is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.
| Relationship | Type | Description |
|---|---|---|
members |
agentInstance collection |
List of agent instances that are members of this collection. Supports $expand. |
copilotTools |
copilotTool collection |
Related copilotTools data exposed by this resource. |
Graph Methods
Microsoft Graph v1.0 endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
No API methods available for this version.
Microsoft Graph beta endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
| Methods |
|---|
GET
/agentRegistry/agentCollections
|
GET
/agentRegistry/agentCollections/{agentCollectionId}
|
GET
/agentRegistry/agentInstances/{agentInstanceId}/collections/{agentCollectionId}/members
|
Microsoft Graph PowerShell v1.0 commands are not available from refreshed Microsoft Learn PowerShell snippets for this permission.
No deterministic PowerShell command map is available for this permission.
Browse PowerShell docsMicrosoft Graph PowerShell beta commands are not available from refreshed Microsoft Learn PowerShell snippets for this permission.
No deterministic PowerShell command map is available for this permission.
Browse PowerShell docsCode Examples
// Code snippets are only available for the latest version. Current version is 5.x
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
var result = await graphClient.AgentRegistry.AgentCollections["{agentCollection-id}"].GetAsync();
const options = {
authProvider,
};
const client = Client.init(options);
let agentCollection = await client.api('/agentRegistry/agentCollections/{agentCollectionId}')
.version('beta')
.get();
Connect-MgGraph -Scopes "AgentCollection.Read.All"
Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/agentRegistry/agentCollections"
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph_beta import GraphServiceClient
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
result = await graph_client.agent_registry.agent_collections.by_agent_collection_id('agentCollection-id').get()
App Registration
Navigate to Azure Portal
Go to App registrations in Microsoft Entra admin center
Add API Permission
Select your app → API permissions → Add a permission → Microsoft Graph
Select Permission Type
Choose Application permissions or delegated permissions and search for AgentCollection.Read.All
Grant Admin Consent
Application permissions always require admin consent.