I need to be able to setup Appointments for all Exchange accounts within our domain and also cancel these Appointments. Email is hosted on Office 365.
I already figured out how to create Appointments (using CreateItems()). After Appointments are created I receive Appointments ID-s in return value (ID-s will be saved in the database). Using these ID-s I can later bind to them and delete them or cancel. Everything works on my own account.
Doing this for other accounts (using Exchange Impersonation) presents a security issue. We can dedicate a service account on domain just for this purpose but can it be limited to only be able to do these 2 things:
Create Appointments for other accounts using
CreateItems.Bind to existing Appointment (in another account) via ID and delete it
?
We don't want this service account to be able to do anything else (i.e. access email, Contacts, list Appointments, etc). Is this possible?