Coder Social home page Coder Social logo

Comments (5)

Yhuley avatar Yhuley commented on August 10, 2024 1

@cody-lettau Hi, I'm having a similar issue with this.pca.ssoSilent on a Mac. After playing around with the scopes I send in the tokenRequest, I found that the scopes for shared mailboxes (Mail.Read.Shared, Mail.ReadBasic.Shared, Mail.ReadWrite.Shared) break it. Perhaps this is a reason for you too.

P.s. @exextoc Does this mean that ssoSilent does not work for shared mailboxes?

Screenshot 2024-08-09 at 15 07 24

from office-js.

cody-lettau avatar cody-lettau commented on August 10, 2024

I will note that I was surprised it worked in OWA, given it's been stated it only works in the Beta channel on Windows Desktop. I cannot find any information regarding the error code online.

from office-js.

cody-lettau avatar cody-lettau commented on August 10, 2024

For what I'm testing, I'm simply using Mail.Read scope right now. I will need to add additional scopes, as we too have the need to do the same in a shared mailbox.

This is for email activation -- we get a token and then are searching the last N messages to find a specific email with an activation link/code. We need the ability to do this in a primary mailbox, but also in a shared mailbox.

from office-js.

Yhuley avatar Yhuley commented on August 10, 2024

@cody-lettau are you using this sample for authentication? Maybe you missed initialize step? Because for me acquireTokenSilent works with shared mailbox scopes.

from office-js.

cody-lettau avatar cody-lettau commented on August 10, 2024

@Yhuley we did follow that example, but we are calling initialize on the AccountManager (in authConfig). I haven't tested with shared mailboxes yet. What is odd is that it works fine in OWA, just did not work on Windows Desktop. So I'd assume it's configured correctly and initialized given it's working on some platforms (OWA and Mac).

from office-js.

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.