Browse source on GitHub

SSO Samples

Single Sign-On implementations for Copilot Studio agents with various identity providers.

Contents

Folder Description
entra-id/ SSO with Microsoft Entra ID
okta/ SSO with Okta identity provider

UI samples with SSO

These embed and custom UI samples also implement SSO:

Sample SSO approach
ServiceNow Widget MSAL silent / popup SSO
D365 CS + Okta Okta SSO with D365 Omnichannel
D365 CS + SharePoint MSAL SSO via SharePoint webpart
SharePoint Customizer SharePoint SPFx SSO
PCF Canvas App Built-in Canvas App SSO
Assistant UI MSAL SSO
WebChat React WebChat React with auth (Node) — M365 Agents SDK repo
Web Client Web client with auth (Node) — M365 Agents SDK repo

Prerequisites

  • Copilot Studio agent with authentication configured
  • Identity provider (Entra ID, Okta, etc.) with app registration