youtube image
From YouTube: Using custom SDK built with Microsoft Graph Kiota generator within SharePoint Framework solution

Description

In this 13-minute developer-focused demo, Luis Mañez shows how to use a Kiota generated client in an SPFx Teams webpart. Review what is Kiota, the OpenAPI Initiative (OAI), a Teamified SPFx web part, and architecture overviews on working with Graph and on Azure and Kiota client authentication in SPFx. Dive into the code to see how the SPFx TypeScript web part calls the API using Kiota and how Kioto can list off all dependencies for your project.

This PnP Community demo is taken from the Viva Connections & SharePoint Framework Bi-weekly sync call recorded on December 15, 2022.

Demo Presenter
• Luis Mañez (ClearPeople) | @luismanez

Supporting materials
• Sample - Using Kiota to generate a client to your AzureAd API and use it from a SPFx webpart | https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-kiota-custom-api-client
• Documentation - Welcome to Kiota | https://microsoft.github.io/kiota/
• Repo - Project Kiota | https://github.com/microsoft/kiota
• Library – Project Kiota TypeScript | https://github.com/microsoft/kiota-typescript
• Article – Using Microsoft Kiota tool to generate Atlas API SDKs | https://www.clearpeople.com/blog/microsoft-kiota-tool-to-generate-atlas-api-sdks
• Article - Using a Kiota client for your API in a SharePoint framework solution | https://www.clearpeople.com/blog/howto-kiota-client-api-sharepoint-framework-solution

Learn more
• Microsoft 365 Unified Sample gallery - https://aka.ms/m365/samples
• Microsoft 365 Platform Community in YouTube - https://aka.ms/m365/videos
• Microsoft 365 Platform Community - http://aka.ms/m365/community