OAuth2PermissionGrant_List

GET /{tenantID}/oauth2PermissionGrants

Changed on

Queries OAuth2 permissions grants for the relevant SP ObjectId of an app.

Request

  • Base URL
    https://graph.windows.net
  • Auth
    OAuth 2
    Implicithttps://login.microsoftonline.com/common/oauth2/authorize
    Scopesuser_impersonation

Path parameters

tenantIDstring required

The tenant ID.

Query parameters

$filterstring

This is the Service Principal ObjectId associated with the app

api-versionstring required

Client API version.

Response

OK. The operation was successful.

odata.nextLinkstring

the URL to get the next set of results.

Example response

{
  "value": [
    {
      "odata.type": "odata.type",
      "resourceId": "resourceId",
      "clientId": "clientId",
      "scope": "scope",
      "expiryTime": "expiryTime",
      "consentType": "consentType",
      "principalId": "",
      "startTime": "startTime"
    }
  ]
}

Changes

    • info

      api operation id OAuth2_Get removed and replaced with OAuth2PermissionGrant_List

    • info

      api tag OAuth2PermissionGrant_List added

    • info

      api tag OAuth2Permissions_get removed

    • info

      api operation id OAuth2PermissionGrant_List removed and replaced with OAuth2_Get

    • info

      api tag OAuth2Permissions_get added

    • info

      api tag OAuth2PermissionGrant_List removed