Skip to content

New command: get AAD service principal #158

@waldekmastykarz

Description

@waldekmastykarz

Get AAD service principal

  • command: aad sp get -i|--appId [appId] -n|--displayName [displayName]
  • appId: ID of the application for which the service principal should be retrieved
  • displayName: display name of the application for which the service principal should be retrieved
  • either appId or displayName must be specified but not both
  • requires connection to AAD Graph

The information can be get from the following REST call:

GET https://graph.windows.net/myorganization/servicePrincipals?api-version=1.6&$filter=appId eq '<appId>'
authorization: Bearer eyJ0eXAi...

Requires #160 to be done first

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions