The best Microsoft 365 tips on the web

💁 How to delete a guest user in SharePoint Online ?

When a user or guest accesses a SharePoint-site, the system stores their information in a cache file within the UserInfo list. However, when this user or guest is removed from the system, their related information remains in the UserInfo list.

This can lead to confusion because their profiles remain visible while searching SharePoint. This problem also sometimes occurs with guest users who appear to remain active in the system.

For solutions and further information about this problem, please visit the indicated blog. Here you will find steps to address this problem.

Here's how to delete a guest account using Azure Active-Directory

To delete a guest account through Azure Active Directory, follow these steps:

  1. Go to Azure Portal.
  2. Find and delete the relevant guest user.

How can you delete a guest through Office 365 portal?

Guests can also be deleted through the regular Office 365 portal.

Thus, you can remove a guest use in SharePoint Online 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 2023
How to customize your background with your own image in Microsoft Teams?

Tagged: , , , , ,
0 0 vote
Article review
Please let us know if there are

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