AgentInstance.Read.All
Allows the app to read all agent instances and their related collections in your organization's Agent Registry without a signed-in user.
In short
AgentInstance.Read.All is available as both an application permission and a delegated permission in the Microsoft Graph API, grouped under the AgentInstance category. Allows the app to read all agent instances and their related collections in your organization's Agent Registry without a signed-in user. It grants read-only access to resources. Application permissions always require admin consent.
Permission Details
Read all agent instances in Agent Registry
Allows the app to read all agent instances and their related collections in your organization's Agent Registry without a signed-in user.
799a4732-85b8-4c67-b048-75f0e88a232b
Read all agent instances in Agent Registry
Allows the app to read agent instances and their related collections in your organization's Agent Registry on behalf of the signed-in user.
4c3c738a-2df0-4877-bf4a-f796950ff34c
Properties
Properties is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.
| Property | Type | Description |
|---|---|---|
additionalInterfaces |
agentInterface collection |
Additional interfaces/transports supported by the agent. |
agentIdentityBlueprintId |
StringNullable |
Object ID of the agentIdentityBlueprint object. |
agentIdentityId |
StringNullable |
Object ID of the agentIdentity object. |
agentUserId |
StringNullable |
Object ID of the agentUser associated with the agent. Read-only. |
createdBy |
StringNullable |
Object ID of the user or application that created the agent instance. Read-only. |
createdDateTime |
DateTimeOffsetNullable |
Timestamp when agent instance was created. Read-only. |
displayName |
String |
Display name for the agent instance. |
id |
String |
Unique identifier for the agent instance. Key. Inherited from entity. |
lastModifiedDateTime |
DateTimeOffsetNullable |
Timestamp of last modification. |
managedBy |
StringNullable |
appId (referred to as Application (client) ID on the Microsoft Entra admin center) of the application managing this agent. |
originatingStore |
StringNullable |
Name of the store/system where agent originated. For example Copilot Studio. |
ownerIds |
String collection |
List of object IDs for the owners of the agent instance. |
preferredTransport |
StringNullable |
Preferred transport protocol. The possible values are JSONRPC, GRPC, and HTTP+JSON. |
signatures |
agentCardSignature collection |
Digital signatures for the agent instance. |
sourceAgentId |
StringNullable |
Identifier of the agent in the original source system. |
Showing 15 of 18 properties.
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.agentInstance",
"id": "String (identifier)",
"ownerIds": [
"String"
],
"managedBy": "String",
"originatingStore": "String",
"createdBy": "String",
"displayName": "String",
"sourceAgentId": "String",
"agentIdentityBlueprintId": "String",
"agentIdentityId": "String",
"agentUserId": "String",
"createdDateTime": "String (timestamp)",
"lastModifiedDateTime": "String (timestamp)",
"url": "String",
"preferredTransport": "String",
"additionalInterfaces": [
{
"@odata.type": "microsoft.graph.agentInterface"
}
],
"signatures": [
{
"@odata.type": "microsoft.graph.agentCardSignature"
}
]
}
Relationships
Relationships is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.
| Relationship | Type | Description |
|---|---|---|
agentCardManifest |
agentCardManifest |
The agent card manifest of the agent instance. |
collections |
agentCollection collection |
The agent collections that the agent instance is a member of. |
additionalInterfaces |
agentInterface collection |
Additional interfaces/transports supported by the agent. |
ownerIds |
string collection |
List of object IDs for the owners of the agent instance. |
signatures |
agentCardSignature collection |
Digital signatures for the agent instance. |
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.
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.AgentInstances["{agentInstance-id}"].GetAsync();
const options = {
authProvider,
};
const client = Client.init(options);
const agentInstance = {
'@odata.id': 'https://graph.microsoft.com/beta/agentRegistry/agentInstances(\'agent-instance-id\')'
};
await client.api('/agentRegistry/agentInstances/{agentInstanceId}/collections/{agentCollectionId}/members/$ref')
.version('beta')
.post(agentInstance);
Connect-MgGraph -Scopes "AgentInstance.Read.All"
Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/agentRegistry/agentInstances"
# 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_instances.by_agent_instance_id('agentInstance-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 AgentInstance.Read.All
Grant Admin Consent
Application permissions always require admin consent.
Frequently asked questions
What is the AgentInstance.Read.All Microsoft Graph permission?
AgentInstance.Read.All is available as both an application permission and a delegated permission in the Microsoft Graph API, grouped under the AgentInstance category. Allows the app to read all agent instances and their related collections in your organization's Agent Registry without a signed-in user. It grants read-only access to resources. Application permissions always require admin consent. It is mapped to the Microsoft Graph agentinstance resource type. 5 documented Microsoft Graph REST methods require it.
Is AgentInstance.Read.All an application or a delegated permission?
AgentInstance.Read.All is available as both an application permission (app-only access, no signed-in user) and a delegated permission (access on behalf of a signed-in user).
Does AgentInstance.Read.All require admin consent?
Application permissions always require admin consent.
What is the permission ID (GUID) for AgentInstance.Read.All?
For AgentInstance.Read.All, the application (app role) ID is 799a4732-85b8-4c67-b048-75f0e88a232b, and the delegated (OAuth2 scope) ID is 4c3c738a-2df0-4877-bf4a-f796950ff34c. These are the real Microsoft Graph identifiers and can be used directly in an app registration manifest.