Set Explicit permissions to a mailbox you want to access from OWA 2007

How to set Explicit permissions to a mailbox you want to access from OWA 2007

Notes from troubleshooting
To open a user's mailbox from OWA, you must have explicit full mailbox access granted by the administrator.

This explicit access must be granted by powershell.

If a user can't access a user's mailbox via owa 2007, you may follow these steps to troubleshoot and resolve the issue

step 1
for eg Get-MailboxPermission -identity "pbrown51" will tell you current permissions set for pbrown51
Access rights must be {FullAccess} and isInherited must be false. If this is not the case, you
must use this command to apply explicit fullaccess to the mailbox:

step 2
Add-MailboxPermission -identity "pbrown51" -User "ondubui1" -AccessRights "FullAccess"