Add SharePoint Online app+user-only note to entitlement management resource APIs - #10006
Add SharePoint Online app+user-only note to entitlement management resource APIs#10006jconley76 wants to merge 3 commits into
Conversation
…nt resource APIs Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
Learn Build status updates of commit 47affb0: ✅ Validation status: passed
For more details, please refer to the build report. |
| [!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. |
There was a problem hiding this comment.
Hello jconley76, for consistency with the Microsoft Graph standards, please update the 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. | |
| > 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. |
There was a problem hiding this comment.
Applied, thanks - updated to the standard delegated/application permissions wording and the ../api/site-getallsites.md link.
| [!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. |
There was a problem hiding this comment.
Hello jconley76, for consistency with the Microsoft Graph standards, please update the 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. | |
| > 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. |
There was a problem hiding this comment.
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.
…wording Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
#sign-off |
|
Learn Build status updates of commit c86c16c: ✅ Validation status: passed
For more details, please refer to the build report. |
…vironments Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
Learn Build status updates of commit 9171f5b: ✅ Validation status: passed
For more details, please refer to the build report. |
|
Danipocket - This looks like the type of PR that should be closed and moved to the private repository, correct? Thanks! |
Same also here: #10007 |
Adds a note to two entitlement management API reference topics explaining that SharePoint Online resource flows are supported only with delegated (app+user) permissions, and pointing app-only callers to
sites: getAllSitesfor equivalent site information.Files changed
api-reference/v1.0/api/accesspackagecatalog-list-resources.mdapi-reference/beta/api/accesspackageresourceenvironment-get.mdThe note is placed after the permissions/RBAC includes and before the HTTP request section, so the limitation sits next to the permissions guidance it applies to.
ms.datewas updated on both files.No schema change, so no changelog or What's New entry is included.