When multiple conversation identifiers are submitted using the ExchangeService.EnableAlwaysCategorizeItemsInConversations() an incorrect EWS request is built having only the last conversation identifier appearing as many times as the number of identifiers.
The following code demonstrates the problem:
var service = new ExchangeService();
// TODO: supply valid mailbox credentials
var ids = new ConversationId[]
{
"AAQkADFhNDJkOTk2LTU3MTYtNDNjMy1hZjVhLTU3M2IxMTA2OGUyZQAQADQSVnjJLUABu0pzicj5nQU=",
"AAQkADFhNDJkOTk2LTU3MTYtNDNjMy1hZjVhLTU3M2IxMTA2OGUyZQAQAEznFJVdE0xFgmrjNb8F+oo="
};
var categories = new[] {"My category"};
var response = service.EnableAlwaysCategorizeItemsInConversations(ids, categories, true);
An excerpt from EWS dump (note the last identifier is being repeated):
When multiple conversation identifiers are submitted using the ExchangeService.EnableAlwaysCategorizeItemsInConversations() an incorrect EWS request is built having only the last conversation identifier appearing as many times as the number of identifiers.
The following code demonstrates the problem:
An excerpt from EWS dump (note the last identifier is being repeated):