How do I remove blocked O365 users from being displayed in SharePoint Online' search

Copper Contributor

When people leave our company we block them in our O365 admin center.

The issue that we're having is that when we use sharepoint search' to look for people, the blocked users are still displayed. We want to prohibit the blocked users from being displayed in the search results. We don't want to remove the blocked users.

We're using an modern SharePoint experience and we're not having an on-prem AD only an Azure AD. 

I've found a couple of possible solutions but it seems they only are suitable to companies with a synced on-prem AD.

Kind regards

2 Replies

This is due to SharePoint user profile.

 

You can purge the deleted account permanently or let wait for Azure AD to delete it after 30 days

 

Once the retention period is over the object will be automatically removed from all workloads.

 

Thanks

Thank you for replying!

Does the same apply to blocked user? As you're speaking about deleted users.