title | description | author | ms.localizationpriority | ms.subservice | doc_type |
---|---|---|---|---|---|
List accessPackageResourceEnvironments |
Retrieve a list of accessPackageResourceEnvironment objects. |
markwahl-msft |
medium |
entra-id-governance |
apiPageType |
Namespace: microsoft.graph
[!INCLUDE beta-disclaimer]
Retrieve a list of accessPackageResourceEnvironment objects and their properties.
[!INCLUDE national-cloud-support]
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.
[!INCLUDE permissions-table]
GET identityGovernance/entitlementManagement/accessPackageResourceEnvironments?$filter=originSystem eq 'SharePointOnline'
This method requires the $filter
OData query parameter. You must apply $filter
to retrieve the originSystem that's assigned the value SharePointOnline
.
Name | Description |
---|---|
Authorization | Bearer {token}. Required. Learn more about authentication and authorization. |
Don't 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 https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageResourceEnvironments?$filter=originSystem eq 'SharePointOnline'
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
Note: The response object shown here might be shortened for readability.
HTTP/1.1 200 OK
Content-Type: application/json
{
"@odata.context": "https://graph.microsoft.com/beta/$metadata#identityGovernance/entitlementManagement/accessPackageResourceEnvironments",
"value": [
{
"id": "615f2218-678f-471f-a60a-02c2f4f80c57",
"displayName": "https://contoso.sharepoint.com/",
"description": "https://contoso.sharepoint.com/",
"originSystem": "SharePointOnline",
"originId": "https://contoso-admin.sharepoint.com/",
"isDefaultEnvironment": false,
"connectionInfo": {
"url": "https://contoso-admin.sharepoint.com/"
}
}
]
}