Delete mailbox exchange online without delete user

%3CLINGO-SUB%20id%3D%22lingo-sub-1519569%22%20slang%3D%22fr-FR%22%3EDelete%20mailbox%20exchange%20online%20without%20delete%20user%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1519569%22%20slang%3D%22fr-FR%22%3E%3CP%3EHi%26nbsp%3B%3C%2FP%3E%3CP%3EThere%20is%20a%20way%20to%20delete%20mailBox%20exchange%20online%20%3CFONT%20color%3D%22%23FF0000%22%3E%3CSTRONG%3Ewithout%20delete%20user%3F%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3Ethe%20users%20are%20synchonized%20with%20AAD%20connect%20and%20they%20used%20another%20application%20(Teams%20and%20sherepoint%20..)%26nbsp%3B%3C%2FP%3E%3CP%3EI%20found%20microsoft%20post%20to%20do%20that%20by%20it%20delete%20the%20user!!%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Frecipients-in-exchange-online%2Fmanage-user-mailboxes%2Fuse-powershell-to-display-mailbox-information%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Frecipients-in-exchange-online%2Fmanage-user-mailboxes%2Fuse-powershell-to-display-mailbox-information%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1519569%22%20slang%3D%22fr-FR%22%3E%3CLINGO-LABEL%3EExchange%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1520420%22%20slang%3D%22en-US%22%3ERe%3A%20Delete%20mailbox%20exchange%20online%20without%20delete%20user%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1520420%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20safest%20method%20is%20to%20remove%20the%20Exchange%20Online%20license.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOther%20than%20that%2C%20depending%20on%20the%20situation%2C%20you%20might%20use%20the%20method%20listed%20here%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fexchange-team-blog%2Fpermanently-clear-previous-mailbox-info%2Fba-p%2F607619%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fexchange-team-blog%2Fpermanently-clear-previous-mailbox-info%2Fba-p%2F607619%3C%2FA%3E.%26nbsp%3BOr%20the%20Disable-Mailbox%20cmdlet.%20But%20both%20these%20methods%20only%20work%20in%20specific%20scenarios.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1532004%22%20slang%3D%22fr-FR%22%3ERe%3A%20Delete%20mailbox%20exchange%20online%20without%20delete%20user%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1532004%22%20slang%3D%22fr-FR%22%3EHello%20%3CBR%20%2F%3E%20Thanks%20for%20your%20return%20Indeed%20I%20found%20the%20solution%20below%20without%20%3CBR%20%2F%3E%20releasing%20the%20licenses%20%3CBR%20%2F%3E%20%3CA%20href%3D%22https%3A%2F%2Fkb.cloudiway.com%2Farticle%2Fhow-to-delete-a-mailbox-content-in-office-365-or-exchange%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fkb.cloudiway.com%2Farticle%2Fhow-to-delete-a-mailbox-content-in-office-365-or-exchange%2F%3C%2FA%3E%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20Thanks%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1532052%22%20slang%3D%22en-US%22%3ERe%3A%20Delete%20mailbox%20exchange%20online%20without%20delete%20user%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1532052%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F469815%22%20target%3D%22_blank%22%3E%40Kais_mbarki%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CBR%20%2F%3ED%C3%A9sol%C3%A9%2C%20mon%20fran%C3%A7ais%20n'est%20pas%20bon.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ELes%20bo%C3%AEtes%20aux%20lettres%20Office%20365%20dans%20Exchange%20Online%20sont%20synchronis%C3%A9es%20%C3%A9troitement%20avec%20le%20compte%20d'utilisateur%20Office%20365.%20Vous%20pouvez%20essayer%20de%20supprimer%20l'option%20de%20messagerie%20%C3%A9lectronique%20de%20leur%20licence%2C%20mieux%20d'Azure%20Active%20Directory.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDepuis%20AD%20Dashboard%3A%20Utilisateurs%20-%26gt%3B%20Cliquez%20sur%20Nom%20-%26gt%3B%20Licences%20-%26gt%3B%20Cliquez%20sur%20la%20licesnse%20qui%20fournit%20la%20bo%C3%AEte%20aux%20lettres%20d'%C3%A9change%20(E3%2C%20E1%2C%20A1%2C%20Business%2C%20etc.).%20-%26gt%3B%20D%C3%A9sactiver%20Exchange%20Plan.%3C%2FP%3E%3CP%3EVous%20pouvez%20%C3%A9galement%20le%20faire%20%C3%A0%20partir%20de%20PowerShell%20connect%C3%A9%20%C3%A0%20Active%20Directory%2C%20mais%20je%20vous%20d%C3%A9conseille%20de%20falsifier%20directement%20Exchange%20Online.%20Cela%20peut%20devenir%20un%20peu%20compliqu%C3%A9.%3C%2FP%3E%3CP%3EJ'esp%C3%A8re%20que%20cela%20t'aides.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E---------------------------------%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOffice%20365%20mailboxes%20in%20Exchange%20Online%20are%20synced%20tightly%20to%20the%20Office%20365%20User%20account.%26nbsp%3B%20You%20could%20try%20removing%20the%20email%20option%20from%20their%20license%2C%20best%20from%20Azure%20Active%20Directory.%3CBR%20%2F%3E%3CBR%20%2F%3EFrom%20AD%20Dashboard%3A%20Users%20--%26gt%3B%20Click%20Name%20--%26gt%3B%20Licenses%20--%26gt%3B%20Click%20the%20licesnse%20that%20provides%20theexchange%20mailbox%20(E3%2C%20E1%2C%20A1%2C%20Business%2C%20etc).%26nbsp%3B%20--%26gt%3B%20Turn%20off%20Exchange%20Plan.%3CBR%20%2F%3E%3CBR%20%2F%3EYou%20can%20also%20do%20this%20from%20PowerShell%20connected%20to%20the%20Active%20Directory%2Cbut%20I%20would%20advise%20not%20tampering%20with%20Exchange%20Online%20directly.%26nbsp%3B%20It%20can%20get%20a%20little%20fiddly.%3CBR%20%2F%3E%3CBR%20%2F%3EHope%20this%20helps.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

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 !! 

 

https://docs.microsoft.com/en-us/exchange/recipients-in-exchange-online/manage-user-mailboxes/use-po...

 

Thank you 

3 Replies

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.

Bonjour
Merci pour votre retour
En effet jai trouvé la solution ci-dessous sans libérer les licenses
https://kb.cloudiway.com/article/how-to-delete-a-mailbox-content-in-office-365-or-exchange/

Merci

@Kais_mbarki 


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.