Access to Outlook RestAPI from an Outlook web Add-in

后端 未结 2 577

I developed an Outlook Web Add-in that is working fine. It\'s a Taskpane that is available in compose mode of appointments and that collects event\'s data, adds a few ones a

2条回答
  •  再見小時候
    2020-12-11 20:07

    You should use getCallbackTokenAsync() this is the JWT that will give you the AccessToken that will help you authenticating for the Outlook REST API

    https://dev.office.com/docs/add-ins/outlook/use-rest-api

    For your case, following the documentation, I think you will need ReadWriteMailbox to have sufficient permissions to register web hooks with Outlook REST API.

    NOTE: I tried this on my add-in, I changed the add-in permission to ReadWriteMailbox but the JWT token when inspected with JWT.io still has for scope:ParentId= which I think won't work. Tell me if you have the same problem here.

提交回复
热议问题