Hello,
We have a department that needs shared mailboxes configured on a regular basis. I've got this all scripted and working, expect for the part where I try to manage permissions to to the Inbox. The add-mailboxfolderpermission cmdlet fails for about 5 minutes after the mailbox has been activated. This is all being sent to the same domain controller, so this isn't a replication issue. My google-fu as informed me that this is just the way it is. It takes time for everything to be available before it can be managed.
I was hoping anyone had some good suggestions for working around this so the entire build can be scripted instead of having to wait 5 minutes and manually configure the final step.
Thanks!