Home > Mobile >  Can I use Microsoft Graph API concept to integrate my Application with MS Teams. If yes, please elab
Can I use Microsoft Graph API concept to integrate my Application with MS Teams. If yes, please elab

Time:12-23

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.

CodePudding user response:

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.

  • Related