Skip to content
This repository was archived by the owner on Nov 15, 2024. It is now read-only.

Commit 2e20d92

Browse files
Calvin A. AllenCalvinAllen
authored andcommitted
Update msteams.md
1 parent d3df089 commit 2e20d92

1 file changed

Lines changed: 9 additions & 25 deletions

File tree

api_server/docs/integrations/msteams.md

Lines changed: 9 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -50,39 +50,23 @@ environment.
5050
1. Select your bot's App Registration and go to the **Branding & Properties**
5151
blade and complete the form.<br />
5252
<image src="images/azure-app-reg-branding-and-props.png" width="400" /><br />
53-
1. Select the **Authentication** blade, add the **Web** platform specifying the
54-
OAuth redirect URI. The URL should look similar to
55-
`https://staging-api.codestream.us/no-auth/provider-token/msteams`<br />
56-
57-
<image src="images/azure-app-reg-authentication-blade-1.png" width="400" /><br />
58-
<image src="images/azure-app-reg-authentication-blade-2.png" width="400" /><br />
59-
1. Select the **API Permissions** blade and add the necessary scopes. These are
60-
**Microsoft Graph** permissions. Source of truth for scopes is in
61-
[msteams_auth.js](../../modules/msteams_auth/msteams_auth.js). At the time of
62-
this writing, they are:
63-
```
64-
'User.Read.All',
65-
'Group.ReadWrite.All',
66-
'offline_access'
67-
```
68-
<image src="images/azure-api-permissions-blade.png" width="400" /><br />
6953

7054
### Update the API Server Config
7155

7256
1. You'll need four values to add to your CodeStream server config file.
73-
* The **botAppId** & **appClientId** is the **Application (client) ID** on
57+
* The **appClientId** is the **Application (client) ID** on
7458
the **Overview blade.
75-
* The secret (same for both) needs to be set on the **Certificates &
76-
Secrets** blade. The secret that came with the bot is hidden so you'll
77-
need to create a new one.
59+
* The **appClientSecret** **Certificates & Secrets** blade. The secret
60+
that came with the bot is hidden so you'll need to create a new one.
61+
(You can also delete the old one)
7862
```
7963
{
8064
"integrations": {
81-
"cloud": {
82-
"appClientId": "<application-cliend-id-from-Overview-blade>",
83-
"appClientSecret": "<secret-from-certificates-and-secrets-blade>",
84-
"botAppId": "<application-cliend-id-from-Overview-blade>",
85-
"botAppPassword": "<secret-from-certificates-and-secrets-blade>",
65+
"msteams": {
66+
"cloud": {
67+
"appClientId": "<application-cliend-id-from-Overview-blade>",
68+
"appClientSecret": "<secret-from-certificates-and-secrets-blade>"
69+
}
8670
}
8771
}
8872
}

0 commit comments

Comments
 (0)