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
### Example 4: Connect to MicrosoftTeams using Accesstokens
84
-
This example demonstrates how to sign in using AccessTokens. Admin can reterive Access Tokens. It requires two tokens, MS Graph Access Token and Teams Resource token.
84
+
This example demonstrates how to sign in using AccessTokens. Admin can retrieve Access Tokens. It requires two tokens, MS Graph Access Token and Teams Resource token.
85
+
86
+
A delegated flow, such as Resource Owner Password Credentials (ROPC), must be used, with the following delegated app permissions required.
87
+
88
+
| API | Grant type | Permission |
89
+
|-|-|-|
90
+
| Microsoft Graph | Delegated | User.Read.All |
91
+
| Microsoft Graph | Delegated | Group.ReadWrite.All |
92
+
| Microsoft Graph | Delegated | AppCatalog.ReadWrite.All |
93
+
| Skype and Teams Tenant Admin API | Delegated | user_impersonation |
85
94
86
95
```powershell
87
-
$graphtoken = #Get MSGraph Token for following for resource "https://graph.microsoft.com" and scopes "AppCatalog.ReadWrite.All", "Group.ReadWrite.All", "User.Read.All";
88
-
$teamstoken = #Get Teams resource token for resource id "48ac35b8-9aa8-4d74-927d-1f4a14a0b239" and scope "user_impersonation";
0 commit comments