I read an IPM.Task from disk and copied it to a mailbox. Later, I tried to programmatically delete it and I receive an exception:
DeleteMessage failed. Response Code: ErrorAffectedTaskOccurrencesRequired, MessageText: AffectedTaskOccurrences attribute is required for Task items
I tried to narrow it down to see exactly what might be the cause but I am at a loss. It might be something with the Task itself, but I'll need to know what to do to repair it in the future.
I'm attaching a sample Task and some source code to duplicate the issue.
DeleteMessage failed. Response Code: ErrorAffectedTaskOccurrencesRequired, MessageText: AffectedTaskOccurrences attribute is required for Task items
I tried to narrow it down to see exactly what might be the cause but I am at a loss. It might be something with the Task itself, but I'll need to know what to do to repair it in the future.
I'm attaching a sample Task and some source code to duplicate the issue.