"API is not supported in this platform" office.js error occurred
Diluka Hewage
96
Reputation points
I am encountering an issue with an Outlook add-in that I have developed. The specific office js error message is "API is not supported in this platform," and it occurs when attempting to execute the OfficeRuntime.auth.getAccessToken({allowSignInPrompt: true, forMSGraphAccess: true}); method to get the access token.
Here are some details:
- Outlook Version: Microsoft 365 MSO, Version 2311 Build 16.0.17029.20028
- Platform: 64-bit
- API Compatibility:
isSetSupported('IdentityAPI', '1.3')returns true
Any insights or guidance you can provide would be greatly appreciated.
Microsoft 365 and Office | Development | Office JavaScript API
Microsoft 365 and Office | Development | Office JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
Microsoft 365 and Office | Development | Other
Microsoft 365 and Office | Development | Other
Building custom solutions that extend, automate, and integrate Microsoft 365 apps.
Microsoft Security | Microsoft Graph
Microsoft Security | Microsoft Graph
An API that connects multiple Microsoft services, enabling data access and automation across platforms
Sign in to answer