none
Excel Web Add-In (Excel Javascript API) RRS feed

  • Question

  • Hi,

    I am working with a Excel Web Add-In using the Excel JavaScript API. We are targeting to Office 2013 to onward. I am trying to integrate the SSO integration into my app.

    https://docs.microsoft.com/en-us/office/dev/add-ins/develop/sso-in-office-add-ins

    There are two samples in this documentation, I downloaded the SSO App using ASP.NET. After all configuration, when I run the app, this sample app is for PowerPoint, it loads the Files from the OneDrive. But I get this error, when this line of code executed:

    Office.context.auth.getAccessTokenAsync

    The error is, 

    Status: failed
    Code: 13012
    Name: A connection was lost during the sign in process.
    Message: API is not supported in this platform.

    I am not sure what this error means.

    I am using Windows 10 Pro (Version 1803, OS Build 17134.407), Office 365 Pro Plus (Version 1808, Build 10730.20205 Click-to-Run). 

    I read the documentation for the Identity API requirement sets.

    https://docs.microsoft.com/en-us/office/dev/add-ins/reference/requirement-sets/identity-api-requirement-sets?view=office-js

    It is mentioned "* During the preview phase, the Identity API is supported on Windows 2016 and Mac only for users in the Insiders program using the Fast option".

    Does this means, that it can't be used in the Windows 10?

    Please help?


    Regards, JAMIL

    Thursday, November 29, 2018 11:25 AM