You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: gen-ai/Assistants/bot-in-a-box/README.md
+42Lines changed: 42 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,6 +85,48 @@ After running the deployment template, you may also run the application locally
85
85
- Send "clear" to delete the current thread;
86
86
- Send "logout" to sign out when SSO is enabled;
87
87
88
+
## Enabling SSO
89
+
90
+
You can enable Single-Sign-On for your bot so that it identifies the user and keeps a token in context, that can later be used to retreive personal information like their name/job title, as well as for Microsoft Graph API calls.
91
+
92
+
To enable SSO, follow the steps below. Please note that you should be an `Entra ID Application Developer` and a `Contributor` in the resource group in order to perform the following actions. You can also perform these steps in the portal if you prefer.
93
+
94
+
- Load the required configurations. Hint: If you just deployed using Azure Developer CLI, you can run `azd env get-values` to retrieve these variables.
95
+
```sh
96
+
TENANT_ID=$(az account show --query tenantId -o tsv)
Copy file name to clipboardExpand all lines: gen-ai/semantic-kernel-bot-in-a-box/README.md
+42Lines changed: 42 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -109,6 +109,48 @@ To create a custom plugin:
109
109
110
110
And you're done! Redeploy your app and Semantic Kernel will now use your plugin whenever the user's questions call for it.
111
111
112
+
## Enabling SSO
113
+
114
+
You can enable Single-Sign-On for your bot so that it identifies the user and keeps a token in context, that can later be used to retreive personal information like their name/job title, as well as for Microsoft Graph API calls.
115
+
116
+
To enable SSO, follow the steps below. Please note that you should be an `Entra ID Application Developer` and a `Contributor` in the resource group in order to perform the following actions. You can also perform these steps in the portal if you prefer.
117
+
118
+
- Load the required configurations. Hint: If you just deployed using Azure Developer CLI, you can run `azd env get-values` to retrieve these variables.
119
+
```sh
120
+
TENANT_ID=$(az account show --query tenantId -o tsv)
0 commit comments