appConsentRequest resource type

Namespace: microsoft.graph

A collection of userConsentRequest objects for a specific application.

Methods

Method Return type Description
List appConsentRequests appConsentRequest collection Retrieve a collection of appConsentRequest objects and their properties.
Get appConsentRequest appConsentRequest Read the properties and relationships of an appConsentRequest object.
filterByCurrentUser appConsentRequest Read the properties of appConsentRequest objects for which the current user is the reviewer and the status of the user consent request is InProgress.

Properties

Property Type Description
appDisplayName String The display name of the app for which consent is requested. Required. Supports $filter (eq only) and $orderby.
appId String The identifier of the application. Required. Supports $filter (eq only) and $orderby.
id String The identifier of the app consent request. Required.
pendingScopes appConsentRequestScope collection A list of pending scopes waiting for approval. Required.

Relationships

Relationship Type Description
userConsentRequests userConsentRequest collection A list of pending user consent requests.

JSON representation

The following is a JSON representation of the resource.

{
  "@odata.type": "#microsoft.graph.appConsentRequest",
  "id": "String (identifier)",
  "appId": "String",
  "appDisplayName": "String",
  "pendingScopes": [
    {
      "@odata.type": "microsoft.graph.appConsentRequestScope"
    }
  ]
}