Comments (5)
@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](https://private-user-images.githubusercontent.com/71875293/356585421-c2f602ea-f075-43f2-a19c-3dbfc36271a7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjMyMjg4MjgsIm5iZiI6MTcyMzIyODUyOCwicGF0aCI6Ii83MTg3NTI5My8zNTY1ODU0MjEtYzJmNjAyZWEtZjA3NS00M2YyLWExOWMtM2RiZmMzNjI3MWE3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODA5VDE4MzUyOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM2NDgyYTM4ZTNjMGQ1MmJjMTBhZmJlNGMyM2E3MGUxNzhjZWFkZWIxNjRiMjhkZWIzNzQxMDA5YmQ4Y2Y5ODkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.ObCT8TeSKf-_1EislaemOvTPv1gZpvCoKwLW2Gqn3iI)
from office-js.
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.
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.
@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.
@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)
- body.clear() not working for content controls HOT 3
- How to make slide active Or How to insert image using index HOT 4
- Addin sample not showing in new look outlook and browsers. HOT 5
- Identifying Usage of New Outlook in Office-js Add-ins HOT 1
- Not able to sideload outlook addin. in macbook there is no option to add the manifest file HOT 5
- Inserting Signature with the OnMessageSend event duplicates the signature
- The identity API is not supported for this add-in in online Word HOT 2
- Excel Online: calculation state can get stuck in Pending state when workbook contains charts HOT 3
- IP Address Range Needed for Microsoft Office Add-in Validation Process
- Office API messageParent Outlook on android doesn't work
- NAA: Unable to acquire access token for event-based activation (onMessageSend) HOT 2
- Outlook addin using Bootstrap modal or offcanvas bleeds through on Mac version of Outlook. Classic and New Outlook for Mac. HOT 2
- [Word API] Document.compare: ability to specify Original and Revised document?
- Web Outlook provides improper attachment data if attachment is still uploading to the email HOT 2
- [Question] Is it safe to use `CustomFunctions.delayinitialization()`
- New Outlook - emails stuck in outlook at queued or draft status HOT 3
- context.application.createDocument works only first time HOT 1
- WorkBook level Define name is getting corrupted while reopening excel using base64
- In Outlook, getAllInternetHeadersAsync works on an item in the Inbox, but not the sent folder
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from office-js.