How To Remove External Users From SharePoint Online

In this blog, we will see the steps involved for 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 commands given below.
  1. $credentials = Get-Credential  
  3. Connect-SPOService -Url -Credential $credentials 
  5. $ExternalUser = Get-SPOExternalUser -filter [email protected]  
  7. Remove-SPOExternalUser -UniqueIDs @($ExternalUser .UniqueId)   
The next step is to remove the external users from user information list, so that they can’t be visible in SharePoint searches. Below are the steps, which are required to be done to remove the external users from the user information List.
  1. Construct a SharePoint URL, as shown at
  2. Select the external user from the list.
  3. Click Remove User Permissions on the ribbon.
Ebook Download
View all
View all