The reason it isn't working is that Outlook version isn't supported for using the SSO API. You can find supported versions along with the Identity 1.3 API requirement set. In the case of clients being used with add-ins that use SSO that aren't supported, you can utilize a backup method to authenticate users such as the dialog API and MSAL. When getAccessToken() returns the not supported error you can launch your fallback method to authenticate, get a token, and continue.
Office.js error - API is not supported in this platform

Piyumi Perera
91
Reputation points
Hi,
I have developed an outlook add-in which follow Single Sign On (SSO) as authorization model. I am following guidelines provided in here to configure SSO. I have tested it on Outlook 2016 desktop, OWA. But I am getting following error in Outlook desktop build version 16.0.10386.20017.
API is not supported in this platform (Converted from French to English)
I have added following two as authorized client applications.
d3590ed6-52b3-4102-aeff-aad2292ab01c
bc59ab01-8403-45c6-8796-ac3ef710b3e3
I need a help from experts to understand what has happened.
Accepted answer
-
0 additional answers
Sort by: Oldest