Need some assistance with a problem where I am trying to export and then delete 
a message with an specific attachment.

On a machine with O2k7 and cache off, I first add fullaccess rights to the 
mailbox:
add-mailboxpermission -identity myuser -user myaccount -accessrights fullaccess

Then I run my export:
export-mailbox myuser -pstfolderpath C:\archive_user_psts\myuser 
-attachfilenames someexcel.xls (-deletecontent once this works).

The export starts to run and while "moving messages", I get an error that looks 
like the following in my migration logs:

[1/20/2010 4:09:33 PM] [0] [ERROR] Error was found for UserLName, FName 
([email protected]) because: Error occurred in the step: Moving messages. 
Failed to copy messages to the destination mailbox store with error:
MAPI or an unspecified service provider.

The odd thing is that if I take out the attachment parameter, I can get the 
whole mailbox to a pst.

Peeking inside the full pst, it turns out that the user deleted the message so 
I have added -includefolders "\deleted items". It still errors unless I again 
remove the attachment.

Thanks in advance if you can help
-Joe


Reply via email to