The process of building custom applications and tools that interact with Microsoft SharePoint, including SharePoint Online in Microsoft 365.
Please note that our forum is a public platform, and we will modify your question to hide your personal information in the description. Kindly ensure that you hide any personal or organizational information the next time you post an error or other details to protect personal data.
Hi @Tony
First, I’d like to clarify that this is a user‑to‑user support forum. Moderators participating here do not have access to backend systems, nor can we directly intervene in Microsoft product functionality. Our role is limited to providing technical guidance and sharing best‑practice recommendations based on reported issues, requests, and scenarios.
Currently, I have not found any native approach to retrieve the actual permission ScopeId GUID for a SharePoint Site (SP.Web) or List (SP.List) using either standard CSOM or the public SharePoint REST API.
Based on my research, although the ScopeId property can be queried on ListItem objects, Microsoft treats ScopeId as an internal system identifier at the Web and List architectural levels. As a result, it might not exposed as part of the public API contract for endpoints such as /_api/web or /_api/web/lists.
Even though CSOM assemblies expose constants like ClientConstants.ScopeId, these constants are reserved for internal client payload mapping (primarily for list items) and do not represent a loadable property on SP.Web or SP.List objects. Some internal services (for example AsyncReadJob–based pipelines) may surface a ScopeId value, but these APIs are not documented or supported for custom solutions and should not be relied upon in production implementations.
You can refer via: [MS-SITEDATS]: ScopeID | Microsoft Learn
Please note that this summary is based on my own findings and may not fully address your concerns. To help you reach your goal more effectively, I recommend engaging with [GitHub Community Forum] for a deeper technical dive or to connect with individuals who have relevant experience and expertise. Some approaches may behave differently or be restricted depending on your specific environment and configuration. These forums include many experienced developers and Microsoft specialists who can assist with troubleshooting and guidance.
Apologies for redirecting you to the related development team support. As moderators in this community, we do not have access to your specific tenant configuration, and my testing environment is limited. Therefore, my guidance is based on available Microsoft documentation and resources. That said, I’ll do my best to provide additional insight where possible.
I hope this helps.
If you have any additional concerns, feel free to comment below. I would be more than happy to assist.
Note: Please follow the steps in [our documentation] to enable e-mail notifications if you want to receive the related email notification for this thread.