I am trying to cancel a recurring event with the same account with which I have made this recurring appointment. I am getting this error:
User must be an organizer for canceled calendramatam action When I check the properties of the appointment, then I It looks like the same SMTP address is used by the organizer service. Error does not mean
Should I impersonate the resource (room) email to be able to cancel the meeting?
I am trying to cancel a single incident booking code of a series of appointments:
appointment appointment = new appointment (service); Appointment Subject = topic; Appointment Body = body; Appointment Start = start; Fourte (room in the Detroit room) (Appointment Resource. (Room ["Email"]. Toasting ());} If (recurring) {Day of the Wake [day] = New Day talk [] ((Biennial of the day Start.Dayoff Wake} appointment.Recreat = new recurrence weekly (start date, 1, day); appointment.provination.start = start; appointment.provision.et appointment.ave (SendInvitationsMode.SendToAllAndSaveCopy); recurring appointments get Doing: Public static datatable GetRecurringItems (string id) {appointment recurringmaster.euim = appointment. Bundtorekarmingmaster (service, new item ID); datatable recruiting aisonetics = new datatyll (); int = recursingmaster item For recurrence numberofactorance value; (int i = 1; i & lt; = oak; i ++) {appointment eventor exposure2 = appointment.bundtoke acquisition (service, new item id RecurringAppoitnments.Rows.Add (occurrenceOrException2);} Return recurring suspicions;} // Then I will be able to cancel it from recurring incidents 1 is selected:
appointment appointment = appointment (Service, New Item ID (EWSID)); Appointment.CancelMeeting (); When I try to cancel the meeting "User canceled calendarium should be an organizer for iTrim Action", though all the above actions are created using the same user / account.
Try trying to cancel the meeting to the user. Also make sure that the ID has sufficient permissions to perform this action.
No comments:
Post a Comment