@microsoft/teamsfx-core 2.0.6-alpha.07708d12e.0 → 2.0.6-alpha.136ac351d.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 (215) hide show
  1. package/build/common/constants.d.ts +1 -1
  2. package/build/common/constants.d.ts.map +1 -1
  3. package/build/common/constants.js +1 -1
  4. package/build/common/constants.js.map +1 -1
  5. package/build/common/deps-checker/internal/funcToolChecker.d.ts +1 -1
  6. package/build/common/deps-checker/internal/funcToolChecker.d.ts.map +1 -1
  7. package/build/common/deps-checker/internal/funcToolChecker.js.map +1 -1
  8. package/build/common/featureFlags.d.ts +1 -1
  9. package/build/common/featureFlags.d.ts.map +1 -1
  10. package/build/common/featureFlags.js +5 -6
  11. package/build/common/featureFlags.js.map +1 -1
  12. package/build/common/local/constants.d.ts +1 -0
  13. package/build/common/local/constants.d.ts.map +1 -1
  14. package/build/common/local/constants.js +1 -0
  15. package/build/common/local/constants.js.map +1 -1
  16. package/build/common/local/localCertificateManager.d.ts +3 -2
  17. package/build/common/local/localCertificateManager.d.ts.map +1 -1
  18. package/build/common/local/localCertificateManager.js +5 -1
  19. package/build/common/local/localCertificateManager.js.map +1 -1
  20. package/build/common/m365/packageService.d.ts +1 -0
  21. package/build/common/m365/packageService.d.ts.map +1 -1
  22. package/build/common/m365/packageService.js +68 -0
  23. package/build/common/m365/packageService.js.map +1 -1
  24. package/build/common/samples.d.ts +5 -0
  25. package/build/common/samples.d.ts.map +1 -1
  26. package/build/common/samples.js +28 -30
  27. package/build/common/samples.js.map +1 -1
  28. package/build/common/spec-parser/adaptiveCardGenerator.d.ts.map +1 -1
  29. package/build/common/spec-parser/adaptiveCardGenerator.js +2 -4
  30. package/build/common/spec-parser/adaptiveCardGenerator.js.map +1 -1
  31. package/build/common/spec-parser/constants.d.ts +22 -13
  32. package/build/common/spec-parser/constants.d.ts.map +1 -1
  33. package/build/common/spec-parser/constants.js +22 -14
  34. package/build/common/spec-parser/constants.js.map +1 -1
  35. package/build/common/spec-parser/index.browser.d.ts +6 -0
  36. package/build/common/spec-parser/index.browser.d.ts.map +1 -0
  37. package/build/common/spec-parser/index.browser.js +16 -0
  38. package/build/common/spec-parser/index.browser.js.map +1 -0
  39. package/build/common/spec-parser/index.d.ts +1 -1
  40. package/build/common/spec-parser/index.d.ts.map +1 -1
  41. package/build/common/spec-parser/index.js.map +1 -1
  42. package/build/common/spec-parser/interfaces.d.ts +23 -2
  43. package/build/common/spec-parser/interfaces.d.ts.map +1 -1
  44. package/build/common/spec-parser/interfaces.js +3 -2
  45. package/build/common/spec-parser/interfaces.js.map +1 -1
  46. package/build/common/spec-parser/manifestUpdater.d.ts +2 -1
  47. package/build/common/spec-parser/manifestUpdater.d.ts.map +1 -1
  48. package/build/common/spec-parser/manifestUpdater.js +20 -7
  49. package/build/common/spec-parser/manifestUpdater.js.map +1 -1
  50. package/build/common/spec-parser/specFilter.d.ts +1 -1
  51. package/build/common/spec-parser/specFilter.d.ts.map +1 -1
  52. package/build/common/spec-parser/specFilter.js +2 -2
  53. package/build/common/spec-parser/specFilter.js.map +1 -1
  54. package/build/common/spec-parser/specParser.browser.d.ts +51 -0
  55. package/build/common/spec-parser/specParser.browser.d.ts.map +1 -0
  56. package/build/common/spec-parser/specParser.browser.js +145 -0
  57. package/build/common/spec-parser/specParser.browser.js.map +1 -0
  58. package/build/common/spec-parser/specParser.d.ts +11 -6
  59. package/build/common/spec-parser/specParser.d.ts.map +1 -1
  60. package/build/common/spec-parser/specParser.js +108 -101
  61. package/build/common/spec-parser/specParser.js.map +1 -1
  62. package/build/common/spec-parser/utils.d.ts +10 -4
  63. package/build/common/spec-parser/utils.d.ts.map +1 -1
  64. package/build/common/spec-parser/utils.js +142 -26
  65. package/build/common/spec-parser/utils.js.map +1 -1
  66. package/build/common/tools.d.ts.map +1 -1
  67. package/build/common/tools.js +1 -1
  68. package/build/common/tools.js.map +1 -1
  69. package/build/component/configManager/validator.d.ts.map +1 -1
  70. package/build/component/configManager/validator.js +2 -3
  71. package/build/component/configManager/validator.js.map +1 -1
  72. package/build/component/developerPortalScaffoldUtils.d.ts.map +1 -1
  73. package/build/component/developerPortalScaffoldUtils.js +32 -0
  74. package/build/component/developerPortalScaffoldUtils.js.map +1 -1
  75. package/build/component/driver/aad/create.js +1 -1
  76. package/build/component/driver/aad/create.js.map +1 -1
  77. package/build/component/driver/aad/error/invalidFieldInManifestError.js +1 -1
  78. package/build/component/driver/aad/error/invalidFieldInManifestError.js.map +1 -1
  79. package/build/component/driver/aad/permissions/permissions.json +42 -42
  80. package/build/component/driver/aad/update.d.ts.map +1 -1
  81. package/build/component/driver/aad/update.js +6 -4
  82. package/build/component/driver/aad/update.js.map +1 -1
  83. package/build/component/driver/aad/utility/aadAppClient.js +8 -8
  84. package/build/component/driver/aad/utility/aadAppClient.js.map +1 -1
  85. package/build/component/driver/aad/utility/constants.js +1 -1
  86. package/build/component/driver/aad/utility/constants.js.map +1 -1
  87. package/build/component/driver/apiKey/create.d.ts +16 -0
  88. package/build/component/driver/apiKey/create.d.ts.map +1 -0
  89. package/build/component/driver/apiKey/create.js +211 -0
  90. package/build/component/driver/apiKey/create.js.map +1 -0
  91. package/build/component/driver/apiKey/error/apiKeyClientSecretInvalid.d.ts +5 -0
  92. package/build/component/driver/apiKey/error/apiKeyClientSecretInvalid.d.ts.map +1 -0
  93. package/build/component/driver/apiKey/error/apiKeyClientSecretInvalid.js +22 -0
  94. package/build/component/driver/apiKey/error/apiKeyClientSecretInvalid.js.map +1 -0
  95. package/build/component/driver/apiKey/error/apiKeyDomainInvalid.d.ts +5 -0
  96. package/build/component/driver/apiKey/error/apiKeyDomainInvalid.d.ts.map +1 -0
  97. package/build/component/driver/apiKey/error/apiKeyDomainInvalid.js +22 -0
  98. package/build/component/driver/apiKey/error/apiKeyDomainInvalid.js.map +1 -0
  99. package/build/component/driver/apiKey/error/apiKeyNameTooLong.d.ts +5 -0
  100. package/build/component/driver/apiKey/error/apiKeyNameTooLong.d.ts.map +1 -0
  101. package/build/component/driver/apiKey/error/apiKeyNameTooLong.js +21 -0
  102. package/build/component/driver/apiKey/error/apiKeyNameTooLong.js.map +1 -0
  103. package/build/component/driver/apiKey/interface/createApiKeyArgs.d.ts +8 -0
  104. package/build/component/driver/apiKey/interface/createApiKeyArgs.d.ts.map +1 -0
  105. package/build/component/driver/apiKey/interface/createApiKeyArgs.js +5 -0
  106. package/build/component/driver/apiKey/interface/createApiKeyArgs.js.map +1 -0
  107. package/build/component/driver/apiKey/interface/createApiKeyOutputs.d.ts +7 -0
  108. package/build/component/driver/apiKey/interface/createApiKeyOutputs.d.ts.map +1 -0
  109. package/build/component/driver/apiKey/interface/createApiKeyOutputs.js +10 -0
  110. package/build/component/driver/apiKey/interface/createApiKeyOutputs.js.map +1 -0
  111. package/build/component/driver/apiKey/utility/constants.d.ts +10 -0
  112. package/build/component/driver/apiKey/utility/constants.d.ts.map +1 -0
  113. package/build/component/driver/apiKey/utility/constants.js +15 -0
  114. package/build/component/driver/apiKey/utility/constants.js.map +1 -0
  115. package/build/component/driver/deploy/azure/impl/azureDeployImpl.d.ts.map +1 -1
  116. package/build/component/driver/deploy/azure/impl/azureDeployImpl.js +6 -6
  117. package/build/component/driver/deploy/azure/impl/azureDeployImpl.js.map +1 -1
  118. package/build/component/driver/devTool/installDriver.d.ts.map +1 -1
  119. package/build/component/driver/devTool/installDriver.js +2 -1
  120. package/build/component/driver/devTool/installDriver.js.map +1 -1
  121. package/build/component/driver/devTool/interfaces/InstallToolArgs.d.ts +1 -1
  122. package/build/component/driver/devTool/interfaces/InstallToolArgs.d.ts.map +1 -1
  123. package/build/component/driver/index.d.ts +1 -0
  124. package/build/component/driver/index.d.ts.map +1 -1
  125. package/build/component/driver/index.js +1 -0
  126. package/build/component/driver/index.js.map +1 -1
  127. package/build/component/driver/script/scriptDriver.d.ts.map +1 -1
  128. package/build/component/driver/script/scriptDriver.js +2 -2
  129. package/build/component/driver/script/scriptDriver.js.map +1 -1
  130. package/build/component/driver/teamsApp/clients/appStudioClient.d.ts +13 -0
  131. package/build/component/driver/teamsApp/clients/appStudioClient.d.ts.map +1 -1
  132. package/build/component/driver/teamsApp/clients/appStudioClient.js +38 -0
  133. package/build/component/driver/teamsApp/clients/appStudioClient.js.map +1 -1
  134. package/build/component/driver/teamsApp/constants.d.ts +2 -0
  135. package/build/component/driver/teamsApp/constants.d.ts.map +1 -1
  136. package/build/component/driver/teamsApp/constants.js +2 -0
  137. package/build/component/driver/teamsApp/constants.js.map +1 -1
  138. package/build/component/driver/teamsApp/interfaces/ApiSecretRegistration.d.ts +44 -0
  139. package/build/component/driver/teamsApp/interfaces/ApiSecretRegistration.d.ts.map +1 -0
  140. package/build/component/driver/teamsApp/interfaces/ApiSecretRegistration.js +21 -0
  141. package/build/component/driver/teamsApp/interfaces/ApiSecretRegistration.js.map +1 -0
  142. package/build/component/driver/teamsApp/interfaces/ApiSecretRegistrationClientSecret.d.ts +15 -0
  143. package/build/component/driver/teamsApp/interfaces/ApiSecretRegistrationClientSecret.d.ts.map +1 -0
  144. package/build/component/driver/teamsApp/interfaces/ApiSecretRegistrationClientSecret.js +5 -0
  145. package/build/component/driver/teamsApp/interfaces/ApiSecretRegistrationClientSecret.js.map +1 -0
  146. package/build/component/driver/teamsApp/interfaces/appdefinitions/IValidationResult.d.ts +1 -1
  147. package/build/component/driver/teamsApp/interfaces/appdefinitions/IValidationResult.d.ts.map +1 -1
  148. package/build/component/driver/teamsApp/validateAppPackage.d.ts.map +1 -1
  149. package/build/component/driver/teamsApp/validateAppPackage.js +26 -6
  150. package/build/component/driver/teamsApp/validateAppPackage.js.map +1 -1
  151. package/build/component/generator/copilotPlugin/generator.d.ts.map +1 -1
  152. package/build/component/generator/copilotPlugin/generator.js +15 -8
  153. package/build/component/generator/copilotPlugin/generator.js.map +1 -1
  154. package/build/component/generator/copilotPlugin/helper.d.ts +3 -1
  155. package/build/component/generator/copilotPlugin/helper.d.ts.map +1 -1
  156. package/build/component/generator/copilotPlugin/helper.js +72 -8
  157. package/build/component/generator/copilotPlugin/helper.js.map +1 -1
  158. package/build/component/generator/spfx/spfxGenerator.d.ts.map +1 -1
  159. package/build/component/generator/spfx/spfxGenerator.js +7 -0
  160. package/build/component/generator/spfx/spfxGenerator.js.map +1 -1
  161. package/build/component/generator/spfx/utils/constants.d.ts +1 -14
  162. package/build/component/generator/spfx/utils/constants.d.ts.map +1 -1
  163. package/build/component/generator/spfx/utils/constants.js +1 -14
  164. package/build/component/generator/spfx/utils/constants.js.map +1 -1
  165. package/build/component/utils/ResourceGroupHelper.d.ts +1 -0
  166. package/build/component/utils/ResourceGroupHelper.d.ts.map +1 -1
  167. package/build/component/utils/ResourceGroupHelper.js +31 -1
  168. package/build/component/utils/ResourceGroupHelper.js.map +1 -1
  169. package/build/core/FxCore.d.ts +1 -0
  170. package/build/core/FxCore.d.ts.map +1 -1
  171. package/build/core/FxCore.js +3 -1
  172. package/build/core/FxCore.js.map +1 -1
  173. package/build/core/middleware/projectMigratorV3.js +1 -1
  174. package/build/core/middleware/projectMigratorV3.js.map +1 -1
  175. package/build/core/middleware/utils/debug/taskMigrator.js +1 -1
  176. package/build/index.d.ts +3 -0
  177. package/build/index.d.ts.map +1 -1
  178. package/build/index.js +7 -1
  179. package/build/index.js.map +1 -1
  180. package/build/question/create.d.ts.map +1 -1
  181. package/build/question/create.js +26 -7
  182. package/build/question/create.js.map +1 -1
  183. package/build/question/inputs/DeployAadManifestInputs.d.ts +1 -1
  184. package/build/question/inputs/DeployAadManifestInputs.d.ts.map +1 -1
  185. package/build/question/inputs/PermissionGrantInputs.d.ts +2 -2
  186. package/build/question/inputs/PermissionGrantInputs.d.ts.map +1 -1
  187. package/build/question/inputs/PermissionListInputs.d.ts +1 -1
  188. package/build/question/inputs/PermissionListInputs.d.ts.map +1 -1
  189. package/build/question/options/DeployAadManifestOptions.js +1 -1
  190. package/build/question/options/DeployAadManifestOptions.js.map +1 -1
  191. package/build/question/options/PermissionGrantOptions.js +1 -1
  192. package/build/question/options/PermissionGrantOptions.js.map +1 -1
  193. package/build/question/options/PermissionListOptions.js +1 -1
  194. package/build/question/options/PermissionListOptions.js.map +1 -1
  195. package/build/question/other.d.ts.map +1 -1
  196. package/build/question/other.js +23 -2
  197. package/build/question/other.js.map +1 -1
  198. package/package.json +6 -5
  199. package/resource/package.nls.json +52 -43
  200. package/resource/yaml-schema/v1.3/yaml.schema.json +83 -32
  201. package/templates/core/v3Migration/csharp.app.local.yml +6 -6
  202. package/templates/core/v3Migration/csharp.app.yml +6 -6
  203. package/templates/core/v3Migration/js.ts.app.local.yml +11 -11
  204. package/templates/core/v3Migration/js.ts.app.yml +12 -12
  205. package/templates/fallback/common.zip +0 -0
  206. package/templates/fallback/csharp.zip +0 -0
  207. package/templates/fallback/js.zip +0 -0
  208. package/templates/fallback/ts.zip +0 -0
  209. package/templates/plugins/resource/aad/auth/V3/Enable SSO.txt +2 -2
  210. package/templates/plugins/resource/aad/auth/bot/README.md +13 -13
  211. package/templates/plugins/resource/aad/auth/bot/README.txt +7 -7
  212. package/templates/plugins/resource/aad/auth/tab/README.md +6 -6
  213. package/templates/plugins/resource/aad/auth/tab/README.txt +5 -5
  214. package/templates/plugins/resource/aad/auth/tab/js/sso/GetUserProfile.jsx +1 -1
  215. package/templates/plugins/resource/aad/auth/tab/ts/sso/GetUserProfile.tsx +1 -1
@@ -7,14 +7,13 @@
7
7
  "core.provision.confirmEnvAndCostNotice": "Cost may incur according to the usage. Do you want to provision resources in %s environment using accounts listed above?",
8
8
  "core.deploy.confirmEnvNoticeV3": "Do you want to deploy resources in %s environment?",
9
9
  "core.provision.viewResources": "View provisioned resources",
10
- "core.deploy.aadManifestSuccessNotice": "Your Azure Active Directory application has been successfully deployed. Click \"Learn more\" to check how to view your Azure Active Directory application.",
11
- "core.deploy.aadManifestOnCLISuccessNotice": "Your Azure Active Directory application has been successfully updated.",
10
+ "core.deploy.aadManifestSuccessNotice": "Your Microsoft Entra application has been successfully deployed. Click \"Learn more\" to check how to view your Microsoft Entra application.",
11
+ "core.deploy.aadManifestOnCLISuccessNotice": "Your Microsoft Entra application has been successfully updated.",
12
12
  "core.deploy.aadManifestLearnMore": "Learn more",
13
13
  "core.deploy.botTroubleShoot": "To troubleshoot bot application in azure, please click learn more for documentation.",
14
14
  "core.deploy.botTroubleShoot.learnMore": "Learn more",
15
15
  "core.option.deploy": "Deploy",
16
16
  "core.option.confirm": "Confirm",
17
- "core.option.cancel": "Cancel",
18
17
  "core.option.learnMore": "Learn more",
19
18
  "core.option.upgrade": "Upgrade",
20
19
  "core.option.moreInfo": "More Info",
@@ -27,7 +26,6 @@
27
26
  "core.progress.configureAzureStorage": "Configuring Azure Storage, enable static website setting.",
28
27
  "core.progress.runCommand": "Run command %s at %s",
29
28
  "core.progress.deployToAzure": "Deploying %s to %s.",
30
- "core.Notification.ReadMore": "Read more",
31
29
  "core.migrationV3.confirmOnly.Message": "Please confirm the upgrade",
32
30
  "core.migrationV3.Message": "Upgrade your Teams Toolkit project to stay compatible with the latest version. A backup directory will be created along with an Upgrade Summary.",
33
31
  "core.migrationV3.VS.Message": "Upgrade your solution to stay compatible with the latest Teams Toolkit version. A backup directory will be generated in which it contains an upgrade report.",
@@ -53,11 +51,11 @@
53
51
  "core.collaboration.ListingM365Permission": "Listing Microsoft 365 permissions\n",
54
52
  "core.collaboration.AccountUsedToCheck": "Account used to check: ",
55
53
  "core.collaboration.StartingListAllTeamsAppOwners": "\nStarting to list all teams app owners for environment: ",
56
- "core.collaboration.StartingListAllAadAppOwners": "\nStarting to list all Azure Active Directory app owners for environment: ",
54
+ "core.collaboration.StartingListAllAadAppOwners": "\nStarting to list all Microsoft Entra app owners for environment: ",
57
55
  "core.collaboration.M365TeamsAppId": "Microsoft 365 Teams App (ID: ",
58
- "core.collaboration.SsoAadAppId": "SSO AAD App (ID: ",
56
+ "core.collaboration.SsoAadAppId": "SSO Microsoft Entra App (ID: ",
59
57
  "core.collaboration.TeamsAppOwner": "Teams App Owner: ",
60
- "core.collaboration.AadAppOwner": "Azure Active Directory App Owner: ",
58
+ "core.collaboration.AadAppOwner": "Microsoft Entra App Owner: ",
61
59
  "core.collaboration.StaringCheckPermission": "Starting to check permission for environment: ",
62
60
  "core.collaboration.CheckPermissionResourceId": "Resource ID: ",
63
61
  "core.collaboration.Undefined": "undefined",
@@ -275,7 +273,7 @@
275
273
  "core.createProjectQuestion.projectType.outlookAddin.detail": "Customize the ribbon and Task Pane with your web content",
276
274
  "core.createProjectQuestion.projectType.outlookAddin.label": "Outlook Add-in",
277
275
  "core.createProjectQuestion.projectType.outlookAddin.title": "App Features Using an Outlook Add-in",
278
- "core.createProjectQuestion.projectType.tab.detail": "Embed your own web content in Teams, Outlook, and the Micosoft 365 app",
276
+ "core.createProjectQuestion.projectType.tab.detail": "Embed your own web content in Teams, Outlook, and the Microsoft 365 app",
279
277
  "core.createProjectQuestion.projectType.tab.title": "App Features Using a Tab",
280
278
  "core.createProjectQuestion.projectType.copilotPlugin.detail": "Create a plugin to extend Microsoft 365 Copilot using your APIs",
281
279
  "core.createProjectQuestion.projectType.copilotPlugin.label": "Plugin",
@@ -295,10 +293,12 @@
295
293
  "core.createProjectQuestion.apiSpecInputUrl.label": "Enter OpenAPI Description Document Location",
296
294
  "core.createProjectQuestion.OpenAIPluginDomain": "OpenAI Plugin Manifest",
297
295
  "core.createProjectQuestion.OpenAIPluginDomain.placeholder": "Enter your website domain or manifest URL",
298
- "core.createProjectQuestion.invalidUrl.message": "Please enter a valid URL",
296
+ "core.createProjectQuestion.invalidUrl.message": "Enter a valid HTTP URL without authentication to access your OpenAPI description document.",
299
297
  "core.createProjectQuestion.apiSpec.operation.title": "Select Operation(s) Teams Can Interact with",
300
298
  "core.createProjectQuestion.apiSpec.operation.placeholder": "GET/POST methods with at most one required parameter and no auth are listed",
301
299
  "core.createProjectQuestion.apiSpec.operation.invalidMessage": "%s API(s) selected. You can select at least one and at most %s APIs.",
300
+ "core.createProjectQuestion.apiSpec.operation.multipleAuth": "Your selected APIs have multiple authorizations %s which are not supported.",
301
+ "core.createProjectQuestion.apiSpec.operation.multipleServer": "Your selected APIs have multiple server URLs %s which are not supported.",
302
302
  "core.createProjectQuestion.apiSpec.operation.placeholder.skipExisting": "Methods defined in manifest.json are not listed",
303
303
  "core.createProjectQuestion.apiSpec.multipleValidationErrors.message": "Invalid OpenAPI description document. Check output panel for details.",
304
304
  "core.createProjectQuestion.apiSpec.multipleValidationErrors.vscode.message": "Invalid OpenAPI description document. Check [output panel](command:fx-extension.showOutputChannel) for details.",
@@ -323,6 +323,8 @@
323
323
  "core.QuestionNewResourceGroupName.title": "New resource group name",
324
324
  "core.QuestionNewResourceGroupName.validation": "The name can only contain alphanumeric characters or the symbols ._-()",
325
325
  "core.QuestionNewResourceGroupLocation.title": "Location for the new resource group",
326
+ "core.QuestionNewResourceGroupLocation.group.recommended": "Recommended",
327
+ "core.QuestionNewResourceGroupLocation.group.others": "Others",
326
328
  "core.question.workspaceFolder.title": "Workspace folder",
327
329
  "core.question.workspaceFolder.placeholder": "Select the folder that will contain your project root folder",
328
330
  "core.ScratchOptionYes.label": "Create a new app",
@@ -353,11 +355,11 @@
353
355
  "core.updateUrlQuestion.placeholder": "Unselect to keep with the original URL",
354
356
  "core.SingleSignOnOption.label": "Single Sign-On",
355
357
  "core.SingleSignOnOption.detail": "Develop a Single Sign-On feature for Teams Launch pages and Bot capability",
356
- "core.getUserEmailQuestion.title": "Add owner to Teams/AAD app for the account under the same Microsoft 365 tenant (email)",
358
+ "core.getUserEmailQuestion.title": "Add owner to Teams/Microsoft Entra app for the account under the same Microsoft 365 tenant (email)",
357
359
  "core.getUserEmailQuestion.validation1": "Email address cannot be null or empty",
358
360
  "core.getUserEmailQuestion.validation2": "Please change [UserName] to the real user name",
359
361
  "core.collaboration.error.failedToLoadDotEnvFile": "Unable to load your .env File. Reason: %s",
360
- "core.selectAadAppManifestQuestion.title": "Select Azure Active Directory manifest.json file",
362
+ "core.selectAadAppManifestQuestion.title": "Select Microsoft Entra manifest.json file",
361
363
  "core.selectTeamsAppManifestQuestion.title": "Select Teams manifest.json file",
362
364
  "core.selectTeamsAppPackageQuestion.title": "Select Teams app package file",
363
365
  "core.selectLocalTeamsAppManifestQuestion.title": "Select local Teams manifest.json file",
@@ -368,8 +370,8 @@
368
370
  "core.selectValidateMethodQuestion.validate.appPackageOption": "Validate app package using validation rules",
369
371
  "core.selectValidateMethodQuestion.validate.appPackageOptionDescription": "Validate app package using validation rules",
370
372
  "core.confirmManifestQuestion.placeholder": "Confirm manifest is correctly selected",
371
- "core.aadAppQuestion.label": "Azure Active Directory app",
372
- "core.aadAppQuestion.description": "Your Azure Active Directory app for Single Sign On",
373
+ "core.aadAppQuestion.label": "Microsoft Entra app",
374
+ "core.aadAppQuestion.description": "Your Microsoft Entra app for Single Sign On",
373
375
  "core.teamsAppQuestion.label": "Teams app",
374
376
  "core.teamsAppQuestion.description": "Your Teams app",
375
377
  "core.M365SsoLaunchPageOptionItem.label": "React with Fluent UI",
@@ -394,18 +396,14 @@
394
396
  "core.common.OutlookWebClientName1": "Outlook web access client id 1",
395
397
  "core.common.OutlookWebClientName2": "Outlook web access client id 2",
396
398
  "core.common.CancelledMessage": "Operation is cancelled.",
399
+ "core.common.SwaggerNotSupported": "Swagger 2.0 is not supported. Please convert it to OpenAPI 3.0 first.",
397
400
  "core.common.NoServerInformation": "No server information is found in the OpenAPI description document.",
398
401
  "core.common.RemoteRefNotSupported": "Remote reference is not supported: %s.",
399
402
  "core.common.MissingOperationId": "Missing operationIds: %s.",
400
403
  "core.common.NoSupportedApi": "No supported API is found in the OpenAPI description document: only GET and POST methods are supported, additionally, there can be at most one required parameter, and no auth is allowed.",
401
- "core.common.AdditionalPropertiesNotSupported": "'additionalProperties' is not supported, and will be ignored.",
402
- "core.common.SchemaNotSupported": "'oneOf', 'anyOf', and 'not' schema are not supported: %s.",
403
- "core.common.UnknownSchema": "Unknown schema: %s.",
404
404
  "core.common.UrlProtocolNotSupported": "Server url is not correct: protocol %s is not supported, you should use https protocol instead.",
405
405
  "core.common.RelativeServerUrlNotSupported": "Server url is not correct: relative server url is not supported.",
406
- "core.common.ResolveServerUrlFailed": "Unable to resolve the server URL: please make sure that the environment variable %s is defined.",
407
- "core.common.OperationOnlyContainsOptionalParam": "Operation %s contains multiple optional parameters. The first optional parameter is used for this command.",
408
- "core.common.ConvertSwaggerToOpenAPI": "The Swagger 2.0 file has been converted to OpenAPI 3.0.",
406
+ "core.common.ErrorFetchApiSpec": "Your OpenAPI description document should be accessible without authentication, otherwise download and start from a local copy.",
409
407
  "core.common.SendingApiRequest": "Sending API request: %s. Request body: %s",
410
408
  "core.common.ReceiveApiResponse": "Received API response: %s.",
411
409
  "core.importAddin.label": "Import an Existing Outlook Add-ins",
@@ -432,8 +430,8 @@
432
430
  "error.aad.manifest.AccessTokenAcceptedVersionIs1": "accessTokenAcceptedVersion is 1\n",
433
431
  "error.aad.manifest.OptionalClaimsIsMissing": "optionalClaims is missing\n",
434
432
  "error.aad.manifest.OptionalClaimsMissingIdtypClaim": "optionalClaims access token doesn't contain idtyp claim\n",
435
- "error.aad.manifest.AADManifestIssues": "AAD manifest has following issues that may potentially break the Teams App:\n",
436
- "error.aad.manifest.DeleteOrUpdatePermissionFailed": "Unable to update or delete an existing permission when it's enabled. One possible reason is that the ACCESS_AS_USER_PERMISSION_ID environment variable is changed for selected environment. Ensure your permission id(s) are identical with the actual AAD application and try again.\n",
433
+ "error.aad.manifest.AADManifestIssues": "Microsoft Entra manifest has following issues that may potentially break the Teams App:\n",
434
+ "error.aad.manifest.DeleteOrUpdatePermissionFailed": "Unable to update or delete an existing permission when it's enabled. One possible reason is that the ACCESS_AS_USER_PERMISSION_ID environment variable is changed for selected environment. Ensure your permission id(s) are identical with the actual Microsoft Entra application and try again.\n",
437
435
  "error.aad.manifest.UnknownResourceAppId": "Unknown resourceAppId %s",
438
436
  "error.aad.manifest.UnknownResourceAccessType": "Unknown resourceAccess: %s",
439
437
  "error.aad.manifest.UnknownResourceAccessId": "Unknown resourceAccess id: %s, if you're using permission as resourceAccess id, please try to use permission id instead.",
@@ -482,35 +480,35 @@
482
480
  "depChecker.testToolVersionNotMatch": "The version of Teams App Test Tool (%s) is not compatible with the specified version range (%s).",
483
481
  "depChecker.failedToValidateTestTool": "Unable to validate Teams App Test Tool after installation. %s",
484
482
  "error.driver.outputEnvironmentVariableUndefined": "The output environment variable name(s) are not defined.",
485
- "driver.aadApp.description.create": "Create an Azure Active Directory app to authenticate users",
486
- "driver.aadApp.description.update": "Apply Azure Active Directory app manifest to an existing app",
483
+ "driver.aadApp.description.create": "Create a Microsoft Entra app to authenticate users",
484
+ "driver.aadApp.description.update": "Apply Microsoft Entra app manifest to an existing app",
487
485
  "driver.aadApp.error.missingEnv": "Environment variable %s is not set.",
488
486
  "driver.aadApp.error.generateSecretFailed": "Cannot generate client secret.",
489
- "driver.aadApp.error.invalidFieldInManifest": "Field %s is missing or invalid in Azure Active Directory app manifest.",
490
- "driver.aadApp.error.appNameTooLong": "The name for this Azure Active Directory app is too long. The maximum length is 120.",
491
- "driver.aadApp.progressBar.createAadAppTitle": "Creating Azure Active Directory application...",
492
- "driver.aadApp.progressBar.updateAadAppTitle": "Updating Azure Active Directory application...",
487
+ "driver.aadApp.error.invalidFieldInManifest": "Field %s is missing or invalid in Microsoft Entra app manifest.",
488
+ "driver.aadApp.error.appNameTooLong": "The name for this Microsoft Entra app is too long. The maximum length is 120.",
489
+ "driver.aadApp.progressBar.createAadAppTitle": "Creating Microsoft Entra application...",
490
+ "driver.aadApp.progressBar.updateAadAppTitle": "Updating Microsoft Entra application...",
493
491
  "driver.aadApp.log.startExecuteDriver": "Executing action %s",
494
492
  "driver.aadApp.log.successExecuteDriver": "Action %s executed successfully",
495
493
  "driver.aadApp.log.failExecuteDriver": "Unable to execute action %s. Error message: %s",
496
- "driver.aadApp.log.startCreateAadApp": "Environment variable %s does not exist, creating a new Azure Active Directory app...",
497
- "driver.aadApp.log.successCreateAadApp": "Created Azure Active Directory application with object id %s",
498
- "driver.aadApp.log.skipCreateAadApp": "Environment variable %s already exist, skipping new Azure Active Directory app creation step.",
499
- "driver.aadApp.log.startGenerateClientSecret": "Environment variable %s does not exist, generating client secret for Azure Active Directory app...",
500
- "driver.aadApp.log.successGenerateClientSecret": "Generated client secret for Azure Active Directory application with object id %s",
501
- "driver.aadApp.log.skipGenerateClientSecret": "Environment variable %s already exist, skipping Azure Active Directory app client secret generation step.",
502
- "driver.aadApp.log.outputAadAppManifest": "Build Azure Active Directory app manifest completed, and app manifest content is written to %s",
503
- "driver.aadApp.log.successUpdateAadAppManifest": "Applied manifest %s to Azure Active Directory application with object id %s",
504
- "botRegistration.ProgressBar.creatingBotAadApp": "Creating bot AAD app...",
505
- "botRegistration.log.startCreateBotAadApp": "Creating bot Azure Active Directory app.",
506
- "botRegistration.log.successCreateBotAadApp": "Bot Azure Active Directory app created successfully.",
507
- "botRegistration.log.skipCreateBotAadApp": "Bot Azure Active Directory app creation skipped.",
508
- "driver.botAadApp.create.description": "create a new or reuse an existing bot Azure Active Directory app.",
494
+ "driver.aadApp.log.startCreateAadApp": "Environment variable %s does not exist, creating a new Microsoft Entra app...",
495
+ "driver.aadApp.log.successCreateAadApp": "Created Microsoft Entra application with object id %s",
496
+ "driver.aadApp.log.skipCreateAadApp": "Environment variable %s already exist, skipping new Microsoft Entra app creation step.",
497
+ "driver.aadApp.log.startGenerateClientSecret": "Environment variable %s does not exist, generating client secret for Microsoft Entra app...",
498
+ "driver.aadApp.log.successGenerateClientSecret": "Generated client secret for Microsoft Entra application with object id %s",
499
+ "driver.aadApp.log.skipGenerateClientSecret": "Environment variable %s already exist, skipping Microsoft Entra app client secret generation step.",
500
+ "driver.aadApp.log.outputAadAppManifest": "Build Microsoft Entra app manifest completed, and app manifest content is written to %s",
501
+ "driver.aadApp.log.successUpdateAadAppManifest": "Applied manifest %s to Microsoft Entra application with object id %s",
502
+ "botRegistration.ProgressBar.creatingBotAadApp": "Creating bot Microsoft Entra app...",
503
+ "botRegistration.log.startCreateBotAadApp": "Creating bot Microsoft Entra app.",
504
+ "botRegistration.log.successCreateBotAadApp": "Bot Microsoft Entra app created successfully.",
505
+ "botRegistration.log.skipCreateBotAadApp": "Bot Microsoft Entra app creation skipped.",
506
+ "driver.botAadApp.create.description": "create a new or reuse an existing bot Microsoft Entra app.",
509
507
  "driver.botAadApp.log.startExecuteDriver": "Executing action %s",
510
508
  "driver.botAadApp.log.successExecuteDriver": "Action %s executed successfully",
511
509
  "driver.botAadApp.log.failExecuteDriver": "Unable to execute action %s. Error message: %s",
512
- "driver.botAadApp.log.successCreateBotAad": "Created Azure Active Directory application with client id %s.",
513
- "driver.botAadApp.log.useExistingBotAad": "Used existing Azure Active Directory application with client id %s.",
510
+ "driver.botAadApp.log.successCreateBotAad": "Created Microsoft Entra application with client id %s.",
511
+ "driver.botAadApp.log.useExistingBotAad": "Used existing Microsoft Entra application with client id %s.",
514
512
  "driver.botAadApp.error.unexpectedEmptyBotPassword": "Bot password is empty. Add it in env file or clear bot id to have bot id/password pair regenerated. action: %s.",
515
513
  "driver.arm.description.deploy": "Deploy the given ARM templates to Azure.",
516
514
  "driver.arm.deploy.progressBar.message": "Deploying the ARM templates to Azure...",
@@ -599,6 +597,7 @@
599
597
  "driver.teamsApp.validate.result.display": "Teams Toolkit has completed checking your app package against validation rules. %s. Check [Output panel](command:fx-extension.showOutputChannel) for details.",
600
598
  "error.teamsApp.validate.apiFailed": "Teams app package validation failed due to %s",
601
599
  "error.teamsApp.validate.apiFailed.display": "Teams app pacakge validation failed. Check [Output panel](command:fx-extension.showOutputChannel) for details.",
600
+ "error.teamsApp.validate.details": "File path: %s, title: %s",
602
601
  "error.teamsApp.AppIdNotExistError": "Teams app with ID %s does not exist in Teams Developer Portal.",
603
602
  "error.teamsApp.InvalidAppIdError": "Teams app ID %s is invalid, must be a GUID.",
604
603
  "driver.botFramework.description": "creates or updates the bot registration on dev.botframework.com",
@@ -674,5 +673,15 @@
674
673
  "error.deploy.AzureStorageSetContainerPropertiesError.Notification": "Unable to set properties of container '%s' in Azure Storage Account '%s' due to error: %s. Refer to the [Output panel](command:fx-extension.showOutputChannel) for more details.",
675
674
  "error.deploy.AzureStorageSetContainerPropertiesError": "Unable to set properties of container '%s' in Azure Storage Account '%s' due to error: %s. The error responses from Azure are:\n %s. \nIf the error message specifies the reason, fix the error and try again.",
676
675
  "error.core.failedToLoadManifestId": "Unable to load manifest id from path: %s. You must run provision first.",
677
- "error.core.appIdNotExist": "Cannot find app id: %s. Maybe your current M365 account does not have permission, or the app has alredy been deleted."
676
+ "error.core.appIdNotExist": "Cannot find app id: %s. Either your current M365 account does not have permission, or the app has alredy been deleted.",
677
+ "driver.apiKey.description.create": "Create an API key on Developer Portal for authentication in Open API spec.",
678
+ "driver.aadApp.apiKey.title.create": "Creating API key...",
679
+ "driver.apiKey.log.startExecuteDriver": "Executing action %s",
680
+ "driver.apiKey.log.skipCreateApiKey": "Environment variable %s exists. Skip creating API key.",
681
+ "driver.apiKey.log.apiKeyNotFound": "Environment variable %s exists but failed to retrieve API key from Developer Portal. Check manually if API key exists.",
682
+ "driver.apiKey.error.nameTooLong": "The name for API key is too long. The maximum length is 128.",
683
+ "driver.apiKey.error.clientSecretInvalid": "Client secret is invalid. Client secret should follow: 1. Max %d secrets per API key. 2. Use comma to separate secrets. 3. Length of every secret >= 10 and <= 128",
684
+ "driver.apiKey.error.domainInvalid": "Domain is invalid. Domain for API key should follow: 1. Max %d domain per API key. 2. Use comma to separate domains",
685
+ "driver.apiKey.log.successCreateApiKey": "Created API key with id %s",
686
+ "driver.apiKey.log.failedExecuteDriver": "Unable to execute action %s. Error message: %s"
678
687
  }
@@ -70,13 +70,14 @@
70
70
  { "$ref": "#/definitions/teamsAppExtendToM365" },
71
71
  { "$ref": "#/definitions/spfxDeploy" },
72
72
  { "$ref": "#/definitions/teamsAppCopyAppPackageToSPFx" },
73
- { "$ref": "#/definitions/script" }
73
+ { "$ref": "#/definitions/script" },
74
+ { "$ref": "#/definitions/apiKeyCreate"}
74
75
  ]
75
76
  }
76
77
  },
77
78
  "aadAppCreateBase": {
78
79
  "type": "object",
79
- "description": "Create Azure Active Directory application and client secret (optional). Refer to https://aka.ms/teamsfx-actions/aadapp-create for more details.",
80
+ "description": "Create Microsoft Entra application and client secret (optional). Refer to https://aka.ms/teamsfx-actions/aadapp-create for more details.",
80
81
  "required": ["uses", "writeToEnvironmentFile"],
81
82
  "properties": {
82
83
  "name": {
@@ -92,7 +93,7 @@
92
93
  },
93
94
  "uses": {
94
95
  "type": "string",
95
- "description": "Create Azure Active Directory application when the environment variable that stores clientId is empty. Also create client secret for the application when generateClientSecret parameter is true and the environment variable that stores clientSecret is empty. When creating new Azure Active Directory application, this action generates clientId, objectId, tenantId, authority and authorityHost. When creating new client secret, this action generates clientSecret. Refer to https://aka.ms/teamsfx-actions/aadapp-create for more details.",
96
+ "description": "Create Microsoft Entra application when the environment variable that stores clientId is empty. Also create client secret for the application when generateClientSecret parameter is true and the environment variable that stores clientSecret is empty. When creating new Microsoft Entra application, this action generates clientId, objectId, tenantId, authority and authorityHost. When creating new client secret, this action generates clientSecret. Refer to https://aka.ms/teamsfx-actions/aadapp-create for more details.",
96
97
  "const": "aadApp/create"
97
98
  }
98
99
  }
@@ -114,11 +115,11 @@
114
115
  "properties": {
115
116
  "name": {
116
117
  "type": "string",
117
- "description": "The name of Azure Active Directory application. Note: when you run aadApp/update, the Azure Active Directory application name will be updated based on the definition in manifest. If you don't want to change the name, ensure the name in Azure Active Directory application manifest is the same with the name defined here."
118
+ "description": "The name of Microsoft Entra application. Note: when you run aadApp/update, the Microsoft Entra application name will be updated based on the definition in manifest. If you don't want to change the name, ensure the name in Microsoft Entra application manifest is the same with the name defined here."
118
119
  },
119
120
  "generateClientSecret": {
120
121
  "type": "boolean",
121
- "description": "Whether to generate client secret for the Azure Active Directory application. When the value is true, you need to specify the name of environment variable that stores the value of client secret in writeToEnvironmentVariable. For example: `clientSecret: SECRET_MY_AAD_APP_CLIENT_SECRET`.",
122
+ "description": "Whether to generate client secret for the Microsoft Entra application. When the value is true, you need to specify the name of environment variable that stores the value of client secret in writeToEnvironmentVariable. For example: `clientSecret: SECRET_MY_AAD_APP_CLIENT_SECRET`.",
122
123
  "const": true
123
124
  },
124
125
  "signInAudience": {
@@ -135,27 +136,27 @@
135
136
  "required": ["clientId", "objectId", "clientSecret"],
136
137
  "properties": {
137
138
  "clientId": {
138
- "description": "Required. The client (application) id of created Azure Active Directory application.",
139
+ "description": "Required. The client (application) id of created Microsoft Entra application.",
139
140
  "$ref": "#/definitions/envVarName"
140
141
  },
141
142
  "objectId": {
142
- "description": "Required. The object id of created Azure Active Directory application.",
143
+ "description": "Required. The object id of created Microsoft Entra application.",
143
144
  "$ref": "#/definitions/envVarName"
144
145
  },
145
146
  "clientSecret": {
146
- "description": "Required when generateClientSecret is true. The generated client secret of the Azure Active Directory application.",
147
+ "description": "Required when generateClientSecret is true. The generated client secret of the Microsoft Entra application.",
147
148
  "$ref": "#/definitions/secretEnvVarName"
148
149
  },
149
150
  "tenantId": {
150
- "description": "The tenant id of created Azure Active Directory application.",
151
+ "description": "The tenant id of created Microsoft Entra application.",
151
152
  "$ref": "#/definitions/envVarName"
152
153
  },
153
154
  "authority": {
154
- "description": "The authority of created Azure Active Directory application.",
155
+ "description": "The authority of created Microsoft Entra application.",
155
156
  "$ref": "#/definitions/envVarName"
156
157
  },
157
158
  "authorityHost": {
158
- "description": "The authority host name of created Azure Active Directory application.",
159
+ "description": "The authority host name of created Microsoft Entra application.",
159
160
  "$ref": "#/definitions/envVarName"
160
161
  }
161
162
  }
@@ -179,11 +180,11 @@
179
180
  "properties": {
180
181
  "name": {
181
182
  "type": "string",
182
- "description": "The name of Azure Active Directory application. Note: when you run aadApp/update, the Azure Active Directory application name will be updated based on the definition in manifest. If you don't want to change the name, ensure the name in Azure Active Directory application manifest is the same with the name defined here."
183
+ "description": "The name of Microsoft Entra application. Note: when you run aadApp/update, the Microsoft Entra application name will be updated based on the definition in manifest. If you don't want to change the name, ensure the name in Microsoft Entra application manifest is the same with the name defined here."
183
184
  },
184
185
  "generateClientSecret": {
185
186
  "type": "boolean",
186
- "description": "Whether to generate client secret for the Azure Active Directory application. When the value is true, you need to specify the name of environment variable that stores the value of client secret in writeToEnvironmentVariable. For example: `clientSecret: SECRET_MY_AAD_APP_CLIENT_SECRET`.",
187
+ "description": "Whether to generate client secret for the Microsoft Entra application. When the value is true, you need to specify the name of environment variable that stores the value of client secret in writeToEnvironmentVariable. For example: `clientSecret: SECRET_MY_AAD_APP_CLIENT_SECRET`.",
187
188
  "const": false
188
189
  },
189
190
  "signInAudience": {
@@ -200,23 +201,23 @@
200
201
  "required": ["clientId", "objectId"],
201
202
  "properties": {
202
203
  "clientId": {
203
- "description": "Required. The client (application) id of created Azure Active Directory application.",
204
+ "description": "Required. The client (application) id of created Microsoft Entra application.",
204
205
  "$ref": "#/definitions/envVarName"
205
206
  },
206
207
  "objectId": {
207
- "description": "Required. The object id of created Azure Active Directory application.",
208
+ "description": "Required. The object id of created Microsoft Entra application.",
208
209
  "$ref": "#/definitions/envVarName"
209
210
  },
210
211
  "tenantId": {
211
- "description": "The tenant id of created Azure Active Directory application.",
212
+ "description": "The tenant id of created Microsoft Entra application.",
212
213
  "$ref": "#/definitions/envVarName"
213
214
  },
214
215
  "authority": {
215
- "description": "The authority of created Azure Active Directory application.",
216
+ "description": "The authority of created Microsoft Entra application.",
216
217
  "$ref": "#/definitions/envVarName"
217
218
  },
218
219
  "authorityHost": {
219
- "description": "The authority host name of created Azure Active Directory application.",
220
+ "description": "The authority host name of created Microsoft Entra application.",
220
221
  "$ref": "#/definitions/envVarName"
221
222
  }
222
223
  }
@@ -233,7 +234,7 @@
233
234
  "aadAppUpdate": {
234
235
  "type": "object",
235
236
  "additionalProperties": false,
236
- "description": "Update Azure Active Directory application. Refer to https://aka.ms/teamsfx-actions/aadapp-update for more details.",
237
+ "description": "Update Microsoft Entra application. Refer to https://aka.ms/teamsfx-actions/aadapp-update for more details.",
237
238
  "required": ["uses", "with"],
238
239
  "properties": {
239
240
  "name": {
@@ -249,7 +250,7 @@
249
250
  },
250
251
  "uses": {
251
252
  "type": "string",
252
- "description": "Update Azure Active Directory application based on the given Azure Active Directory application manifest. If the manifest uses AAD_APP_ACCESS_AS_USER_PERMISSION_ID and the environment variable is empty, this action will generate a random id and output it. Refer to https://aka.ms/teamsfx-actions/aadapp-update for more details.",
253
+ "description": "Update Microsoft Entra application based on the given Microsoft Entra application manifest. If the manifest uses AAD_APP_ACCESS_AS_USER_PERMISSION_ID and the environment variable is empty, this action will generate a random id and output it. Refer to https://aka.ms/teamsfx-actions/aadapp-update for more details.",
253
254
  "const": "aadApp/update"
254
255
  },
255
256
  "with": {
@@ -260,11 +261,11 @@
260
261
  "properties": {
261
262
  "manifestPath": {
262
263
  "type": "string",
263
- "description": "Path of Azure Active Directory application manifest. Environment variables in the manifest will be replaced before applying the manifest to Azure Active Directory application."
264
+ "description": "Path of Microsoft Entra application manifest. Environment variables in the manifest will be replaced before applying the manifest to Microsoft Entra application."
264
265
  },
265
266
  "outputFilePath": {
266
267
  "type": "string",
267
- "description": "Generate the final Azure Active Directory application manifest used to update Azure Active Directory application to this path."
268
+ "description": "Generate the final Microsoft Entra application manifest used to update Microsoft Entra application to this path."
268
269
  }
269
270
  }
270
271
  }
@@ -914,7 +915,7 @@
914
915
  "botAadAppCreate": {
915
916
  "type": "object",
916
917
  "additionalProperties": false,
917
- "description": "Create a new or reuse an existing Azure Active Directory application for bot. Refer to https://aka.ms/teamsfx-actions/botaadapp-create for more details.",
918
+ "description": "Create a new or reuse an existing Microsoft Entra application for bot. Refer to https://aka.ms/teamsfx-actions/botaadapp-create for more details.",
918
919
  "required": ["uses", "with", "writeToEnvironmentFile"],
919
920
  "properties": {
920
921
  "name": {
@@ -930,7 +931,7 @@
930
931
  },
931
932
  "uses": {
932
933
  "type": "string",
933
- "description": "Create a new or reuse an existing Azure Active Directory application for bot. Refer to https://aka.ms/teamsfx-actions/botaadapp-create for more details.",
934
+ "description": "Create a new or reuse an existing Microsoft Entra application for bot. Refer to https://aka.ms/teamsfx-actions/botaadapp-create for more details.",
934
935
  "const": "botAadApp/create"
935
936
  },
936
937
  "with": {
@@ -941,7 +942,7 @@
941
942
  "properties": {
942
943
  "name": {
943
944
  "type": "string",
944
- "description": "The user-facing display name for this Azure Active Directory application"
945
+ "description": "The user-facing display name for this Microsoft Entra application"
945
946
  }
946
947
  }
947
948
  },
@@ -952,11 +953,11 @@
952
953
  "required": ["botId", "botPassword"],
953
954
  "properties": {
954
955
  "botId": {
955
- "description": "Required. Client (application) id of the Azure Active Directory application created for bot.",
956
+ "description": "Required. Client (application) id of the Microsoft Entra application created for bot.",
956
957
  "$ref": "#/definitions/envVarName"
957
958
  },
958
959
  "botPassword": {
959
- "description": "Required. Client secret of the Azure Active Directory application created for bot.",
960
+ "description": "Required. Client secret of the Microsoft Entra application created for bot.",
960
961
  "$ref": "#/definitions/secretEnvVarName"
961
962
  }
962
963
  }
@@ -993,7 +994,7 @@
993
994
  "properties": {
994
995
  "botId": {
995
996
  "type": "string",
996
- "description": "the AAD app client id of the bot"
997
+ "description": "the Microsoft Entra app client id of the bot"
997
998
  },
998
999
  "name": {
999
1000
  "type": "string",
@@ -1221,10 +1222,7 @@
1221
1222
  "type": "object",
1222
1223
  "description": "Install Teams App Test Tool. This will output environment variables specified by `testToolPath` to current environment's .env file.",
1223
1224
  "additionalProperties": false,
1224
- "required": [
1225
- "version",
1226
- "symlinkDir"
1227
- ],
1225
+ "required": ["version"],
1228
1226
  "properties": {
1229
1227
  "version": {
1230
1228
  "oneOf": [
@@ -1495,6 +1493,59 @@
1495
1493
  "type": "string",
1496
1494
  "pattern": "^[A-Z][A-Z0-9_]*$",
1497
1495
  "maxLength": 256
1496
+ },
1497
+ "apiKeyCreate": {
1498
+ "type": "object",
1499
+ "additionalProperties": false,
1500
+ "description": "Create an API key.",
1501
+ "required": ["uses", "with", "writeToEnvironmentFile"],
1502
+ "properties": {
1503
+ "uses": {
1504
+ "type": "string",
1505
+ "description": "Create API key. Refer to https://aka.ms/teamsfx-actions/apiKey-create for more details.",
1506
+ "const": "apiKey/create"
1507
+ },
1508
+ "with": {
1509
+ "type": "object",
1510
+ "additionalProperties": false,
1511
+ "description": "Parameters for this action",
1512
+ "required": ["name", "appId", "apiSpecPath"],
1513
+ "properties": {
1514
+ "name": {
1515
+ "type": "string",
1516
+ "description": "The name of API key."
1517
+ },
1518
+ "appId": {
1519
+ "type": "string",
1520
+ "description": "The app ID of Teams app."
1521
+ },
1522
+ "clientSecret": {
1523
+ "type": "string",
1524
+ "description": "Client secret of API key. Client secret should follow: 1. Max %d secrets per API key. 2. Use comma to separate secrets. 3. Length of every secret >= 10 and <= 128"
1525
+ },
1526
+ "apiSpecPath": {
1527
+ "type": "string",
1528
+ "description": "The path of API specification file."
1529
+ },
1530
+ "domain": {
1531
+ "type": "string",
1532
+ "description": "The domain of API key. Domain for API key should follow: 1. Max %d domain per API key. 2. Use comma to separate domains."
1533
+ }
1534
+ }
1535
+ },
1536
+ "writeToEnvironmentFile": {
1537
+ "type": "object",
1538
+ "additionalProperties": false,
1539
+ "description": "Write environment variables to environment file",
1540
+ "required": ["registrationId"],
1541
+ "properties": {
1542
+ "registrationId": {
1543
+ "description": "Required. The registration id of created API key.",
1544
+ "$ref": "#/definitions/envVarName"
1545
+ }
1546
+ }
1547
+ }
1548
+ }
1498
1549
  }
1499
1550
  }
1500
1551
  }
@@ -5,11 +5,11 @@ version: 1.1.0
5
5
 
6
6
  provision:
7
7
  {{#if activePlugins.fx-resource-aad-app-for-teams}}
8
- - uses: aadApp/create # Creates a new Azure Active Directory (AAD) app to authenticate users if the environment variable that stores clientId is empty
8
+ - uses: aadApp/create # Creates a new Microsoft Entra app to authenticate users if the environment variable that stores clientId is empty
9
9
  with:
10
- name: {{aadAppName}} # Note: when you run aadApp/update, the AAD app name will be updated based on the definition in manifest. If you don't want to change the name, make sure the name in AAD manifest is the same with the name defined here.
10
+ name: {{aadAppName}} # Note: when you run aadApp/update, the Microsoft Entra app name will be updated based on the definition in manifest. If you don't want to change the name, make sure the name in Microsoft Entra manifest is the same with the name defined here.
11
11
  generateClientSecret: true # If the value is false, the action will not generate client secret for you
12
- signInAudience: "AzureADMyOrg" # Authenticate users with a Microsoft work or school account in your organization's Azure AD tenant (for example, single tenant).
12
+ signInAudience: "AzureADMyOrg" # Authenticate users with a Microsoft work or school account in your organization's Microsoft Entra tenant (for example, single tenant).
13
13
  writeToEnvironmentFile: # Write the information of created resources into environment file for the specified environment variable(s).
14
14
  clientId: AAD_APP_CLIENT_ID
15
15
  clientSecret: SECRET_AAD_APP_CLIENT_SECRET # Environment variable that starts with `SECRET_` will be stored to the .env.{envName}.user environment file
@@ -25,7 +25,7 @@ provision:
25
25
  # Write the information of created resources into environment file for the specified environment variable(s).
26
26
  teamsAppId: TEAMS_APP_ID
27
27
  {{#if activePlugins.fx-resource-bot}}
28
- - uses: botAadApp/create # Creates a new AAD app for Bot Registration.
28
+ - uses: botAadApp/create # Creates a new Microsoft Entra app for Bot Registration.
29
29
  with:
30
30
  name: {{appName}}
31
31
  writeToEnvironmentFile:
@@ -78,9 +78,9 @@ provision:
78
78
  run: echo "::set-teamsfx-env {{placeholderMappings.botDomain}}=$\{{BOT_DOMAIN}}"
79
79
  {{/if}}
80
80
  {{#if activePlugins.fx-resource-aad-app-for-teams}}
81
- - uses: aadApp/update # Apply the AAD manifest to an existing AAD app. Will use the object id in manifest file to determine which AAD app to update.
81
+ - uses: aadApp/update # Apply the Microsoft Entra manifest to an existing Microsoft Entra app. Will use the object id in manifest file to determine which Microsoft Entra app to update.
82
82
  with:
83
- manifestPath: ./aad.manifest.json # Relative path to this file. Environment variables in manifest will be replaced before apply to AAD app
83
+ manifestPath: ./aad.manifest.json # Relative path to this file. Environment variables in manifest will be replaced before apply to Microsoft Entra app
84
84
  outputFilePath : ./build/aad.manifest.$\{{TEAMSFX_ENV}}.json
85
85
  {{/if}}
86
86
  - uses: teamsApp/validateManifest # Validate using manifest schema
@@ -9,11 +9,11 @@ environmentFolderPath: ./ {{~environmentFolder}}
9
9
 
10
10
  provision:
11
11
  {{#if activePlugins.fx-resource-aad-app-for-teams}}
12
- - uses: aadApp/create # Creates a new Azure Active Directory (AAD) app to authenticate users if the environment variable that stores clientId is empty
12
+ - uses: aadApp/create # Creates a new Microsoft Entra app to authenticate users if the environment variable that stores clientId is empty
13
13
  with:
14
- name: {{aadAppName}} # Note: when you run aadApp/update, the AAD app name will be updated based on the definition in manifest. If you don't want to change the name, make sure the name in AAD manifest is the same with the name defined here.
14
+ name: {{aadAppName}} # Note: when you run aadApp/update, the Microsoft Entra app name will be updated based on the definition in manifest. If you don't want to change the name, make sure the name in Microsoft Entra manifest is the same with the name defined here.
15
15
  generateClientSecret: true # If the value is false, the action will not generate client secret for you
16
- signInAudience: "AzureADMyOrg" # Authenticate users with a Microsoft work or school account in your organization's Azure AD tenant (for example, single tenant).
16
+ signInAudience: "AzureADMyOrg" # Authenticate users with a Microsoft work or school account in your organization's Microsoft Entra tenant (for example, single tenant).
17
17
  writeToEnvironmentFile: # Write the information of created resources into environment file for the specified environment variable(s).
18
18
  clientId: AAD_APP_CLIENT_ID
19
19
  clientSecret: SECRET_AAD_APP_CLIENT_SECRET # Environment variable that starts with `SECRET_` will be stored to the .env.{envName}.user environment file
@@ -29,7 +29,7 @@ provision:
29
29
  # Write the information of created resources into environment file for the specified environment variable(s).
30
30
  teamsAppId: TEAMS_APP_ID
31
31
  {{#if activePlugins.fx-resource-bot}}
32
- - uses: botAadApp/create # Creates a new AAD app for Bot Registration.
32
+ - uses: botAadApp/create # Creates a new Microsoft Entra app for Bot Registration.
33
33
  with:
34
34
  name: {{appName}}bt$\{{RESOURCE_SUFFIX}}
35
35
  writeToEnvironmentFile:
@@ -51,9 +51,9 @@ provision:
51
51
  run: echo "::set-teamsfx-env {{placeholderMappings.[state.fx-resource-frontend-hosting.indexPath]}}=/" # Used in appPackage/manifest.json file.
52
52
  {{/if}}
53
53
  {{#if activePlugins.fx-resource-aad-app-for-teams}}
54
- - uses: aadApp/update # Apply the AAD manifest to an existing AAD app. Will use the object id in manifest file to determine which AAD app to update.
54
+ - uses: aadApp/update # Apply the Microsoft Entra manifest to an existing Microsoft Entra app. Will use the object id in manifest file to determine which Microsoft Entra app to update.
55
55
  with:
56
- manifestPath: ./aad.manifest.json # Relative path to this file. Environment variables in manifest will be replaced before apply to AAD app
56
+ manifestPath: ./aad.manifest.json # Relative path to this file. Environment variables in manifest will be replaced before apply to Microsoft Entra app
57
57
  outputFilePath : ./build/aad.manifest.$\{{TEAMSFX_ENV}}.json
58
58
  {{/if}}
59
59
  - uses: teamsApp/validateManifest # Validate using manifest schema