Search code examples
c#exchangewebservicesappointment

How to add appointment with specify organizer via EWS?


How I can add appointment to Exchange calendar and specify organizer to this appointment?

I work with calendar via EWS (Exchange Web Service) from C# code.

Organizer field in class Appointment have only get() method. I found info about way via ImpersonatedUserId, but this function don't work in new version of Exchange Server.


Solution

  • As far as I know, the organizer is set by Exchange based on the credentials presented when the appointment is made. Using impersonation may allow you to appear to Exchange like a particular user, and it has other benefits as well in terms of throttling, but that permission has to be assigned in advance via PowerShell.