Manage user in SharePoint Online Site

Bistro 21 Reputation points

Need clarification and what is the best practice

  1. We I give permission to a site ex: I put a user un the member SPO group.
  2. Then if the user move to another depertement we remove the acces.
  3. But with the Get-SPOUser or in the User Info list he still there.
  4. Do we need to complete remove he with Remove-SPOUser, Is it a good practice? What will happen to User history?
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,210 questions
SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,765 questions
0 comments No comments
{count} votes

Accepted answer
  1. JoyZ 18,031 Reputation points

    @Bistro ,

    When you remove the permission of the user in site, he has no access to the site again.

    Since the user browses to this site before, his user information is cached in UserInfo list of the root Site Collection.

    This is why the user still appears in people searches and in the SharePoint Online Management Shell when you use the Get-SPOUser cmdlet.

    If the user is still active in your organization, there is no need to remove it from the UserInfo list.

    If the user has been deleted in Microsoft 365 admin center, to avoid confusion when people view the people picker, we could remove deleted users from SharePoint UserInfo list, for more information, please refer to:

    If an Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

0 additional answers

Sort by: Most helpful