Deleted users are showing in OneDrive access, Teams, SharePoint

Jay Shah 0 Reputation points
2023-09-13T05:42:59.1633333+00:00

Hello,

We have deleted the user from MS365 Admin Panel more than a year back.

However, some of their information such as their Teams messages, their names in the OneDrive access management, SharePoint is still being shown.

I've checked and verified in Azure end also to make sure that user is not existing anywhere, be it users/shared-mailbox/etc.

How do I delete the user in a way, their OneDrive(Personal OneDrive files, and not the ones which had been uploaded on shared mailboxes) files get transferred to some other user's OneDrive account, and all of their Teams messages, emails, etc.

Microsoft 365 and Office | SharePoint | For business | Windows
Microsoft 365 and Office | OneDrive | For business | Windows
Microsoft Teams | Microsoft Teams for business | Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Emily Du-MSFT 51,846 Reputation points Microsoft External Staff
    2023-09-13T08:50:37.22+00:00

    1.For SharePoint Online, even if a user has been deleted, the record is also contained in the site collection's user information list. You could go to https://tenant.sharepoint.com/sites/siteName/_layouts/15/people.aspx?MembershipGroupId=0, find the user, then go to Actions -> Delete Users from Site Collection. This means the user as deleted from the site.

    The user may still show, for example in Created or Modified columns as SharePoint maintains the record for referential integrity purpose.

    2.The default retention period for OneDrive is 30 days, after that, the OneDrive for the deleted user is moved to the site collection recycle bin, where it is kept for 93 days.

    You could go to SharePoint admin center -> Settings -> OneDrive Retention to check retention period.


    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.


  2. JimmyYang-MSFT 58,646 Reputation points Microsoft External Staff
    2023-09-13T09:45:27.59+00:00

    @Jay Shah

    As far as I know, there’s no related solution on this for Teams message. A workaround is to back up the Teams related data from Office 365 content search or eDiscovery search:Image

    For Team private chats (1:1 chats and group chats), you may add more accounts to one 1:1 chat, when the 1:1chats convert to private group chats (more than 3 participants), add the targeted account to that group chat (since there’s an option in Teams “Include all history ”), by this way, this targeted account will be able to see private chat history.


    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.


    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.