Shared mailboxes

%3CLINGO-SUB%20id%3D%22lingo-sub-1435702%22%20slang%3D%22en-US%22%3EShared%20mailboxes%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1435702%22%20slang%3D%22en-US%22%3E%3CP%3EI%20got%20two%20shared%20mailboxes%20in%20an%20Office%20365%20enviroment%2C%20let's%20name%20them%20'Mailbox%20A'%20and%20'Mailbox%20B'.%20These%20were%20resource%20mailboxes%20in%20the%20past%2C%20which%20were%20migrated%20from%20an%20on-premise%20Exchange%20server.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThey%20were%20used%20by%20five%20users%20until%20recently.%20Now%20they're%20only%20used%20by%202%20users%2C%20one%20of%20them%20is%20a%20user%20that%20got%20access%20to%20the%20mailboxes%20just%20recently.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThere%20are%202%20problems%20now%3A%3C%2FP%3E%3CP%3E1)%20The%20user%20that%20got%20access%20recently%20to%20the%20shared%20mailboxes%2C%20frequently%20get%20the%20error%3A%20'Cannot%20expand%20the%20folder'%20when%20trying%20to%20open%20the%20mailbox.%26nbsp%3B%3C%2FP%3E%3CP%3E2)%20The%20shared%20mailboxes%20still%20are%20visible%20for%20the%20users%20that%20don't%20have%20access%20to%20it%2C%20but%20they%20can't%20open%20it.%20When%20trying%2C%20they%20will%20get%20the%20same%20error%20as%20the%20user%20in%20problem%201.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20checked%20delegations%20and%20permissions%20for%20the%20shared%20mailboxes%2C%20they%20are%20all%20right.%20Only%20the%20two%20users%20that%20should've%20access%20to%20it%20are%20set%20in%20there.%26nbsp%3B%3C%2FP%3E%3CP%3EBesides%20that%2C%20I%20changed%20the%20resource%20mailboxes%20in%20shared%20mailboxes%20through%20Powershell%2C%20but%20this%20doesn't%20seem%20to%20make%20an%20difference.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20problem%202%2C%20even%20when%20setting%20up%20outlook%20fresh%20with%20a%20new%20profile%2C%20will%20automaticly%20add%20those%20shared%20mailboxes%2C%20which%20they%20don't%20have%20access%20to%20anymore.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENow%20I%20would%20like%20to%20know%20how%20to%20solve%20these%20two%20problems.%20I've%20searched%20a%20lot%2C%20but%20don't%20seem%20to%20be%20able%20to%20find%20anything%20that%20would%20help%20me%20with%20that.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1435702%22%20slang%3D%22en-US%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-1435717%22%20slang%3D%22en-US%22%3ERe%3A%20Shared%20mailboxes%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1435717%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F130985%22%20target%3D%22_blank%22%3E%40Alexander%20Bontenbal%3C%2FA%3E%26nbsp%3BI%20am%20on%20the%20run%20but%20have%20you%20used%20the%20AutoMapping%20parameter%3F%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Foutlook%2Ftroubleshoot%2Fdomain-management%2Fremove-automapping-for-shared-mailbox%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Foutlook%2Ftroubleshoot%2Fdomain-management%2Fremove-automapping-for-shared-mailbox%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1436397%22%20slang%3D%22en-US%22%3ERe%3A%20Shared%20mailboxes%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1436397%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F551905%22%20target%3D%22_blank%22%3E%40bec064%3C%2FA%3EI%20guess%20you're%20referring%20to%20this%20for%20problem%202%3F%3CBR%20%2F%3EI%20tried%20that%20just%20now%2C%20but%20since%20those%20users%20don't%20have%20have%20any%20access%20to%20the%20mailboxes%2C%20it%20won't%20let%20me%20disable%20automapping%20for%20those%20users.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-applescript%22%3E%3CCODE%3EWARNING%3A%20Can't%20remove%20the%20access%20control%20entry%20on%20the%20object%20%22CN%3Dmailbox%2COU%3Dcompany.onmicrosoft.com%2COU%3DMicrosoft%20Exchange%20Hosted%20Organizations%2CDC%3DEURPR08A002%2CDC%3DPROD%2CDC%3DOUTLOOK%2CDC%3DCOM%22%20for%20account%0A%22EURPR08A002%5C***************%22%20because%20the%20ACE%20doesn't%20exist%20on%20the%20object.%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1436459%22%20slang%3D%22en-US%22%3ERe%3A%20Shared%20mailboxes%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1436459%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F130985%22%20target%3D%22_blank%22%3E%40Alexander%20Bontenbal%3C%2FA%3E%26nbsp%3BYes.%20Quite%20funny%20as%20I%20am%20just%20about%20to%20leave%20the%20computer%20again...!%20Try%20adding%20the%20users%20again%2C%20then%20remove.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1437850%22%20slang%3D%22en-US%22%3ERe%3A%20Shared%20mailboxes%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1437850%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F130985%22%20target%3D%22_blank%22%3E%40Alexander%20Bontenbal%3C%2FA%3E%26nbsp%3BGreat!%20When%20and%20how%20does%20nr%201%20occur%3F%20(some%20more%20details%20please).%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1438241%22%20slang%3D%22en-US%22%3ERe%3A%20Shared%20mailboxes%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1438241%22%20slang%3D%22en-US%22%3EIt's%20used%20on%20a%20Windows%20PC%20with%20Outlook%2C%20PC%20runs%2024%2F7%20usually%2C%20Outlooks%20stays%20open%20as%20well.%3CBR%20%2F%3EAfter%20some%20inactive%20time%2C%20like%20an%20hour%20or%20more%2C%20the%20user%20can't%20open%20the%20shared%20mailbox%20in%20Outlook%20anymore.%20If%20the%20user%20restarts%20Outlook%2C%20than%20it%20will%20work%20again%2C%20but%20understandable%20it's%20annoys%20the%20user%20each%20time%20he%20has%20to%20restart%20Outlook%20just%20to%20access%20the%20shared%20mailbox.%3CBR%20%2F%3E%3CBR%20%2F%3ENow%20I%20already%20tried%20with%20a%20new%20Outlook%20profile%2C%20reinstalling%20Outlook%20and%20manually%20added%20the%20shared%20mailbox%20to%20Outlook%2C%20but%20the%20problem%20is%20still%20recurring.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1437781%22%20slang%3D%22en-US%22%3ERe%3A%20Shared%20mailboxes%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1437781%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F551905%22%20target%3D%22_blank%22%3E%40bec064%3C%2FA%3EHehe%2C%20bad%20timing%20each%20time...%20Looks%20like%20it%20works%20now%20%3A)%3C%2Fimg%3E%20Now%20I%20only%20need%20a%20solutions%20for%20problem%20%231%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

I got two shared mailboxes in an Office 365 enviroment, let's name them 'Mailbox A' and 'Mailbox B'. These were resource mailboxes in the past, which were migrated from an on-premise Exchange server.

 

They were used by five users until recently. Now they're only used by 2 users, one of them is a user that got access to the mailboxes just recently.

 

There are 2 problems now:

1) The user that got access recently to the shared mailboxes, frequently get the error: 'Cannot expand the folder' when trying to open the mailbox. 

2) The shared mailboxes still are visible for the users that don't have access to it, but they can't open it. When trying, they will get the same error as the user in problem 1.

 

I checked delegations and permissions for the shared mailboxes, they are all right. Only the two users that should've access to it are set in there. 

Besides that, I changed the resource mailboxes in shared mailboxes through Powershell, but this doesn't seem to make an difference.

 

For problem 2, even when setting up outlook fresh with a new profile, will automaticly add those shared mailboxes, which they don't have access to anymore.

 

Now I would like to know how to solve these two problems. I've searched a lot, but don't seem to be able to find anything that would help me with that.

6 Replies
Highlighted
Highlighted

@bec064I guess you're referring to this for problem 2?
I tried that just now, but since those users don't have have any access to the mailboxes, it won't let me disable automapping for those users.

 

 

WARNING: Can't remove the access control entry on the object "CN=mailbox,OU=company.onmicrosoft.com,OU=Microsoft Exchange Hosted Organizations,DC=EURPR08A002,DC=PROD,DC=OUTLOOK,DC=COM" for account
"EURPR08A002\***************" because the ACE doesn't exist on the object.
Highlighted

@Alexander Bontenbal Yes. Quite funny as I am just about to leave the computer again...! Try adding the users again, then remove.

Highlighted

@bec064Hehe, bad timing each time... Looks like it works now :) Now I only need a solutions for problem #1

Highlighted

@Alexander Bontenbal Great! When and how does nr 1 occur? (some more details please).

Highlighted
It's used on a Windows PC with Outlook, PC runs 24/7 usually, Outlooks stays open as well.
After some inactive time, like an hour or more, the user can't open the shared mailbox in Outlook anymore. If the user restarts Outlook, than it will work again, but understandable it's annoys the user each time he has to restart Outlook just to access the shared mailbox.

Now I already tried with a new Outlook profile, reinstalling Outlook and manually added the shared mailbox to Outlook, but the problem is still recurring.