locked
Outlook Web Add-in RRS feed

  • Question

  • We are developing an Add-in for the Outlook which works with the emails. Our add-in queries for the emails in the sent box and for this we use the EWS apis for obtaining the access token followed by queries to obtain sent folder items. Our add-in works fine with the Outlook web app (Browser versions). However, the same add-in when installed on the Outlook desktop version, it fails. The EWS api responds with the error "The api you are trying to access does not support item scoped OAuth". We get the access token but when we try to obtain the sent folder items, we get the above error message. 

    Is there any different api for use with the outlook desktop version?

    We are making the following API call :

    https://outlook.office.com/api/beta/me/mailFolders('SentItems')/Messages?$filter=ConversationId%20eq%20'AAQkADX5MGE3MTVhLTUxYWItNDRhNS1iZDNkLTFiZTA4ODY4MTVmNAAQABi0AZyy85FPoIs%2BJuo94KU%3D'

    API Error Response :

    {
        "error": {
            "code": "ErrorAccessDenied",
            "message": "The api you are trying to access does not support item scoped OAuth."
        }
    }

    Can some one please help us?

    Monday, August 28, 2017 4:06 PM