@pnp/cli-microsoft365 5.1.0-beta.55e5dfb → 5.1.0-beta.94e050c

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 (231) hide show
  1. package/.eslintrc.js +2 -0
  2. package/Dockerfile +7 -4
  3. package/dist/Auth.js +10 -0
  4. package/dist/Command.js +3 -0
  5. package/dist/cli/Cli.js +13 -0
  6. package/dist/cli/index.js +5 -1
  7. package/dist/m365/aad/commands/app/app-add.js +68 -10
  8. package/dist/m365/aad/commands/app/{app-delete.js → app-remove.js} +9 -5
  9. package/dist/m365/aad/commands/app/{app-role-delete.js → app-role-remove.js} +11 -7
  10. package/dist/m365/aad/commands/o365group/o365group-add.js +39 -1
  11. package/dist/m365/aad/commands/o365group/o365group-conversation-post-list.js +87 -0
  12. package/dist/m365/aad/commands.js +4 -1
  13. package/dist/m365/app/commands/app-get.js +30 -0
  14. package/dist/m365/app/commands.js +1 -0
  15. package/dist/m365/base/PowerPlatformCommand.js +10 -0
  16. package/dist/m365/cli/commands/config/config-set.js +3 -2
  17. package/dist/m365/pp/commands/managementapp/managementapp-add.js +98 -0
  18. package/dist/m365/pp/commands.js +7 -0
  19. package/dist/m365/spfx/commands/project/{project-upgrade/rules/JsonRule.js → JsonRule.js} +0 -0
  20. package/dist/m365/spfx/commands/project/{project-upgrade/rules/Rule.js → Rule.js} +0 -0
  21. package/dist/m365/spfx/commands/project/base-project-command.js +3 -3
  22. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.0.0.js +9 -0
  23. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.0.1.js +9 -0
  24. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.0.2.js +9 -0
  25. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.1.0.js +17 -0
  26. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.1.1.js +17 -0
  27. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.1.3.js +17 -0
  28. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.10.0.js +23 -0
  29. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.11.0.js +23 -0
  30. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.12.0.js +23 -0
  31. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.12.1.js +23 -0
  32. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.13.0.js +23 -0
  33. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.13.1.js +23 -0
  34. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.14.0.js +23 -0
  35. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.2.0.js +17 -0
  36. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.3.0.js +17 -0
  37. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.3.1.js +17 -0
  38. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.3.2.js +17 -0
  39. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.3.4.js +19 -0
  40. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.4.0.js +19 -0
  41. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.4.1.js +19 -0
  42. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.5.0.js +19 -0
  43. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.5.1.js +19 -0
  44. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.6.0.js +19 -0
  45. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.7.0.js +19 -0
  46. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.7.1.js +19 -0
  47. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.8.0.js +21 -0
  48. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.8.1.js +21 -0
  49. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.8.2.js +23 -0
  50. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.9.1.js +23 -0
  51. package/dist/m365/spfx/commands/project/project-doctor/generic-rules.js +30 -0
  52. package/dist/m365/spfx/commands/project/project-doctor/rules/DependencyRule.js +76 -0
  53. package/dist/m365/spfx/commands/project/project-doctor/rules/FN001008_DEP_react.js +18 -0
  54. package/dist/m365/spfx/commands/project/project-doctor/rules/FN001009_DEP_react_dom.js +18 -0
  55. package/dist/m365/spfx/commands/project/project-doctor/rules/FN001022_DEP_office_ui_fabric_react.js +18 -0
  56. package/dist/m365/spfx/commands/project/project-doctor/rules/FN002004_DEVDEP_gulp.js +17 -0
  57. package/dist/m365/spfx/commands/project/project-doctor/rules/FN002007_DEVDEP_ajv.js +17 -0
  58. package/dist/m365/spfx/commands/project/project-doctor/rules/FN002013_DEVDEP_types_webpack_env.js +14 -0
  59. package/dist/m365/spfx/commands/project/project-doctor/rules/FN002015_DEVDEP_types_react.js +18 -0
  60. package/dist/m365/spfx/commands/project/project-doctor/rules/FN002016_DEVDEP_types_react_dom.js +18 -0
  61. package/dist/m365/spfx/commands/project/project-doctor/rules/FN002019_DEVDEP_microsoft_rush_stack_compiler.js +68 -0
  62. package/dist/m365/spfx/commands/project/project-doctor/rules/FN021001_PKG_spfx_deps_versions_match_project_version.js +74 -0
  63. package/dist/m365/spfx/commands/project/project-doctor/rules/FN021002_PKG_spfx_deps_use_exact_version.js +71 -0
  64. package/dist/m365/spfx/commands/project/project-doctor/rules/FN021003_PKG_spfx_deps_installed_as_deps.js +46 -0
  65. package/dist/m365/spfx/commands/project/project-doctor/rules/FN021004_PKG_spfx_devdeps_installed_as_devdeps.js +46 -0
  66. package/dist/m365/spfx/commands/project/project-doctor/rules/FN021005_PKG_types_installed_as_devdep.js +45 -0
  67. package/dist/m365/spfx/commands/project/project-doctor/rules/FN021006_PKG_rush_stack_compiler_installed_as_devdep.js +45 -0
  68. package/dist/m365/spfx/commands/project/project-doctor/rules/FN021007_PKG_only_one_rush_stack_compiler_installed.js +69 -0
  69. package/dist/m365/spfx/commands/project/project-doctor/rules/FN021008_PKG_no_duplicate_deps.js +59 -0
  70. package/dist/m365/spfx/commands/project/project-doctor/rules/FN021009_PKG_no_duplicate_oui_deps.js +57 -0
  71. package/dist/m365/spfx/commands/project/project-doctor/rules/FN021010_PKG_gulp_installed_as_devdep.js +45 -0
  72. package/dist/m365/spfx/commands/project/project-doctor/rules/FN021011_PKG_ajv_installed_as_devdep.js +45 -0
  73. package/dist/m365/spfx/commands/project/project-doctor/rules/FN021012_PKG_no_duplicate_pnpjs_deps.js +57 -0
  74. package/dist/m365/spfx/commands/project/project-doctor/spfx-deps.js +29 -0
  75. package/dist/m365/spfx/commands/project/project-doctor.js +341 -0
  76. package/dist/m365/spfx/commands/project/project-externalize/index.js +5 -1
  77. package/dist/m365/spfx/commands/project/project-externalize/rules/DynamicRule.js +3 -2
  78. package/dist/m365/spfx/commands/project/project-externalize/rules/PnPJsRule.js +2 -1
  79. package/dist/m365/spfx/commands/project/project-externalize/rules/index.js +5 -1
  80. package/dist/m365/spfx/commands/project/{model → project-model}/ConfigJson.js +0 -0
  81. package/dist/m365/spfx/commands/project/{model → project-model}/CopyAssetsJson.js +0 -0
  82. package/dist/m365/spfx/commands/project/{model → project-model}/DeployAzureStorageJson.js +0 -0
  83. package/dist/m365/spfx/commands/project/{model → project-model}/Gitignore.js +0 -0
  84. package/dist/m365/spfx/commands/project/{model → project-model}/GulpfileJs.js +0 -0
  85. package/dist/m365/spfx/commands/project/{model → project-model}/JsonFile.js +0 -0
  86. package/dist/m365/spfx/commands/project/{model → project-model}/Manifest.js +0 -0
  87. package/dist/m365/spfx/commands/project/{model → project-model}/Npmignore.js +0 -0
  88. package/dist/m365/spfx/commands/project/{model → project-model}/PackageJson.js +0 -0
  89. package/dist/m365/spfx/commands/project/{model → project-model}/PackageSolutionJson.js +0 -0
  90. package/dist/m365/spfx/commands/project/{model → project-model}/Project.js +0 -0
  91. package/dist/m365/spfx/commands/project/{model → project-model}/ScssFile.js +0 -0
  92. package/dist/m365/spfx/commands/project/{model → project-model}/ServeJson.js +0 -0
  93. package/dist/m365/spfx/commands/project/{model → project-model}/TsConfigJson.js +0 -0
  94. package/dist/m365/spfx/commands/project/{model → project-model}/TsFile.js +0 -0
  95. package/dist/m365/spfx/commands/project/{model → project-model}/TsLintJson.js +0 -0
  96. package/dist/m365/spfx/commands/project/{model → project-model}/VsCode.js +0 -0
  97. package/dist/m365/spfx/commands/project/{model → project-model}/VsCodeExtensionsJson.js +0 -0
  98. package/dist/m365/spfx/commands/project/{model → project-model}/VsCodeLaunchJson.js +0 -0
  99. package/dist/m365/spfx/commands/project/{model → project-model}/VsCodeSettingsJson.js +0 -0
  100. package/dist/m365/spfx/commands/project/{model → project-model}/WriteManifestsJson.js +0 -0
  101. package/dist/m365/spfx/commands/project/{model → project-model}/YoRcJson.js +0 -0
  102. package/dist/m365/spfx/commands/project/{model → project-model}/index.js +7 -2
  103. package/dist/m365/spfx/commands/project/project-upgrade/rules/DependencyRule.js +1 -1
  104. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001021_DEP_microsoft_sp_property_pane.js +1 -0
  105. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001033_DEP_tslib.js +14 -0
  106. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN003001_CFG_schema.js +1 -1
  107. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN003002_CFG_version.js +1 -1
  108. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN003003_CFG_bundles.js +1 -1
  109. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN003004_CFG_entries.js +1 -1
  110. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN003005_CFG_localizedResource_pathLib.js +1 -1
  111. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN004001_CFG_CA_schema.js +1 -1
  112. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN004002_CFG_CA_deployCdnPath.js +1 -1
  113. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN005001_CFG_DAS_schema.js +1 -1
  114. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN005002_CFG_DAS_workingDir.js +1 -1
  115. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN006001_CFG_PS_schema.js +1 -1
  116. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN006002_CFG_PS_includeClientSideAssets.js +1 -1
  117. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN006003_CFG_PS_isDomainIsolated.js +1 -1
  118. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN006004_CFG_PS_developer.js +1 -1
  119. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN006005_CFG_PS_metadata.js +1 -1
  120. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN006006_CFG_PS_features.js +1 -1
  121. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN007001_CFG_S_schema.js +1 -1
  122. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN007002_CFG_S_initialPage.js +1 -1
  123. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN007003_CFG_S_api.js +1 -1
  124. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN008001_CFG_TSL_schema.js +1 -1
  125. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN008002_CFG_TSL_removeRule.js +1 -1
  126. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN008003_CFG_TSL_preferConst.js +1 -1
  127. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN009001_CFG_WM_schema.js +1 -1
  128. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010001_YORC_version.js +1 -1
  129. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010002_YORC_isCreatingSolution.js +1 -1
  130. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010003_YORC_packageManager.js +1 -1
  131. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010004_YORC_componentType.js +1 -1
  132. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010005_YORC_environment.js +1 -1
  133. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010006_YORC_framework.js +1 -1
  134. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010007_YORC_isDomainIsolated.js +1 -1
  135. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012001_TSC_module.js +1 -1
  136. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012002_TSC_moduleResolution.js +1 -1
  137. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012003_TSC_skipLibCheck.js +1 -1
  138. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012004_TSC_typeRoots_types.js +1 -1
  139. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012005_TSC_typeRoots_microsoft.js +1 -1
  140. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012006_TSC_types_es6_collections.js +1 -1
  141. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012007_TSC_lib_es5.js +1 -1
  142. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012008_TSC_lib_dom.js +1 -1
  143. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012009_TSC_lib_es2015_collection.js +1 -1
  144. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012010_TSC_experimentalDecorators.js +1 -1
  145. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012011_TSC_outDir.js +1 -1
  146. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012012_TSC_include.js +1 -1
  147. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012013_TSC_exclude.js +1 -1
  148. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012014_TSC_inlineSources.js +1 -1
  149. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012015_TSC_strictNullChecks.js +1 -1
  150. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012016_TSC_noUnusedLocals.js +1 -1
  151. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012017_TSC_extends.js +1 -1
  152. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012018_TSC_lib_es2015_promise.js +1 -1
  153. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012019_TSC_types_es6_promise.js +1 -1
  154. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN013001_GULP_msGridSassSuppression.js +1 -1
  155. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN013002_GULP_serveTask.js +1 -1
  156. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN014001_CODE_settings_jsonSchemas.js +1 -1
  157. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN014002_CODE_extensions.js +1 -1
  158. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN014003_CODE_launch.js +1 -1
  159. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN014004_CODE_settings_jsonSchemas_configJson_url.js +1 -1
  160. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN014005_CODE_settingsfile.js +1 -1
  161. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN014006_CODE_launch_sourceMapPathOverrides.js +1 -1
  162. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN014007_CODE_launch_localWorkbench.js +1 -1
  163. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN014008_CODE_launch_hostedWorkbench_type.js +1 -1
  164. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN017001_MISC_npm_dedupe.js +1 -1
  165. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN018001_TEAMS_folder.js +1 -1
  166. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN018002_TEAMS_manifest.js +1 -1
  167. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN018003_TEAMS_tab20x20_png.js +1 -1
  168. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN018004_TEAMS_tab96x96_png.js +1 -1
  169. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN018005_TEAMS_deprecated_manifest.js +1 -1
  170. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN019001_TSL_rulesDirectory.js +1 -1
  171. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN019002_TSL_extends.js +1 -1
  172. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN023001_GITIGNORE_release.js +1 -1
  173. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN023002_GITIGNORE_heft.js +40 -0
  174. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN024001_NPMIGNORE_file.js +1 -1
  175. package/dist/m365/spfx/commands/project/project-upgrade/rules/FileAddRemoveRule.js +1 -1
  176. package/dist/m365/spfx/commands/project/project-upgrade/rules/ManifestRule.js +1 -1
  177. package/dist/m365/spfx/commands/project/project-upgrade/rules/PackageRule.js +1 -1
  178. package/dist/m365/spfx/commands/project/project-upgrade/rules/ResolutionRule.js +1 -1
  179. package/dist/m365/spfx/commands/project/project-upgrade/rules/ScssRule.js +1 -1
  180. package/dist/m365/spfx/commands/project/project-upgrade/rules/TsRule.js +1 -1
  181. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.12.0.js +0 -2
  182. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.15.0-beta.1.js +63 -0
  183. package/dist/m365/spfx/commands/project/project-upgrade.js +61 -172
  184. package/dist/m365/spfx/commands/project/{project-upgrade → report-model}/Finding.js +0 -0
  185. package/dist/m365/spfx/commands/project/{project-upgrade → report-model}/FindingToReport.js +0 -0
  186. package/dist/m365/spfx/commands/project/{project-upgrade → report-model}/FindingTour.js +0 -0
  187. package/dist/m365/spfx/commands/project/{project-upgrade → report-model}/FindingTourStep.js +0 -0
  188. package/dist/m365/spfx/commands/project/{project-upgrade → report-model}/Occurrence.js +0 -0
  189. package/dist/m365/spfx/commands/project/{ReportData.js → report-model/ReportData.js} +0 -0
  190. package/dist/m365/spfx/commands/project/{project-upgrade → report-model}/index.js +7 -4
  191. package/dist/m365/spfx/commands/spfx-doctor.js +6 -0
  192. package/dist/m365/spfx/commands.js +1 -0
  193. package/dist/m365/spo/commands/app/app-teamspackage-download.js +180 -0
  194. package/dist/m365/spo/commands/site/site-recyclebinitem-restore.js +66 -0
  195. package/dist/m365/spo/commands.js +2 -0
  196. package/dist/m365/teams/commands/chat/chat-message-send.js +50 -58
  197. package/dist/m365/tenant/commands.js +1 -6
  198. package/dist/settingsNames.js +1 -0
  199. package/dist/utils/formatting.js +3 -0
  200. package/dist/utils/fsUtil.js +70 -0
  201. package/dist/utils/index.js +7 -1
  202. package/dist/utils/packageManager.js +66 -0
  203. package/dist/utils/spfx.js +6 -5
  204. package/dist/{m365/spfx/commands/project/project-upgrade/Hash.js → utils/types.js} +1 -1
  205. package/docs/docs/cmd/aad/app/{app-delete.md → app-remove.md} +15 -9
  206. package/docs/docs/cmd/aad/app/{app-role-delete.md → app-role-remove.md} +25 -19
  207. package/docs/docs/cmd/aad/o365group/o365group-add.md +42 -6
  208. package/docs/docs/cmd/aad/o365group/o365group-conversation-post-list.md +36 -0
  209. package/docs/docs/cmd/app/app-get.md +36 -0
  210. package/docs/docs/cmd/pp/managementapp/managementapp-add.md +50 -0
  211. package/docs/docs/cmd/spfx/project/project-doctor.md +64 -0
  212. package/docs/docs/cmd/spfx/project/project-upgrade.md +1 -1
  213. package/docs/docs/cmd/spfx/spfx-doctor.md +4 -1
  214. package/docs/docs/cmd/spo/app/app-teamspackage-download.md +56 -0
  215. package/docs/docs/cmd/spo/site/site-recyclebinitem-restore.md +27 -0
  216. package/docs/docs/cmd/teams/chat/chat-message-send.md +4 -4
  217. package/npm-shrinkwrap.json +443 -192
  218. package/package.json +13 -11
  219. package/dist/m365/spfx/commands/project/project-upgrade/DependencyInformation.js +0 -3
  220. package/dist/m365/spfx/commands/project/project-upgrade/Dictionary.js +0 -3
  221. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015006_FILE_editorconfig.js +0 -14
  222. package/dist/m365/tenant/commands/auditlog/auditlog-report.js +0 -231
  223. package/dist/m365/tenant/commands/service/service-list.js +0 -41
  224. package/dist/m365/tenant/commands/service/service-message-list.js +0 -55
  225. package/dist/m365/tenant/commands/service/service-report-historicalservicestatus.js +0 -54
  226. package/dist/m365/tenant/commands/status/status-list.js +0 -55
  227. package/docs/docs/cmd/tenant/auditlog/auditlog-report.md +0 -61
  228. package/docs/docs/cmd/tenant/service/service-list.md +0 -25
  229. package/docs/docs/cmd/tenant/service/service-message-list.md +0 -34
  230. package/docs/docs/cmd/tenant/service/service-report-historicalservicestatus.md +0 -38
  231. package/docs/docs/cmd/tenant/status/status-list.md +0 -34
@@ -3,18 +3,19 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.spfx = void 0;
4
4
  exports.spfx = {
5
5
  isReactProject(project) {
6
+ var _a, _b;
6
7
  return (typeof project.yoRcJson !== 'undefined' &&
7
8
  typeof project.yoRcJson['@microsoft/generator-sharepoint'] !== 'undefined' &&
8
- project.yoRcJson["@microsoft/generator-sharepoint"].framework === 'react') ||
9
- (typeof project.packageJson !== 'undefined' &&
10
- typeof project.packageJson.dependencies['react'] !== 'undefined');
9
+ (project.yoRcJson["@microsoft/generator-sharepoint"].framework === 'react' ||
10
+ project.yoRcJson["@microsoft/generator-sharepoint"].template === 'react')) ||
11
+ typeof ((_b = (_a = project.packageJson) === null || _a === void 0 ? void 0 : _a.dependencies) === null || _b === void 0 ? void 0 : _b['react']) !== 'undefined';
11
12
  },
12
13
  isKnockoutProject(project) {
14
+ var _a, _b;
13
15
  return (typeof project.yoRcJson !== 'undefined' &&
14
16
  typeof project.yoRcJson['@microsoft/generator-sharepoint'] !== 'undefined' &&
15
17
  project.yoRcJson["@microsoft/generator-sharepoint"].framework === 'knockout') ||
16
- (typeof project.packageJson !== 'undefined' &&
17
- typeof project.packageJson.dependencies['knockout'] !== 'undefined');
18
+ typeof ((_b = (_a = project.packageJson) === null || _a === void 0 ? void 0 : _a.dependencies) === null || _b === void 0 ? void 0 : _b['knockout']) !== 'undefined';
18
19
  }
19
20
  };
20
21
  //# sourceMappingURL=spfx.js.map
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Hash.js.map
3
+ //# sourceMappingURL=types.js.map
@@ -1,9 +1,15 @@
1
- # aad app delete
1
+ # aad app remove
2
2
 
3
3
  Removes an Azure AD app registration
4
4
 
5
5
  ## Usage
6
6
 
7
+ ```sh
8
+ m365 aad app remove [options]
9
+ ```
10
+
11
+ ## Alias
12
+
7
13
  ```sh
8
14
  m365 aad app delete [options]
9
15
  ```
@@ -20,32 +26,32 @@ m365 aad app delete [options]
20
26
  : Name of the Azure AD application registration to remove. Specify either `appId`, `objectId` or `name`
21
27
 
22
28
  `--confirm`:
23
- : Don't prompt for confirmation to delete the app
29
+ : Don't prompt for confirmation to remove the app
24
30
 
25
31
  --8<-- "docs/cmd/_global.md"
26
32
 
27
33
  ## Remarks
28
34
 
29
- For best performance use the `objectId` option to reference the Azure AD application registration to delete. If you use `appId` or `name`, this command will first need to find the corresponding object ID for that application.
35
+ For best performance use the `objectId` option to reference the Azure AD application registration to remove. If you use `appId` or `name`, this command will first need to find the corresponding object ID for that application.
30
36
 
31
37
  If the command finds multiple Azure AD application registrations with the specified app name, it will prompt you to disambiguate which app it should use, listing the discovered object IDs.
32
38
 
33
39
  ## Examples
34
40
 
35
- Delete the Azure AD application registration by its app (client) ID
41
+ Remove the Azure AD application registration by its app (client) ID
36
42
 
37
43
  ```sh
38
- m365 aad app delete --appId d75be2e1-0204-4f95-857d-51a37cf40be8
44
+ m365 aad app remove --appId d75be2e1-0204-4f95-857d-51a37cf40be8
39
45
  ```
40
46
 
41
- Delete the Azure AD application registration by its object ID
47
+ Remove the Azure AD application registration by its object ID
42
48
 
43
49
  ```sh
44
- m365 aad app delete --objectId d75be2e1-0204-4f95-857d-51a37cf40be8
50
+ m365 aad app remove --objectId d75be2e1-0204-4f95-857d-51a37cf40be8
45
51
  ```
46
52
 
47
- Delete the Azure AD application registration by its name. Will NOT prompt for confirmation before deleting.
53
+ Remove the Azure AD application registration by its name. Will NOT prompt for confirmation before deleting.
48
54
 
49
55
  ```sh
50
- m365 aad app delete --name "My app" --confirm
56
+ m365 aad app remove --name "My app" --confirm
51
57
  ```
@@ -1,9 +1,15 @@
1
- # aad app role delete
1
+ # aad app role remove
2
2
 
3
- Deletes role from the specified Azure AD app registration
3
+ Removes role from the specified Azure AD app registration
4
4
 
5
5
  ## Usage
6
6
 
7
+ ```sh
8
+ m365 aad app role remove [options]
9
+ ```
10
+
11
+ ## Alias
12
+
7
13
  ```sh
8
14
  m365 aad app role delete [options]
9
15
  ```
@@ -11,60 +17,60 @@ m365 aad app role delete [options]
11
17
  ## Options
12
18
 
13
19
  `--appId [appId]`
14
- : Application (client) ID of the Azure AD application registration from which role should be deleted. Specify either `appId`, `appObjectId` or `appName`
20
+ : Application (client) ID of the Azure AD application registration from which role should be removed. Specify either `appId`, `appObjectId` or `appName`
15
21
 
16
22
  `--appObjectId [appObjectId]`
17
- : Object ID of the Azure AD application registration from which role should be deleted. Specify either `appId`, `appObjectId` or `appName`
23
+ : Object ID of the Azure AD application registration from which role should be removed. Specify either `appId`, `appObjectId` or `appName`
18
24
 
19
25
  `--appName [appName]`
20
- : Name of the Azure AD application registration from which role should be deleted. Specify either `appId`, `appObjectId` or `appName`
26
+ : Name of the Azure AD application registration from which role should be removed. Specify either `appId`, `appObjectId` or `appName`
21
27
 
22
28
  `-n, --name [name]`
23
- : Name of the role to delete. Specify either `name`, `id` or `claim`
29
+ : Name of the role to remove. Specify either `name`, `id` or `claim`
24
30
 
25
31
  `-i, --id [id]`
26
- : Id of the role to delete. Specify either `name`, `id` or `claim`
32
+ : Id of the role to remove. Specify either `name`, `id` or `claim`
27
33
 
28
34
  `-c, --claim [claim]`
29
- : Claim value of the role to delete. Specify either `name`, `id` or `claim`
35
+ : Claim value of the role to remove. Specify either `name`, `id` or `claim`
30
36
 
31
37
  `--confirm`
32
- : Don't prompt for confirmation to delete the role.
38
+ : Don't prompt for confirmation to remove the role.
33
39
 
34
40
  --8<-- "docs/cmd/_global.md"
35
41
 
36
42
  ## Remarks
37
43
 
38
- For best performance use the `appObjectId` option to reference the Azure AD application registration from which to delete the role. If you use `appId` or `appName`, this command will first need to find the corresponding object ID for that application.
44
+ For best performance use the `appObjectId` option to reference the Azure AD application registration from which to remove the role. If you use `appId` or `appName`, this command will first need to find the corresponding object ID for that application.
39
45
 
40
46
  If the command finds multiple Azure AD application registrations with the specified app name, it will prompt you to disambiguate which app it should use, listing the discovered object IDs.
41
47
 
42
48
  If the command finds multiple roles with the specified role name, it will prompt you to disambiguate which role it should use, listing the claim values.
43
49
 
44
- If the role to be deleted is 'Enabled', this command will disable the role first and then delete.
50
+ If the role to be removed is 'Enabled', this command will disable the role first and then remove.
45
51
 
46
52
  ## Examples
47
53
 
48
- Delete role from a Azure AD application registration using object ID and role name options. Will prompt for confirmation before deleting the role.
54
+ Remove role from a Azure AD application registration using object ID and role name options. Will prompt for confirmation before deleting the role.
49
55
 
50
56
  ```sh
51
- m365 aad app role delete --appObjectId d75be2e1-0204-4f95-857d-51a37cf40be8 --name "Get Product"
57
+ m365 aad app role remove --appObjectId d75be2e1-0204-4f95-857d-51a37cf40be8 --name "Get Product"
52
58
  ```
53
59
 
54
- Delete role from a Azure AD application registration using app (client) ID and role claim options. Will prompt for confirmation before deleting the role.
60
+ Remove role from a Azure AD application registration using app (client) ID and role claim options. Will prompt for confirmation before deleting the role.
55
61
 
56
62
  ```sh
57
- m365 aad app role delete --appId e75be2e1-0204-4f95-857d-51a37cf40be8 --claim "Product.Get"
63
+ m365 aad app role remove --appId e75be2e1-0204-4f95-857d-51a37cf40be8 --claim "Product.Get"
58
64
  ```
59
65
 
60
- Delete role from a Azure AD application registration using app name and role claim options. Will prompt for confirmation before deleting the role.
66
+ Remove role from a Azure AD application registration using app name and role claim options. Will prompt for confirmation before deleting the role.
61
67
 
62
68
  ```sh
63
- m365 aad app role delete --appName "My app" --claim "Product.Get"
69
+ m365 aad app role remove --appName "My app" --claim "Product.Get"
64
70
  ```
65
71
 
66
- Delete role from a Azure AD application registration using object ID and role id options. Will NOT prompt for confirmation before deleting the role.
72
+ Remove role from a Azure AD application registration using object ID and role id options. Will NOT prompt for confirmation before deleting the role.
67
73
 
68
74
  ```sh
69
- m365 aad app role delete --appObjectId d75be2e1-0204-4f95-857d-51a37cf40be8 --id 15927ce6-1933-4b2f-b029-4dee3d53f4dd --confirm
75
+ m365 aad app role remove --appObjectId d75be2e1-0204-4f95-857d-51a37cf40be8 --id 15927ce6-1933-4b2f-b029-4dee3d53f4dd --confirm
70
76
  ```
@@ -1,6 +1,6 @@
1
1
  # aad o365group add
2
2
 
3
- Creates Microsoft 365 Group
3
+ Creates a Microsoft 365 Group
4
4
 
5
5
  ## Usage
6
6
 
@@ -28,6 +28,18 @@ m365 aad o365group add [options]
28
28
  `--isPrivate [isPrivate]`
29
29
  : Set to `true` if the Microsoft 365 Group should be private and to `false` if it should be public (default)
30
30
 
31
+ `--allowMembersToPost [allowMembersToPost]`
32
+ : Set if only group members should be able to post conversations to the group
33
+
34
+ `--hideGroupInOutlook [hideGroupInOutlook]`
35
+ : Set to hide the group in Outlook experiences
36
+
37
+ `--subscribeNewGroupMembers [subscribeNewGroupMembers]`
38
+ : Set to subscribe all new group members to receive group conversation emails when new messages are posted in the group
39
+
40
+ `--welcomeEmailDisabled [welcomeEmailDisabled]`
41
+ : Set to not send welcome emails to new group members
42
+
31
43
  `-l, --logoPath [logoPath]`
32
44
  : Local path to the image file to use as group logo
33
45
 
@@ -43,29 +55,53 @@ If an invalid user is provided in the comma-separated list or Owners or Members,
43
55
  Create a public Microsoft 365 Group
44
56
 
45
57
  ```sh
46
- m365 aad o365group add --displayName Finance --description 'This is the Contoso Finance Group. Please come here and check out the latest news, posts, files, and more.' --mailNickname finance
58
+ m365 aad o365group add --displayName Finance --description "This is the Contoso Finance Group. Please come here and check out the latest news, posts, files, and more." --mailNickname finance
47
59
  ```
48
60
 
49
61
  Create a private Microsoft 365 Group
50
62
 
51
63
  ```sh
52
- m365 aad o365group add --displayName Finance --description 'This is the Contoso Finance Group. Please come here and check out the latest news, posts, files, and more.' --mailNickname finance --isPrivate true
64
+ m365 aad o365group add --displayName Finance --description "This is the Contoso Finance Group. Please come here and check out the latest news, posts, files, and more." --mailNickname finance --isPrivate true
53
65
  ```
54
66
 
55
67
  Create a public Microsoft 365 Group and set specified users as its owners
56
68
 
57
69
  ```sh
58
- m365 aad o365group add --displayName Finance --description 'This is the Contoso Finance Group. Please come here and check out the latest news, posts, files, and more.' --mailNickname finance --owners "DebraB@contoso.onmicrosoft.com,DiegoS@contoso.onmicrosoft.com"
70
+ m365 aad o365group add --displayName Finance --description "This is the Contoso Finance Group. Please come here and check out the latest news, posts, files, and more." --mailNickname finance --owners "DebraB@contoso.onmicrosoft.com,DiegoS@contoso.onmicrosoft.com"
59
71
  ```
60
72
 
61
73
  Create a public Microsoft 365 Group and set specified users as its members
62
74
 
63
75
  ```sh
64
- m365 aad o365group add --displayName Finance --description 'This is the Contoso Finance Group. Please come here and check out the latest news, posts, files, and more.' --mailNickname finance --members "DebraB@contoso.onmicrosoft.com,DiegoS@contoso.onmicrosoft.com"
76
+ m365 aad o365group add --displayName Finance --description "This is the Contoso Finance Group. Please come here and check out the latest news, posts, files, and more." --mailNickname finance --members "DebraB@contoso.onmicrosoft.com,DiegoS@contoso.onmicrosoft.com"
77
+ ```
78
+
79
+ Create a public Microsoft 365 Group and allows only group members to be able to post conversations to the group.
80
+
81
+ ```sh
82
+ m365 aad o365group add --displayName Finance --description "This is the Contoso Finance Group. Please come here and check out the latest news, posts, files, and more." --mailNickname finance --allowMembersToPost
83
+ ```
84
+
85
+ Create a public Microsoft 365 Group and hides it from the Outlook experiences (web and client).
86
+
87
+ ```sh
88
+ m365 aad o365group add --displayName Finance --description "This is the Contoso Finance Group. Please come here and check out the latest news, posts, files, and more." --mailNickname finance --hideGroupInOutlook
89
+ ```
90
+
91
+ Create a public Microsoft 365 Group and subscribe all new group members to receive group conversation emails when new messages are posted in the group.
92
+
93
+ ```sh
94
+ m365 aad o365group add --displayName Finance --description "This is the Contoso Finance Group. Please come here and check out the latest news, posts, files, and more." --mailNickname finance --subscribeNewGroupMembers
95
+ ```
96
+
97
+ Create a public Microsoft 365 Group and set to not send welcome emails to new group members.
98
+
99
+ ```sh
100
+ m365 aad o365group add --displayName Finance --description "This is the Contoso Finance Group. Please come here and check out the latest news, posts, files, and more." --mailNickname finance --welcomeEmailDisabled
65
101
  ```
66
102
 
67
103
  Create a public Microsoft 365 Group and set its logo
68
104
 
69
105
  ```sh
70
- m365 aad o365group add --displayName Finance --description 'This is the Contoso Finance Group. Please come here and check out the latest news, posts, files, and more.' --mailNickname finance --logoPath images/logo.png
106
+ m365 aad o365group add --displayName Finance --description "This is the Contoso Finance Group. Please come here and check out the latest news, posts, files, and more." --mailNickname finance --logoPath images/logo.png
71
107
  ```
@@ -0,0 +1,36 @@
1
+ # aad o365group conversation post list
2
+
3
+ Lists conversation posts of a Microsoft 365 group
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 aad o365group conversation post list [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-i, --groupId [groupId]`
14
+ : The Id of the Office 365 Group. You can specify the groupId or groupDisplayName, but not both.
15
+
16
+ `-d, --groupDisplayName [groupDisplayName]`
17
+ : The Displayname of the Office 365 Group. You can specify the groupId or groupDisplayName, but not both.
18
+
19
+ `-t, --threadId <threadId>`
20
+ : The ID of the thread to retrieve details for
21
+
22
+ --8<-- "docs/cmd/_global.md"
23
+
24
+ ## Examples
25
+
26
+ Lists the posts of the specific conversation of Microsoft 365 group by groupId
27
+
28
+ ```sh
29
+ m365 aad o365group conversation post list --groupId '00000000-0000-0000-0000-000000000000' --threadId 'AAQkADkwN2Q2NDg1LWQ3ZGYtNDViZi1iNGRiLTVhYjJmN2Q5NDkxZQAQAOnRAfDf71lIvrdK85FAn5E='
30
+ ```
31
+
32
+ Lists the posts of the specific conversation of Microsoft 365 group by groupDisplayName
33
+
34
+ ```sh
35
+ m365 aad o365group conversation post list --groupDisplayName 'MyGroup' --threadId 'AAQkADkwN2Q2NDg1LWQ3ZGYtNDViZi1iNGRiLTVhYjJmN2Q5NDkxZQAQAOnRAfDf71lIvrdK85FAn5E='
36
+ ```
@@ -0,0 +1,36 @@
1
+ # app get
2
+
3
+ Retrieves information about the current Azure AD app
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 app get [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `--appId [appId]`
14
+ : Client ID of the Azure AD app registered in the .m365rc.json file to retrieve information for
15
+
16
+ --8<-- "docs/cmd/_global.md"
17
+
18
+ ## Remarks
19
+
20
+ Use this command to quickly look up information for the Azure AD application registration registered in the .m365rc.json file in your current project (folder).
21
+
22
+ If you have multiple apps registered in your .m365rc.json file, you can specify the app for which you'd like to retrieve permissions using the `--appId` option. If you don't specify the app using the `--appId` option, you'll be prompted to select one of the applications from your .m365rc.json file.
23
+
24
+ ## Examples
25
+
26
+ Retrieve information about your current Azure AD app
27
+
28
+ ```sh
29
+ m365 app get
30
+ ```
31
+
32
+ Retrieve information about the Azure AD app with client ID _e23d235c-fcdf-45d1-ac5f-24ab2ee0695d_ specified in the _.m365rc.json_ file
33
+
34
+ ```sh
35
+ m365 app get --appId e23d235c-fcdf-45d1-ac5f-24ab2ee0695d
36
+ ```
@@ -0,0 +1,50 @@
1
+ # pp managementapp add
2
+
3
+ Register management application for Power Platform
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 pp managementapp add [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `--appId [appId]`
14
+ : Application (client) ID of the Azure AD application registration to register as a management app. Specify either `appId`, `objectId` or `name`
15
+
16
+ `--objectId [objectId]`
17
+ : Object ID of the Azure AD application registration to register as a management app. Specify either `appId`, `objectId` or `name`
18
+
19
+ `--name [name]`
20
+ : Name of the Azure AD application registration to register as a management app. Specify either `appId`, `objectId` or `name`
21
+
22
+ --8<-- "docs/cmd/_global.md"
23
+
24
+ ## Remarks
25
+
26
+ To execute this command the first time you'll need sign in using the Microsoft Azure PowerShell app registration. You can do this by executing `m365 login --appId 1950a258-227b-4e31-a9cf-717495945fc2`. To register the Azure AD app registration that CLI for Microsoft 365 uses by default, execute `m365 pp managementapp add--appId 31359c7f-bd7e-475c-86db-fdb8c937548e`.
27
+
28
+ For best performance use the `appId` option to reference the Azure AD application registration to update. If you use `objectId` or `name`, this command will first need to find the corresponding `appId` for that application.
29
+
30
+ If the command finds multiple Azure AD application registrations with the specified app name, it will prompt you to disambiguate which app it should use, listing the discovered object IDs.
31
+
32
+ ## Examples
33
+
34
+ Register CLI for Microsoft 365 as a management application for the Power Platform
35
+
36
+ ```sh
37
+ m365 pp managementapp add --appId 31359c7f-bd7e-475c-86db-fdb8c937548e
38
+ ```
39
+
40
+ Register Azure AD application with the specified object ID as a management application for the Power Platform
41
+
42
+ ```sh
43
+ m365 pp managementapp add --objectId d75be2e1-0204-4f95-857d-51a37cf40be8
44
+ ```
45
+
46
+ Register Azure AD application named _My app_ as a management application for the Power Platform
47
+
48
+ ```sh
49
+ m365 pp managementapp add --name "My app"
50
+ ```
@@ -0,0 +1,64 @@
1
+ # spfx project doctor
2
+
3
+ Validates correctness of a SharePoint Framework project
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 spfx project doctor [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `--packageManager [packageManager]`
14
+ : The package manager you use. Supported managers `npm,pnpm,yarn`. Default `npm`
15
+
16
+ `-h, --help`
17
+ : output usage information
18
+
19
+ `--query [query]`
20
+ : JMESPath query string. See [http://jmespath.org/](http://jmespath.org/) for more information and examples
21
+
22
+ `-o, --output [output]`
23
+ : Output type. `json,text,tour,csv`. Default `json`
24
+
25
+ `--verbose`
26
+ : Runs command with verbose logging
27
+
28
+ `--debug`
29
+ : Runs command with debug logging
30
+
31
+ !!! important
32
+ Run this command in the folder where the project that you want to validate is located. This command doesn't change your project files.
33
+
34
+ ## Remarks
35
+
36
+ The `spfx project doctor` command helps you validate that your SharePoint Framework project is set up correctly. The command automatically detects the version of your project using version information specified in the project's .yo-rc.json file or package.json (if no version information is included in .yo-rc.json). Based on the detected project version, the command executes several checks and reports any issues in the specified format.
37
+
38
+ This command doesn't change your project files. Instead, it gives you a report with all steps necessary to validate your project to the specified version of the SharePoint Framework. Changing project files is error-prone, especially when it comes to updating your solution's code. This is why at this moment, this command produces a report that you can use yourself to perform the necessary updates and verify that everything is working as expected.
39
+
40
+ ## Examples
41
+
42
+ Validate if your project is correctly set up and save the findings in a Markdown file
43
+
44
+ ```sh
45
+ m365 spfx project doctor --output md > "doctor-report.md"
46
+ ```
47
+
48
+ Validate if your project is correctly set up and show the summary of the findings in the terminal
49
+
50
+ ```sh
51
+ m365 spfx project doctor --output text
52
+ ```
53
+
54
+ Validate if your project is correctly set up and get instructions to fix any issues using pnpm
55
+
56
+ ```sh
57
+ m365 spfx project doctor --packageManager pnpm --output text
58
+ ```
59
+
60
+ Validate if your project is correctly set up and get instructions to fix any issues in a [CodeTour](https://aka.ms/codetour) file
61
+
62
+ ```sh
63
+ m365 spfx project doctor --output tour
64
+ ```
@@ -32,7 +32,7 @@ m365 spfx project upgrade [options]
32
32
 
33
33
  ## Remarks
34
34
 
35
- The `spfx project upgrade` command helps you upgrade your SharePoint Framework project to the specified version. If no version is specified, the command will upgrade to the latest version of the SharePoint Framework it supports (v1.14.0).
35
+ The `spfx project upgrade` command helps you upgrade your SharePoint Framework project to the specified version. If no version is specified, the command will upgrade to the latest version of the SharePoint Framework it supports (v1.14.0). If you specify the `preview` option without a specific version, the command will upgrade your project to the latest preview version v1.15.0-beta.1.
36
36
 
37
37
  This command doesn't change your project files. Instead, it gives you a report with all steps necessary to upgrade your project to the specified version of the SharePoint Framework. Changing project files is error-prone, especially when it comes to updating your solution's code. This is why at this moment, this command produces a report that you can use yourself to perform the necessary updates and verify that everything is working as expected.
38
38
 
@@ -20,7 +20,7 @@ m365 spfx doctor [options]
20
20
  : JMESPath query string. See [http://jmespath.org/](http://jmespath.org/) for more information and examples
21
21
 
22
22
  `-o, --output [output]`
23
- : Output type. `json,text,csv,md`. Default `json`
23
+ : Output type. `text`. Default `text`
24
24
 
25
25
  `--verbose`
26
26
  : Runs command with verbose logging
@@ -43,6 +43,9 @@ If you miss any required tools or use a version that doesn't meet the SharePoint
43
43
 
44
44
  Next to verifying the readiness of your environment to use a particular version of the SharePoint Framework, you can also check if the version of the SharePoint Framework that you use is compatible with the specific version of SharePoint. Supported versions are `sp2016`, `sp2019` and `spo`.
45
45
 
46
+ !!! important
47
+ This command supports only text output.
48
+
46
49
  ## Examples
47
50
 
48
51
  Verify if your environment meets the requirements to work with the SharePoint Framework
@@ -0,0 +1,56 @@
1
+ # spo app teamspackage download
2
+
3
+ Downloads Teams app package for an SPFx solution deployed to tenant app catalog
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 spo app teamspackage download [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `--appItemUniqueId [appItemUniqueId]`
14
+ : The unique ID of the SPFx app to download the Teams package for. Specify `appItemUniqueId`, `appItemId` or `appName`
15
+
16
+ `--appItemId [appItemId]`
17
+ : The ID of the list item behind the SPFx app to download the Teams package for. Specify `appItemUniqueId`, `appItemId` or `appName`
18
+
19
+ `--appName [appName]`
20
+ : The name of the sppkg file to download the Teams package for. Specify `appItemUniqueId`, `appItemId` or `appName`
21
+
22
+ `--fileName [fileName]`
23
+ : Name of the file to save the package to. If not specified will use the name of the sppkg file with a `.zip` extension
24
+
25
+ `-u, --appCatalogUrl [appCatalogUrl]`
26
+ : URL of the tenant app catalog. If not specified, the command will try to autodiscover it
27
+
28
+ --8<-- "docs/cmd/_global.md"
29
+
30
+ ## Remarks
31
+
32
+ Download the Teams app package for an SPFx solution works only for solutions deployed to the tenant app catalog.
33
+
34
+ If you try to download Teams app package for an SPFx solution that doesn't support deployment to Teams, you'll get the _Request failed with status code 404_ error.
35
+
36
+ For maximum performance, specify the URL of the tenant app catalog, the item ID (`appItemId`) of the SPFx package for which you want to download the Teams app package and the name of the file where you want to save the downloaded package to (`fileName`).
37
+
38
+ ## Examples
39
+
40
+ Downloads the Teams app package for the SPFx solution deployed to the tenant app catalog with the ID `1` to a file with .zip extension named after the .sppkg file:
41
+
42
+ ```sh
43
+ m365 spo app teamspackage download --appItemId 1
44
+ ```
45
+
46
+ Downloads the Teams app package for the SPFx solution deployed to the tenant app catalog with the unique item ID `335a5612-3e85-462d-9d5b-c014b5abeac5` to the specified file:
47
+
48
+ ```sh
49
+ m365 spo app teamspackage download --appItemUniqueId 335a5612-3e85-462d-9d5b-c014b5abeac5 --fileName my-app.zip
50
+ ```
51
+
52
+ Downloads the Teams app package for the SPFx solution deployed to the specified tenant app catalog:
53
+
54
+ ```sh
55
+ m365 spo app teamspackage download --appName my-app.sppkg --appCatalogUrl https://contoso.sharepoint.com/sites/appcatalog
56
+ ```
@@ -0,0 +1,27 @@
1
+ # spo site recyclebinitem restore
2
+
3
+ Restores given items from the site recycle bin
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 spo site recyclebinitem restore [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-u, --siteUrl <siteUrl>`
14
+ : URL of the site for which to restore the recycle bin items
15
+
16
+ `-i, --ids <ids>`
17
+ : List of ids of items which will be restored from the site recycle bin
18
+
19
+ --8<-- "docs/cmd/_global.md"
20
+
21
+ ## Examples
22
+
23
+ Restore specific items by given ids from recycle bin for site _https://contoso.sharepoint.com/site_
24
+
25
+ ```sh
26
+ m365 spo site recyclebinitem restore --siteUrl https://contoso.sharepoint.com/site --ids "ae6f97a7-280e-48d6-b481-0ea986c323da,aadbf916-1f71-42ee-abf2-8ee4802ae291"
27
+ ```
@@ -33,23 +33,23 @@ A new chat conversation will be created if no existing conversation with the par
33
33
  Send a message to a Microsoft Teams chat conversation by id
34
34
 
35
35
  ```sh
36
- m365 teams chat message send --chatId 19:2da4c29f6d7041eca70b638b43d45437@thread.v2
36
+ m365 teams chat message send --chatId 19:2da4c29f6d7041eca70b638b43d45437@thread.v2 --message "Welcome to Teams"
37
37
  ```
38
38
 
39
39
  Send a message to a single person
40
40
 
41
41
  ```sh
42
- m365 teams chat message send --userEmails alexw@contoso.com
42
+ m365 teams chat message send --userEmails alexw@contoso.com --message "Welcome to Teams"
43
43
  ```
44
44
 
45
45
  Send a message to a group of people
46
46
 
47
47
  ```sh
48
- m365 teams chat message send --userEmails alexw@contoso.com,meganb@contoso.com
48
+ m365 teams chat message send --userEmails alexw@contoso.com,meganb@contoso.com --message "Welcome to Teams"
49
49
  ```
50
50
 
51
51
  Send a message to a chat conversation finding it by display name
52
52
 
53
53
  ```sh
54
- m365 teams chat message send --chatName "Just a conversation"
54
+ m365 teams chat message send --chatName "Just a conversation" --message "Welcome to Teams"
55
55
  ```