-
Notifications
You must be signed in to change notification settings - Fork 230
Description
Question
Prerequisites
- Can you reproduce the problem?Are you running the latest version?Are you reporting to the correct repository?Did you perform a cursory search?To pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item. Press space again to drop the item in its new position, or press escape to cancel.
Description
We have an office outlook add-in and use https://github.com/AzureAD/microsoft-authentication-library-for-js for azure auth along with msgraph to make calls to perform mailbox actions for users in the addin.
Outlook Desktop on Mac allows users with gmail accounts to add them as "exchange" or "supported" accounts not just POP or IMAP. I believe the user has to have a 365 sub tied to the gmail account too. Im not sure what this really means. We don't have the same issue with IMAP or POP accounts because they are not considered exchange accounts and are not allowed to use addins. but these accounts are for some reason. (Im asking about the addin team about the allowance of addins etc.)
As for the graph side of things, I'm not sure if this account type, gmail with 365? not setup as POP or IMAP, should work with graph api or if there is a way I can get this to work for users.
Console Errors: [Is there any console error]
The mailbox is either inactive, soft-deleted, or is hosted on-premise
The specified object was not found in the store., Can't connect to the mailbox of user Mailbox database guid:
Screen Shots
Steps to Reproduce
- Add gmail account to outlook
- Authenticate with Azure and authorize access to said account
- Attempt to call graph API mailbox endpoints against this account
Expected behavior: I'm not sure if this account should work or be allowed or if there is a way I can get this to work for users.
Thank you for your time reviewing this.
Activity
cbishop-fv commentedon Nov 15, 2022
related code
[-]Question: Gmail sync accounts on Mac Outlook and Graph API[/-][+]Question: Gmail accounts on Mac Outlook and Graph API[/+]sebastienlevert commentedon Nov 15, 2022
This is interesting. Can you share more docs on the type of account these are? I would assume these mail accounts are still served by Gmail for instance?
Also, can you share the endpoint you are calling? I assume something like
/me/messages
but can you validate? And can you tell me what response you are getting on/me
?This doesn't feel like an SDK issue at first glance, but I'll try to reroute you to the right repo to ask your question. Thanks!
cbishop-fv commentedon Nov 15, 2022
correct /me/message /me/message/{id} and attachments
One user reported
another potential error:
I am assuming graph cant find the mail box because they are not real exchange accounts but the users are able to authenticate and authorize using azure via https://github.com/AzureAD/microsoft-authentication-library-for-js
its a very odd case for sure I have also opened up a similar ticket for the outlook addin team.
OfficeDev/office-js#2974