From a348fe9905f2877397da2822d334a0e8e7e76470 Mon Sep 17 00:00:00 2001 From: Julien Ly Date: Sun, 22 Nov 2026 17:11:15 +0100 Subject: [PATCH] Fix sponsor types for agentIdentityBlueprintPrincipal The service rejects service principals as sponsors of an agent identity blueprint principal (400 Request_BadRequest), as the agentIdentity and agentIdentityBlueprint pages already state for their own sponsors. --- .../beta/api/agentidentityblueprintprincipal-post-sponsors.md | 2 +- api-reference/beta/resources/agentidentityblueprintprincipal.md | 2 +- .../v1.0/api/agentidentityblueprintprincipal-post-sponsors.md | 2 +- api-reference/v1.0/resources/agentidentityblueprintprincipal.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/api-reference/beta/api/agentidentityblueprintprincipal-post-sponsors.md b/api-reference/beta/api/agentidentityblueprintprincipal-post-sponsors.md index 3d9d8982246..7e04458c98f 100644 --- a/api-reference/beta/api/agentidentityblueprintprincipal-post-sponsors.md +++ b/api-reference/beta/api/agentidentityblueprintprincipal-post-sponsors.md @@ -14,7 +14,7 @@ Namespace: microsoft.graph [!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] -Add sponsors to an [agent identity blueprint principal](../resources/agentidentityblueprintprincipal.md). Sponsors can include users, groups, or service principals. Sponsors may not include agent users. +Add sponsors to an [agent identity blueprint principal](../resources/agentidentityblueprintprincipal.md). Sponsors can include users or groups. Sponsors may not include service principals or agent users. A single blueprint principal may have up to 100 sponsors. No more than 5 sponsors may be groups. Only groups with dynamic membership or Microsoft 365 groups are supported as sponsors. Role-assignable groups can't be set as sponsors. diff --git a/api-reference/beta/resources/agentidentityblueprintprincipal.md b/api-reference/beta/resources/agentidentityblueprintprincipal.md index 0dfbe115003..d06402b99c6 100644 --- a/api-reference/beta/resources/agentidentityblueprintprincipal.md +++ b/api-reference/beta/resources/agentidentityblueprintprincipal.md @@ -95,7 +95,7 @@ This resource is an open type that allows additional properties beyond those doc |oauth2PermissionGrants|[oAuth2PermissionGrant](../resources/oauth2permissiongrant.md) collection|Delegated permission grants authorizing this agent identity blueprint principal to access an API on behalf of a signed-in user. Read-only. Nullable. Inherited from [microsoft.graph.servicePrincipal](../resources/serviceprincipal.md)| |ownedObjects|[directoryObject](../resources/directoryobject.md) collection|Directory objects that are owned by this agent identity blueprint principal. Read-only. Nullable. Supports `$expand` and `$filter` (`/$count eq 0`, `/$count ne 0`, `/$count eq 1`, `/$count ne 1`). Inherited from [microsoft.graph.servicePrincipal](../resources/serviceprincipal.md)| |owners|[directoryObject](../resources/directoryobject.md) collection|Directory objects that are owners of this agent identity blueprint principal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports `$expand` and `$filter` (`/$count eq 0`, `/$count ne 0`, `/$count eq 1`, `/$count ne 1`). Inherited from [microsoft.graph.servicePrincipal](../resources/serviceprincipal.md)| -|sponsors|[directoryObject](../resources/directoryobject.md) collection|The sponsors for this agent identity blueprint principal. Sponsors are users or service principals who can authorize and manage the lifecycle of agent identity instances.| +|sponsors|[directoryObject](../resources/directoryobject.md) collection|The sponsors for this agent identity blueprint principal. Sponsors are users or groups who can authorize and manage the lifecycle of agent identity instances.| ## JSON representation The following JSON representation shows the resource type. Only a subset of all properties are returned by default. All other properties can only be retrieved using `$select`. diff --git a/api-reference/v1.0/api/agentidentityblueprintprincipal-post-sponsors.md b/api-reference/v1.0/api/agentidentityblueprintprincipal-post-sponsors.md index bc05741d30a..2511906dbac 100644 --- a/api-reference/v1.0/api/agentidentityblueprintprincipal-post-sponsors.md +++ b/api-reference/v1.0/api/agentidentityblueprintprincipal-post-sponsors.md @@ -12,7 +12,7 @@ doc_type: apiPageType Namespace: microsoft.graph -Add sponsors to an [agent identity blueprint principal](../resources/agentidentityblueprintprincipal.md). Sponsors can include users, groups, or service principals. Sponsors may not include agent users. +Add sponsors to an [agent identity blueprint principal](../resources/agentidentityblueprintprincipal.md). Sponsors can include users or groups. Sponsors may not include service principals or agent users. A single blueprint principal may have up to 100 sponsors. No more than 5 sponsors may be groups. Only groups with dynamic membership or Microsoft 365 groups are supported as sponsors. Role-assignable groups can't be set as sponsors. diff --git a/api-reference/v1.0/resources/agentidentityblueprintprincipal.md b/api-reference/v1.0/resources/agentidentityblueprintprincipal.md index 0529e4728f2..f3aecaebd22 100644 --- a/api-reference/v1.0/resources/agentidentityblueprintprincipal.md +++ b/api-reference/v1.0/resources/agentidentityblueprintprincipal.md @@ -93,7 +93,7 @@ This resource is an open type that allows additional properties beyond those doc |oauth2PermissionGrants|[oAuth2PermissionGrant](../resources/oauth2permissiongrant.md) collection|Delegated permission grants authorizing this agent identity blueprint principal to access an API on behalf of a signed-in user. Read-only. Nullable. Inherited from [microsoft.graph.servicePrincipal](../resources/serviceprincipal.md)| |ownedObjects|[directoryObject](../resources/directoryobject.md) collection|Directory objects that are owned by this agent identity blueprint principal. Read-only. Nullable. Supports `$expand` and `$filter` (`/$count eq 0`, `/$count ne 0`, `/$count eq 1`, `/$count ne 1`). Inherited from [microsoft.graph.servicePrincipal](../resources/serviceprincipal.md)| |owners|[directoryObject](../resources/directoryobject.md) collection|Directory objects that are owners of this agent identity blueprint principal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports `$expand` and `$filter` (`/$count eq 0`, `/$count ne 0`, `/$count eq 1`, `/$count ne 1`). Inherited from [microsoft.graph.servicePrincipal](../resources/serviceprincipal.md)| -|sponsors|[directoryObject](../resources/directoryobject.md) collection|The sponsors for this agent identity blueprint principal. Sponsors are users or service principals who can authorize and manage the lifecycle of agent identity instances.| +|sponsors|[directoryObject](../resources/directoryobject.md) collection|The sponsors for this agent identity blueprint principal. Sponsors are users or groups who can authorize and manage the lifecycle of agent identity instances.| ## JSON representation The following JSON representation shows the resource type. Only a subset of all properties are returned by default. All other properties can only be retrieved using `$select`.