oAuth2PermissionGrant resource type

Represents the OAuth 2.0 delegated permission scopes that have been granted to an application (represented by a service principal) as part of the user or admin consent process.

JSON representation

Here is a JSON representation of the resource

{
  "clientId": "string",
  "consentType": "string",
  "expiryTime": "String (timestamp)",
  "id": "string (identifier)",
  "principalId": "string",
  "resourceId": "string",
  "scope": "string",
  "startTime": "String (timestamp)"
}

Properties

Property Type Description
clientId String
consentType String
expiryTime DateTimeOffset The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'
objectId String Read-only.
principalId String
resourceId String
scope String
startTime DateTimeOffset The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'

Relationships

None

Methods

Method Return Type Description
Get oAuth2PermissionGrant oAuth2PermissionGrant Read properties and relationships of oAuth2PermissionGrant object.
Update oAuth2PermissionGrant Update oAuth2PermissionGrant object.
Delete None Delete oAuth2PermissionGrant object.