Thank you for your interest in the Microsoft Teams developer platform. This repo contains sample apps that use the Microsoft Teams APIs in Microsoft Graph.
This sample shows how you can use the new beta Microsoft Teams Graph APIs to:
For more information on developing apps for Microsoft Teams, please review the Microsoft Teams developer documentation.**
As the current Microsoft Teams Graph APIs are only accessible by a tenant admin, to run the app, you'll need to sign in with an account with admin privileges. Note that in most companies, you might not have these rights, nor the ability to grant yourself these rights, therefore you might benefit from a developer account through our Office 365 Developer program.
You'll need to register an app through the following process:
- Sign into the App Registration Portal using your personal, work or school account.
- Choose 'Add an app'.
- Enter a name for the app, and choose 'Create application'.
- The registration page displays, listing the properties of your app.
- Copy the Application Id. This is the unique identifier for your app.
- Under 'Application Secrets', choose 'Generate New Password'.
- Copy the password from the 'New password generated' dialog.
- Under 'Platforms', choose 'Add platform'.
- Choose 'Web'.
- Make sure 'Allow Implicit Flow' check box is selected, and enter 'Redirect URI' e.g., http://localhost:55065/. See appropriate sample for more information on the specific port.
- The 'Allow Implicit Flow' option enables the hybrid flow. During authentication, this enables the app to receive both sign-in info (the id_token) and artifacts (in this case, an authorization code) that the app can use to obtain an access token.
- Under 'Microsoft Graph Permissions', Add 'Group.ReadWrite.All' (Read and write all groups) and 'User.ReadWrite.All' (Read and write all users' full profile) as Delegated and Application Permissions.
- Choose Save.
See the individual project readmes for more information.
We welcome your feedback! Here's how to send us yours.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
Please read Contributing for details on the process for submitting pull requests to us.
This project is licensed under the MIT License - see the License file for details.
Copyright (c) 2017 Microsoft Corporation. All rights reserved.