pnp/cli-microsoft365

New command: `entra agent identity list`

Open

#7254 aperta il 16 mag 2026

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)TypeScript (399 fork)auto 404
help wantednew feature

Metriche repository

Star
 (1390 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Usage

m365 entra agent identity list [options]

Description

Retrieves a list of agent identities

Options

Option Description
-p, --properties [properties] Comma separated list of properties to be returned

Examples

Retrieve all agent identities

m365 entra agent identity list

Retrieve id and name of agent identities

m365 entra agent identity list --properties 'id,displayName'

Default properties

  • id
  • displayName

Additional Info

Requires new permission: AgentIdentity.Read.All

Doc: https://learn.microsoft.com/en-us/graph/api/agentidentity-list

Include in the remarks the important admonition from the docs:

A principal who creates a blueprint or blueprint principal is assigned as the owner. Owners can create agent identities and modify only the resources they own, even if they aren't assigned an Agent ID role.

For nonowners to call this API in delegated scenarios using work or school accounts, the admin must be assigned a supported Microsoft Entra role. This operation supports the following built-in roles, which provide only the least privilege necessary:

Agent ID Administrator. Agent ID Developer - Create agent identity blueprints and blueprint principals.

Guida contributor