Link to home
Start Free TrialLog in
Avatar of GMA-CPA
GMA-CPA

asked on

Exchange 2013 Management Shell remove automapping permissions

Hi.
I have read some articles where it seems when automapping is on, a user's outlook will lock up when adding the shared mailbox to their outlook profile. I don't mean adding a 2nd profile, but under the Advanced tab to add an additional mailbox.
When we do this for certain mailboxes, outlook crashes. I checked the AD account is enabled.

I was going to follow the KB article to disable automapping, as suggested here
https://technet.microsoft.com/en-us/library/hh529943(v=exchg.141).aspx
What makes me nervous is that it doesn't return any information so how can I be sure that the fixautomapping is on the "shared mailbox" specifically and by advancing to the next command i don't somehow set a global setting?

This example removes auto-mapping on an existing shared mailbox and removes the auto-mapping behavior for users who have already been granted Full Access permissions.


$FixAutoMapping = Get-MailboxPermission sharedmailbox |where {$_.AccessRights -eq "FullAccess" -and $_.IsInherited -eq $false}
$FixAutoMapping | Remove-MailboxPermission
$FixAutoMapping | ForEach {Add-MailboxPermission -Identity $_.Identity -User $_.User -AccessRights:FullAccess -AutoMapping $false}
ASKER CERTIFIED SOLUTION
Avatar of Jian An Lim
Jian An Lim
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of GMA-CPA
GMA-CPA

ASKER

Ok thank you for the input.