@microsoft/teamsfx-core 2.0.14-rc.1 → 2.0.15-alpha.0b985f7da.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (208) hide show
  1. package/build/common/featureFlags.d.ts +0 -31
  2. package/build/common/featureFlags.d.ts.map +1 -1
  3. package/build/common/featureFlags.js +2 -34
  4. package/build/common/featureFlags.js.map +1 -1
  5. package/build/common/projectTypeChecker.d.ts +1 -0
  6. package/build/common/projectTypeChecker.d.ts.map +1 -1
  7. package/build/common/projectTypeChecker.js +6 -1
  8. package/build/common/projectTypeChecker.js.map +1 -1
  9. package/build/common/secretmasker/masker.d.ts +1 -1
  10. package/build/common/secretmasker/masker.d.ts.map +1 -1
  11. package/build/common/secretmasker/masker.js +2 -2
  12. package/build/common/secretmasker/masker.js.map +1 -1
  13. package/build/common/stringUtils.js +1 -1
  14. package/build/common/stringUtils.js.map +1 -1
  15. package/build/common/templates-config.json +1 -1
  16. package/build/component/configManager/actionInjector.d.ts +1 -1
  17. package/build/component/configManager/actionInjector.d.ts.map +1 -1
  18. package/build/component/configManager/actionInjector.js +17 -8
  19. package/build/component/configManager/actionInjector.js.map +1 -1
  20. package/build/component/configManager/validator.d.ts.map +1 -1
  21. package/build/component/configManager/validator.js +11 -1
  22. package/build/component/configManager/validator.js.map +1 -1
  23. package/build/component/coordinator/index.d.ts.map +1 -1
  24. package/build/component/coordinator/index.js +18 -4
  25. package/build/component/coordinator/index.js.map +1 -1
  26. package/build/component/driver/aad/update.d.ts.map +1 -1
  27. package/build/component/driver/aad/update.js +31 -12
  28. package/build/component/driver/aad/update.js.map +1 -1
  29. package/build/component/driver/aad/utility/aadAppClient.d.ts +1 -1
  30. package/build/component/driver/aad/utility/aadAppClient.d.ts.map +1 -1
  31. package/build/component/driver/aad/utility/aadAppClient.js.map +1 -1
  32. package/build/component/driver/aad/utility/aadManifestHelper.d.ts +8 -3
  33. package/build/component/driver/aad/utility/aadManifestHelper.d.ts.map +1 -1
  34. package/build/component/driver/aad/utility/aadManifestHelper.js +109 -16
  35. package/build/component/driver/aad/utility/aadManifestHelper.js.map +1 -1
  36. package/build/component/driver/aad/utility/buildAadManifest.d.ts +2 -1
  37. package/build/component/driver/aad/utility/buildAadManifest.d.ts.map +1 -1
  38. package/build/component/driver/aad/utility/buildAadManifest.js.map +1 -1
  39. package/build/component/driver/add/utility/constants.d.ts +1 -1
  40. package/build/component/driver/add/utility/constants.d.ts.map +1 -1
  41. package/build/component/driver/add/utility/constants.js +1 -1
  42. package/build/component/driver/add/utility/constants.js.map +1 -1
  43. package/build/component/driver/apiKey/utility/utility.d.ts.map +1 -1
  44. package/build/component/driver/apiKey/utility/utility.js +4 -3
  45. package/build/component/driver/apiKey/utility/utility.js.map +1 -1
  46. package/build/component/driver/devTool/installDriver.d.ts.map +1 -1
  47. package/build/component/driver/devTool/installDriver.js +26 -21
  48. package/build/component/driver/devTool/installDriver.js.map +1 -1
  49. package/build/component/driver/devTool/interfaces/InstallToolArgs.d.ts +1 -0
  50. package/build/component/driver/devTool/interfaces/InstallToolArgs.d.ts.map +1 -1
  51. package/build/component/driver/file/createOrUpdateEnvironmentFile.d.ts +0 -1
  52. package/build/component/driver/file/createOrUpdateEnvironmentFile.d.ts.map +1 -1
  53. package/build/component/driver/file/createOrUpdateEnvironmentFile.js +12 -7
  54. package/build/component/driver/file/createOrUpdateEnvironmentFile.js.map +1 -1
  55. package/build/component/driver/script/scriptDriver.d.ts +0 -1
  56. package/build/component/driver/script/scriptDriver.d.ts.map +1 -1
  57. package/build/component/driver/script/scriptDriver.js +23 -15
  58. package/build/component/driver/script/scriptDriver.js.map +1 -1
  59. package/build/component/driver/teamsApp/createAppPackage.d.ts.map +1 -1
  60. package/build/component/driver/teamsApp/createAppPackage.js +14 -4
  61. package/build/component/driver/teamsApp/createAppPackage.js.map +1 -1
  62. package/build/component/driver/teamsApp/teamsappMgr.d.ts.map +1 -1
  63. package/build/component/driver/teamsApp/teamsappMgr.js +2 -0
  64. package/build/component/driver/teamsApp/teamsappMgr.js.map +1 -1
  65. package/build/component/driver/teamsApp/utils/CopilotGptManifestUtils.d.ts.map +1 -1
  66. package/build/component/driver/teamsApp/utils/CopilotGptManifestUtils.js +2 -0
  67. package/build/component/driver/teamsApp/utils/CopilotGptManifestUtils.js.map +1 -1
  68. package/build/component/driver/teamsApp/utils/ManifestUtils.d.ts +1 -0
  69. package/build/component/driver/teamsApp/utils/ManifestUtils.d.ts.map +1 -1
  70. package/build/component/driver/teamsApp/utils/ManifestUtils.js +12 -0
  71. package/build/component/driver/teamsApp/utils/ManifestUtils.js.map +1 -1
  72. package/build/component/driver/teamsApp/validate.js +4 -4
  73. package/build/component/driver/teamsApp/validate.js.map +1 -1
  74. package/build/component/generator/apiSpec/generator.d.ts.map +1 -1
  75. package/build/component/generator/apiSpec/generator.js +72 -28
  76. package/build/component/generator/apiSpec/generator.js.map +1 -1
  77. package/build/component/generator/apiSpec/helper.d.ts +4 -2
  78. package/build/component/generator/apiSpec/helper.d.ts.map +1 -1
  79. package/build/component/generator/apiSpec/helper.js +143 -33
  80. package/build/component/generator/apiSpec/helper.js.map +1 -1
  81. package/build/component/generator/copilotExtension/generator.d.ts.map +1 -1
  82. package/build/component/generator/copilotExtension/generator.js +4 -5
  83. package/build/component/generator/copilotExtension/generator.js.map +1 -1
  84. package/build/component/generator/generator.d.ts +2 -2
  85. package/build/component/generator/generator.d.ts.map +1 -1
  86. package/build/component/generator/generator.js +25 -13
  87. package/build/component/generator/generator.js.map +1 -1
  88. package/build/component/generator/officeAddin/generator.d.ts +3 -5
  89. package/build/component/generator/officeAddin/generator.d.ts.map +1 -1
  90. package/build/component/generator/officeAddin/generator.js +28 -103
  91. package/build/component/generator/officeAddin/generator.js.map +1 -1
  92. package/build/component/generator/spfx/utils/constants.d.ts +1 -1
  93. package/build/component/generator/spfx/utils/constants.d.ts.map +1 -1
  94. package/build/component/generator/spfx/utils/constants.js +1 -1
  95. package/build/component/generator/spfx/utils/constants.js.map +1 -1
  96. package/build/component/generator/templates/ssrTabGenerator.d.ts.map +1 -1
  97. package/build/component/generator/templates/ssrTabGenerator.js +7 -3
  98. package/build/component/generator/templates/ssrTabGenerator.js.map +1 -1
  99. package/build/component/generator/templates/templateNames.d.ts +0 -5
  100. package/build/component/generator/templates/templateNames.d.ts.map +1 -1
  101. package/build/component/generator/templates/templateNames.js +2 -47
  102. package/build/component/generator/templates/templateNames.js.map +1 -1
  103. package/build/component/generator/utils.d.ts.map +1 -1
  104. package/build/component/generator/utils.js +8 -1
  105. package/build/component/generator/utils.js.map +1 -1
  106. package/build/component/m365/launchHelper.d.ts.map +1 -1
  107. package/build/component/m365/launchHelper.js +1 -0
  108. package/build/component/m365/launchHelper.js.map +1 -1
  109. package/build/component/m365/packageService.d.ts +9 -1
  110. package/build/component/m365/packageService.d.ts.map +1 -1
  111. package/build/component/m365/packageService.js +144 -5
  112. package/build/component/m365/packageService.js.map +1 -1
  113. package/build/component/provisionUtils.d.ts.map +1 -1
  114. package/build/component/provisionUtils.js +2 -1
  115. package/build/component/provisionUtils.js.map +1 -1
  116. package/build/component/utils/envFunctionUtils.d.ts.map +1 -1
  117. package/build/component/utils/envFunctionUtils.js +0 -4
  118. package/build/component/utils/envFunctionUtils.js.map +1 -1
  119. package/build/component/utils/pathUtils.d.ts +1 -0
  120. package/build/component/utils/pathUtils.d.ts.map +1 -1
  121. package/build/component/utils/pathUtils.js +7 -0
  122. package/build/component/utils/pathUtils.js.map +1 -1
  123. package/build/core/FxCore.d.ts +10 -0
  124. package/build/core/FxCore.d.ts.map +1 -1
  125. package/build/core/FxCore.js +210 -38
  126. package/build/core/FxCore.js.map +1 -1
  127. package/build/core/collaborator.d.ts.map +1 -1
  128. package/build/core/collaborator.js +5 -2
  129. package/build/core/collaborator.js.map +1 -1
  130. package/build/index.d.ts +1 -1
  131. package/build/index.d.ts.map +1 -1
  132. package/build/index.js +2 -3
  133. package/build/index.js.map +1 -1
  134. package/build/question/constants.d.ts +13 -11
  135. package/build/question/constants.d.ts.map +1 -1
  136. package/build/question/constants.js +59 -129
  137. package/build/question/constants.js.map +1 -1
  138. package/build/question/create.d.ts +1 -11
  139. package/build/question/create.d.ts.map +1 -1
  140. package/build/question/create.js +49 -134
  141. package/build/question/create.js.map +1 -1
  142. package/build/question/generator.js +2 -0
  143. package/build/question/generator.js.map +1 -1
  144. package/build/question/index.d.ts +3 -0
  145. package/build/question/index.d.ts.map +1 -1
  146. package/build/question/index.js +9 -0
  147. package/build/question/index.js.map +1 -1
  148. package/build/question/inputs/AddAuthActionInputs.d.ts +20 -0
  149. package/build/question/inputs/AddAuthActionInputs.d.ts.map +1 -0
  150. package/build/question/inputs/AddAuthActionInputs.js +5 -0
  151. package/build/question/inputs/AddAuthActionInputs.js.map +1 -0
  152. package/build/question/inputs/AddPluginInputs.d.ts +1 -1
  153. package/build/question/inputs/AddPluginInputs.d.ts.map +1 -1
  154. package/build/question/inputs/CreateProjectInputs.d.ts +4 -6
  155. package/build/question/inputs/CreateProjectInputs.d.ts.map +1 -1
  156. package/build/question/inputs/index.d.ts +1 -0
  157. package/build/question/inputs/index.d.ts.map +1 -1
  158. package/build/question/inputs/index.js +1 -0
  159. package/build/question/inputs/index.js.map +1 -1
  160. package/build/question/options/AddAuthActionOptions.d.ts +10 -0
  161. package/build/question/options/AddAuthActionOptions.d.ts.map +1 -0
  162. package/build/question/options/AddAuthActionOptions.js +39 -0
  163. package/build/question/options/AddAuthActionOptions.js.map +1 -0
  164. package/build/question/options/CreateProjectOptions.d.ts.map +1 -1
  165. package/build/question/options/CreateProjectOptions.js +2 -10
  166. package/build/question/options/CreateProjectOptions.js.map +1 -1
  167. package/build/question/options/index.d.ts +1 -0
  168. package/build/question/options/index.d.ts.map +1 -1
  169. package/build/question/options/index.js +1 -0
  170. package/build/question/options/index.js.map +1 -1
  171. package/build/question/other.d.ts +7 -1
  172. package/build/question/other.d.ts.map +1 -1
  173. package/build/question/other.js +147 -1
  174. package/build/question/other.js.map +1 -1
  175. package/build/tsconfig.tsbuildinfo +1 -1
  176. package/package.json +4 -4
  177. package/resource/package.nls.cs.json +543 -263
  178. package/resource/package.nls.de.json +531 -251
  179. package/resource/package.nls.es.json +543 -263
  180. package/resource/package.nls.fr.json +557 -277
  181. package/resource/package.nls.it.json +546 -266
  182. package/resource/package.nls.ja.json +536 -256
  183. package/resource/package.nls.json +48 -42
  184. package/resource/package.nls.ko.json +532 -252
  185. package/resource/package.nls.pl.json +539 -259
  186. package/resource/package.nls.pt-BR.json +555 -275
  187. package/resource/package.nls.ru.json +547 -267
  188. package/resource/package.nls.tr.json +541 -261
  189. package/resource/package.nls.zh-Hans.json +528 -248
  190. package/resource/package.nls.zh-Hant.json +539 -259
  191. package/resource/yaml-schema/v1.8/yaml.schema.json +1858 -0
  192. package/resource/yaml-schema/yaml.schema.json +5 -1
  193. package/templates/fallback/common.zip +0 -0
  194. package/templates/fallback/csharp.zip +0 -0
  195. package/templates/fallback/js.zip +0 -0
  196. package/templates/fallback/python.zip +0 -0
  197. package/templates/fallback/ts.zip +0 -0
  198. package/templates/plugins/resource/aad/auth/V3/Enable SSO.txt +2 -2
  199. package/templates/plugins/resource/aad/auth/V3/aad.manifest.template.json +87 -77
  200. package/templates/plugins/resource/aad/auth/bot/js/public/auth-end.html +2 -2
  201. package/templates/plugins/resource/aad/auth/bot/ts/public/auth-end.html +2 -2
  202. package/templates/plugins/resource/aad/auth/tab/js/public/auth-end.html +2 -2
  203. package/templates/plugins/resource/aad/auth/tab/js/public/auth-start.html +2 -2
  204. package/templates/plugins/resource/aad/auth/tab/ts/public/auth-end.html +2 -2
  205. package/templates/plugins/resource/aad/auth/tab/ts/public/auth-start.html +2 -2
  206. package/templates/plugins/resource/aad/manifest/aad.template.json +109 -97
  207. package/templates/plugins/resource/aad/manifest/bot/aad.manifest.template.json +90 -81
  208. package/templates/plugins/resource/aad/manifest/tab/aad.manifest.template.json +93 -89
@@ -14,7 +14,7 @@
14
14
  "version": {
15
15
  "type": "string",
16
16
  "description": "The version of the yaml file schema",
17
- "const": "v1.7"
17
+ "const": "v1.8"
18
18
  },
19
19
  "additionalMetadata": {
20
20
  "type": "object",
@@ -1304,6 +1304,10 @@
1304
1304
  "symlinkDir": {
1305
1305
  "type": "string",
1306
1306
  "description": "The path of the symlink target for the folder containing Teams App Test Tool binaries."
1307
+ },
1308
+ "releaseType": {
1309
+ "type": "string",
1310
+ "description": "The release type of Teams App Test Tool: binary or npm. Default to 'npm'."
1307
1311
  }
1308
1312
  }
1309
1313
  }
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -11,6 +11,6 @@ Basically, you will need to take care of these configurations:
11
11
  * In the Teams manifest file, add the SSO application to link it with Teams application.
12
12
  * Add SSO application information in Teams Toolkit configuration files in order to make sure the authentication app can be registered on backend service and started by Teams Toolkit when you debugging or previewing Teams application.
13
13
 
14
- Refer to the step-by-step guide for Teams Tab Application at https://aka.ms/teams-toolkit-vs-add-SSO-tab.
15
- Refer to the step-by-step guide for Teams Bot Applications at https://aka.ms/teams-toolkit-vs-add-SSO-bot. This guide use Command and Response bot as an example to show case how to enable SSO.
14
+ Refer to the step-by-step guide for Teams Tab Application at https://aka.ms/teamsfx-add-sso-vs-new-schema#for-teams-tab-application.
15
+ Refer to the step-by-step guide for Teams Bot Applications at https://aka.ms/teamsfx-add-sso-vs-new-schema#for-teams-bot-applications. This guide use Command and Response bot as an example to show case how to enable SSO.
16
16
 
@@ -1,102 +1,112 @@
1
1
  {
2
2
  "id": "${{AAD_APP_OBJECT_ID}}",
3
3
  "appId": "${{AAD_APP_CLIENT_ID}}",
4
- "name": "YOUR_AAD_APP_NAME",
5
- "accessTokenAcceptedVersion": 2,
4
+ "displayName": "YOUR_AAD_APP_NAME",
5
+ "identifierUris": [],
6
6
  "signInAudience": "AzureADMyOrg",
7
- "optionalClaims": {
8
- "idToken": [],
9
- "accessToken": [
10
- {
11
- "name": "idtyp",
12
- "source": null,
13
- "essential": false,
14
- "additionalProperties": []
15
- }
16
- ],
17
- "saml2Token": []
18
- },
19
- "requiredResourceAccess": [
20
- {
21
- "resourceAppId": "Microsoft Graph",
22
- "resourceAccess": [
23
- {
24
- "id": "User.Read",
25
- "type": "Scope"
26
- }
27
- ]
28
- }
29
- ],
30
- "oauth2Permissions": [
7
+ "api": {
8
+ "requestedAccessTokenVersion": 2,
9
+ "oauth2PermissionScopes": [
31
10
  {
32
- "adminConsentDescription": "Allows Teams to call the app's web APIs as the current user.",
33
- "adminConsentDisplayName": "Teams can access app's web APIs",
34
- "id": "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}",
35
- "isEnabled": true,
36
- "type": "User",
37
- "userConsentDescription": "Enable Teams to call this app's web APIs with the same rights that you have",
38
- "userConsentDisplayName": "Teams can access app's web APIs and make requests on your behalf",
39
- "value": "access_as_user"
11
+ "adminConsentDescription": "Allows Teams to call the app's web APIs as the current user.",
12
+ "adminConsentDisplayName": "Teams can access app's web APIs",
13
+ "id": "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}",
14
+ "isEnabled": true,
15
+ "type": "User",
16
+ "userConsentDescription": "Enable Teams to call this app's web APIs with the same rights that you have",
17
+ "userConsentDisplayName": "Teams can access app's web APIs and make requests on your behalf",
18
+ "value": "access_as_user"
40
19
  }
41
- ],
42
- "preAuthorizedApplications": [
20
+ ],
21
+ "preAuthorizedApplications": [
43
22
  {
44
- "appId": "1fec8e78-bce4-4aaf-ab1b-5451cc387264",
45
- "permissionIds": [
46
- "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
47
- ]
23
+ "appId": "1fec8e78-bce4-4aaf-ab1b-5451cc387264",
24
+ "delegatedPermissionIds": [
25
+ "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
26
+ ]
48
27
  },
49
28
  {
50
- "appId": "5e3ce6c0-2b1f-4285-8d4b-75ee78787346",
51
- "permissionIds": [
52
- "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
53
- ]
29
+ "appId": "5e3ce6c0-2b1f-4285-8d4b-75ee78787346",
30
+ "delegatedPermissionIds": [
31
+ "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
32
+ ]
54
33
  },
55
34
  {
56
- "appId": "d3590ed6-52b3-4102-aeff-aad2292ab01c",
57
- "permissionIds": [
58
- "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
59
- ]
35
+ "appId": "d3590ed6-52b3-4102-aeff-aad2292ab01c",
36
+ "delegatedPermissionIds": [
37
+ "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
38
+ ]
60
39
  },
61
40
  {
62
- "appId": "00000002-0000-0ff1-ce00-000000000000",
63
- "permissionIds": [
64
- "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
65
- ]
41
+ "appId": "00000002-0000-0ff1-ce00-000000000000",
42
+ "delegatedPermissionIds": [
43
+ "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
44
+ ]
66
45
  },
67
46
  {
68
- "appId": "bc59ab01-8403-45c6-8796-ac3ef710b3e3",
69
- "permissionIds": [
70
- "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
71
- ]
47
+ "appId": "bc59ab01-8403-45c6-8796-ac3ef710b3e3",
48
+ "delegatedPermissionIds": [
49
+ "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
50
+ ]
72
51
  },
73
52
  {
74
- "appId": "0ec893e0-5785-4de6-99da-4ed124e5296c",
75
- "permissionIds": [
76
- "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
77
- ]
53
+ "appId": "0ec893e0-5785-4de6-99da-4ed124e5296c",
54
+ "delegatedPermissionIds": [
55
+ "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
56
+ ]
78
57
  },
79
58
  {
80
- "appId": "4765445b-32c6-49b0-83e6-1d93765276ca",
81
- "permissionIds": [
82
- "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
83
- ]
59
+ "appId": "4765445b-32c6-49b0-83e6-1d93765276ca",
60
+ "delegatedPermissionIds": [
61
+ "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
62
+ ]
84
63
  },
85
64
  {
86
- "appId": "4345a7b9-9a63-4910-a426-35363201d503",
87
- "permissionIds": [
88
- "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
89
- ]
65
+ "appId": "4345a7b9-9a63-4910-a426-35363201d503",
66
+ "delegatedPermissionIds": [
67
+ "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
68
+ ]
90
69
  },
91
70
  {
92
- "appId": "27922004-5251-4030-b22d-91ecd9a37ea4",
93
- "permissionIds": [
94
- "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
95
- ]
71
+ "appId": "27922004-5251-4030-b22d-91ecd9a37ea4",
72
+ "delegatedPermissionIds": [
73
+ "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
74
+ ]
96
75
  }
76
+ ]
77
+ },
78
+ "info": {},
79
+ "optionalClaims": {
80
+ "idToken": [],
81
+ "accessToken": [
82
+ {
83
+ "name": "idtyp",
84
+ "source": null,
85
+ "essential": false,
86
+ "additionalProperties": []
87
+ }
88
+ ],
89
+ "saml2Token": []
90
+ },
91
+ "publicClient": {
92
+ "redirectUris": []
93
+ },
94
+ "requiredResourceAccess": [
95
+ {
96
+ "resourceAppId": "Microsoft Graph",
97
+ "resourceAccess": [
98
+ {
99
+ "id": "User.Read",
100
+ "type": "Scope"
101
+ }
102
+ ]
103
+ }
97
104
  ],
98
- "identifierUris": [
99
- ],
100
- "replyUrlsWithType": [
101
- ]
102
- }
105
+ "web": {
106
+ "redirectUris": [],
107
+ "implicitGrantSettings": {}
108
+ },
109
+ "spa": {
110
+ "redirectUris": []
111
+ }
112
+ }
@@ -9,8 +9,8 @@
9
9
 
10
10
  <body>
11
11
  <script
12
- src="https://res.cdn.office.net/teams-js/2.17.0/js/MicrosoftTeams.min.js"
13
- integrity="sha384-xp55t/129OsN192JZYLP0rGhzjCF9aYtjY0LVtXvolkDrBe4Jchylp56NrUYJ4S2"
12
+ src="https://res.cdn.office.net/teams-js/2.31.1/js/MicrosoftTeams.min.js"
13
+ integrity="sha384-ihAqYgEJz9hzEU+HaYodG1aTzjebC/wKXQi1nWKZG7OLAUyOL9ZrzD/SfZu79Jeu"
14
14
  crossorigin="anonymous"
15
15
  ></script>
16
16
  <div id="divError"></div>
@@ -9,8 +9,8 @@
9
9
 
10
10
  <body>
11
11
  <script
12
- src="https://res.cdn.office.net/teams-js/2.17.0/js/MicrosoftTeams.min.js"
13
- integrity="sha384-xp55t/129OsN192JZYLP0rGhzjCF9aYtjY0LVtXvolkDrBe4Jchylp56NrUYJ4S2"
12
+ src="https://res.cdn.office.net/teams-js/2.31.1/js/MicrosoftTeams.min.js"
13
+ integrity="sha384-ihAqYgEJz9hzEU+HaYodG1aTzjebC/wKXQi1nWKZG7OLAUyOL9ZrzD/SfZu79Jeu"
14
14
  crossorigin="anonymous"
15
15
  ></script>
16
16
  <div id="divError"></div>
@@ -8,8 +8,8 @@
8
8
 
9
9
  <body>
10
10
  <script
11
- src="https://res.cdn.office.net/teams-js/2.17.0/js/MicrosoftTeams.min.js"
12
- integrity="sha384-xp55t/129OsN192JZYLP0rGhzjCF9aYtjY0LVtXvolkDrBe4Jchylp56NrUYJ4S2"
11
+ src="https://res.cdn.office.net/teams-js/2.31.1/js/MicrosoftTeams.min.js"
12
+ integrity="sha384-ihAqYgEJz9hzEU+HaYodG1aTzjebC/wKXQi1nWKZG7OLAUyOL9ZrzD/SfZu79Jeu"
13
13
  crossorigin="anonymous"
14
14
  ></script>
15
15
  <script
@@ -8,8 +8,8 @@
8
8
 
9
9
  <body>
10
10
  <script
11
- src="https://res.cdn.office.net/teams-js/2.17.0/js/MicrosoftTeams.min.js"
12
- integrity="sha384-xp55t/129OsN192JZYLP0rGhzjCF9aYtjY0LVtXvolkDrBe4Jchylp56NrUYJ4S2"
11
+ src="https://res.cdn.office.net/teams-js/2.31.1/js/MicrosoftTeams.min.js"
12
+ integrity="sha384-ihAqYgEJz9hzEU+HaYodG1aTzjebC/wKXQi1nWKZG7OLAUyOL9ZrzD/SfZu79Jeu"
13
13
  crossorigin="anonymous"
14
14
  ></script>
15
15
  <script
@@ -8,8 +8,8 @@
8
8
 
9
9
  <body>
10
10
  <script
11
- src="https://res.cdn.office.net/teams-js/2.17.0/js/MicrosoftTeams.min.js"
12
- integrity="sha384-xp55t/129OsN192JZYLP0rGhzjCF9aYtjY0LVtXvolkDrBe4Jchylp56NrUYJ4S2"
11
+ src="https://res.cdn.office.net/teams-js/2.31.1/js/MicrosoftTeams.min.js"
12
+ integrity="sha384-ihAqYgEJz9hzEU+HaYodG1aTzjebC/wKXQi1nWKZG7OLAUyOL9ZrzD/SfZu79Jeu"
13
13
  crossorigin="anonymous"
14
14
  ></script>
15
15
  <script
@@ -8,8 +8,8 @@
8
8
 
9
9
  <body>
10
10
  <script
11
- src="https://res.cdn.office.net/teams-js/2.17.0/js/MicrosoftTeams.min.js"
12
- integrity="sha384-xp55t/129OsN192JZYLP0rGhzjCF9aYtjY0LVtXvolkDrBe4Jchylp56NrUYJ4S2"
11
+ src="https://res.cdn.office.net/teams-js/2.31.1/js/MicrosoftTeams.min.js"
12
+ integrity="sha384-ihAqYgEJz9hzEU+HaYodG1aTzjebC/wKXQi1nWKZG7OLAUyOL9ZrzD/SfZu79Jeu"
13
13
  crossorigin="anonymous"
14
14
  ></script>
15
15
  <script
@@ -1,102 +1,114 @@
1
1
  {
2
- "id": "{{state.fx-resource-aad-app-for-teams.objectId}}",
3
- "appId": "{{state.fx-resource-aad-app-for-teams.clientId}}",
4
- "name": "{{config.manifest.appName.short}}-aad",
5
- "accessTokenAcceptedVersion": 2,
6
- "signInAudience": "AzureADMyOrg",
7
- "optionalClaims": {
8
- "idToken": [],
9
- "accessToken": [
10
- {
11
- "name": "idtyp",
12
- "source": null,
13
- "essential": false,
14
- "additionalProperties": []
15
- }
16
- ],
17
- "saml2Token": []
18
- },
19
- "requiredResourceAccess": [
20
- {
21
- "resourceAppId": "Microsoft Graph",
22
- "resourceAccess": [
23
- {
24
- "id": "User.Read",
25
- "type": "Scope"
26
- }
27
- ]
28
- }
29
- ],
30
- "oauth2Permissions": [
31
- {
32
- "adminConsentDescription": "Allows Teams to call the app's web APIs as the current user.",
33
- "adminConsentDisplayName": "Teams can access app's web APIs",
34
- "id": "{{state.fx-resource-aad-app-for-teams.oauth2PermissionScopeId}}",
35
- "isEnabled": true,
36
- "type": "User",
37
- "userConsentDescription": "Enable Teams to call this app's web APIs with the same rights that you have",
38
- "userConsentDisplayName": "Teams can access app's web APIs and make requests on your behalf",
39
- "value": "access_as_user"
40
- }
2
+ "id": "{{state.fx-resource-aad-app-for-teams.objectId}}",
3
+ "appId": "{{state.fx-resource-aad-app-for-teams.clientId}}",
4
+ "displayName": "{{config.manifest.appName.short}}-aad",
5
+ "identifierUris": [
6
+ "{{state.fx-resource-aad-app-for-teams.applicationIdUris}}"
7
+ ],
8
+ "signInAudience": "AzureADMyOrg",
9
+ "api": {
10
+ "requestedAccessTokenVersion": 2,
11
+ "oauth2PermissionScopes": [
12
+ {
13
+ "adminConsentDescription": "Allows Teams to call the app's web APIs as the current user.",
14
+ "adminConsentDisplayName": "Teams can access app's web APIs",
15
+ "id": "{{state.fx-resource-aad-app-for-teams.oauth2PermissionScopeId}}",
16
+ "isEnabled": true,
17
+ "type": "User",
18
+ "userConsentDescription": "Enable Teams to call this app's web APIs with the same rights that you have",
19
+ "userConsentDisplayName": "Teams can access app's web APIs and make requests on your behalf",
20
+ "value": "access_as_user"
21
+ }
41
22
  ],
42
23
  "preAuthorizedApplications": [
24
+ {
25
+ "appId": "1fec8e78-bce4-4aaf-ab1b-5451cc387264",
26
+ "delegatedPermissionIds": [
27
+ "{{state.fx-resource-aad-app-for-teams.oauth2PermissionScopeId}}"
28
+ ]
29
+ },
30
+ {
31
+ "appId": "5e3ce6c0-2b1f-4285-8d4b-75ee78787346",
32
+ "delegatedPermissionIds": [
33
+ "{{state.fx-resource-aad-app-for-teams.oauth2PermissionScopeId}}"
34
+ ]
35
+ },
36
+ {
37
+ "appId": "d3590ed6-52b3-4102-aeff-aad2292ab01c",
38
+ "delegatedPermissionIds": [
39
+ "{{state.fx-resource-aad-app-for-teams.oauth2PermissionScopeId}}"
40
+ ]
41
+ },
42
+ {
43
+ "appId": "00000002-0000-0ff1-ce00-000000000000",
44
+ "delegatedPermissionIds": [
45
+ "{{state.fx-resource-aad-app-for-teams.oauth2PermissionScopeId}}"
46
+ ]
47
+ },
48
+ {
49
+ "appId": "bc59ab01-8403-45c6-8796-ac3ef710b3e3",
50
+ "delegatedPermissionIds": [
51
+ "{{state.fx-resource-aad-app-for-teams.oauth2PermissionScopeId}}"
52
+ ]
53
+ },
54
+ {
55
+ "appId": "0ec893e0-5785-4de6-99da-4ed124e5296c",
56
+ "delegatedPermissionIds": [
57
+ "{{state.fx-resource-aad-app-for-teams.oauth2PermissionScopeId}}"
58
+ ]
59
+ },
60
+ {
61
+ "appId": "4765445b-32c6-49b0-83e6-1d93765276ca",
62
+ "delegatedPermissionIds": [
63
+ "{{state.fx-resource-aad-app-for-teams.oauth2PermissionScopeId}}"
64
+ ]
65
+ },
66
+ {
67
+ "appId": "4345a7b9-9a63-4910-a426-35363201d503",
68
+ "delegatedPermissionIds": [
69
+ "{{state.fx-resource-aad-app-for-teams.oauth2PermissionScopeId}}"
70
+ ]
71
+ },
72
+ {
73
+ "appId": "27922004-5251-4030-b22d-91ecd9a37ea4",
74
+ "delegatedPermissionIds": [
75
+ "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
76
+ ]
77
+ }
78
+ ]
79
+ },
80
+ "info": {},
81
+ "optionalClaims": {
82
+ "idToken": [],
83
+ "accessToken": [
84
+ {
85
+ "name": "idtyp",
86
+ "source": null,
87
+ "essential": false,
88
+ "additionalProperties": []
89
+ }
90
+ ],
91
+ "saml2Token": []
92
+ },
93
+ "publicClient": {
94
+ "redirectUris": []
95
+ },
96
+ "requiredResourceAccess": [
97
+ {
98
+ "resourceAppId": "Microsoft Graph",
99
+ "resourceAccess": [
43
100
  {
44
- "appId": "1fec8e78-bce4-4aaf-ab1b-5451cc387264",
45
- "permissionIds": [
46
- "{{state.fx-resource-aad-app-for-teams.oauth2PermissionScopeId}}"
47
- ]
48
- },
49
- {
50
- "appId": "5e3ce6c0-2b1f-4285-8d4b-75ee78787346",
51
- "permissionIds": [
52
- "{{state.fx-resource-aad-app-for-teams.oauth2PermissionScopeId}}"
53
- ]
54
- },
55
- {
56
- "appId": "d3590ed6-52b3-4102-aeff-aad2292ab01c",
57
- "permissionIds": [
58
- "{{state.fx-resource-aad-app-for-teams.oauth2PermissionScopeId}}"
59
- ]
60
- },
61
- {
62
- "appId": "00000002-0000-0ff1-ce00-000000000000",
63
- "permissionIds": [
64
- "{{state.fx-resource-aad-app-for-teams.oauth2PermissionScopeId}}"
65
- ]
66
- },
67
- {
68
- "appId": "bc59ab01-8403-45c6-8796-ac3ef710b3e3",
69
- "permissionIds": [
70
- "{{state.fx-resource-aad-app-for-teams.oauth2PermissionScopeId}}"
71
- ]
72
- },
73
- {
74
- "appId": "0ec893e0-5785-4de6-99da-4ed124e5296c",
75
- "permissionIds": [
76
- "{{state.fx-resource-aad-app-for-teams.oauth2PermissionScopeId}}"
77
- ]
78
- },
79
- {
80
- "appId": "4765445b-32c6-49b0-83e6-1d93765276ca",
81
- "permissionIds": [
82
- "{{state.fx-resource-aad-app-for-teams.oauth2PermissionScopeId}}"
83
- ]
84
- },
85
- {
86
- "appId": "4345a7b9-9a63-4910-a426-35363201d503",
87
- "permissionIds": [
88
- "{{state.fx-resource-aad-app-for-teams.oauth2PermissionScopeId}}"
89
- ]
90
- },
91
- {
92
- "appId": "27922004-5251-4030-b22d-91ecd9a37ea4",
93
- "permissionIds": [
94
- "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
95
- ]
101
+ "id": "User.Read",
102
+ "type": "Scope"
96
103
  }
97
- ],
98
- "identifierUris": [
99
- "{{state.fx-resource-aad-app-for-teams.applicationIdUris}}"
100
- ],
101
- "replyUrlsWithType": []
102
- }
104
+ ]
105
+ }
106
+ ],
107
+ "web": {
108
+ "redirectUris": [],
109
+ "implicitGrantSettings": {}
110
+ },
111
+ "spa": {
112
+ "redirectUris": []
113
+ }
114
+ }