requiredResourceAccess resource type

Namespace: microsoft.graph

Specifies the set of OAuth 2.0 permission scopes and app roles under the specified resource that an application requires access to. The application may request the specified OAuth 2.0 permission scopes or app roles through the requiredResourceAccess property, which is a collection of requiredResourceAccess objects.

Properties

Property Type Description
resourceAccess resourceAccess collection The list of OAuth2.0 permission scopes and app roles that the application requires from the specified resource.
resourceAppId String The unique identifier for the resource that the application requires access to. This should be equal to the appId declared on the target resource application.

JSON representation

Here is a JSON representation of the resource

{
  "resourceAccess": [
    {
      "@odata.type": "microsoft.graph.resourceAccess"
    }
  ],
  "resourceAppId": "String"
}