Issue with getCallbackTokenAsync on Hosted Exchange emails RRS feed

  • Question

  • I'm facing some issues with the Office.context.mailbox.getCallbackTokenAsync() function.

    I am using this function to generate a token which I then use to get the attachments data of the email. For some reason though when I am using the outlook mail client with an exchange hosted email server the function always returns the following error The user is no longer connected to the network. Please check your network connection and try again. If I use a regular hotmail email OR I log in to my hosted exchange email via web browser, the function succeeds and returns the token. Only in Outlook desktop mail client with exchange emails do I get this error.

    Permissions in my manifest are set to ReadWriteMailbox using Microsoft Office 365 Business using Office version

    Is the function simply not available to use for exchange hosted emails, or am I doing something wrong?

    Friday, September 14, 2018 3:29 PM