Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ author: "markwahl-msft"
ms.localizationpriority: medium
ms.subservice: "entra-id-governance"
doc_type: apiPageType
ms.date: 11/05/2024
ms.date: 07/31/2026
---

# Get accessPackageResourceEnvironment
Expand All @@ -25,6 +25,9 @@ Choose the permission or permissions marked as least privileged for this API. Us

[!INCLUDE [rbac-entitlement-catalog-reader](../includes/rbac-for-apis/rbac-entitlement-management-catalog-reader-apis-read.md)]

> [!NOTE]
> SharePoint Online resource environments are returned only when this API is called with delegated (app+user) permissions. This scenario isn't supported with application-only permissions. To retrieve SharePoint site information in an app-only context, use the [sites: getAllSites](site-getallsites.md) API, which returns equivalent site information.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello jconley76, for consistency with the Microsoft Graph standards, please update the note.

Suggested change
> SharePoint Online resource environments are returned only when this API is called with delegated (app+user) permissions. This scenario isn't supported with application-only permissions. To retrieve SharePoint site information in an app-only context, use the [sites: getAllSites](site-getallsites.md) API, which returns equivalent site information.
> SharePoint Online resource environments are returned only when this API is called with delegated permissions. This scenario isn't supported with application permissions. To retrieve SharePoint site information using application permissions, use the [sites: getAllSites](../api/site-getallsites.md) API, which returns equivalent site information.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Applied, thanks - updated to the standard delegated/application permissions wording and the ../api/site-getallsites.md link.


## HTTP request

<!-- {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ms.localizationpriority: medium
author: "markwahl-msft"
ms.subservice: "entra-id-governance"
doc_type: apiPageType
ms.date: 03/08/2024
ms.date: 07/31/2026
---

# List resources
Expand All @@ -25,6 +25,9 @@ Choose the permission or permissions marked as least privileged for this API. Us

[!INCLUDE [rbac-entitlement-catalog-reader](../includes/rbac-for-apis/rbac-entitlement-management-catalog-reader-apis-read.md)]

> [!NOTE]
> SharePoint Online resources are returned only when this API is called with delegated (app+user) permissions. This scenario isn't supported with application-only permissions. To retrieve SharePoint site information in an app-only context, use the [sites: getAllSites](site-getallsites.md) API, which returns equivalent site information.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello jconley76, for consistency with the Microsoft Graph standards, please update the note.

Suggested change
> SharePoint Online resources are returned only when this API is called with delegated (app+user) permissions. This scenario isn't supported with application-only permissions. To retrieve SharePoint site information in an app-only context, use the [sites: getAllSites](site-getallsites.md) API, which returns equivalent site information.
> SharePoint Online resource environments are returned only when this API is called with delegated permissions. This scenario isn't supported with application permissions. To retrieve SharePoint site information using application permissions, use the [sites: getAllSites](../api/site-getallsites.md) API, which returns equivalent site information.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Applied, thanks. One tweak: I kept "resources" rather than "resource environments" here, since this page lists accessPackageResource objects. Wording and link otherwise match your suggestion.


## HTTP request

<!-- { "blockType": "ignored" } -->
Expand Down
Loading