none
How Create Tasks for other users via O365 API/Exchnage Managed APi RRS feed

  • Question

  • The Scenario

    I am developing a Sharepoint provider hosted app. the Sharepoint app web is only used as a repository for storing items and The web application use O365 multitenant app to authenticate users by using ADAL Tokens.
    The Requirement I have is when a user create an item in the web application he/she can assign other users as responsible parties to that item. I need to create o365 Tasks for the relevant users (i.e. users should be in same o365 tenant) to work as reminders.

    Question one

    I have search about an o365 Task API to create tasks. Most of the results i found indicate that it is still not included in O365 Unified API. Does anyone know will it be released soon?

    Question Two

    I used Exchange Web Services (i.e. EWS) Managed API (with the “OAuth token” of the user) to create tasks and retrieve them. This requires delegate permission "Access mailboxes as the signed-in user via Exc" in the azure AD app.
    But the problem is with the EWS Managed API I can only create Tasks for the signed in user. I couldn’t find a way to create tasks for other users. 
    Is there any way to create tasks for other users using aforementioned API?

    When digging deeper I found out that in O365 there is a way to get “app only token”. But it’s not an option because it will grant access to all the Mailboxes in the O365 Tenant which will not be feasible since my app will be a 3rd party app that can be purchased from the app store.

    If anyone can shed some light on these two questions it will highly appreciated.

    Thank You.


    Thursday, August 27, 2015 4:01 AM

Answers