@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
@@ -1,107 +1,116 @@
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,
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
- }
4
+ "displayName": "YOUR_AAD_APP_NAME",
5
+ "identifierUris": [
6
+ "api://botid-${{BOT_ID}}"
29
7
  ],
30
- "oauth2Permissions": [
8
+ "signInAudience": "AzureADMyOrg",
9
+ "api": {
10
+ "requestedAccessTokenVersion": 2,
11
+ "oauth2PermissionScopes": [
31
12
  {
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"
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": "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}",
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"
40
21
  }
41
- ],
42
- "preAuthorizedApplications": [
22
+ ],
23
+ "preAuthorizedApplications": [
43
24
  {
44
- "appId": "1fec8e78-bce4-4aaf-ab1b-5451cc387264",
45
- "permissionIds": [
46
- "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
47
- ]
25
+ "appId": "1fec8e78-bce4-4aaf-ab1b-5451cc387264",
26
+ "delegatedPermissionIds": [
27
+ "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
28
+ ]
48
29
  },
49
30
  {
50
- "appId": "5e3ce6c0-2b1f-4285-8d4b-75ee78787346",
51
- "permissionIds": [
52
- "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
53
- ]
31
+ "appId": "5e3ce6c0-2b1f-4285-8d4b-75ee78787346",
32
+ "delegatedPermissionIds": [
33
+ "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
34
+ ]
54
35
  },
55
36
  {
56
- "appId": "d3590ed6-52b3-4102-aeff-aad2292ab01c",
57
- "permissionIds": [
58
- "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
59
- ]
37
+ "appId": "d3590ed6-52b3-4102-aeff-aad2292ab01c",
38
+ "delegatedPermissionIds": [
39
+ "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
40
+ ]
60
41
  },
61
42
  {
62
- "appId": "00000002-0000-0ff1-ce00-000000000000",
63
- "permissionIds": [
64
- "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
65
- ]
43
+ "appId": "00000002-0000-0ff1-ce00-000000000000",
44
+ "delegatedPermissionIds": [
45
+ "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
46
+ ]
66
47
  },
67
48
  {
68
- "appId": "bc59ab01-8403-45c6-8796-ac3ef710b3e3",
69
- "permissionIds": [
70
- "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
71
- ]
49
+ "appId": "bc59ab01-8403-45c6-8796-ac3ef710b3e3",
50
+ "delegatedPermissionIds": [
51
+ "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
52
+ ]
72
53
  },
73
54
  {
74
- "appId": "0ec893e0-5785-4de6-99da-4ed124e5296c",
75
- "permissionIds": [
76
- "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
77
- ]
55
+ "appId": "0ec893e0-5785-4de6-99da-4ed124e5296c",
56
+ "delegatedPermissionIds": [
57
+ "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
58
+ ]
78
59
  },
79
60
  {
80
- "appId": "4765445b-32c6-49b0-83e6-1d93765276ca",
81
- "permissionIds": [
82
- "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
83
- ]
61
+ "appId": "4765445b-32c6-49b0-83e6-1d93765276ca",
62
+ "delegatedPermissionIds": [
63
+ "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
64
+ ]
84
65
  },
85
66
  {
86
- "appId": "4345a7b9-9a63-4910-a426-35363201d503",
87
- "permissionIds": [
88
- "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
89
- ]
67
+ "appId": "4345a7b9-9a63-4910-a426-35363201d503",
68
+ "delegatedPermissionIds": [
69
+ "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
70
+ ]
90
71
  },
91
72
  {
92
- "appId": "27922004-5251-4030-b22d-91ecd9a37ea4",
93
- "permissionIds": [
94
- "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
95
- ]
73
+ "appId": "27922004-5251-4030-b22d-91ecd9a37ea4",
74
+ "delegatedPermissionIds": [
75
+ "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
76
+ ]
96
77
  }
97
- ],
98
- "identifierUris": [
99
- "api://botid-${{BOT_ID}}"
100
- ],
101
- "replyUrlsWithType": [
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": [
102
97
  {
103
- "url": "https://${{BOT_DOMAIN}}/auth-end.html",
104
- "type": "Web"
98
+ "resourceAppId": "Microsoft Graph",
99
+ "resourceAccess": [
100
+ {
101
+ "id": "User.Read",
102
+ "type": "Scope"
103
+ }
104
+ ]
105
105
  }
106
- ]
107
- }
106
+ ],
107
+ "web": {
108
+ "redirectUris": [
109
+ "https://${{BOT_DOMAIN}}/auth-end.html"
110
+ ],
111
+ "implicitGrantSettings": {}
112
+ },
113
+ "spa": {
114
+ "redirectUris": []
115
+ }
116
+ }
@@ -1,115 +1,119 @@
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,
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
- }
4
+ "displayName": "YOUR_AAD_APP_NAME",
5
+ "identifierUris": [
6
+ "api://${{TAB_DOMAIN}}/${{AAD_APP_CLIENT_ID}}"
29
7
  ],
30
- "oauth2Permissions": [
8
+ "signInAudience": "AzureADMyOrg",
9
+ "api": {
10
+ "requestedAccessTokenVersion": 2,
11
+ "oauth2PermissionScopes": [
31
12
  {
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"
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": "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}",
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"
40
21
  }
41
- ],
42
- "preAuthorizedApplications": [
22
+ ],
23
+ "preAuthorizedApplications": [
43
24
  {
44
- "appId": "1fec8e78-bce4-4aaf-ab1b-5451cc387264",
45
- "permissionIds": [
46
- "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
47
- ]
25
+ "appId": "1fec8e78-bce4-4aaf-ab1b-5451cc387264",
26
+ "delegatedPermissionIds": [
27
+ "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
28
+ ]
48
29
  },
49
30
  {
50
- "appId": "5e3ce6c0-2b1f-4285-8d4b-75ee78787346",
51
- "permissionIds": [
52
- "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
53
- ]
31
+ "appId": "5e3ce6c0-2b1f-4285-8d4b-75ee78787346",
32
+ "delegatedPermissionIds": [
33
+ "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
34
+ ]
54
35
  },
55
36
  {
56
- "appId": "d3590ed6-52b3-4102-aeff-aad2292ab01c",
57
- "permissionIds": [
58
- "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
59
- ]
37
+ "appId": "d3590ed6-52b3-4102-aeff-aad2292ab01c",
38
+ "delegatedPermissionIds": [
39
+ "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
40
+ ]
60
41
  },
61
42
  {
62
- "appId": "00000002-0000-0ff1-ce00-000000000000",
63
- "permissionIds": [
64
- "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
65
- ]
43
+ "appId": "00000002-0000-0ff1-ce00-000000000000",
44
+ "delegatedPermissionIds": [
45
+ "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
46
+ ]
66
47
  },
67
48
  {
68
- "appId": "bc59ab01-8403-45c6-8796-ac3ef710b3e3",
69
- "permissionIds": [
70
- "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
71
- ]
49
+ "appId": "bc59ab01-8403-45c6-8796-ac3ef710b3e3",
50
+ "delegatedPermissionIds": [
51
+ "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
52
+ ]
72
53
  },
73
54
  {
74
- "appId": "0ec893e0-5785-4de6-99da-4ed124e5296c",
75
- "permissionIds": [
76
- "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
77
- ]
55
+ "appId": "0ec893e0-5785-4de6-99da-4ed124e5296c",
56
+ "delegatedPermissionIds": [
57
+ "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
58
+ ]
78
59
  },
79
60
  {
80
- "appId": "4765445b-32c6-49b0-83e6-1d93765276ca",
81
- "permissionIds": [
82
- "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
83
- ]
61
+ "appId": "4765445b-32c6-49b0-83e6-1d93765276ca",
62
+ "delegatedPermissionIds": [
63
+ "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
64
+ ]
84
65
  },
85
66
  {
86
- "appId": "4345a7b9-9a63-4910-a426-35363201d503",
87
- "permissionIds": [
88
- "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
89
- ]
67
+ "appId": "4345a7b9-9a63-4910-a426-35363201d503",
68
+ "delegatedPermissionIds": [
69
+ "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
70
+ ]
90
71
  },
91
72
  {
92
- "appId": "27922004-5251-4030-b22d-91ecd9a37ea4",
93
- "permissionIds": [
94
- "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
95
- ]
73
+ "appId": "27922004-5251-4030-b22d-91ecd9a37ea4",
74
+ "delegatedPermissionIds": [
75
+ "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
76
+ ]
96
77
  }
97
- ],
98
- "identifierUris": [
99
- "api://${{TAB_DOMAIN}}/${{AAD_APP_CLIENT_ID}}"
100
- ],
101
- "replyUrlsWithType": [
102
- {
103
- "url": "${{TAB_ENDPOINT}}/auth-end.html",
104
- "type": "Web"
105
- },
106
- {
107
- "url": "${{TAB_ENDPOINT}}/auth-end.html?clientId=${{AAD_APP_CLIENT_ID}}",
108
- "type": "Spa"
109
- },
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": [
110
97
  {
111
- "url": "${{TAB_ENDPOINT}}/blank-auth-end.html",
112
- "type": "Spa"
98
+ "resourceAppId": "Microsoft Graph",
99
+ "resourceAccess": [
100
+ {
101
+ "id": "User.Read",
102
+ "type": "Scope"
103
+ }
104
+ ]
113
105
  }
114
- ]
115
- }
106
+ ],
107
+ "web": {
108
+ "redirectUris": [
109
+ "${{TAB_ENDPOINT}}/auth-end.html"
110
+ ],
111
+ "implicitGrantSettings": {}
112
+ },
113
+ "spa": {
114
+ "redirectUris": [
115
+ "${{TAB_ENDPOINT}}/auth-end.html?clientId=${{AAD_APP_CLIENT_ID}}",
116
+ "${{TAB_ENDPOINT}}/blank-auth-end.html"
117
+ ]
118
+ }
119
+ }