You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5fd2db3
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: api-reference/beta/api/agentidentity-get.md
+31-2Lines changed: 31 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,6 +39,8 @@ GET /servicePrincipals/{id}/microsoft.graph.agentIdentity
39
39
40
40
This method supports the `$select` and `$expand`[OData query parameters](/graph/query-parameters) to help customize the response.
41
41
42
+
Use `$select=instanceMode` to read the topology of an agent identity. The value is `singleInstance` for an identity backed directly by a single-instance blueprint, or `multiInstance` for the standard topology. Agent identities without a stored value return `multiInstance` by default.
43
+
42
44
## Request headers
43
45
44
46
| Name | Description |
@@ -55,7 +57,9 @@ If successful, this method returns a `200 OK` response code and an [agentIdentit
55
57
56
58
## Examples
57
59
58
-
### Request
60
+
### Example 1: Get an agent identity
61
+
62
+
#### Request
59
63
60
64
The following example shows a request.
61
65
# [HTTP](#tab/http)
@@ -74,7 +78,7 @@ GET https://graph.microsoft.com/beta/servicePrincipals/{id}/microsoft.graph.agen
74
78
75
79
---
76
80
77
-
### Response
81
+
####Response
78
82
79
83
The following example shows the response.
80
84
>**Note:** The response object shown here might be shortened for readability.
GET https://graph.microsoft.com/beta/servicePrincipals/59e617e5-e447-4adc-8b88-00af644d7c92/microsoft.graph.agentIdentity?$select=id,displayName,instanceMode
Copy file name to clipboardExpand all lines: api-reference/beta/api/agentidentity-list.md
+34Lines changed: 34 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,8 @@ GET /servicePrincipals/microsoft.graph.agentIdentity
36
36
37
37
This method supports the `$count`, `$expand`, `$filter`, `$orderby`, `$search`, `$select`, and `$top`[OData query parameters](/graph/query-parameters) to help customize the response. The default and maximum page size is 100 agent identity objects. Some queries are supported only when you use the **ConsistencyLevel** header set to `eventual` and `$count`. For more information, see [Advanced query capabilities on directory objects](/graph/aad-advanced-queries).
38
38
39
+
Filtering on **instanceMode** with `$filter` (`eq`) requires the `ConsistencyLevel: eventual` header and `$count=true`.
40
+
39
41
## Request headers
40
42
41
43
| Name | Description |
@@ -53,6 +55,8 @@ If successful, this method returns a `200 OK` response code and collection of [a
GET https://graph.microsoft.com/beta/servicePrincipals/microsoft.graph.agentIdentity?$filter=instanceMode eq 'singleInstance'&$count=true&$select=id,displayName,instanceMode
Copy file name to clipboardExpand all lines: api-reference/beta/api/agentidentity-post.md
+48-2Lines changed: 48 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,6 +42,8 @@ In the request body, supply a JSON representation of a [agentIdentity](../resour
42
42
43
43
The **displayName** must follow the [agent identity display-name character rules](../resources/agentidentity.md#properties).
44
44
45
+
For a blueprint with **isSingleInstance** set to `true`, this operation creates an agent identity backed directly by that blueprint without creating an agent identity blueprint principal. Its **instanceMode** is `singleInstance`. For the default multi-instance topology, **instanceMode** is `multiInstance`. The service determines **instanceMode**; don't supply it in the request body.
46
+
45
47
## Response
46
48
47
49
If successful, this method returns a `201 Created` response code and a [agentIdentity](../resources/agentidentity.md) object in the response body.
@@ -50,8 +52,13 @@ If **displayName** contains prohibited characters, this method returns `400 Bad
50
52
51
53
For information about errors returned by agent identity APIs, see [Agent identity error codes](/entra/agent-id/identity-platform/error-codes).
52
54
55
+
If an active single-instance agent identity already exists for the same blueprint in the tenant, this method returns `409 Conflict`.
56
+
53
57
## Examples
54
-
### Request
58
+
59
+
### Example 1: Create a multi-instance agent identity
60
+
61
+
#### Request
55
62
The following example shows a request.
56
63
57
64
```http
@@ -68,7 +75,7 @@ Content-type: application/json
68
75
}
69
76
```
70
77
71
-
### Response
78
+
####Response
72
79
The following example shows the response.
73
80
74
81
> **Note:** The response object shown here might be shortened for readability.
Copy file name to clipboardExpand all lines: api-reference/beta/api/agentidentity-update.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,8 @@ In the request body, supply the values for relevant fields that should be update
54
54
55
55
When changing **displayName**, it must follow the [agent identity display-name character rules](../resources/agentidentity.md#properties). Updates that don't change **displayName** aren't subject to this character validation.
56
56
57
+
The **instanceMode** property is immutable. An attempt to change it returns `400 Bad Request` with the error code `Request_BadRequest`.
58
+
57
59
## Response
58
60
59
61
If successful, this method returns a `204 No Content` response code.
GET https://graph.microsoft.com/beta/applications/microsoft.graph.agentIdentityBlueprint?$filter=isSingleInstance eq true&$count=true&$select=id,displayName,isSingleInstance
Copy file name to clipboardExpand all lines: api-reference/beta/api/agentidentityblueprint-post.md
+43Lines changed: 43 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,6 +41,8 @@ POST /applications/microsoft.graph.agentIdentityBlueprint
41
41
## Request body
42
42
In the request body, supply a JSON representation of [agent identity blueprint](../resources/agentidentityblueprint.md) object. You must specify the **displayName** property and **sponsors** relationship.
43
43
44
+
Optionally, set **isSingleInstance** to `true` to create a blueprint that supports at most one active agent identity per tenant without an agent identity blueprint principal. If omitted, it defaults to `false`, preserving the multi-instance topology. The value is immutable after creation, whether `true` or `false`.
45
+
44
46
## Response
45
47
46
48
If successful, this method returns a `201 Created` response code and an [agentIdentityBlueprint](../resources/agentidentityblueprint.md) object in the response body.
@@ -49,6 +51,8 @@ For information about errors returned by agent identity APIs, see [Microsoft age
49
51
50
52
## Examples
51
53
54
+
### Example 1: Create a multi-instance agent identity blueprint
Copy file name to clipboardExpand all lines: api-reference/beta/api/agentidentityblueprint-update.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,6 +63,8 @@ In the request body, supply the values for relevant fields that should be update
63
63
64
64
## Response
65
65
66
+
The **isSingleInstance** property is immutable after creation. An attempt to change it, in either direction, returns `400 Bad Request` with the error code `Request_BadRequest`.
67
+
66
68
If successful, this method returns a `204 No Content` response code.
67
69
68
70
For information about errors returned by agent identity APIs, see [Agent identity error codes](/entra/agent-id/identity-platform/error-codes).
Copy file name to clipboardExpand all lines: api-reference/beta/api/agentidentityblueprint-upsert.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,8 @@ In the request body, supply a JSON representation of the [agentIdentityBlueprint
51
51
52
52
## Response
53
53
54
+
The **isSingleInstance** property can be set when creating a blueprint and defaults to `false` if omitted. It is immutable after creation; an attempt to change it on an existing blueprint returns `400 Bad Request` with the error code `Request_BadRequest`.
55
+
54
56
If an object with **uniqueName** doesn't exist, this method returns a `201 Created` response code and a new agent identity blueprint object in the response body. The agent identity blueprint is assigned the uniqueName value.
55
57
56
58
If an object with **uniqueName** doesn't exist and the `Prefer: create-if-missing` header is *not* specified, this method returns a `404 Not Found` error code.
Copy file name to clipboardExpand all lines: api-reference/beta/api/application-post-applications.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,8 @@ In the request body, supply a JSON representation of [application](../resources/
49
49
50
50
## Response
51
51
52
+
When creating an **agentIdentityBlueprint**, optionally set **isSingleInstance** to `true` to support at most one active agent identity per tenant without an agent identity blueprint principal. If omitted, it defaults to `false`. The value is immutable after creation.
53
+
52
54
If successful, this method returns `201 Created` response code and an [application](../resources/application.md) or [agentIdentityBlueprint](../resources/agentidentityblueprint.md) object in the response body.
Copy file name to clipboardExpand all lines: api-reference/beta/api/application-update.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,6 +58,8 @@ PUT /applications(appId='{appId}')/logo
58
58
| Content-Type | application/json. Required. |
59
59
60
60
## Request body
61
+
62
+
The **isSingleInstance** property is immutable after creation. You can't change a blueprint between the single-instance and multi-instance topologies. An attempt to change this value returns `400 Bad Request` with the error code `Request_BadRequest`.
61
63
In the request body, supply the values for relevant fields that should be updated. Existing properties that aren't included in the request body maintain their previous values or are recalculated based on changes to other property values. For best performance, don't include unchanged values.
0 commit comments