allPreApprovedPermissions resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

This type is used in the conditions of a permissionGrantPreApprovalPolicy to indicate that all permissions for all APIs are pre-approved for consent.

Inherits from preApprovedPermissions.

Properties

Property Type Description
permissionKind permissionKind Inherited from preapprovedpermissions. Indicates the scope of permissions that are included in this condition set. Possible values: all for all permissions, enumerated for a given list of permissions, or allPermissionsOnResourceApp for all permissions from a given API. Only all is supported for the allPreApprovedPermissions object type. Required.
permissionType permissionType The type of permission being granted. Possible values: application for application permissions (app roles), or delegated for delegated permissions. Inherited from preapprovedpermissions. Required.

Relationships

None.

JSON representation

The following is a JSON representation of the resource.

{
  "@odata.type": "#microsoft.graph.allPreApprovedPermissions",
  "permissionKind": "String",
  "permissionType": "String"
}