feedback
feedback copied to clipboard
Office.auth.getAccessToken() - API is not supported in Outlook PWA
Describe the bug The Identity API is not supported by Outlook Add-ins, even though isSetSupported('Mailbox', '1.5') returns true
To Reproduce Steps to reproduce the behavior:
- Create a new Outlook Web Add-in
- Try to call the API with
let token = Office.auth.getAccessToken();
- See the error message with code 13000 in the development console of your browser
Expected behavior: When calling the API, a valid Access Token is returned
Desktop:
- OS: Windows 10 / 11
- Browser: Microsoft Edge
- Version: all versions
Additional context: I need to make a POST request and provide a Bearer Token authentication, which is not possible since the API call is not working.
Thank you for creating the issue! One of our team members will get back to you shortly with additional information. If this is a product issue, please close this and contact the particular product's support instead (see https://support.microsoft.com/allproducts for the list of support websites).