Search code examples
azureapimicrosoft-graph-apimicrosoft-teamsmicrosoft-graph-teams

Integration with Microsoft Teams using apis


I try to integrate with Microsoft Teams like get class, add class ... I have access as admin to Teams, and I get tenant id and client id, but require redirect_uri. I don't know what thas mean ? I can put a http://localhost ..? and how to do this , right now I download xammp ... I use postman to get and post api , I need a brief step and information to do this, I look to official documentation of Microsoft Teams I don't understand all think so I need a good programmer to help understand every step. Regards


Solution

  • To access any protected resource like Microsoft Graph API, you need to register in Azure AD, get a token. During the app registration you need to specify the Redirect URI/reply URL; it's the location where the authorization server sends the user once the app has been successfully authorized and granted an authorization code or access token. Authorization server sends the code or token to the redirect URI, so it's important you register the correct location as part of the app registration process. Here are the steps.