tverghis
tverghis

Reputation: 999

Create Calendar Events Without User Authentication

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.

Upvotes: 1

Views: 121

Answers (2)

Venkat Ayyadevara - MSFT
Venkat Ayyadevara - MSFT

Reputation: 2883

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.

Upvotes: 1

kat0r
kat0r

Reputation: 949

  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.

Upvotes: 0

Related Questions