@pnp/cli-microsoft365 11.10.0-beta.6b0583b → 11.10.0-beta.df8d498

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 (113) hide show
  1. package/.devcontainer/Dockerfile +1 -1
  2. package/.devproxy/api-specs/sharepoint-admin.yaml +50 -0
  3. package/Dockerfile +1 -1
  4. package/allCommands.json +1 -1
  5. package/allCommandsFull.json +1 -1
  6. package/dist/Auth.js +4 -2
  7. package/dist/m365/outlook/commands/event/event-get.js +77 -0
  8. package/dist/m365/outlook/commands.js +1 -0
  9. package/dist/m365/planner/commands/roster/roster-add.js +5 -0
  10. package/dist/m365/planner/commands/roster/roster-get.js +8 -18
  11. package/dist/m365/planner/commands/roster/roster-member-add.js +29 -45
  12. package/dist/m365/planner/commands/roster/roster-member-get.js +28 -44
  13. package/dist/m365/planner/commands/roster/roster-member-list.js +8 -18
  14. package/dist/m365/planner/commands/roster/roster-member-remove.js +30 -48
  15. package/dist/m365/planner/commands/roster/roster-plan-list.js +28 -46
  16. package/dist/m365/planner/commands/roster/roster-remove.js +9 -27
  17. package/dist/m365/planner/commands/task/task-add.js +97 -111
  18. package/dist/m365/planner/commands/task/task-checklistitem-add.js +10 -23
  19. package/dist/m365/planner/commands/task/task-checklistitem-list.js +16 -26
  20. package/dist/m365/planner/commands/task/task-checklistitem-remove.js +10 -23
  21. package/dist/m365/planner/commands/task/task-get.js +46 -69
  22. package/dist/m365/planner/commands/task/task-list.js +33 -69
  23. package/dist/m365/planner/commands/task/task-reference-add.js +15 -35
  24. package/dist/m365/planner/commands/task/task-reference-list.js +8 -18
  25. package/dist/m365/planner/commands/task/task-reference-remove.js +26 -36
  26. package/dist/m365/planner/commands/task/task-remove.js +47 -71
  27. package/dist/m365/planner/commands/task/task-set.js +92 -113
  28. package/dist/m365/pp/commands/website/Webrole.js +2 -0
  29. package/dist/m365/pp/commands/website/website-remove.js +80 -0
  30. package/dist/m365/pp/commands/website/website-webrole-list.js +61 -0
  31. package/dist/m365/pp/commands.js +3 -1
  32. package/dist/m365/purview/commands/auditlog/auditlog-list.js +36 -60
  33. package/dist/m365/purview/commands/retentionevent/retentionevent-add.js +34 -53
  34. package/dist/m365/purview/commands/retentionevent/retentionevent-get.js +10 -23
  35. package/dist/m365/purview/commands/retentionevent/retentionevent-remove.js +11 -32
  36. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-add.js +9 -24
  37. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-get.js +10 -23
  38. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-remove.js +11 -32
  39. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-set.js +21 -35
  40. package/dist/m365/purview/commands/retentionlabel/retentionlabel-add.js +40 -82
  41. package/dist/m365/purview/commands/retentionlabel/retentionlabel-get.js +10 -23
  42. package/dist/m365/purview/commands/retentionlabel/retentionlabel-remove.js +11 -32
  43. package/dist/m365/purview/commands/retentionlabel/retentionlabel-set.js +35 -78
  44. package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-get.js +19 -44
  45. package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-list.js +16 -39
  46. package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-policysettings-list.js +16 -39
  47. package/dist/m365/purview/commands/threatassessment/threatassessment-add.js +44 -67
  48. package/dist/m365/purview/commands/threatassessment/threatassessment-get.js +11 -33
  49. package/dist/m365/purview/commands/threatassessment/threatassessment-list.js +10 -33
  50. package/dist/m365/spfx/commands/SpfxCompatibilityMatrix.js +15 -0
  51. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.23.2.js +19 -0
  52. package/dist/m365/spfx/commands/project/project-doctor.js +2 -1
  53. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.23.2.js +55 -0
  54. package/dist/m365/spfx/commands/project/project-upgrade.js +2 -1
  55. package/dist/m365/spo/commands/homesite/homesite-remove.js +1 -1
  56. package/dist/m365/spo/commands/web/{web-alert-list.js → web-rule-list.js} +7 -4
  57. package/dist/m365/spo/commands/web/{web-alert-remove.js → web-rule-remove.js} +7 -4
  58. package/dist/m365/spo/commands.js +2 -0
  59. package/dist/utils/powerPlatform.js +20 -0
  60. package/docs/docs/cmd/outlook/event/event-get.mdx +280 -0
  61. package/docs/docs/cmd/pp/website/website-remove.mdx +89 -0
  62. package/docs/docs/cmd/pp/website/website-webrole-list.mdx +139 -0
  63. package/docs/docs/cmd/spfx/project/project-upgrade.mdx +1 -1
  64. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-add.mdx +21 -0
  65. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-get.mdx +19 -0
  66. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-list.mdx +19 -0
  67. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-remove.mdx +21 -0
  68. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-set.mdx +21 -0
  69. package/docs/docs/cmd/spo/cdn/cdn-get.mdx +19 -0
  70. package/docs/docs/cmd/spo/cdn/cdn-origin-add.mdx +21 -0
  71. package/docs/docs/cmd/spo/cdn/cdn-origin-list.mdx +19 -0
  72. package/docs/docs/cmd/spo/cdn/cdn-origin-remove.mdx +21 -0
  73. package/docs/docs/cmd/spo/cdn/cdn-policy-list.mdx +19 -0
  74. package/docs/docs/cmd/spo/cdn/cdn-policy-set.mdx +21 -0
  75. package/docs/docs/cmd/spo/cdn/cdn-set.mdx +21 -0
  76. package/docs/docs/cmd/spo/contenttype/contenttype-add.mdx +19 -0
  77. package/docs/docs/cmd/spo/contenttype/contenttype-get.mdx +19 -0
  78. package/docs/docs/cmd/spo/contenttype/contenttype-list.mdx +19 -0
  79. package/docs/docs/cmd/spo/contenttype/contenttype-remove.mdx +21 -0
  80. package/docs/docs/cmd/spo/contenttype/contenttype-set.mdx +21 -0
  81. package/docs/docs/cmd/spo/contenttype/contenttype-sync.mdx +19 -0
  82. package/docs/docs/cmd/spo/field/field-add.mdx +19 -0
  83. package/docs/docs/cmd/spo/field/field-get.mdx +19 -0
  84. package/docs/docs/cmd/spo/field/field-list.mdx +19 -0
  85. package/docs/docs/cmd/spo/field/field-remove.mdx +21 -0
  86. package/docs/docs/cmd/spo/field/field-set.mdx +21 -0
  87. package/docs/docs/cmd/spo/file/file-checkout-undo.mdx +21 -0
  88. package/docs/docs/cmd/spo/file/file-retentionlabel-ensure.mdx +21 -0
  89. package/docs/docs/cmd/spo/file/file-retentionlabel-remove.mdx +21 -0
  90. package/docs/docs/cmd/spo/file/file-roleassignment-add.mdx +21 -0
  91. package/docs/docs/cmd/spo/file/file-roleassignment-remove.mdx +21 -0
  92. package/docs/docs/cmd/spo/file/file-roleinheritance-break.mdx +21 -0
  93. package/docs/docs/cmd/spo/file/file-roleinheritance-reset.mdx +21 -0
  94. package/docs/docs/cmd/spo/file/file-sharinginfo-get.mdx +19 -0
  95. package/docs/docs/cmd/spo/homesite/homesite-add.mdx +21 -2
  96. package/docs/docs/cmd/spo/homesite/homesite-get.mdx +19 -0
  97. package/docs/docs/cmd/spo/homesite/homesite-list.mdx +19 -0
  98. package/docs/docs/cmd/spo/homesite/homesite-remove.mdx +24 -3
  99. package/docs/docs/cmd/spo/homesite/homesite-set.mdx +21 -2
  100. package/docs/docs/cmd/spo/hubsite/hubsite-connect.mdx +21 -0
  101. package/docs/docs/cmd/spo/hubsite/hubsite-data-get.mdx +19 -0
  102. package/docs/docs/cmd/spo/hubsite/hubsite-disconnect.mdx +21 -0
  103. package/docs/docs/cmd/spo/hubsite/hubsite-get.mdx +19 -0
  104. package/docs/docs/cmd/spo/hubsite/hubsite-list.mdx +19 -0
  105. package/docs/docs/cmd/spo/hubsite/hubsite-register.mdx +19 -0
  106. package/docs/docs/cmd/spo/hubsite/hubsite-rights-grant.mdx +21 -0
  107. package/docs/docs/cmd/spo/hubsite/hubsite-rights-revoke.mdx +21 -0
  108. package/docs/docs/cmd/spo/hubsite/hubsite-set.mdx +19 -0
  109. package/docs/docs/cmd/spo/hubsite/hubsite-unregister.mdx +21 -0
  110. package/docs/docs/cmd/spo/web/{web-alert-list.mdx → web-rule-list.mdx} +13 -7
  111. package/docs/docs/cmd/spo/web/{web-alert-remove.mdx → web-rule-remove.mdx} +10 -4
  112. package/npm-shrinkwrap.json +1361 -648
  113. package/package.json +15 -15
@@ -40,6 +40,25 @@ m365 spo field add [options]
40
40
 
41
41
  If the specified field already exists, you will get a _A duplicate field name "your-field" was found._ error.
42
42
 
43
+ ## Permissions
44
+
45
+ <Tabs>
46
+ <TabItem value="Delegated">
47
+
48
+ | Resource | Permissions |
49
+ |------------|----------------|
50
+ | SharePoint | AllSites.Write |
51
+
52
+ </TabItem>
53
+ <TabItem value="Application">
54
+
55
+ | Resource | Permissions |
56
+ |------------|---------------------|
57
+ | SharePoint | Sites.ReadWrite.All |
58
+
59
+ </TabItem>
60
+ </Tabs>
61
+
43
62
  ## Examples
44
63
 
45
64
  Create a date time site column.
@@ -39,6 +39,25 @@ m365 spo field get [options]
39
39
 
40
40
  <Global />
41
41
 
42
+ ## Permissions
43
+
44
+ <Tabs>
45
+ <TabItem value="Delegated">
46
+
47
+ | Resource | Permissions |
48
+ |------------|---------------|
49
+ | SharePoint | AllSites.Read |
50
+
51
+ </TabItem>
52
+ <TabItem value="Application">
53
+
54
+ | Resource | Permissions |
55
+ |------------|----------------|
56
+ | SharePoint | Sites.Read.All |
57
+
58
+ </TabItem>
59
+ </Tabs>
60
+
42
61
  ## Examples
43
62
 
44
63
  Retrieves site column by id located in the specified site.
@@ -30,6 +30,25 @@ m365 spo field list [options]
30
30
 
31
31
  <Global />
32
32
 
33
+ ## Permissions
34
+
35
+ <Tabs>
36
+ <TabItem value="Delegated">
37
+
38
+ | Resource | Permissions |
39
+ |------------|---------------|
40
+ | SharePoint | AllSites.Read |
41
+
42
+ </TabItem>
43
+ <TabItem value="Application">
44
+
45
+ | Resource | Permissions |
46
+ |------------|----------------|
47
+ | SharePoint | Sites.Read.All |
48
+
49
+ </TabItem>
50
+ </Tabs>
51
+
33
52
  ## Examples
34
53
 
35
54
  Retrieves site columns for the specified site.
@@ -1,4 +1,6 @@
1
1
  import Global from '../../_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # spo field remove
4
6
 
@@ -43,6 +45,25 @@ m365 spo field remove [options]
43
45
 
44
46
  <Global />
45
47
 
48
+ ## Permissions
49
+
50
+ <Tabs>
51
+ <TabItem value="Delegated">
52
+
53
+ | Resource | Permissions |
54
+ |------------|----------------|
55
+ | SharePoint | AllSites.Write |
56
+
57
+ </TabItem>
58
+ <TabItem value="Application">
59
+
60
+ | Resource | Permissions |
61
+ |------------|---------------------|
62
+ | SharePoint | Sites.ReadWrite.All |
63
+
64
+ </TabItem>
65
+ </Tabs>
66
+
46
67
  ## Examples
47
68
 
48
69
  Remove the site column with the specified ID, located in the specified site.
@@ -1,4 +1,6 @@
1
1
  import Global from '../../_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # spo field set
4
6
 
@@ -50,6 +52,25 @@ When updating column formatting for a field with the `--CustomFormatter` option,
50
52
 
51
53
  :::
52
54
 
55
+ ## Permissions
56
+
57
+ <Tabs>
58
+ <TabItem value="Delegated">
59
+
60
+ | Resource | Permissions |
61
+ |------------|-----------------|
62
+ | SharePoint | AllSites.Manage |
63
+
64
+ </TabItem>
65
+ <TabItem value="Application">
66
+
67
+ | Resource | Permissions |
68
+ |------------|------------------|
69
+ | SharePoint | Sites.Manage.All |
70
+
71
+ </TabItem>
72
+ </Tabs>
73
+
53
74
  ## Examples
54
75
 
55
76
  Update the title of the site column specified by its internal name and push changes to existing lists.
@@ -1,4 +1,6 @@
1
1
  import Global from '../../_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # spo file checkout undo
4
6
 
@@ -28,6 +30,25 @@ m365 spo file checkout undo [options]
28
30
 
29
31
  <Global />
30
32
 
33
+ ## Permissions
34
+
35
+ <Tabs>
36
+ <TabItem value="Delegated">
37
+
38
+ | Resource | Permissions |
39
+ |------------|----------------|
40
+ | SharePoint | AllSites.Write |
41
+
42
+ </TabItem>
43
+ <TabItem value="Application">
44
+
45
+ | Resource | Permissions |
46
+ |------------|---------------------|
47
+ | SharePoint | Sites.ReadWrite.All |
48
+
49
+ </TabItem>
50
+ </Tabs>
51
+
31
52
  ## Examples
32
53
 
33
54
  Discards a checked-out file with a specific ID.
@@ -1,4 +1,6 @@
1
1
  import Global from '../../_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # spo file retentionlabel ensure
4
6
 
@@ -37,6 +39,25 @@ You can also use [spo listitem retentionlabel remove](./../../../cmd/spo/listite
37
39
 
38
40
  The `--assetId` option has to do with event-based retention. Event-based retention is about starting a retention period when a specific event occurs, instead of the moment a document was labeled or created.
39
41
 
42
+ ## Permissions
43
+
44
+ <Tabs>
45
+ <TabItem value="Delegated">
46
+
47
+ | Resource | Permissions |
48
+ |------------|----------------|
49
+ | SharePoint | AllSites.Write |
50
+
51
+ </TabItem>
52
+ <TabItem value="Application">
53
+
54
+ | Resource | Permissions |
55
+ |------------|---------------------|
56
+ | SharePoint | Sites.ReadWrite.All |
57
+
58
+ </TabItem>
59
+ </Tabs>
60
+
40
61
  ## Examples
41
62
 
42
63
  Applies a retention label to a file based on the label name and the fileUrl.
@@ -1,4 +1,6 @@
1
1
  import Global from '../../_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # spo file retentionlabel remove
4
6
 
@@ -28,6 +30,25 @@ m365 spo file retentionlabel remove [options]
28
30
 
29
31
  <Global />
30
32
 
33
+ ## Permissions
34
+
35
+ <Tabs>
36
+ <TabItem value="Delegated">
37
+
38
+ | Resource | Permissions |
39
+ |------------|----------------|
40
+ | SharePoint | AllSites.Write |
41
+
42
+ </TabItem>
43
+ <TabItem value="Application">
44
+
45
+ | Resource | Permissions |
46
+ |------------|---------------------|
47
+ | SharePoint | Sites.ReadWrite.All |
48
+
49
+ </TabItem>
50
+ </Tabs>
51
+
31
52
  ## Examples
32
53
 
33
54
  Removes the retention label from a file in a given site based on the file id.
@@ -1,4 +1,6 @@
1
1
  import Global from '../../_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # spo file roleassignment add
4
6
 
@@ -46,6 +48,25 @@ m365 spo file roleassignment add [options]
46
48
 
47
49
  <Global />
48
50
 
51
+ ## Permissions
52
+
53
+ <Tabs>
54
+ <TabItem value="Delegated">
55
+
56
+ | Resource | Permissions |
57
+ |------------|----------------------|
58
+ | SharePoint | AllSites.FullControl |
59
+
60
+ </TabItem>
61
+ <TabItem value="Application">
62
+
63
+ | Resource | Permissions |
64
+ |------------|-----------------------|
65
+ | SharePoint | Sites.FullControl.All |
66
+
67
+ </TabItem>
68
+ </Tabs>
69
+
49
70
  ## Examples
50
71
 
51
72
  Adds a role assignment to a file with a specified id. It will use a principal id and a specific role definition id.
@@ -1,4 +1,6 @@
1
1
  import Global from '../../_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # spo file roleassignment remove
4
6
 
@@ -43,6 +45,25 @@ m365 spo file roleassignment remove [options]
43
45
 
44
46
  <Global />
45
47
 
48
+ ## Permissions
49
+
50
+ <Tabs>
51
+ <TabItem value="Delegated">
52
+
53
+ | Resource | Permissions |
54
+ |------------|----------------------|
55
+ | SharePoint | AllSites.FullControl |
56
+
57
+ </TabItem>
58
+ <TabItem value="Application">
59
+
60
+ | Resource | Permissions |
61
+ |------------|-----------------------|
62
+ | SharePoint | Sites.FullControl.All |
63
+
64
+ </TabItem>
65
+ </Tabs>
66
+
46
67
  ## Examples
47
68
 
48
69
  Remove a role assignment by principal id from a file by id.
@@ -1,4 +1,6 @@
1
1
  import Global from '../../_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # spo file roleinheritance break
4
6
 
@@ -31,6 +33,25 @@ m365 spo file roleinheritance break [options]
31
33
 
32
34
  <Global />
33
35
 
36
+ ## Permissions
37
+
38
+ <Tabs>
39
+ <TabItem value="Delegated">
40
+
41
+ | Resource | Permissions |
42
+ |------------|----------------------|
43
+ | SharePoint | AllSites.FullControl |
44
+
45
+ </TabItem>
46
+ <TabItem value="Application">
47
+
48
+ | Resource | Permissions |
49
+ |------------|-----------------------|
50
+ | SharePoint | Sites.FullControl.All |
51
+
52
+ </TabItem>
53
+ </Tabs>
54
+
34
55
  ## Examples
35
56
 
36
57
  Break the inheritance of a file with a specific id (UniqueId).
@@ -1,4 +1,6 @@
1
1
  import Global from '../../_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # spo file roleinheritance reset
4
6
 
@@ -28,6 +30,25 @@ m365 spo file roleinheritance reset [options]
28
30
 
29
31
  <Global />
30
32
 
33
+ ## Permissions
34
+
35
+ <Tabs>
36
+ <TabItem value="Delegated">
37
+
38
+ | Resource | Permissions |
39
+ |------------|----------------------|
40
+ | SharePoint | AllSites.FullControl |
41
+
42
+ </TabItem>
43
+ <TabItem value="Application">
44
+
45
+ | Resource | Permissions |
46
+ |------------|-----------------------|
47
+ | SharePoint | Sites.FullControl.All |
48
+
49
+ </TabItem>
50
+ </Tabs>
51
+
31
52
  ## Examples
32
53
 
33
54
  Reset inheritance of file with the specified id (UniqueId) located in the specified site.
@@ -27,6 +27,25 @@ m365 spo file sharinginfo get [options]
27
27
 
28
28
  <Global />
29
29
 
30
+ ## Permissions
31
+
32
+ <Tabs>
33
+ <TabItem value="Delegated">
34
+
35
+ | Resource | Permissions |
36
+ |------------|---------------|
37
+ | SharePoint | AllSites.Read |
38
+
39
+ </TabItem>
40
+ <TabItem value="Application">
41
+
42
+ | Resource | Permissions |
43
+ |------------|----------------|
44
+ | SharePoint | Sites.Read.All |
45
+
46
+ </TabItem>
47
+ </Tabs>
48
+
30
49
  ## Examples
31
50
 
32
51
  Get file sharing information report for the file with the specified server-relative url located in the specified site.
@@ -36,6 +36,25 @@ m365 spo homesite add [options]
36
36
 
37
37
  <Global />
38
38
 
39
+ ## Permissions
40
+
41
+ <Tabs>
42
+ <TabItem value="Delegated">
43
+
44
+ | Resource | Permissions |
45
+ |------------|----------------------|
46
+ | SharePoint | AllSites.FullControl |
47
+
48
+ </TabItem>
49
+ <TabItem value="Application">
50
+
51
+ | Resource | Permissions |
52
+ |------------|-----------------------|
53
+ | SharePoint | Sites.FullControl.All |
54
+
55
+ </TabItem>
56
+ </Tabs>
57
+
39
58
  ## Examples
40
59
 
41
60
  Add a home site
@@ -44,13 +63,13 @@ Add a home site
44
63
  m365 spo homesite add --url "https://contoso.sharepoint.com/sites/testcomms"
45
64
  ```
46
65
 
47
- Add a home site with audiences specified by their groups ids and with additional options
66
+ Add a home site with audiences specified by their group ids and with additional options
48
67
 
49
68
  ```sh
50
69
  m365 spo homesite add --url "https://contoso.sharepoint.com/sites/testcomms" --isInDraftMode true --vivaConnectionsDefaultStart false --audienceIds "af8c0bc8-7b1b-44b4-b087-ffcc8df70d16,754ff15c-76b1-44cb-88c7-0065a4d3cfb7" --order 2
51
70
  ```
52
71
 
53
- Add a home site with audiences specified by their groups names and with additional options
72
+ Add a home site with audiences specified by their group names and with additional options
54
73
 
55
74
  ```sh
56
75
  m365 spo homesite add --url "https://contoso.sharepoint.com/sites/testcomms" --isInDraftMode true --vivaConnectionsDefaultStart false --audienceNames "Marketing, IT department" --order 2
@@ -21,6 +21,25 @@ m365 spo homesite get [options]
21
21
 
22
22
  <Global />
23
23
 
24
+ ## Permissions
25
+
26
+ <Tabs>
27
+ <TabItem value="Delegated">
28
+
29
+ | Resource | Permissions |
30
+ |------------|----------------------|
31
+ | SharePoint | AllSites.FullControl |
32
+
33
+ </TabItem>
34
+ <TabItem value="Application">
35
+
36
+ | Resource | Permissions |
37
+ |------------|-----------------------|
38
+ | SharePoint | Sites.FullControl.All |
39
+
40
+ </TabItem>
41
+ </Tabs>
42
+
24
43
  ## Examples
25
44
 
26
45
  Get information about a home site.
@@ -16,6 +16,25 @@ m365 spo homesite list [options]
16
16
 
17
17
  <Global />
18
18
 
19
+ ## Permissions
20
+
21
+ <Tabs>
22
+ <TabItem value="Delegated">
23
+
24
+ | Resource | Permissions |
25
+ |------------|----------------------|
26
+ | SharePoint | AllSites.FullControl |
27
+
28
+ </TabItem>
29
+ <TabItem value="Application">
30
+
31
+ | Resource | Permissions |
32
+ |------------|-----------------------|
33
+ | SharePoint | Sites.FullControl.All |
34
+
35
+ </TabItem>
36
+ </Tabs>
37
+
19
38
  ## Examples
20
39
 
21
40
  List all home sites
@@ -1,8 +1,10 @@
1
1
  import Global from '../../_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # spo homesite remove
4
6
 
5
- Removes a Home Site
7
+ Removes a home site
6
8
 
7
9
  ## Usage
8
10
 
@@ -30,15 +32,34 @@ To use this command you must be either **SharePoint Administrator** or **Global
30
32
 
31
33
  :::
32
34
 
35
+ ## Permissions
36
+
37
+ <Tabs>
38
+ <TabItem value="Delegated">
39
+
40
+ | Resource | Permissions |
41
+ |------------|----------------------|
42
+ | SharePoint | AllSites.FullControl |
43
+
44
+ </TabItem>
45
+ <TabItem value="Application">
46
+
47
+ | Resource | Permissions |
48
+ |------------|-----------------------|
49
+ | SharePoint | Sites.FullControl.All |
50
+
51
+ </TabItem>
52
+ </Tabs>
53
+
33
54
  ## Examples
34
55
 
35
- Removes a Home site specified by URL.
56
+ Removes a home site specified by URL.
36
57
 
37
58
  ```sh
38
59
  m365 spo homesite remove --url "https://contoso.sharepoint.com/sites/Europe"
39
60
  ```
40
61
 
41
- Removes a Home site specified by URL without prompting for confirmation.
62
+ Removes a home site specified by URL without prompting for confirmation.
42
63
 
43
64
  ```sh
44
65
  m365 spo homesite remove --url "https://contoso.sharepoint.com/sites/Europe" --force
@@ -44,6 +44,25 @@ To use this command you must be a Global or SharePoint administrator.
44
44
 
45
45
  :::
46
46
 
47
+ ## Permissions
48
+
49
+ <Tabs>
50
+ <TabItem value="Delegated">
51
+
52
+ | Resource | Permissions |
53
+ |------------|----------------------|
54
+ | SharePoint | AllSites.FullControl |
55
+
56
+ </TabItem>
57
+ <TabItem value="Application">
58
+
59
+ | Resource | Permissions |
60
+ |------------|-----------------------|
61
+ | SharePoint | Sites.FullControl.All |
62
+
63
+ </TabItem>
64
+ </Tabs>
65
+
47
66
  ## Examples
48
67
 
49
68
  Sets the home site to the provided site collection url and sets the Viva Connections landing experience to the SharePoint home site
@@ -70,13 +89,13 @@ Set the audience to groups using groups Ids
70
89
  m365 spo homesite set --url https://contoso.sharepoint.com/sites/contosoportal --audienceIds "978b5280-4f80-47ea-a1db-b0d1d2fb1ba4,21af775d-17b3-4637-94a4-2ba8625277cb"
71
90
  ```
72
91
 
73
- Set the audience to using their display name
92
+ Set the audience using their display name
74
93
 
75
94
  ```sh
76
95
  m365 spo homesite set --url https://contoso.sharepoint.com/sites/contosoportal --audienceNames "Marketing, IT department"
77
96
  ```
78
97
 
79
- Clear the audience and set to draft
98
+ Clear the audience and set to draft
80
99
 
81
100
  ```sh
82
101
  m365 spo homesite set --url https://contoso.sharepoint.com/sites/contosoportal --audienceNames '' --draftMode true
@@ -1,4 +1,6 @@
1
1
  import Global from '../../_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # spo hubsite connect
4
6
 
@@ -44,6 +46,25 @@ To use this command you must be a Global or SharePoint administrator.
44
46
 
45
47
  To connect a regular site to a hub site, use command [spo site hubsite connect](../site/site-hubsite-connect.mdx).
46
48
 
49
+ ## Permissions
50
+
51
+ <Tabs>
52
+ <TabItem value="Delegated">
53
+
54
+ | Resource | Permissions |
55
+ |------------|----------------------|
56
+ | SharePoint | AllSites.FullControl |
57
+
58
+ </TabItem>
59
+ <TabItem value="Application">
60
+
61
+ | Resource | Permissions |
62
+ |------------|-----------------------|
63
+ | SharePoint | Sites.FullControl.All |
64
+
65
+ </TabItem>
66
+ </Tabs>
67
+
47
68
  ## Examples
48
69
 
49
70
  Connect a specific hub site to specific parent hub site by ID.
@@ -30,6 +30,25 @@ By default, the hub site data is returned from the server's cache. To refresh th
30
30
 
31
31
  If the specified site is not connected to a hub site site and is not a hub site itself, no data will be retrieved.
32
32
 
33
+ ## Permissions
34
+
35
+ <Tabs>
36
+ <TabItem value="Delegated">
37
+
38
+ | Resource | Permissions |
39
+ |------------|---------------|
40
+ | SharePoint | AllSites.Read |
41
+
42
+ </TabItem>
43
+ <TabItem value="Application">
44
+
45
+ | Resource | Permissions |
46
+ |------------|----------------|
47
+ | SharePoint | Sites.Read.All |
48
+
49
+ </TabItem>
50
+ </Tabs>
51
+
33
52
  ## Examples
34
53
 
35
54
  Get information about the hub site data for a specific site with URL.
@@ -1,4 +1,6 @@
1
1
  import Global from '../../_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # spo hubsite disconnect
4
6
 
@@ -40,6 +42,25 @@ To disconnect a regular site from a hub site, use command [spo site hubsite disc
40
42
 
41
43
  If the specified id doesn't point to a valid hub site, you will get a ResourceNotFoundException error.
42
44
 
45
+ ## Permissions
46
+
47
+ <Tabs>
48
+ <TabItem value="Delegated">
49
+
50
+ | Resource | Permissions |
51
+ |------------|----------------------|
52
+ | SharePoint | AllSites.FullControl |
53
+
54
+ </TabItem>
55
+ <TabItem value="Application">
56
+
57
+ | Resource | Permissions |
58
+ |------------|-----------------------|
59
+ | SharePoint | Sites.FullControl.All |
60
+
61
+ </TabItem>
62
+ </Tabs>
63
+
43
64
  ## Examples
44
65
 
45
66
  Disconnect a specific hub site with id from its parent hub site.