Remove account from Outlook after user license is removed

%3CLINGO-SUB%20id%3D%22lingo-sub-1386795%22%20slang%3D%22en-US%22%3ERemove%20account%20from%20Outlook%20after%20user%20license%20is%20removed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1386795%22%20slang%3D%22en-US%22%3E%3CP%3EAs%20an%20admin%2C%20I%20am%20frequently%20setup%20with%20access%20to%20other%20user's%20accounts.%20Sometimes%20those%20accounts%20have%20their%20license%20removed%20while%20I%20am%20still%20setup%20as%20a%20delegate%20on%20that%20mailbox.%20When%20the%20license%20is%20removed%20the%20account%20no%20longer%20has%20a%20mailbox%20so%20I%20can't%20remove%20the%20delegate%20access%20in%20Office%20365%20but%20the%20account%20persists%20in%20Outlook%20long%20after%20the%20mailbox%20is%20gone.%20When%20I%20try%20to%20close%20or%20remove%20the%20mailbox%20in%20Outlook%20it%20fails%20saying%20it%20is%20tied%20to%20my%20account.%20Is%20there%20a%20way%20to%20remove%20this%20mailbox%20from%20my%20Outlook%20without%20granting%20the%20account%20another%20license%20or%20rebuilding%20my%20Outlook%20profile%3F%20Or%20is%20there%20a%20way%20to%20remove%20the%20delegate%20access%20from%20the%20account%20even%20though%20there's%20no%20mailbox%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1386795%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExchange%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOutlook%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1386947%22%20slang%3D%22en-US%22%3ERe%3A%20Remove%20account%20from%20Outlook%20after%20user%20license%20is%20removed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1386947%22%20slang%3D%22en-US%22%3E%3CP%3ERemove%20the%20delegate%20permissions%20before%20removing%20the%20license%3F%20You%20can%20also%20use%20the%20-ClearAutomapping%20switch%20to%20just%20remove%20automapped%20mailboxes%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.michev.info%2FBlog%2FPost%2F1382%2Fremoving-automapping-and-resetting-default-mailbox-permissions-in-exchange-online%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.michev.info%2FBlog%2FPost%2F1382%2Fremoving-automapping-and-resetting-default-mailbox-permissions-in-exchange-online%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1387103%22%20slang%3D%22en-US%22%3ERe%3A%20Remove%20account%20from%20Outlook%20after%20user%20license%20is%20removed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1387103%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F58%22%20target%3D%22_blank%22%3E%40Vasil%20Michev%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%22Remove%20the%20delegate%20permissions%20before%20removing%20the%20license%3F%22%20That%20snarky%20comment%20was%20unnecessary%2C%20unprofessional%2C%20unhelpful%2C%20and%20obvious.%20Not%20sure%20what%20reality%20you%20live%20in%20but%20in%20this%20one%20people%20make%20mistakes%20and%20team%20members%20don't%20always%20check%20everything%20they%20should%20before%20making%20changes.%20I'll%20give%20your%20other%20suggestion%20a%20try%20but%20here's%20a%20suggestion%20for%20you.%20Next%20time%20you%20decide%20to%20respond%20to%20someone's%20question%2C%20answer%20the%20question%20being%20asked%20directly%20a%20leave%20the%20asinine%20remarks%20out.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1387411%22%20slang%3D%22en-US%22%3ERe%3A%20Remove%20account%20from%20Outlook%20after%20user%20license%20is%20removed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1387411%22%20slang%3D%22en-US%22%3EYer%20but%20I%20can't%20remember%2C%20sorry%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1387416%22%20slang%3D%22en-US%22%3ERe%3A%20Remove%20account%20from%20Outlook%20after%20user%20license%20is%20removed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1387416%22%20slang%3D%22en-US%22%3EThanks%20it%20worked%20for%20me%2C%20you%20wasn't%20being%20snarky%20was%20you%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1387483%22%20slang%3D%22en-US%22%3ERe%3A%20Remove%20account%20from%20Outlook%20after%20user%20license%20is%20removed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1387483%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F666819%22%20target%3D%22_blank%22%3E%40NeroPC%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHe%20was%20either%20being%20snarky%20or%20a%20moron.%20Nothing%20in%20my%20question%20asked%20how%20to%20prevent%20the%20issue%20from%20occurring.%20The%20fact%20that%20I%20explained%20the%20exact%20cause%20of%20the%20issue%20should%20have%20been%20a%20clear%20indication%20that%20I%20understood%20how%20to%20prevent%20it.%20The%20only%20information%20I%20requested%20was%20was%20how%20to%20fix%20it.%20Meaning%20either%20he%20knew%20that%20and%20was%20trying%20to%20be%20funny%20(it%20wasn't)%20or%20he's%20a%20clueless%20moron%20answering%20questions%20no%20one%20asked.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESince%20you've%20decided%20to%20throw%20your%202%20cents%20in%2C%20please%20explain%20the%20thought%20process%20behind%20your%20first%20comment.%20If%20you%20don't%20know%20the%20answer%2C%20what%20was%20the%20point%20of%20commenting%3F%20I've%20never%20understood%20why%20someone%20would%20do%20that.%20The%20question%20wasn't%20directed%20at%20you%2C%20you%20responding%20to%20it%20telling%20me%20you%20don't%20know%20does%20literally%20nothing%20for%20me.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1387532%22%20slang%3D%22en-US%22%3ERe%3A%20Remove%20account%20from%20Outlook%20after%20user%20license%20is%20removed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1387532%22%20slang%3D%22en-US%22%3ELook%20I'm%20sorry%20please%20don't%20be%20angry!%20Why%20are%20you%20being%20so%20hostile%20for%2C%20I%20genuinely%20forgot%20I'm%20sorry%2C%20why%20did%20you%20call%20the%20other%20guy%20a%20moran%3F%20He%20was%20just%20trying%20to%20help%20you%20that's%20all%2C%20I%20really%20feel%20that%20you%20have%20hurt%20my%20feelings%2C%20I%20got%20a%20good%20mind%20to%20report%20you%20to%20the%20authority!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1387692%22%20slang%3D%22en-US%22%3ERe%3A%20Remove%20account%20from%20Outlook%20after%20user%20license%20is%20removed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1387692%22%20slang%3D%22en-US%22%3EYer%20see%20all%20quiet%20you%20know%20what%20I%20was%20saying%20is%20true%20he's%20now%20backed%20off%2C%20I%20would%20say%20I%20won%20that%20last%20argument!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1390129%22%20slang%3D%22en-US%22%3ERe%3A%20Remove%20account%20from%20Outlook%20after%20user%20license%20is%20removed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1390129%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20all%20-%20I%20have%20removed%20a%20portion%20of%20this%20conversation%20which%20consisted%20of%20personal%20attacks%20which%20are%20prohibited%20as%20per%20our%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fcommunity-guidelines%2Fmicrosoft-tech-community-code-of-conduct%2Fm-p%2F31390%23M14%22%20target%3D%22_self%22%3ECode%20of%20Conduct%3C%2FA%3E.%20Please%20avoid%20personal%20attacks%20and%20keep%20conversations%20on-topic.%20Thank%20you.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1392438%22%20slang%3D%22en-US%22%3ERe%3A%20Remove%20account%20from%20Outlook%20after%20user%20license%20is%20removed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1392438%22%20slang%3D%22en-US%22%3E%3CP%3EIn%20the%20admin%20center%2C%20go%20to%20the%20Billing%20%26gt%3B%20Licenses%20page.%3C%2FP%3E%3CP%3ESelect%20the%20product%20for%20which%20you%20want%20to%20unassign%20licenses.%3C%2FP%3E%3CP%3ESelect%20the%20users%20for%20which%20you%20want%20to%20unassign%20licenses.%3C%2FP%3E%3CP%3ESelect%20Unassign%20licenses.%3C%2FP%3E%3CP%3EIn%20the%20Unassign%20licenses%20box%2C%20select%20Unassign.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

As an admin, I am frequently setup with access to other user's accounts. Sometimes those accounts have their license removed while I am still setup as a delegate on that mailbox. When the license is removed the account no longer has a mailbox so I can't remove the delegate access in Office 365 but the account persists in Outlook long after the mailbox is gone. When I try to close or remove the mailbox in Outlook it fails saying it is tied to my account. Is there a way to remove this mailbox from my Outlook without granting the account another license or rebuilding my Outlook profile? Or is there a way to remove the delegate access from the account even though there's no mailbox?

5 Replies

Remove the delegate permissions before removing the license? You can also use the -ClearAutomapping switch to just remove automapped mailboxes: https://www.michev.info/Blog/Post/1382/removing-automapping-and-resetting-default-mailbox-permission...

Yer but I can't remember, sorry
Thanks it worked for me, you wasn't being snarky was you?

Hello all - I have removed a portion of this conversation which consisted of personal attacks which are prohibited as per our Code of Conduct. Please avoid personal attacks and keep conversations on-topic. Thank you.  

In the admin center, go to the Billing > Licenses page.

Select the product for which you want to unassign licenses.

Select the users for which you want to unassign licenses.

Select Unassign licenses.

In the Unassign licenses box, select Unassign.