05-02-2024 12:01 PM - last edited 05-02-2024 14:31 PM
This code sample demonstrates how to create a SharePoint SPFx component which is a wrapper for a copilot, created with Microsoft Copilot Studio. The SPFx component included in the sample supports SSO, providing seamless authentication for users interacting with the copilot.
You can find the complete sample at: aka.ms/CopilotStudioSamples/SharePointSSO
Create an app registration in Azure and configure authentication settings for your copilot in Copilot Studio
Create an app registration for your SharePoint site
Clone this repo and cd into the SharePointSSOComponent folder
Install the dependencies and build the component:
5. Upload the component to your tenant app catalog and enable on your site
For more detailed instructions, please refer to the step-by-step setup guide.