@pnp/cli-microsoft365 6.0.0-beta.8352f49 → 6.0.0-beta.fe4e66d

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 (71) hide show
  1. package/dist/Auth.js +2 -2
  2. package/dist/Command.js +22 -0
  3. package/dist/m365/base/PowerAppsCommand.js +10 -0
  4. package/dist/m365/pa/commands/app/app-get.js +3 -5
  5. package/dist/m365/pa/commands/app/app-list.js +10 -9
  6. package/dist/m365/pa/commands/app/app-remove.js +3 -3
  7. package/dist/m365/pa/commands/connector/connector-export.js +3 -3
  8. package/dist/m365/pa/commands/connector/connector-list.js +10 -9
  9. package/dist/m365/pa/commands/environment/environment-get.js +3 -3
  10. package/dist/m365/pa/commands/environment/environment-list.js +4 -4
  11. package/dist/m365/planner/commands/bucket/bucket-add.js +17 -9
  12. package/dist/m365/planner/commands/bucket/bucket-get.js +19 -11
  13. package/dist/m365/planner/commands/bucket/bucket-list.js +17 -9
  14. package/dist/m365/planner/commands/bucket/bucket-remove.js +19 -11
  15. package/dist/m365/planner/commands/bucket/bucket-set.js +19 -11
  16. package/dist/m365/planner/commands/plan/plan-add.js +98 -5
  17. package/dist/m365/planner/commands/plan/plan-get.js +1 -1
  18. package/dist/m365/planner/commands/plan/plan-remove.js +1 -1
  19. package/dist/m365/planner/commands/task/task-add.js +16 -16
  20. package/dist/m365/planner/commands/task/task-get.js +14 -9
  21. package/dist/m365/planner/commands/task/task-list.js +19 -11
  22. package/dist/m365/planner/commands/task/task-reference-add.js +1 -7
  23. package/dist/m365/planner/commands/task/task-reference-remove.js +11 -14
  24. package/dist/m365/planner/commands/task/task-remove.js +4 -19
  25. package/dist/m365/planner/commands/task/task-set.js +17 -23
  26. package/dist/m365/search/commands/externalconnection/externalconnection-get.js +69 -0
  27. package/dist/m365/search/commands.js +1 -0
  28. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015008_FILE_eslintrc_js.js +7 -0
  29. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.15.0.js +6 -4
  30. package/dist/m365/spo/base-permissions.js +9 -0
  31. package/dist/m365/spo/commands/field/field-set.js +16 -9
  32. package/dist/m365/spo/commands/group/group-add.js +96 -0
  33. package/dist/m365/spo/commands/group/group-set.js +167 -0
  34. package/dist/m365/spo/commands/hubsite/hubsite-get.js +99 -13
  35. package/dist/m365/spo/commands/listitem/listitem-get.js +9 -9
  36. package/dist/m365/spo/commands/listitem/listitem-list.js +5 -1
  37. package/dist/m365/spo/commands/roledefinition/RoleDefinition.js +3 -0
  38. package/dist/m365/spo/commands/roledefinition/RoleType.js +16 -0
  39. package/dist/m365/spo/commands/roledefinition/roledefinition-get.js +59 -0
  40. package/dist/m365/spo/commands.js +3 -0
  41. package/dist/m365/teams/commands/team/team-archive.js +51 -15
  42. package/dist/m365/teams/commands/team/team-remove.js +47 -11
  43. package/dist/m365/teams/commands/team/team-unarchive.js +48 -12
  44. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-health-get.js +1 -9
  45. package/dist/utils/accessToken.js +18 -0
  46. package/dist/utils/planner.js +6 -6
  47. package/dist/utils/validation.js +5 -1
  48. package/docs/docs/cmd/aad/user/user-get.md +12 -0
  49. package/docs/docs/cmd/planner/bucket/bucket-add.md +9 -6
  50. package/docs/docs/cmd/planner/bucket/bucket-get.md +10 -7
  51. package/docs/docs/cmd/planner/bucket/bucket-list.md +8 -5
  52. package/docs/docs/cmd/planner/bucket/bucket-remove.md +8 -5
  53. package/docs/docs/cmd/planner/bucket/bucket-set.md +9 -6
  54. package/docs/docs/cmd/planner/plan/plan-add.md +18 -2
  55. package/docs/docs/cmd/planner/plan/plan-remove.md +1 -1
  56. package/docs/docs/cmd/planner/task/task-add.md +11 -8
  57. package/docs/docs/cmd/planner/task/task-get.md +17 -8
  58. package/docs/docs/cmd/planner/task/task-list.md +9 -6
  59. package/docs/docs/cmd/planner/task/task-set.md +9 -6
  60. package/docs/docs/cmd/search/externalconnection/externalconnection-get.md +33 -0
  61. package/docs/docs/cmd/spo/field/field-set.md +7 -4
  62. package/docs/docs/cmd/spo/group/group-add.md +51 -0
  63. package/docs/docs/cmd/spo/group/group-set.md +69 -0
  64. package/docs/docs/cmd/spo/hubsite/hubsite-get.md +39 -7
  65. package/docs/docs/cmd/spo/listitem/listitem-get.md +11 -2
  66. package/docs/docs/cmd/spo/listitem/listitem-list.md +8 -0
  67. package/docs/docs/cmd/spo/roledefinition/roledefinition-get.md +27 -0
  68. package/docs/docs/cmd/teams/team/team-archive.md +20 -5
  69. package/docs/docs/cmd/teams/team/team-remove.md +19 -5
  70. package/docs/docs/cmd/teams/team/team-unarchive.md +18 -4
  71. package/package.json +1 -1
@@ -10,8 +10,14 @@ m365 teams team unarchive [options]
10
10
 
11
11
  ## Options
12
12
 
13
- `-i, --teamId <teamId>`
14
- : The ID of the Microsoft Teams team to restore
13
+ `-i, --id [id]`
14
+ : The ID of the Microsoft Teams team to restore. Specify either id or name but not both
15
+
16
+ `-n, --name [name]`
17
+ : The display name of the Microsoft Teams team to restore. Specify either id or name but not both
18
+
19
+ `--teamId [teamId]`
20
+ : (deprecated. Use `id` instead) The ID of the Microsoft Teams team to restore
15
21
 
16
22
  --8<-- "docs/cmd/_global.md"
17
23
 
@@ -19,12 +25,20 @@ m365 teams team unarchive [options]
19
25
 
20
26
  This command supports admin permissions. Global admins and Microsoft Teams service admins can restore teams that they are not a member of.
21
27
 
28
+ If the command finds multiple Microsoft Teams teams with the specified name, it will prompt you to disambiguate which team it should use, listing the discovered team IDs.
29
+
22
30
  This command restores users' ability to send messages and edit the team, abiding by tenant and team settings.
23
31
 
24
32
  ## Examples
25
33
 
26
- Restore an archived Microsoft Teams team
34
+ Restore an archived Microsoft Teams team with id _6f6fd3f7-9ba5-4488-bbe6-a789004d0d55_
35
+
36
+ ```sh
37
+ m365 teams team unarchive --id 6f6fd3f7-9ba5-4488-bbe6-a789004d0d55
38
+ ```
39
+
40
+ Restore an archived Microsoft Teams team with name _Team Name_
27
41
 
28
42
  ```sh
29
- m365 teams team unarchive --teamId 6f6fd3f7-9ba5-4488-bbe6-a789004d0d55
43
+ m365 teams team unarchive --name "Team Name"
30
44
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnp/cli-microsoft365",
3
- "version": "6.0.0-beta.8352f49",
3
+ "version": "6.0.0-beta.fe4e66d",
4
4
  "description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
5
5
  "license": "MIT",
6
6
  "main": "./dist/api.js",