@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
@@ -0,0 +1,139 @@
1
+ import Global from '../../_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
4
+
5
+ # pp website webrole list
6
+
7
+ Lists all webroles for the specified Power Pages website.
8
+
9
+ ## Usage
10
+
11
+ ```sh
12
+ m365 pp website webrole list [options]
13
+ ```
14
+
15
+ ## Options
16
+
17
+ ```md definition-list
18
+ `--websiteId [websiteId]`
19
+ : ID of the Power Pages website. Specify either `websiteId` or `websiteName` but not both.
20
+
21
+ `--websiteName [websiteName]`
22
+ : The unique name (not the display name) of the Power Pages website. Specify either `websiteId` or `websiteName` but not both.
23
+
24
+ `-e, --environmentName <environmentName>`
25
+ : The name of the environment where the Power Pages websites are located.
26
+
27
+ `--asAdmin`
28
+ : Run the command as admin and retrieve Power Pages websites for environments you do not have explicitly assigned permissions to.
29
+ ```
30
+
31
+ <Global />
32
+
33
+ ## Permissions
34
+
35
+ <Tabs>
36
+ <TabItem value="Delegated">
37
+
38
+ | Resource | Permissions |
39
+ |--------------------|--------------------------|
40
+ | Power Platform API | PowerPages.Websites.Read |
41
+ | Dynamics CRM | user_impersonation |
42
+
43
+ </TabItem>
44
+ </Tabs>
45
+
46
+ ## Examples
47
+
48
+ List all webroles for the site by name.
49
+
50
+ ```sh
51
+ m365 pp website webrole list --websiteName "Contoso" --environmentName "Default-2ca3eaa5-140f-4175-8261-3272edf9f339"
52
+ ```
53
+
54
+ List all webroles for the site by name as admin.
55
+
56
+ ```sh
57
+ m365 pp website webrole list --websiteName "Contoso" --environmentName "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --asAdmin
58
+ ```
59
+
60
+ List all webroles for the site by id.
61
+
62
+ ```sh
63
+ m365 pp website webrole list --websiteId "2ca3eaa5-140f-4175-8261-3272edf9f339" --environmentName "Default-2ca3eaa5-140f-4175-8261-3272edf9f339"
64
+ ```
65
+
66
+ List all webroles for the site by id as admin.
67
+
68
+ ```sh
69
+ m365 pp website webrole list --websiteId "2ca3eaa5-140f-4175-8261-3272edf9f339" --environmentName "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --asAdmin
70
+ ```
71
+
72
+ ## Response
73
+
74
+ <Tabs>
75
+ <TabItem value="JSON">
76
+
77
+ ```json
78
+ [
79
+ {
80
+ "mspp_webroleid": "a242a363-6077-4cb7-b2d1-1714502d129a",
81
+ "mspp_name": "Anonymous Users",
82
+ "mspp_description": "Role for anonymous users",
83
+ "mspp_key": null,
84
+ "mspp_authenticatedusersrole": false,
85
+ "mspp_anonymoususersrole": true,
86
+ "mspp_createdon": "2026-01-21T22:10:56Z",
87
+ "mspp_modifiedon": "2026-01-21T22:10:56Z",
88
+ "statecode": 0,
89
+ "statuscode": 1,
90
+ "_mspp_websiteid_value": "5eb107a6-5ac2-4e1c-a3b9-d5c21bbc10ce",
91
+ "_mspp_createdby_value": "b7aa2026-a8c1-f011-bbd2-000d3a66196e",
92
+ "_mspp_modifiedby_value": "b7aa2026-a8c1-f011-bbd2-000d3a66196e"
93
+ }
94
+ ]
95
+ ```
96
+
97
+ </TabItem>
98
+ <TabItem value="Text">
99
+
100
+ ```text
101
+ mspp_webroleid mspp_name statuscode
102
+ ------------------------------------ --------------- ----------
103
+ a242a363-6077-4cb7-b2d1-1714502d129a Anonymous Users 1
104
+ ```
105
+
106
+ </TabItem>
107
+ <TabItem value="CSV">
108
+
109
+ ```csv
110
+ mspp_modifiedon,mspp_key,mspp_description,mspp_authenticatedusersrole,statecode,_mspp_createdby_value,statuscode,mspp_anonymoususersrole,mspp_webroleid,mspp_createdon,_mspp_modifiedby_value,mspp_name,_mspp_websiteid_value
111
+ 2026-01-21T22:10:56Z,,Role for anonymous users,0,0,b7aa2026-a8c1-f011-bbd2-000d3a66196e,1,1,a242a363-6077-4cb7-b2d1-1714502d129a,2026-01-21T22:10:56Z,b7aa2026-a8c1-f011-bbd2-000d3a66196e,Anonymous Users,5eb107a6-5ac2-4e1c-a3b9-d5c21bbc10ce
112
+ ```
113
+
114
+ </TabItem>
115
+ <TabItem value="Markdown">
116
+
117
+ ```md
118
+ # pp website webrole list --websiteName "Contoso" --environmentName "Default-2ca3eaa5-140f-4175-8261-3272edf9f339"
119
+
120
+ Date: 2/8/2026
121
+
122
+ Property | Value
123
+ ---------|-------
124
+ mspp\_modifiedon | 2026-01-21T22:10:53Z
125
+ mspp\_description | Role for anonymous users
126
+ mspp\_authenticatedusersrole | true
127
+ statecode | 0
128
+ \_mspp\_createdby\_value | b7aa2026-a8c1-f011-bbd2-000d3a66196e
129
+ statuscode | 1
130
+ mspp\_anonymoususersrole | false
131
+ mspp\_webroleid | cc3bf86b-204c-4a97-b0b6-f788c62ae5e8
132
+ mspp\_createdon | 2026-01-21T22:10:53Z
133
+ \_mspp\_modifiedby\_value | b7aa2026-a8c1-f011-bbd2-000d3a66196e
134
+ mspp\_name | Authenticated Users
135
+ \_mspp\_websiteid\_value | 5eb107a6-5ac2-4e1c-a3b9-d5c21bbc10ce
136
+ ```
137
+
138
+ </TabItem>
139
+ </Tabs>
@@ -45,7 +45,7 @@ m365 spfx project upgrade [options]
45
45
 
46
46
  ## Remarks
47
47
 
48
- 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.23.0).
48
+ 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.23.2).
49
49
 
50
50
  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.
51
51
 
@@ -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 applicationcustomizer add
4
6
 
@@ -37,6 +39,25 @@ m365 spo applicationcustomizer add [options]
37
39
 
38
40
  <Global />
39
41
 
42
+ ## Permissions
43
+
44
+ <Tabs>
45
+ <TabItem value="Delegated">
46
+
47
+ | Resource | Permissions |
48
+ |------------|----------------------|
49
+ | SharePoint | AllSites.FullControl |
50
+
51
+ </TabItem>
52
+ <TabItem value="Application">
53
+
54
+ | Resource | Permissions |
55
+ |------------|-----------------------|
56
+ | SharePoint | Sites.FullControl.All |
57
+
58
+ </TabItem>
59
+ </Tabs>
60
+
40
61
  ## Remarks
41
62
 
42
63
  Running this command from the Windows Command Shell (cmd.exe) or PowerShell for Windows OS XP, 7, 8, 8.1 without bash installed might require additional formatting for command options that have JSON, XML or JavaScript values because the command shell treats quotes differently. For example, this is how an Application Customizer can be created from the Windows cmd.exe:
@@ -36,6 +36,25 @@ m365 spo applicationcustomizer get [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.Read |
47
+
48
+ </TabItem>
49
+ <TabItem value="Application">
50
+
51
+ | Resource | Permissions |
52
+ |------------|----------------|
53
+ | SharePoint | Sites.Read.All |
54
+
55
+ </TabItem>
56
+ </Tabs>
57
+
39
58
  ## Remarks
40
59
 
41
60
  This command can be used for retrieving an application customizer from a specific site. To retrieve an application customizer that's installed tenant-wide, view our dedicated [spo tenant applicationcustomizer get](../tenant/tenant-applicationcustomizer-get.mdx) command.
@@ -24,6 +24,25 @@ m365 spo applicationcustomizer list [options]
24
24
 
25
25
  <Global />
26
26
 
27
+ ## Permissions
28
+
29
+ <Tabs>
30
+ <TabItem value="Delegated">
31
+
32
+ | Resource | Permissions |
33
+ |------------|---------------|
34
+ | SharePoint | AllSites.Read |
35
+
36
+ </TabItem>
37
+ <TabItem value="Application">
38
+
39
+ | Resource | Permissions |
40
+ |------------|----------------|
41
+ | SharePoint | Sites.Read.All |
42
+
43
+ </TabItem>
44
+ </Tabs>
45
+
27
46
  ## Remarks
28
47
 
29
48
  This command can be used for retrieving a list of application customizers from a specific site. To retrieve a list of application customizers that are installed tenant-wide, view our dedicated [spo tenant applicationcustomizer list](../tenant/tenant-applicationcustomizer-list.mdx) command.
@@ -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 applicationcustomizer remove
4
6
 
@@ -34,6 +36,25 @@ m365 spo applicationcustomizer remove [options]
34
36
 
35
37
  <Global />
36
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
+
37
58
  ## Remarks
38
59
 
39
60
  If the command finds multiple application customizers with the specified title or clientSideComponentId, it will prompt you to disambiguate which customizer it should remove, listing the discovered IDs.
@@ -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 applicationcustomizer set
4
6
 
@@ -43,6 +45,25 @@ m365 spo applicationcustomizer set [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
  ## Remarks
47
68
 
48
69
  Running this command from the Windows Command Shell (cmd.exe) or PowerShell for Windows OS XP, 7, 8, 8.1 without bash installed might require additional formatting for `clientSideComponentProperties` and `hostProperties` options that have JSON value because the command shell treats quotes differently. For example, this is how Application Customizer can be updated from the Windows cmd.exe:
@@ -21,6 +21,25 @@ m365 spo cdn 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
  ## Remarks
25
44
 
26
45
  Using the `-t, --type` option you can choose whether you want to manage the settings of the Public (default) or Private CDN. If you don't use the option, the command will use the Public CDN.
@@ -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 cdn origin add
4
6
 
@@ -22,6 +24,25 @@ m365 spo cdn origin add [options]
22
24
 
23
25
  <Global />
24
26
 
27
+ ## Permissions
28
+
29
+ <Tabs>
30
+ <TabItem value="Delegated">
31
+
32
+ | Resource | Permissions |
33
+ |------------|----------------------|
34
+ | SharePoint | AllSites.FullControl |
35
+
36
+ </TabItem>
37
+ <TabItem value="Application">
38
+
39
+ | Resource | Permissions |
40
+ |------------|-----------------------|
41
+ | SharePoint | Sites.FullControl.All |
42
+
43
+ </TabItem>
44
+ </Tabs>
45
+
25
46
  ## Remarks
26
47
 
27
48
  Using the `-t, --type` option you can choose whether you want to manage the settings of the Public (default) or Private CDN. If you don't use the option, the command will use the Public CDN.
@@ -21,6 +21,25 @@ m365 spo cdn origin list [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
  ## Remarks
25
44
 
26
45
  Using the `-t, --type` option you can choose whether you want to manage the settings of the Public (default) or Private CDN. If you don't use the option, the command will use the Public CDN.
@@ -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 cdn origin remove
4
6
 
@@ -25,6 +27,25 @@ m365 spo cdn origin remove [options]
25
27
 
26
28
  <Global />
27
29
 
30
+ ## Permissions
31
+
32
+ <Tabs>
33
+ <TabItem value="Delegated">
34
+
35
+ | Resource | Permissions |
36
+ |------------|----------------------|
37
+ | SharePoint | AllSites.FullControl |
38
+
39
+ </TabItem>
40
+ <TabItem value="Application">
41
+
42
+ | Resource | Permissions |
43
+ |------------|-----------------------|
44
+ | SharePoint | Sites.FullControl.All |
45
+
46
+ </TabItem>
47
+ </Tabs>
48
+
28
49
  ## Remarks
29
50
 
30
51
  Using the `-t, --type` option you can choose whether you want to manage the settings of the Public (default) or Private CDN. If you don't use the option, the command will use the Public CDN.
@@ -21,6 +21,25 @@ m365 spo cdn policy list [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
  ## Remarks
25
44
 
26
45
  Using the `-t, --cdnType` option you can choose whether you want to manage the settings of the Public (default) or Private CDN. If you don't use the option, the command will use the Public CDN.
@@ -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 cdn policy set
4
6
 
@@ -25,6 +27,25 @@ m365 spo cdn policy set [options]
25
27
 
26
28
  <Global />
27
29
 
30
+ ## Permissions
31
+
32
+ <Tabs>
33
+ <TabItem value="Delegated">
34
+
35
+ | Resource | Permissions |
36
+ |------------|----------------------|
37
+ | SharePoint | AllSites.FullControl |
38
+
39
+ </TabItem>
40
+ <TabItem value="Application">
41
+
42
+ | Resource | Permissions |
43
+ |------------|-----------------------|
44
+ | SharePoint | Sites.FullControl.All |
45
+
46
+ </TabItem>
47
+ </Tabs>
48
+
28
49
  ## Remarks
29
50
 
30
51
  Using the `-t, --cdnType` option you can choose whether you want to manage the settings of the Public (default) or Private CDN. If you don't use the option, the command will use the Public CDN.
@@ -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 cdn set
4
6
 
@@ -25,6 +27,25 @@ m365 spo cdn set [options]
25
27
 
26
28
  <Global />
27
29
 
30
+ ## Permissions
31
+
32
+ <Tabs>
33
+ <TabItem value="Delegated">
34
+
35
+ | Resource | Permissions |
36
+ |------------|----------------------|
37
+ | SharePoint | AllSites.FullControl |
38
+
39
+ </TabItem>
40
+ <TabItem value="Application">
41
+
42
+ | Resource | Permissions |
43
+ |------------|-----------------------|
44
+ | SharePoint | Sites.FullControl.All |
45
+
46
+ </TabItem>
47
+ </Tabs>
48
+
28
49
  ## Remarks
29
50
 
30
51
  Using the `-t, --type` option you can choose whether you want to manage the settings of the Public (default), Private CDN or both. If you don't use the option, the command will use the Public CDN.
@@ -48,6 +48,25 @@ If the specified content type already exists, you will get a _A duplicate conten
48
48
 
49
49
  The ID of the content type specifies the parent content type from which this content type inherits.
50
50
 
51
+ ## Permissions
52
+
53
+ <Tabs>
54
+ <TabItem value="Delegated">
55
+
56
+ | Resource | Permissions |
57
+ |------------|-----------------|
58
+ | SharePoint | AllSites.Manage |
59
+
60
+ </TabItem>
61
+ <TabItem value="Application">
62
+
63
+ | Resource | Permissions |
64
+ |------------|------------------|
65
+ | SharePoint | Sites.Manage.All |
66
+
67
+ </TabItem>
68
+ </Tabs>
69
+
51
70
  ## Examples
52
71
 
53
72
  Create a site content type that inherits from the List item content type.
@@ -40,6 +40,25 @@ m365 spo contenttype get [options]
40
40
 
41
41
  If no content type with the specified is found in the site or the list, you will get the _Content type with ID 0x010012 not found_ error.
42
42
 
43
+ ## Permissions
44
+
45
+ <Tabs>
46
+ <TabItem value="Delegated">
47
+
48
+ | Resource | Permissions |
49
+ |------------|---------------|
50
+ | SharePoint | AllSites.Read |
51
+
52
+ </TabItem>
53
+ <TabItem value="Application">
54
+
55
+ | Resource | Permissions |
56
+ |------------|----------------|
57
+ | SharePoint | Sites.Read.All |
58
+
59
+ </TabItem>
60
+ </Tabs>
61
+
43
62
  ## Examples
44
63
 
45
64
  Retrieve site content type by id.
@@ -24,6 +24,25 @@ m365 spo contenttype list [options]
24
24
 
25
25
  <Global />
26
26
 
27
+ ## Permissions
28
+
29
+ <Tabs>
30
+ <TabItem value="Delegated">
31
+
32
+ | Resource | Permissions |
33
+ |------------|---------------|
34
+ | SharePoint | AllSites.Read |
35
+
36
+ </TabItem>
37
+ <TabItem value="Application">
38
+
39
+ | Resource | Permissions |
40
+ |------------|----------------|
41
+ | SharePoint | Sites.Read.All |
42
+
43
+ </TabItem>
44
+ </Tabs>
45
+
27
46
  ## Examples
28
47
 
29
48
  Retrieve site content types.
@@ -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 contenttype remove
4
6
 
@@ -34,6 +36,25 @@ If the specified content type is in use by a list and cannot be removed, you wil
34
36
 
35
37
  The content type you wish to remove can be selected by the ID or Name of the content type. Either ID or Name parameter must be specified.
36
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
+
37
58
  ## Examples
38
59
 
39
60
  Remove a site content type 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 contenttype set
4
6
 
@@ -45,6 +47,25 @@ When specifying the `--updateChildren` flag, SharePoint will only propagate the
45
47
 
46
48
  :::
47
49
 
50
+ ## Permissions
51
+
52
+ <Tabs>
53
+ <TabItem value="Delegated">
54
+
55
+ | Resource | Permissions |
56
+ |------------|-----------------|
57
+ | SharePoint | AllSites.Manage |
58
+
59
+ </TabItem>
60
+ <TabItem value="Application">
61
+
62
+ | Resource | Permissions |
63
+ |------------|------------------|
64
+ | SharePoint | Sites.Manage.All |
65
+
66
+ </TabItem>
67
+ </Tabs>
68
+
48
69
  ## Examples
49
70
 
50
71
  Move site content type to a different group.
@@ -36,6 +36,25 @@ m365 spo contenttype sync [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.Manage |
47
+
48
+ </TabItem>
49
+ <TabItem value="Application">
50
+
51
+ | Resource | Permissions |
52
+ |------------|------------------|
53
+ | SharePoint | Sites.Manage.All |
54
+
55
+ </TabItem>
56
+ </Tabs>
57
+
39
58
  ## Examples
40
59
 
41
60
  Syncs a given published content type from the hub to the specified site.