none
[EWS] ArchiveItem with a Delegate

    Question

  • We have user A, who is a delegate of user B. Both have their archive enabled.

    When we use ArchiveItem on an Item in the Inbox of A (with the credentials of user B) it gets moved to the archive Inbox of user B.

    Any idea how we could circumvent this?

    Tuesday, June 26, 2018 8:15 AM

Answers

  • If you use Impersonation rather then delegation that would fix the issue, otherwise don't use ArchiveItem, this operation just does a move of a particular item so you can create your own logic to replicate that in the instance you describe.

    Cheers
    Glen

    • Marked as answer by Simon Hain Wednesday, June 27, 2018 8:22 AM
    Wednesday, June 27, 2018 8:07 AM