I just performed cross-forest migration of a number of mailboxes. Mailboxes come across as "linked" mailboxes linking to the account in the source forest. To link the mailboxes to the new user account in the destination forest I used the Disable-Mailbox command to unlink the mailbox from the old account followed by the Connect-Mailbox to link the mailbox to the new user account in the destination forest. Users who had been migrated across to the new forest had problems accessing "Options" in Outlook Web App.
Sorry! Access denied
You don't have permission to open this page. If you're a new user or were recently assigned credentials, please wait 15 minutes and try again. If the problem persists, contact your administrator.
I went and created a new mailbox user in the destination forest which I did not migrate. This worked fine. I went and compared attributes between my "test" mailbox account and "jim's" mailbox account.
There were a couple of differences. Jim's mailbox did not have a Role Assignment Policy. The RoleAssignmentPolicy parameter specifies the management role assignment policy to assign to the mailbox when it's created or enabled. If you don't include this parameter when you create or enable a mailbox, the default assignment policy is used. All mailboxes must have at least the default policy! I set the default policy as follows on Jims account
Set-Mailbox "jim" -RoleAssignmentPolicy "Default Role Assignment Policy"
This resolved the problem!
Subscribe to:
Post Comments (Atom)
Thank you for sharing
ReplyDeleteLooks like power shell.
ReplyDeleteWhat are the commands to get or set those attributes?
Get-Mailbox "jim" | fl
ReplyDeletethank you for sharing.I am in relax now.
ReplyDeleteExcellent, I rosolved the problem, thanks
ReplyDeleteExcellent, I rosolved the problem, thanks
ReplyDeleteDid the trick!
ReplyDeleteThis comment has been removed by the author.
ReplyDeletedid not work for me
ReplyDeleteWorked for me!
ReplyDeleteThe question is, how are users losing their role assignment? Finding an initial cause would be helpful - we're working on it in our infrastructure right now, but don't have anything yet.