locked
How to update Exchange server 2010 room mailbox using EWS RRS feed

  • Question

  • Im using the following code to update mailbox in Exchange server 2010.

       ServicePointManager.ServerCertificateValidationCallback = CertificateValidationCallBack;
                ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2010_SP1);
                service.Credentials = new WebCredentials("praveen@domain.com", "trig@123", "domain.com");
        service.TraceEnabled = true;
                service.TraceFlags = TraceFlags.All;
                service.Url = new Uri("https://domain.com/EWS/Exchange.asmx");
                Appointment appointment = new Appointment(service);
                appointment.Subject = "Status Meeting";
                appointment.Body = "The purpose of this meeting is to discuss status.";
                appointment.Start = new DateTime(2009, 3, 1, 9, 0, 0);
                appointment.End = appointment.Start.AddHours(2);
                appointment.Location = "Conf Room";
                appointment.RequiredAttendees.Add("murali@domain.com");
                 meeting.Resources.Add("confroom2@domain.com");
                appointment.Save(SendInvitationsMode.SendToAllAndSaveCopy);

    Here im able to update user mailbox calendar alone. But i need to update the room mailbox also. What im missing. Can anyone suggest any idea to achieve this..???

    Thanks in advance...

    Thursday, March 17, 2016 1:40 PM

All replies