We are in the process now of adapting our internal company applications to Office 365. Both systems are MVC projects. We are trying to use the O365 REST API directly. Need help on the following:
How to get an appointment from another person in our company O365 account using Domain Admin credentials? We can also consider adding visibility of the person's calendar to the admin account calendars list under "My Calendars" or "Other Calendars".
How to set an appointment inside another person calendar using the Super Admin account.
Basically what we want is to be able to perform operations using 1 account into other users calendars and using the REST API directly.
Will really appreciate assistance in this matter.
Thanks for your question! Today, the Office 365 Calendar REST APIs only allow retrieving or updating calendar of the authenticated user. We are really close to adding support for a service account that is granted access by an admin to all users in the tenant, and can retrieve and update calendars of users in the tenant without the user being present. So, your scenario should be unblocked in a few weeks. Stay tuned for an announcement on how to set up and use service accounts.
[UPDATE]: Alternately, you can use Exchange Web Services (EWS) SOAP APIs now to do this. Please check out how application impersonation works and here for using .NET EWS Managed API for app impersonation. The client side APIs available are .NET EWS Managed API and EWS Java API in case you use one of these runtimes.
[UPDATE]: Support for service accounts for REST APIs is now available. Please see our blog announcement for more details and let us know if you have any questions. Thanks for your patience.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With