Export-mailbox Error Exchange 2007

Probably something really simple, getting the following error when trying to copy one mailbox to a folder in another.

Error occurred in the step: Creating target folder in the target mailbox. An unknown error has occurred., error code: -2147221233
AtkinsonHDAsked:
Who is Participating?
 
MegaNuk3Commented:
Does the account you are using have rights to the target mailbox? Try opening the target mailbox with that account through outlook. Also check and make sure the target folder does not already exist.
0
 
AtkinsonHDAuthor Commented:
I am using lets say account "admin" to copy "user1"s mailbox in to a folder in "user2"s

So i am logged on as "admin" and running the following script in Exhange 2007 Shell.

Export-Mailbox -Identity "user1" -TargetMailbox "user2" -TargetFolder "somefolder"
0
 
AtkinsonHDAuthor Commented:
Sorted it gave "admin" rights to both accounts("user1" & "user2"), and it worked like a charm.
0
 
MegaNuk3Commented:
Thanks for the points
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.