The user account is automatically soft-deleted after the migration of the mailbox to Office 365

Nandan NK 50 Reputation points
2024-12-27T18:46:45.83+00:00

On-premises accounts are synchronized with Office 365. However, after migrating a user mailbox to Office 365, we observed that the corresponding user account is automatically soft-deleted after some time. can someone please help on this?

Office Management
Office Management
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Management: The act or process of organizing, handling, directing or controlling something.
2,233 questions
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,683 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Anthony LAVABRE 1,145 Reputation points
    2024-12-27T22:57:43.34+00:00

    Bonjour,

    Je pense qu’il s’agit de la configuration d’Azure AD Connect. Je vous invite à effectuer des vérifications au niveau des paramètre d’Azure AD Connect.

    Vous pouvez vérifier que l’utilisateur existe bien sur l’AD, que l’utilisateur est bien dans l’OU de synchronisation, que les attributs essentiels soient cohérents entre l’AD et Microsoft Entra.

    Bien à vous,

    0 comments No comments

  2. Alex Zhang-MSFT 3,315 Reputation points Microsoft Vendor
    2024-12-30T01:59:25.86+00:00

    Hello, @Nandan NK,

    Welcome to the Microsoft Q&A platform!

    According to Microsoft official document on mailbox migration (https://learn.microsoft.com/en-us/exchange/hybrid-deployment/move-mailboxes#what-do-you-need-to-know-before-you-begin), after migrating a mailbox, users typically have a 30-day grace period to assign an Office 365 license to the user. If the license isn't assigned in time, the mailbox is probably to be soft-deleted. To solve this, the possible workaround is to license the mailbox immediately once the migration gets done.

    If the possibility of untimely license allocation can already be ruled out, it could be due to misconfiguration in Azure AD Connect, such as incorrect OU scoping, deleted on-premises objects, or attribute mapping errors. Please ensure the relevant OUs are included in sync, check that user accounts still exist in on-prem AD, verify synchronization logs for errors. Moreover, if there is a conflict between the local and Office 365 accounts, such as a mismatch of attributes or GUIDs, that could also result in the account being soft deleted. I recommend that you verify that the synchronization settings between your local environment and Office 365 are properly configured.

    Finally, if you have a need to restore a softly deleted account, you can use the Microsoft 365 Admin Center or PowerShell to restore a softly deleted account, as described in more detail: https://learn.microsoft.com/en-us/exchange/recipients-in-exchange-online/delete-or-restore-mailboxes#restore-a-user-mailbox.

    Should you need more help on this, you can feel free to post back. 


    If the answer is helpful, please click on ACCEPT ANSWER as it could help other members of the Microsoft Q&A community who have similar questions and are looking for solutions.

    Thank you for your support and understanding.

    Best Wishes,

    Alex Zhang


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.