Exchange Access Token

Himanshu Shukla 5 Reputation points
2024-04-24T17:16:04.15+00:00

Is it possible to exchange access token for a user1 residing in Tenant-1 to a guest user2 in Tenant-2?

Here, user2 is actually user1 which is added as a guest user in Tenant2.

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,122 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,649 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
2,870 questions
{count} votes

1 answer

Sort by: Most helpful
  1. CarlZhao-MSFT 37,216 Reputation points
    2024-04-25T02:41:12.61+00:00

    Hi @Himanshu Shukla

    No, the two cannot be confused. This token is specific to tenant 1, it stores tenant 1's id and user information of user 1 as a member of tenant 1, it cannot be applied to tenant 2. You must request an access token for user 2 that is appropriate for tenant 2.

    Hope this helps.

    If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.