title: Exchange web service set organizer of the appointment
body: <p>When I use Service account to add a new appointment, the organizer always the user of Credentials to Exchange service, I want to set the organizer to another user, but the organizer property is readonly, how can I achieve that?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>           var appointment = new Appointment(_service.ExchangeService);
              
              if (exchangeAppointment.Participants.Any() &amp;&amp; exchangeAppointment.Participants != null)
              {
                  foreach (var participant in exchangeAppointment.Participants)
                  {
                      appointment.RequiredAttendees.Add(participant);
                  }
              }
              appointment.Resources.Add(exchangeAppointment.RoomAdIdentityEmail);
              appointment.Location = string.Join(",", appointment.Resources);
              appointment.Subject = exchangeAppointment.Subject;
              appointment.Body = exchangeAppointment.Body;
              appointment.Start = exchangeAppointment.StartTime;
              appointment.End = exchangeAppointment.EndTime;
              appointment.Save(SendInvitationsMode.SendToAllAndSaveCopy);</code></pre>
  </div>
  </div>
  </p>