New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New command: get AAD service principal #158

Closed
waldekmastykarz opened this Issue Dec 23, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@waldekmastykarz
Copy link
Member

waldekmastykarz commented Dec 23, 2017

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

waldekmastykarz added a commit to waldekmastykarz/office365-cli that referenced this issue Dec 24, 2017

waldekmastykarz added a commit to waldekmastykarz/office365-cli that referenced this issue Dec 24, 2017

@waldekmastykarz waldekmastykarz self-assigned this Dec 24, 2017

waldekmastykarz added a commit to waldekmastykarz/office365-cli that referenced this issue Dec 24, 2017

@waldekmastykarz waldekmastykarz added this to the v0.4.0 milestone Dec 24, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment