In SharePoint online, we have to remove the external users from user information list so that they can’t be visible in SharePoint searches. Below are the steps needed to done to remove the external users from the User Information List.
- Construct a sharepoint url like this https://mysite.sharepoint.com/_layouts/15/people.aspx/membershipGroupId=0
- Select the external user from the list.
- Click Remove User Permissions on the ribbon.
Happy SharePointing Folks 🙂