How to remove External users from SharePoint Online ?

Hello SharePointers,

In this blog, we will see the steps involved to remove external user from your Office 365 subscription . There is a chance that, you may have to remove the external users after adding them to the member groups.

Please ensure that you connect to sharepoint online powershell to execute the below commands.

$credentials = Get-Credential

Connect-SPOService -Url -Credential $cred

$ExternalUser = Get-SPOExternalUser -filter

Remove-SPOExternalUser -UniqueIDs @($ExternalUser .UniqueId)

Happy SharePointing 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *