Share via

Getting the Sharing Capabilities of a Site via API (Graph preferably)

Chris Dehon 30 Reputation points
2024-11-15T21:02:22.5466667+00:00

Hi All,

Is there a way to retrieve the sharing capabilities (Anyone/New & Existing Guest/Existing Guests/Only people in org) of a site using Graph or SharePoint REST API?

I have seen (on some old pages) that we need to us Get-SPOSite cmdlet for this.

Is that the current state of the art?

Thank you

Microsoft 365 and Office | SharePoint | Development
Microsoft Security | Microsoft Graph
0 comments No comments
{count} votes

Answer accepted by question author
  1. Vasil Michev 125.2K Reputation points MVP Volunteer Moderator
    2024-11-16T17:02:49.0066667+00:00

    Your only option currently is PowerShell, as the Graph API is yet to add support for site settings. That, and PnP PowerShell/CSOM.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.