Link to home
Start Free TrialLog in
Avatar of klsphotos
klsphotos

asked on

Exchange 365 Mailbox Issue

Good Morning Experts,

Hoping you can help me.

I am a newly Exchange 365 admin.  I am/have been an exchange administrator in the past.  

I attempted to give myself full access to all mailboxes in my organization through a power shell command.  This went through successfully but in doing this, I also added all of my oganizations mailboxes to my outlook.  I worked with Microsoft on this and they couldn't figure this out either.  

I would prefer to remove the full access (only add it when I need it) and remove the mapping from my mailbox so I can use outlook again.  This does not happen in owa.  

Here is the command I ran:
Get-Mailbox -ResultSize unlimited -Filter {(RecipientTypeDetails -eq 'UserMailbox')} | Ad
d-MailboxPermission -User myemail@.com -AccessRights FullAccess -InheritanceType all

I also tried to reverse it with this:
Add-MailboxPermission -Identity JeroenC -User 'myusername' -AccessRight FullAccess -InheritanceType All -Automapping $false

Hope this made sense and thank you,

Karen
Avatar of Peter Hutchison
Peter Hutchison
Flag of United Kingdom of Great Britain and Northern Ireland image

Shouldn't that second command be Remove-MailboxPermission? May be a ForEach .. Next loop for each mailbox to remove permissions be better?
ASKER CERTIFIED SOLUTION
Avatar of Mark Galvin
Mark Galvin
Flag of United Kingdom of Great Britain and Northern Ireland 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 klsphotos
klsphotos

ASKER

This worked wonderful, thank you so much.  The person I got at Microsoft confirmed I needed the automapped;false command but I discovered was googling and gave me what I posted.  When swapping out the name, the mailboxes were still present in my outlook.  They appear to be gone now, thank you so much!