Which version of the SharePoint Online Management Shell includes support for the command "Get-SPOExternalUserSharingReport"?

Patrick Glatz 20 Reputation points
2024-08-26T15:40:07.5933333+00:00

Which version of the SharePoint Online Management Shell includes support for the command "Get-SPOExternalUserSharingReport"?

Contextual Reference - https://answers.microsoft.com/en-us/msoffice/forum/all/sharepoint-run-report-for-every-site-i-own/087f1878-4865-4050-b895-d1948128dacd

Microsoft 365 and Office SharePoint Development
{count} votes

Accepted answer
  1. Vasil Michev 119.5K Reputation points MVP Volunteer Moderator
    2024-08-26T17:27:43.8633333+00:00

    There is no such cmdlet, at least not one from an official Microsoft-authored module. It's likely another ChatGPT generated answer/lazy support engineer.

    You can however built your own external sharing report by leveraging the Graph API or CSOM. I have some sample scripts here: https://www.michev.info/blog/post/6154/report-on-externally-shared-files-via-the-graph-api

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

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