moeshakir
asked on
AutoMapping Office 365
I gave full access to all user mailboxes to an admin using the below command through Powershell.
Get-Mailbox -ResultSize unlimited -Filter {(RecipientTypeDetails -eq 'UserMailbox')} | Add-MailboxPermission -User abc@abcd.com -AccessRights FullAccess -InheritanceType all
It ended up crashing the users outlook profile and auto mapping all users.
Is there a command to remove auto mapping without removing mailbox permission?
I also like to know what is the powershell command to completely remove all mailbox permissions?
Will it be this?
Get-Mailbox -ResultSize unlimited -Filter {(RecipientTypeDetails -eq 'UserMailbox')} | Remove-MailboxPermission -User abc@abcd.com -AccessRights FullAccess -InheritanceType all -Automapping $false
Thanks for anyones help.
Get-Mailbox -ResultSize unlimited -Filter {(RecipientTypeDetails -eq 'UserMailbox')} | Add-MailboxPermission -User abc@abcd.com -AccessRights FullAccess -InheritanceType all
It ended up crashing the users outlook profile and auto mapping all users.
Is there a command to remove auto mapping without removing mailbox permission?
I also like to know what is the powershell command to completely remove all mailbox permissions?
Will it be this?
Get-Mailbox -ResultSize unlimited -Filter {(RecipientTypeDetails -eq 'UserMailbox')} | Remove-MailboxPermission -User abc@abcd.com -AccessRights FullAccess -InheritanceType all -Automapping $false
Thanks for anyones help.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER