locked
Outlook 365 - REST API (Delegation / Impersonation) RRS feed

  • Question

  • Dear all,

    I am trying to read / create calendar events via the Office 365 Outlook REST API, this is okay for my own account, i.e. using https://outlook.office.com/api/v1.0/me/events,

    However, when i try to replace 'me' with another user, i get 'Access Denied'

    Is it possible to do? Alternatively, is it possible to do programmatically in Office 365.

    Thanks

    William Man

    Friday, November 13, 2015 2:21 PM

Answers

  • Hi William,

    >>However, when i try to replace 'me' with another user, i get 'Access Denied'<<
    What kind of user did you mean? Did these users on the same Azure AD the app you register? If not, this result is expected.

    And there is a new authenticate mode named V2.0(preview) which allow the app signing in Microsoft account and Azure AD users with a single authentication model. You can get more detail about this topic from link below:

    Authenticate Office 365 and Outlook.com APIs using the v2.0 app model preview

    This forum is mainly for discussing issues related to Office add-ins development. For this question, I would suggest you asking a question in Stack Overflow and tag your questions with [office365].

    The reason why I recommend posting appropriately is you will get the most qualified pool of respondents, and Office 365 developer team will also monitor the tag regularly.

    Thanks for your understanding.

    Regards & Fei


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Tuesday, November 17, 2015 2:27 AM