getCallbackTokenAsync returns a token for the user account instead of the shared mailbox #5136
Labels
Area: Outlook
Issue related to Outlook add-ins
Needs: attention 👋
Waiting on Microsoft to provide feedback
I’m using Office.js to access a shared mailbox in an Outlook add-in. After opening the shared mailbox, I called the getCallbackTokenAsync method to obtain an authentication token, but the returned token appears to be associated with my personal mailbox instead of the shared mailbox.
Steps to reproduce the issue:
Expected behavior:
I expect getCallbackTokenAsync to return a token for the shared mailbox I accessed, so I can authenticate actions specific to that mailbox.
Actual behavior:
getCallbackTokenAsync returns a token associated with my personal mailbox instead of the shared mailbox.
Additional questions:
Is there a way to specify that the requested token should be associated with the shared mailbox? Alternatively, is there a configuration or workaround to achieve the desired behavior?
Thank you for your assistance.
Let me know if this works for you!
The text was updated successfully, but these errors were encountered: