简体   繁体   中英

Can I use Microsoft Graph API concept to integrate my Application with MS Teams. If yes, please elaborate

I have .net application with me. Inside the application I want to add a functionality like the users can communicate between themselves by connecting to MS Teams. So I need my user to connect to MS Teams via my application. Please provide a step by step execution on this.

I don't have any idea on how to integrate my application with MS Teams. Somewhere I heard that it can be done using MS Graph API.

Please take a look at this api first to check if the feature was what you want.

Per my understanding, what you want maybe a web application and you can send messages in the webpage and finally it will be send to Teams. If I was right, then the API may help you. Microsoft graph api has the ability to Send a new chatMessage in the specified channel or a chat.

If you want to use this api, you need to have an Azure AD application then add api permission for this app. Then register this app to your web application, so that you can sign in your app to authenticate and authorize the graph api. Then you need to compose your app to prepare the message content to be sent by the api.

Here's an official sample to create web application and register aad app into the web app and call graph api.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM