Repository metrics
- Stars
- (1,390 stars)
- PR merge metrics
- (PR metrics pending)
Description
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.