Skip to content

New sample script: List all external users in site groups across all site collections #3520

@martinlingstuyl

Description

@martinlingstuyl
Docs
Author Martin Lingstuyl
Description This script shows how you can check if external users are added to site groups. It will show all external users across all site collections and the site groups they where added to. This will help determine whether external users have unwanted privileges.
Keywords SharePoint Online Governance External Users

This is a copy of a script samples in the script samples repo:
https://pnp.github.io/script-samples/spo-list-site-externalusers-in-groups/README.html?tabs=cli-m365-ps

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions