Skip to content

Enhancement: add support for retrieving service principals using their objectId #1567

@waldekmastykarz

Description

@waldekmastykarz

We should extend the aad sp get command with support for retrieving service principals using their objectId. This becomes useful for example when working with managed identity and assigning permissions to the principal.

The request to retrieve a service principal using its objectId is very similar to the existing request: https://graph.windows.net/myorganization/servicePrincipals?api-version=1.6&$filter=objectId%20eq%20%27dfcaa754-6c28-4101-a257-c9d6998d3457%27

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions