Microsoft Graph API Application Permissions for initiating chat with user in MS Teams

VD 86 Reputation points
2021-06-22T16:50:37.483+00:00

Hi Team,

I want to know if Microsoft Graph API with Azure AD application token supports operations to initiate a one to one chat with user without prior conversation?

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
919 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,487 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
24,194 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sharon Zhao-MSFT 25,746 Reputation points Microsoft External Staff
    2021-06-23T04:16:54.317+00:00

    @VD ,

    From Microsoft Teams side, you can create deep links to private chats between users by specifying the set of participants.

    Use this format for a deep link that you can use in a bot, connector, or messaging extension card:
    *https://teams.microsoft.com/l/chat/0/0?users=\<user1>,<user2>,...&topicName=<chatname>&message=<precannedtext> *

    As we are mainly responsible for general question of Microsoft Teams, your requirement related to development is not supported by us. I will add office-teams-app-dev tag to get more efficient support. Thanks for your understanding.


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.