Skip to content

New command: get OAuth grants for the specified service principal #159

Description

@waldekmastykarz

Get OAuth grants for the specified service principal

  • command: aad oauthgrant list -i|--clientId <clientId>
  • clientId: ID of the client for which OAuth grants should be retrieved
  • requires connection to AAD Graph

The information can be get from the following REST call:

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

Requires #160 to be done first

Activity

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

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions