Automapped mailbox - Migration

%3CLINGO-SUB%20id%3D%22lingo-sub-807127%22%20slang%3D%22en-US%22%3EAutomapped%20mailbox%20-%20Migration%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-807127%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20everyone.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe're%20looking%20at%20an%20AD%20consolidation%20project%20moving%20users%20from%20one%20internal%20forest%20to%20another%20with%201%20o365%20tenant%20in%20the%20cloud.%26nbsp%3B%20Multiple%20forest%20on%20prem%20to%201%20O365%20tenant.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe're%20moving%20users%20from%20forest%201%20to%202%20and%20when%20we%20move%20the%20shared%20mailboxes%20and%20users%2C%20we're%20looking%20at%20how%20to%20know%20who%20has%20the%20mailbox%20automapped%20and%20who%20doesn't.%26nbsp%3B%20%26nbsp%3BNever%20had%20a%20good%20answer%20from%20MS%20on%20this.%26nbsp%3B%20Does%20anyone%20know%20how%20to%20tell%20if%20a%20users%20is%20automapped%20or%20not%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETagging%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F238489%22%20target%3D%22_blank%22%3E%40Vasil%20Vasilev%3C%2FA%3E%26nbsp%3B%20as%20I%20know%20he's%20played%20with%20this%20a%20bit%20from%20previous%20posts.%26nbsp%3B%20Thanks%20in%20advance%20all.%20Brian%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-807127%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExchange%20Online%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-807441%22%20slang%3D%22en-US%22%3ERe%3A%20Automapped%20mailbox%20-%20Migration%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-807441%22%20slang%3D%22en-US%22%3E%3CP%3EHey%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F5336%22%20target%3D%22_blank%22%3E%40Brian%20Knipfel%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20understanding%20is%20the%20automapping%20data%20is%20stored%20with%20the%20AD%20user%20under%26nbsp%3B%3CSPAN%3EmsExchDelegateListLink%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EGet-ADUser%20%22Mailbox01%22%20-Properties%20msExchDelegateListLink%20%7C%20Select%20msExchDelegateListLink%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EThe%20above%20should%20show%20you%20which%20users%20get%20the%20Mailbox01%20automapped%20in%20Outlook%2C%20but%20I'm%20away%20from%20my%20lab%20and%20unable%20to%20test%20right%20now.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EHope%20this%20helps%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3ECheers%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EMark%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-807780%22%20slang%3D%22en-US%22%3ERe%3A%20Automapped%20mailbox%20-%20Migration%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-807780%22%20slang%3D%22en-US%22%3E%3CP%3EThe%26nbsp%3B%3CSTRONG%20style%3D%22box-sizing%3A%20inherit%3B%20font-weight%3A%20bold%3B%20color%3A%20%23333333%3B%20font-family%3A%20'Libre%20Franklin'%2C%20'Helvetica%20Neue'%2C%20helvetica%2C%20arial%2C%20sans-serif%3B%20font-size%3A%2016px%3B%20font-style%3A%20normal%3B%20font-variant-ligatures%3A%20normal%3B%20font-variant-caps%3A%20normal%3B%20letter-spacing%3A%20normal%3B%20orphans%3A%202%3B%20text-align%3A%20start%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20white-space%3A%20normal%3B%20widows%3A%202%3B%20word-spacing%3A%200px%3B%20-webkit-text-stroke-width%3A%200px%3B%20background-color%3A%20%23ffffff%3B%20text-decoration-style%3A%20initial%3B%20text-decoration-color%3A%20initial%3B%22%3EMSExchDelegateLinkListBL%3C%2FSTRONG%3Eis%20the%20%22reverse%22%20attribute%2C%20which%20will%20give%20you%20a%20list%20of%20all%20the%20mailboxes%20a%20given%20user%20has%20automapped.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-915423%22%20slang%3D%22en-US%22%3ERe%3A%20Automapped%20mailbox%20-%20Migration%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-915423%22%20slang%3D%22en-US%22%3E%3CP%3ESo%20all%20the%20mailboxes%20are%20in%20office%20365%20so%20is%20there%20a%20way%20to%20see%20it%20then%3F%26nbsp%3B%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%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

Hi everyone.

 

We're looking at an AD consolidation project moving users from one internal forest to another with 1 o365 tenant in the cloud.  Multiple forest on prem to 1 O365 tenant.  

 

We're moving users from forest 1 to 2 and when we move the shared mailboxes and users, we're looking at how to know who has the mailbox automapped and who doesn't.   Never had a good answer from MS on this.  Does anyone know how to tell if a users is automapped or not? 

 

Tagging @Vasil Vasilev  as I know he's played with this a bit from previous posts.  Thanks in advance all. Brian

 

4 Replies
Highlighted

Hey @Brian Knipfel 

 

My understanding is the automapping data is stored with the AD user under msExchDelegateListLink

 

Get-ADUser "Mailbox01" -Properties msExchDelegateListLink | Select msExchDelegateListLink

 

The above should show you which users get the Mailbox01 automapped in Outlook, but I'm away from my lab and unable to test right now.

 

Hope this helps

 

Cheers,

Mark

Highlighted

The MSExchDelegateLinkListBL is the "reverse" attribute, which will give you a list of all the mailboxes a given user has automapped. 

Highlighted

So all the mailboxes are in office 365 so is there a way to see it then? @Vasil Michev 

Highlighted

Nope. At least not a supported way. You can use the method I've outlined here, but that requires you to add folder-level permissions: https://www.michev.info/Blog/Post/1926/peeking-behind-the-curtain-of-exods-fetching-the-adrecipient-...

 

In any case, you can simply report on the Full Mailbox permissions instead and assume they're all with automapping set to $true.