Repository navigation
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 |
|
Danipocket Regan Downer (@v-regandowner) - following up on the question about moving this to the private repository. Is that still the plan, or is this OK to merge here? Current status:
Happy to close and re-file privately if that's the right path - just let me know which way to go so this doesn't keep sitting. |
|
jconley76 - Thank you for your contribution. However, internal contributors need to submit PRs through the private repo (microsoft-graph-docs). This enables build validation, Policheck, staged content review, and contributor sign-off before publishing. For more details, see the MSec Docs Self-Serve Playbook. @MicrosoftDocs/public-repo-pr-review-team |
|
Thanks Shannon Leavitt (@ShannonLeavitt) - understood. I've re-filed this in the private repo as microsoftgraph/microsoft-graph-docs#29526 with the same content, including the wording changes Jarbas Horst (@JarbasHorst) requested during review here. |
…ment resource APIs (#29526) * Note SharePoint Online delegated-permission requirement for entitlement management resource APIs Re-filed from public repo PR #10006, which was closed because internal contributions must go through the private repo. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Restore original ms.date values per front matter guidance Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Add changelog and What's New entries for SharePoint Online app-only note Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Update Microsoft.IGAELM.json * Update Microsoft.IGAELM.json --------- Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Co-authored-by: Danipocket <88507770+Danipocket@users.noreply.github.com>
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.