1
votes

I'm writing an application that needs to create Calendar events on a user's Outlook Calendar. However, I will not have access to their passwords, and they will most likely not be involved in the workflow to enter them at any point.

Is it possible to create these events with the user being authenticated? If not, are there alternatives?

This is for an on-premise Exchange Server, not Exchange Online.

2

2 Answers

1
votes

You can use app impersonation, as long as the admin can add a service account and grant app impersonation. See https://msdn.microsoft.com/en-us/library/office/dd633680(v=exchg.80).aspx for more details.

0
votes
  1. If the user can use his Windows Login to login to the Exchange Server, you can simply use that - if your application runs on the users machine under his account. EWS-managed-API does that out-of-the-box.
  2. If not, you could create an additional user on the Exchange Server, who creates the appointments on his own account and invites everyone per email.