List accessPackageResourceEnvironments

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.

Retrieve a list of accessPackageResourceEnvironment objects and their properties.


One of the following permissions is required to call this API. To learn more, including how to choose permissions, see Permissions.

Permission type Permissions (from least to most privileged)
Delegated (work or school account) EntitlementManagement.Read.All, EntitlementManagement.ReadWrite.All
Delegated (personal Microsoft account) Not supported
Application EntitlementManagement.Read.All, EntitlementManagement.ReadWrite.All

HTTP request

GET identityGovernance/entitlementManagement/accessPackageResourceEnvironments?$filter=originSystem eq 'SharePointOnline'

Query parameters

This method requires the $filter OData query parameter. You must apply $filter to retrieve the originSystem that's assigned the value SharePointOnline.

Request headers

Name Description
Authorization Bearer {token}. Required.

Request body

Do not supply a request body for this method.


If successful, this method returns a 200 OK response code and a collection of accessPackageResourceEnvironment objects in the response body.



GET$filter=originSystem eq 'SharePointOnline'


Note: The response object shown here might be shortened for readability.

HTTP/1.1 200 OK
Content-Type: application/json

  "@odata.context": "$metadata#identityGovernance/entitlementManagement/accessPackageResourceEnvironments",
  "value": [
      "id": "615f2218-678f-471f-a60a-02c2f4f80c57",
      "displayName": "",
      "description": "",
      "originSystem": "SharePointOnline",
      "originId": "",
      "isDefaultEnvironment": false,
      "connectionInfo": {
        "url": ""