none
[E2007_SP1][EWS][C#] ExchangeService.MoveItems() Throws Error, but moves items. RRS feed

  • Question

  • Greetings Exchangers

     

    When moving items from a mailbox on one ExchangeServer to a Public Folder on second ExchangeServers;

    <Error thrown from <Move Items To>: Request failed. The remote server returned an error: (401) Unauthorized.)>

    Process retrieves a List<ItemId> matching search filter, (view size=1024) and calls  ExchangeService.MoveItems();

    results is the error thrown above, so cant catch the ServiceResponseCollection<ServiceResponse> result.

    But some mails, (different number each call) still gets moved to public folders.

    ExchangeService.Credentials is of the mailbox user.

    mailbox user has FullAccessPermission to the mailbox itself and to the target archive public folders.

     

    Kindly please advise on this behaviour.

    Thanks in advance,

    BT. 

     

     

     

    Thursday, April 21, 2011 9:46 AM