Blogs about: Microsoft Teams, backgrounds, Intune, OneDrive, Exchange, Azure AD, Windows 10, Security, Tenant, Exchange, best-practice, tips & tricks

Delete guest user in SharePoint Online

When a user or guest is in a SharePointsite, their user information is cached savedin the UserInfo list. When the user or guest is deleted, their related UserInfo information is not deleted. Their profile is still displayed, which may cause confusion when users search SharePoint.

So sometimes guest users remain active in SharePoint. Instructions for removal in this blog.

Deleting a guest via Azure Active Directory

Navigate to https://portal.azure.com

Delete the guest user


How do I delete a guest via Office 365 portal?

Guests can also be deleted via the normal Office 365 portal.


Remove via PowerShell

Connect-SPOService -Url https://yourtenantnamesharepoint.com -Credential $cred
$ExtUser = Get-SPOExternalUser -filter jondoe@fabrikam.com
Remove-SPOExternalUser -UniqueIDs @($ExtUser.UniqueId)

More information can be found here: https://docs.microsoft.com/en-us/sharepoint/remove-users

Also read

These are the 10 most read articles of 365tips in 2021
How to customise your background with your own image in Microsoft Teams?

About the author

Tagged: , , ,
0 0 votes
Product review
Please let us know if there are

0 Reactions
Inline feedbacks
See all comments
Would love to know your thoughts, please leave a comment.x