requiredResourceAccess resource type

Namespace: microsoft.graph


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.

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.


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

The following JSON representation shows the resource type.

  "resourceAccess": [
      "@odata.type": "microsoft.graph.resourceAccess"
  "resourceAppId": "String"