Giter Site home page Giter Site logo

Comments (11)

Rick-Kirkham avatar Rick-Kirkham commented on June 25, 2024

The same manifest should work everywhere. (Although some manifests cannot be deployed through a SharePoint catalog.) When you sideload on Windows, what kind of catalog are you using?

from office-add-in-nodejs-sso.

Danwakeem avatar Danwakeem commented on June 25, 2024

I am not sure I just followed the instructions to make a shared folder on my computer the adding that in the trusted add ins section. I followed the instructions here

from office-add-in-nodejs-sso.

Rick-Kirkham avatar Rick-Kirkham commented on June 25, 2024

OK. That means you are using a NetworkShare catalog, which should be fine. I'll see if I can find out anything.

from office-add-in-nodejs-sso.

Danwakeem avatar Danwakeem commented on June 25, 2024

Ahh okay, thank you so much for helping!

from office-add-in-nodejs-sso.

Rick-Kirkham avatar Rick-Kirkham commented on June 25, 2024

While we're waiting to hear back from the experts, a couple of thoughts:

  1. The errors that are specific to get AccessTokenAsync are number 13xxx. Error numbers 5xxx are from deeper in the Office.js code.
  2. The JavaScript engine that Office.js runs in on Windows is the version in IE 11 called Chakra. On a Mac the engine is the one in Safari called JavaScriptCore. Your error is "Invalid input arguments". Your first argument is the option object and it looks OK. The second is the callback. Could it be that you are using new JavaScript syntax (from ES6 or ES7) in the callback that is understood by JavaScriptCore, but not by Chakra?

from office-add-in-nodejs-sso.

Danwakeem avatar Danwakeem commented on June 25, 2024

Yeah I had seen that about the status codes. It was strange though because even on some of the other status code pages I could find the 5013 code.

The callback function is es5 syntax. Here is the first part of the function I made.

var callback = function(result) {
   console.log(result);
   ...
}

from office-add-in-nodejs-sso.

Danwakeem avatar Danwakeem commented on June 25, 2024

Is it possible the version of Excel I have is not compatible? The version of Excel I have for Windows 10 is 2016 version 1705.

Edit: Add it looks like this might be the case. This web page ways you have to have 1708 or later.

from office-add-in-nodejs-sso.

Rick-Kirkham avatar Rick-Kirkham commented on June 25, 2024

@Danwakeem
One of our engineers just sent that same suggestion: Upgrade to 1708 8528.1000 or later.

from office-add-in-nodejs-sso.

Danwakeem avatar Danwakeem commented on June 25, 2024

Do you know if that build of Excel released yet? When I download Excel from our client's Office 365 management page it only gives me version 1705?

Edit: Sorry, I clearly need to read before commenting. I see on this page that I am probably just getting my build from a deferred channel. Let me try and install from a non deferred channel and see if that works.

from office-add-in-nodejs-sso.

Rick-Kirkham avatar Rick-Kirkham commented on June 25, 2024

You many need to be an Office Insider to obtain this version. For more information, see Be an Office Insider .

from office-add-in-nodejs-sso.

Danwakeem avatar Danwakeem commented on June 25, 2024

It does appear that my Excel version was the issue. Another company we work with has Office 365 Business Premium and when I uninstalled Office then reinstalled with the Business Premium version it gave me version 1710 and when I ran my plugin with that version of Excel SSO worked just fine.

Kind of a bummer though. I definitly should have read the documentation more carefully before I implemented this feature. I guess I just believed the office 365 page when it said Pro Plus users would have access to the newest versions of Office. ¯\(ツ)

I do really appreciate your help though! This repository was super helpful in understanding how SSO works and how to implement it in the newer version of Office. I am hopping I will be able to use it in the future.

from office-add-in-nodejs-sso.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.