Skip to content

New command: aad sp list #2461

@plamber

Description

@plamber

Usage

aad sp list [options]

Description

Lists the service principals in the directory

Options

Option Description
--displayName [displayName] Returns only service principals with the specified name
--tags [tag] Returns only service principals with the specified tag

Additional Information

When looking at the sample request #2439 I noticed that we do not have any servicePrincipals list command, listing all service principals in a directory.

Example script making such a query can be found here

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions