In this tutorial series, we will guide you through each step to use Single-Sign-On (SSO) in your Microsoft Teams client and fully use the potential of the Microsoft Graph API.
To create a functional integration, follow each step of this tutorial in the specified order:
- Azure Bot Services: Advanced deployment with SSO (Microsoft Teams): Intro
- Azure Bot Services: Advanced deployment with SSO (Microsoft Teams): AAD Portal
- Azure Bot Services: Advanced deployment with SSO (Microsoft Teams): Azure Portal
- Azure Bot Services: Advanced deployment with SSO (Microsoft Teams): Apps Developer Portal
- Azure Bot Services: Advanced deployment with SSO (Microsoft Teams): SSO and Graph API Nodes
- Verify that SSO is enabled for your setup. If you are using a shared SaaS offering, it should be automatically enabled. Otherwise, you can check its status by creating an Azure Bot Services Endpoint. Look for a field called SSO Connection Name in Azure Bot Services Settings. If it is present, SSO is enabled. If not, ask your admins to enable it by setting the feature flag FEATURE_USE_MICROSOFT_SSO to true.
Note that many different steps need to be completed in Azure, so you will need an account with high administrative permissions.
- Create an empty Flow in Cognigy.AI.
Create an Azure Bot Services Endpoint
Cognigy has a Teams Endpoint, but the functionality is slightly different and more advanced, so the Azure Bot Services Endpoint is required for Single-Sign-On even though the endpoint will be Microsoft Teams.
To create the Azure Bot Services Endpoint, follow these steps:
- Open the Cognigy.AI interface.
- Go to Deploy > Endpoints.
- Click +New Endpoint.
- On the New Endpoint window, add an Endpoint name and select the Flow that you recently created.
- In the Endpoint type list, select Azure Bot Services.
- Click Save.
- Go to the Endpoint URL field. Copy and save this URL to a text file, so it can be reused in later steps.
Leave other fields without any changes. We will update them in a later step when we get all the mandatory information. Now you can create an App Registration in Azure.