Salaudeen Rajack

Salaudeen Rajack is a SharePoint Architect with Two decades of SharePoint Experience. He loves sharing his knowledge and experiences with the SharePoint community, through his real-world articles!

5 thoughts on “SharePoint Online: Find All External Users using PowerShell

  • Hello Salaudeen, thank you so much for your dedicated continual shares.

    I have been trying to retrieve “Find All Guest Users whose Access is going to Expire in SPO site” via powershell. How can I do that? Since microsoft has left no way for the admin to set expiration links less than 30 days, monitoring and deleting access seems to be the only way. With 100’s of shared files, monitoring one by one is time conaumimg and tedious, is there a way we can retrieve a d list via powershell and set a command to delete access for users if expiry is X days?

    Reply
  • These do not show emails have have been sent a link. I shared a document with an external email via the Share Link option, and none of these scripts returned the email in their results

    Reply
  • Great scripts! What about MS Teams private channel SPO sites? Do the external users there get captured?

    Reply
    • User objects are scoped at the site collection level (In other words, when you add a new user, SharePoint creates an entry in “User Information list” of the site collection).

      Reply

Leave a Reply