Skip to content

Agent ID: service principals can't be sponsors of an agentIdentityBlueprintPrincipal - #10105

Open
Julien Ly (julien-ly) wants to merge 1 commit into
microsoftgraph:mainfrom
julien-ly:fix/agentidentityblueprintprincipal-sponsor-types
Open

Julien Ly (julien-ly) wants to merge 1 commit into
microsoftgraph:mainfrom
julien-ly:fix/agentidentityblueprintprincipal-sponsor-types

Conversation

@julien-ly

Copy link
Copy Markdown

The Add sponsors page and the resource page for agentIdentityBlueprintPrincipal say that sponsors can be service principals. The service rejects them, and the agentIdentity and agentIdentityBlueprint pages already say that sponsors may not include service principals. This PR aligns the agentIdentityBlueprintPrincipal pages (v1.0 and beta) with that wording and with the sponsors the API accepts.

Tested on November 22, 2026 in a test tenant:

Not changed here, for the owners of the permissions tables: with a delegated work-account token, GET .../microsoft.graph.agentIdentity/sponsors, GET .../microsoft.graph.agentIdentityBlueprintPrincipal/sponsors and the POST .../microsoft.graph.agentIdentityBlueprintPrincipal/sponsors/$ref above all succeed on v1.0 and beta, while the tables list delegated access as "Not supported" or "Not available". The token came from Microsoft Graph Command Line Tools and held, among others, AgentIdentity.Read.All, AgentIdentityBlueprintPrincipal.Read.All, Application.ReadWrite.All and Directory.AccessAsUser.All, so I can't tell which permission grants access.

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.
@learn-build-service-prod

Copy link
Copy Markdown
Contributor

Learn Build status updates of commit a348fe9:

✅ Validation status: passed

File Status Preview URL Details
api-reference/beta/api/agentidentityblueprintprincipal-post-sponsors.md ✅Succeeded
api-reference/beta/resources/agentidentityblueprintprincipal.md ✅Succeeded
api-reference/v1.0/api/agentidentityblueprintprincipal-post-sponsors.md ✅Succeeded
api-reference/v1.0/resources/agentidentityblueprintprincipal.md ✅Succeeded

For more details, please refer to the build report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant