I am using EWS function Uplloaditems to upload email items exported from Mailbox A to Mailbox B. The CreateAction property used in UploadItems is set to UploadorCreate. The item id and changekey in the call is set to original itemid and changekey. The parenfolderid
parameter's id and changekey is set to that of the targetfolder in Mailbox B This command fails with the error. "Access Denied Check Credentials".
When i change the CreateAction property to CreateNew while keeping rest same it works.
Also when I use CreateAction property as the UploadCreate to restore emails items exported from Mailbox A to itself while keeping rest same it succeeds.
Summarizing, CreateAction = UploadorCreate works for restore mails exported from Mailbox A to Mailbox A but fails in case of restoring mails form Mailbox A to Mailbox B.
Microsoft is conducting an online survey to understand your opinion of the Technet Web site. If you choose to participate, the online survey will be presented to you when you leave the Technet Web site.