Jul 13 2020 11:39 AM
Hi
There is a way to delete mailBox exchange online without delete user ?
the users are synchonized with AAD connect and they used another application ( Teams and sherepoint ..)
I found microsoft post to do that by it delete the user !!
Thank you
Jul 14 2020 12:01 AM
The safest method is to remove the Exchange Online license.
Other than that, depending on the situation, you might use the method listed here: https://techcommunity.microsoft.com/t5/exchange-team-blog/permanently-clear-previous-mailbox-info/ba.... Or the Disable-Mailbox cmdlet. But both these methods only work in specific scenarios.
Jul 19 2020 11:45 AM
Jul 19 2020 12:25 PM
Désolé, mon français n'est pas bon.
Les boîtes aux lettres Office 365 dans Exchange Online sont synchronisées étroitement avec le compte d'utilisateur Office 365. Vous pouvez essayer de supprimer l'option de messagerie électronique de leur licence, mieux d'Azure Active Directory.
Depuis AD Dashboard: Utilisateurs -> Cliquez sur Nom -> Licences -> Cliquez sur la licesnse qui fournit la boîte aux lettres d'échange (E3, E1, A1, Business, etc.). -> Désactiver Exchange Plan.
Vous pouvez également le faire à partir de PowerShell connecté à Active Directory, mais je vous déconseille de falsifier directement Exchange Online. Cela peut devenir un peu compliqué.
J'espère que cela t'aides.
---------------------------------
Office 365 mailboxes in Exchange Online are synced tightly to the Office 365 User account. You could try removing the email option from their license, best from Azure Active Directory.
From AD Dashboard: Users --> Click Name --> Licenses --> Click the licesnse that provides theexchange mailbox (E3, E1, A1, Business, etc). --> Turn off Exchange Plan.
You can also do this from PowerShell connected to the Active Directory,but I would advise not tampering with Exchange Online directly. It can get a little fiddly.
Hope this helps.
May 31 2022 12:53 PM
The way I found to empty a user mailbox :
Search-Mailbox "email address removed for privacy reasons" -DeleteContent -force -WhatIf
* to really run the command make sure you remove the dash "whatif" statement from the command line
note that you will receive a warning message stating that the command let is being retired. but it still works . last time I tried was 2022-05-31