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: samples/python/obo-authorization/README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
This Agent has been created using [Microsoft 365 Agents SDK](https://github.com/microsoft/agents-for-net), it shows how to use authorization in your Agent using OAuth and OBO.
4
4
5
5
- The sample uses the Agent SDK User Authorization capabilities in [Azure Bot Service](https://docs.botframework.com), providing features to make it easier to develop an Agent that authorizes users with various identity providers such as Azure AD (Azure Active Directory), GitHub, Uber, etc.
6
-
- This sample shows how to use an OBO Exchange to communicate with Microsoft Copilot Studio using the CopilotStudioClient class.
6
+
- This sample shows how to use an OBO Exchange to communicate with Microsoft Copilot Studio using the [CopilotClient class](https://learn.microsoft.com/python/api/microsoft-agents-copilotstudio-client/microsoft.agents.copilotstudio.client.copilotclient).
7
7
8
8
## Prerequisites
9
9
@@ -17,7 +17,7 @@ This Agent has been created using [Microsoft 365 Agents SDK](https://github.com/
17
17
18
18
1. Create an Agent in Copilot Studio.
19
19
1. Publish your newly created Agent
20
-
1. Got o Settings => Advanced => Metadata and copy the following values. You will need them later:
20
+
1. Got to Settings => Advanced => Metadata and copy the following values. You will need them later:
21
21
1. Schema name
22
22
1. Environment ID
23
23
@@ -29,7 +29,7 @@ This Agent has been created using [Microsoft 365 Agents SDK](https://github.com/
29
29
2. Set the **CONNECTIONS__SERVICE_CONNECTION__SETTINGS__CLIENTSECRET** to the Secret that was created for your identity. *This is the `Secret Value` shown in the AppRegistration*.
30
30
3. Set the **CONNECTIONS__SERVICE_CONNECTION__SETTINGS__TENANTID** to the Tenant Id where your application is registered.
31
31
32
-
4. Setting up OAuth for an exchangeable token
32
+
1. Setting up OAuth for an exchangeable token
33
33
1. Create a new App Registration
34
34
1. SingleTenant
35
35
1. Give it a name and click **Register**
@@ -50,7 +50,7 @@ This Agent has been created using [Microsoft 365 Agents SDK](https://github.com/
50
50
1.**Certificates & secrets**
51
51
1. Create a new secret and record the value. This will be used later.
52
52
53
-
5. Create Azure Bot **OAuth Connection**
53
+
1. Create Azure Bot **OAuth Connection**
54
54
1. On the Azure Bot created in Step #2, Click **Configuration** tab then the **Add OAuth Connection Settings** button.
55
55
1. Enter a **Name**. This will be used later.
56
56
1. For **Service Provider** select **Azure Active Directory v2**
0 commit comments