@pnp/cli-microsoft365 6.0.0-beta.7d5fdf6 → 6.0.0-beta.b689fd4

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 (54) hide show
  1. package/dist/m365/aad/commands/app/app-remove.js +0 -4
  2. package/dist/m365/aad/commands/app/app-role-remove.js +0 -4
  3. package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-restore.js +60 -9
  4. package/dist/m365/aad/commands.js +0 -2
  5. package/dist/m365/planner/commands/bucket/bucket-add.js +4 -12
  6. package/dist/m365/planner/commands/bucket/bucket-get.js +4 -12
  7. package/dist/m365/planner/commands/bucket/bucket-list.js +4 -12
  8. package/dist/m365/planner/commands/bucket/bucket-remove.js +4 -12
  9. package/dist/m365/planner/commands/bucket/bucket-set.js +4 -12
  10. package/dist/m365/planner/commands/plan/plan-get.js +0 -4
  11. package/dist/m365/planner/commands/task/task-add.js +4 -10
  12. package/dist/m365/planner/commands/task/task-get.js +4 -19
  13. package/dist/m365/planner/commands/task/task-list.js +4 -12
  14. package/dist/m365/planner/commands/task/task-set.js +4 -10
  15. package/dist/m365/planner/commands.js +0 -2
  16. package/dist/m365/spo/commands/customaction/customaction-get.js +32 -4
  17. package/dist/m365/spo/commands/customaction/customaction-remove.js +43 -8
  18. package/dist/m365/spo/commands/list/list-list.js +1 -10
  19. package/dist/m365/spo/commands/listitem/listitem-list.js +4 -25
  20. package/dist/m365/spo/commands/site/site-list.js +47 -16
  21. package/dist/m365/spo/commands/site/site-set.js +322 -162
  22. package/dist/m365/spo/commands/tenant/tenant-appcatalog-add.js +9 -6
  23. package/dist/m365/spo/commands.js +0 -3
  24. package/dist/m365/teams/commands/team/team-clone.js +33 -7
  25. package/dist/m365/teams/commands/team/team-set.js +25 -5
  26. package/docs/docs/cmd/aad/app/app-remove.md +0 -6
  27. package/docs/docs/cmd/aad/app/app-role-remove.md +0 -6
  28. package/docs/docs/cmd/aad/o365group/o365group-recyclebinitem-restore.md +21 -3
  29. package/docs/docs/cmd/planner/bucket/bucket-add.md +0 -3
  30. package/docs/docs/cmd/planner/bucket/bucket-get.md +0 -3
  31. package/docs/docs/cmd/planner/bucket/bucket-list.md +0 -3
  32. package/docs/docs/cmd/planner/bucket/bucket-remove.md +0 -3
  33. package/docs/docs/cmd/planner/bucket/bucket-set.md +0 -3
  34. package/docs/docs/cmd/planner/plan/plan-get.md +0 -6
  35. package/docs/docs/cmd/planner/task/task-add.md +0 -3
  36. package/docs/docs/cmd/planner/task/task-get.md +0 -3
  37. package/docs/docs/cmd/planner/task/task-list.md +0 -3
  38. package/docs/docs/cmd/planner/task/task-set.md +0 -3
  39. package/docs/docs/cmd/spo/customaction/customaction-get.md +15 -2
  40. package/docs/docs/cmd/spo/customaction/customaction-remove.md +33 -2
  41. package/docs/docs/cmd/spo/list/list-list.md +0 -3
  42. package/docs/docs/cmd/spo/listitem/listitem-list.md +0 -6
  43. package/docs/docs/cmd/spo/site/site-list.md +19 -7
  44. package/docs/docs/cmd/spo/site/site-set.md +50 -6
  45. package/docs/docs/cmd/teams/team/team-clone.md +11 -5
  46. package/docs/docs/cmd/teams/team/team-set.md +10 -4
  47. package/npm-shrinkwrap.json +173 -158
  48. package/package.json +13 -13
  49. package/dist/m365/spo/commands/site/site-classic-add.js +0 -333
  50. package/dist/m365/spo/commands/site/site-classic-list.js +0 -98
  51. package/dist/m365/spo/commands/site/site-classic-set.js +0 -358
  52. package/docs/docs/cmd/spo/site/site-classic-add.md +0 -93
  53. package/docs/docs/cmd/spo/site/site-classic-list.md +0 -65
  54. package/docs/docs/cmd/spo/site/site-classic-set.md +0 -99
@@ -13,6 +13,12 @@ m365 spo site set [options]
13
13
  `-u, --url <url>`
14
14
  : The URL of the site collection to update
15
15
 
16
+ `-t, --title [title]`
17
+ : The new title for the site collection
18
+
19
+ `-d, --description [description]`
20
+ : The site description
21
+
16
22
  `--classification [classification]`
17
23
  : The new classification for the site collection
18
24
 
@@ -31,18 +37,36 @@ m365 spo site set [options]
31
37
  `--siteDesignId [siteDesignId]`
32
38
  : Id of the custom site design to apply to the site
33
39
 
34
- `--title [title]`
35
- : The new title for the site collection
36
-
37
- `--description [description]`
38
- : The site description
39
-
40
40
  `--sharingCapability [sharingCapability]`
41
41
  : The sharing capability for the site. Allowed values: `Disabled`, `ExternalUserSharingOnly`, `ExternalUserAndGuestSharing`, `ExistingExternalUserSharingOnly`.
42
42
 
43
43
  `--siteLogoUrl [siteLogoUrl]`
44
44
  : Set the logo for the site collection. This can be an absolute or relative URL to a file on the current site collection.
45
45
 
46
+ `--resourceQuota [resourceQuota]`
47
+ : The quota for this site collection in Sandboxed Solutions units
48
+
49
+ `--resourceQuotaWarningLevel [resourceQuotaWarningLevel]`
50
+ : The warning level for the resource quota
51
+
52
+ `--storageQuota [storageQuota]`
53
+ : The storage quota for this site collection in megabytes
54
+
55
+ `--storageQuotaWarningLevel [storageQuotaWarningLevel]`
56
+ : The warning level for the storage quota in megabytes
57
+
58
+ `--allowSelfServiceUpgrade [allowSelfServiceUpgrade]`
59
+ : Set to allow tenant administrators to upgrade the site collection
60
+
61
+ `--lockState [lockState]`
62
+ : Sets site's lock state. Allowed values `Unlock,NoAdditions,ReadOnly,NoAccess`
63
+
64
+ `--noScriptSite [noScriptSite]`
65
+ : Specifies if the site allows custom script or not
66
+
67
+ `--wait`
68
+ : Wait for the settings to be applied before completing the command
69
+
46
70
  --8<-- "docs/cmd/_global.md"
47
71
 
48
72
  !!! important
@@ -56,6 +80,20 @@ The `isPublic` property can be set only on groupified site collections. If you t
56
80
 
57
81
  When setting owners, the specified owners will be added to the already configured owners. Existing owners will not be removed.
58
82
 
83
+ The value of the `--resourceQuota` option must not exceed the company's aggregate available Sandboxed Solutions quota. For more information, see Resource Usage Limits on Sandboxed Solutions in SharePoint 2010: [http://msdn.microsoft.com/en-us/library/gg615462.aspx](http://msdn.microsoft.com/en-us/library/gg615462.aspx).
84
+
85
+ The value of the `--resourceQuotaWarningLevel` option must not exceed the value of the `--resourceQuota` option or the current value of the _UserCodeMaximumLevel_ property.
86
+
87
+ The value of the `--storageQuota` option must not exceed the company's available quota.
88
+
89
+ The value of the `--storageQuotaWarningLevel` option must not exceed the the value of the `--storageQuota` option or the current value of the _StorageMaximumLevel_ property.
90
+
91
+ For more information on locking sites see [https://technet.microsoft.com/en-us/library/cc263238.aspx](https://technet.microsoft.com/en-us/library/cc263238.aspx).
92
+
93
+ For more information on configuring no script sites see [https://support.office.com/en-us/article/Turn-scripting-capabilities-on-or-off-1f2c515f-5d7e-448a-9fd7-835da935584f](https://support.office.com/en-us/article/Turn-scripting-capabilities-on-or-off-1f2c515f-5d7e-448a-9fd7-835da935584f).
94
+
95
+ Setting site properties is by default asynchronous and depending on the current state of Microsoft 365, might take up to few minutes. If you're building a script with steps that require the site to be fully configured, you should use the `--wait` flag. When using this flag, the `spo site set` command will keep running until it received confirmation from Microsoft 365 that the site has been fully configured.
96
+
59
97
  ## Examples
60
98
 
61
99
  Update site collection's classification
@@ -129,3 +167,9 @@ Unset the logo on the site
129
167
  ```sh
130
168
  m365 spo site set --url https://estruyfdev2.sharepoint.com/sites/sales --siteLogoUrl ""
131
169
  ```
170
+
171
+ Lock the site preventing users from accessing it. Wait for the configuration to complete
172
+
173
+ ```sh
174
+ m365 spo site set --url https://contoso.sharepoint.com/sites/team --LockState NoAccess --wait
175
+ ```
@@ -10,11 +10,17 @@ m365 teams team clone [options]
10
10
 
11
11
  ## Options
12
12
 
13
- `-i, --teamId <teamId>`
13
+ `-i, --id [id]`
14
14
  : The ID of the Microsoft Teams team to clone
15
15
 
16
- `-n, --displayName <displayName>`
17
- : The display name for the new Microsoft Teams Team
16
+ `--teamId [teamId]`
17
+ : (deprecated. Use `id` instead) The ID of the Microsoft Teams team to clone
18
+
19
+ `-n, --name [name]`
20
+ : The display name for the new Microsoft Teams Team to clone
21
+
22
+ `--displayName [displayName]`
23
+ : (deprecated. Use `name` instead) The display name for the new Microsoft Teams Team to clone
18
24
 
19
25
  `-p, --partsToClone <partsToClone>`
20
26
  : A comma-separated list of the parts to clone. Allowed values are `apps,channels,members,settings,tabs`
@@ -41,11 +47,11 @@ When tabs are cloned, they are put into an unconfigured state. The first time yo
41
47
  Creates a clone of a Microsoft Teams team with mandatory parameters
42
48
 
43
49
  ```sh
44
- m365 teams team clone --teamId 15d7a78e-fd77-4599-97a5-dbb6372846c5 --displayName "Library Assist" --partsToClone "apps,tabs,settings,channels,members"
50
+ m365 teams team clone --id 15d7a78e-fd77-4599-97a5-dbb6372846c5 --name "Library Assist" --partsToClone "apps,tabs,settings,channels,members"
45
51
  ```
46
52
 
47
53
  Creates a clone of a Microsoft Teams team with mandatory and optional parameters
48
54
 
49
55
  ```sh
50
- m365 teams team clone --teamId 15d7a78e-fd77-4599-97a5-dbb6372846c5 --displayName "Library Assist" --partsToClone "apps,tabs,settings,channels,members" --description "Self help community for library" --classification "Library" --visibility "public"
56
+ m365 teams team clone --id 15d7a78e-fd77-4599-97a5-dbb6372846c5 --name "Library Assist" --partsToClone "apps,tabs,settings,channels,members" --description "Self help community for library" --classification "Library" --visibility "public"
51
57
  ```
@@ -10,11 +10,17 @@ m365 teams team set [options]
10
10
 
11
11
  ## Options
12
12
 
13
- `-i, --teamId <teamId>`
13
+ `-i, --id [id]`
14
14
  : The ID of the Microsoft Teams team for which to update settings
15
15
 
16
+ `--teamId [teamId]`
17
+ : (deprecated. Use `id` instead) The ID of the Microsoft Teams team for which to update settings
18
+
19
+ `-n, --name [name]`
20
+ : The display name for the Microsoft Teams team for which to update settings
21
+
16
22
  `--displayName [displayName]`
17
- : The display name for the Microsoft Teams team
23
+ : (deprecated. Use `name` instead) The display name for the Microsoft Teams team for which to update settings
18
24
 
19
25
  `--description [description]`
20
26
  : The description for the Microsoft Teams team
@@ -35,11 +41,11 @@ m365 teams team set [options]
35
41
  Set Microsoft Teams team visibility as Private
36
42
 
37
43
  ```sh
38
- m365 teams team set --teamId '00000000-0000-0000-0000-000000000000' --visibility Private
44
+ m365 teams team set --id "00000000-0000-0000-0000-000000000000" --visibility Private
39
45
  ```
40
46
 
41
47
  Set Microsoft Teams team classification as MBI
42
48
 
43
49
  ```sh
44
- m365 teams team set --teamId '00000000-0000-0000-0000-000000000000' --classification MBI
50
+ m365 teams team set --id "00000000-0000-0000-0000-000000000000" --classification MBI
45
51
  ```