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

VD 66 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.
750 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,669 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,586 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sharon Zhao-MSFT 25,056 Reputation points Microsoft Vendor
    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.