When creating a task from EWS, the Owner field is empty. I believe this causes my created Task to disappear when I am in the Calendar view (showing Tasks on the bottom). The created Task still shows up in the Tasks view, but not the Calendar
view (where Tasks are on the bottom).
Creating a task in Outlook shows it on the Calendar view, but creating a Task with the same values from EWS does not show it there. The only difference is the Owner field of the Task, which is read-only in EWS. Can we set this somehow?
ExchangeService ews; ews = new ExchangeService(); ews.UseDefaultCredentials = true; ews.AutodiscoverUrl("my_email@company.com"); Task taskItem = new Task(ews); taskItem.Subject = "subject"; taskItem.Body = "body"; taskItem.IsReminderSet = true; taskItem.ReminderDueBy = DateTime.Now; taskItem.StartDate = DateTime.Now; taskItem.Save();
Thanks,
-Daniel