How to get started with Microsoft Graph API for Teams

Jagdale, Aniruddha 21 Reputation points
2022-09-20T06:52:28.723+00:00

Hi All,

Could someone guide as how to get started with Microsoft Graph API for Teams? I'd want to create an application which can communicate with Teams (like sending and receiving messages). From some links or research I realise that it is required to register your app at portal.azure.com

If it required to register the app, I'm not sure what all steps to follow in order to successfully register the app and necessary permissions are in place while calling the Graph APIs

Requesting for kind assistance in the above cited matter.

Kind regards,
Aniruddha

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,582 questions
{count} votes

Accepted answer
  1. Vicky Kumar (Mindtree Consulting PVT LTD) 1,156 Reputation points Microsoft Employee
    2022-09-21T05:34:59.867+00:00

    If i am not wrong, you want to know the process from scratch, from registering the app to azure portal to calling teams API , right?

    If you are trying to build a console app for your testing purpose, please see the doc - https://learn.microsoft.com/en-us/azure/active-directory/develop/console-app-quickstart?pivots=devlang-dotnet-core, you can register your app in as daemon app. please go the C# sdks doc - https://learn.microsoft.com/en-us/graph/sdks/sdks-overview to setup the SDKs in your local, and then use the teams api - https://learn.microsoft.com/en-us/graph/teams-concept-overview

    when you are done with all , and called sample request , kindly use docs to get and send message - https://learn.microsoft.com/en-us/graph/api/chatmessage-get?view=graph-rest-1.0&tabs=csharp

    hope this helps

    thanks

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful