Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getCallbackTokenAsync returns a token for the user account instead of the shared mailbox #5136

Open
CodeCube0 opened this issue Nov 26, 2024 · 0 comments
Assignees
Labels
Area: Outlook Issue related to Outlook add-ins Needs: attention 👋 Waiting on Microsoft to provide feedback

Comments

@CodeCube0
Copy link

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:

1.	Access a shared mailbox using Office.js.
2.	Call getCallbackTokenAsync.
3.	Notice that the returned token is for the user’s personal mailbox rather than the shared mailbox.

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!

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs: triage 🔍 New issue, needs PM on rotation to triage ASAP label Nov 26, 2024
@exextoc exextoc added Needs: attention 👋 Waiting on Microsoft to provide feedback Area: Outlook Issue related to Outlook add-ins and removed Needs: triage 🔍 New issue, needs PM on rotation to triage ASAP labels Nov 26, 2024
@exextoc exextoc self-assigned this Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Outlook Issue related to Outlook add-ins Needs: attention 👋 Waiting on Microsoft to provide feedback
Projects
None yet
Development

No branches or pull requests

2 participants