Users left the company ,but we still see their ID’s in Teams, OneDrive and SharePoint online sites

Dhamley 31 Reputation points
2022-05-10T18:10:06.087+00:00

Hi Team
Need a bit info/clarification on below query
Users left the company ,but we still see their ID’s in Teams, OneDrive and SharePoint online sites. Would like to know any manual activity needs to be taken care here from our end or its bug in M365.
And Same in SharePoint onprem as well ?

+++if he/she uploaded/modified some files and folders ,which name it shows under “created by” and “modified by” when they left the company ?

Does/why a timer job is not taking care of these things?

Thanks in Advance

Microsoft 365 and Office | SharePoint Server | For business
Microsoft 365 and Office | SharePoint | For business | Windows
{count} votes

2 answers

Sort by: Most helpful
  1. Yanli Jiang - MSFT 31,606 Reputation points Microsoft External Staff
    2022-05-12T05:47:24.753+00:00

    Hello @Dhamley ,

    For SharePoint Online, when we delete the user from Microsoft 365 admin center or Azure AD, their related UserInfo information is not removed. You should go here https://tenantName.sharepoint.com/sites/siteName/_layouts/15/people.aspx?MembershipGroupId=0 to delete the user from site collection. But the user may still show up in “created by” and “modified by” columns as SharePoint maintains the record for referential integrity purposes.
    201274-2.png
    For OneDrive, May I know when did you delete the users?
    After the user is deleted from AAD, the account deletion is synchronized to SharePoint. the OneDrive Clean Up Job runs, and the OneDrive is marked for deletion. The deleted user will appear in the Microsoft 365 admin center for 30 days. The default retention period for OneDrive is also 30 days, but you can change this in the SharePoint admin center . More information about OneDrive deletion process, please refer to the article: OneDrive retention and deletion - OneDrive | Microsoft Learn
    More information for your reference:
    https://learn.microsoft.com/en-us/sharepoint/remove-users#remove-people-from-the-userinfo-list
    https://learn.microsoft.com/en-us/sharepoint/user-profile-sync
    For Teams,according to my test, after the account is permanently deleted in AAD, it takes a while (maybe several hours), and the account cannot be searched in Teams. However, the previous chat history will still be displayed and needs to be deleted manually.

    Thanks,
    Yanli Jiang

    ===========================================

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    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.

    1 person found this answer helpful.

  2. risolis 8,741 Reputation points
    2022-05-12T00:59:50.007+00:00

    Hello,

    I hope you are doing fine.

    Do you have any other concern that we can address so far?

    BR,

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.