Preview unavailableThe idea behind the sample
This sample shows how you can generate a client for your custom API using Kiota, and how to use that client in an SPFx webpart. The sample contains a custom API that is secured by Azure AD and interacts with Microsoft Graph API to do some basic operations with the Teams endpoint (it allows to list all the Teams in the tenant, to get detailed info for a given Team, and to Provision a new Team with some preconfigured channels).
Make it your own
Start with the author's setup instructions, explore the implementation, and adapt the pattern to your environment. Sample code stays in its original repository, together with its requirements, license and contribution history.
Read the source documentationKeep exploring
- Getting started with SharePoint Framework — Introduction about how to develop Microsoft 365 extensions using SharePoint Framework.
- Microsoft Kiota — Official documentation about Microsoft Kiota.
- Microsoft 365 Patterns and Practices — Guidance, tooling, samples and open-source controls for your Microsoft 365 development.
