@pnp/cli-microsoft365 11.12.0-beta.8589b73 → 12.0.0-beta.0be7d8d
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.
- package/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/m365/spfx/commands/project/DeployWorkflow.js +7 -15
- package/dist/m365/spfx/commands/project/project-azuredevops-pipeline-add.js +30 -2
- package/dist/m365/spfx/commands/project/project-github-workflow-add.js +12 -2
- package/dist/m365/spo/commands/cdn/cdn-get.js +8 -35
- package/dist/m365/spo/commands/cdn/cdn-origin-add.js +9 -36
- package/dist/m365/spo/commands/cdn/cdn-origin-list.js +8 -34
- package/dist/m365/spo/commands/cdn/cdn-origin-remove.js +10 -39
- package/dist/m365/spo/commands/cdn/cdn-policy-list.js +8 -34
- package/dist/m365/spo/commands/cdn/cdn-policy-set.js +10 -45
- package/dist/m365/spo/commands/cdn/cdn-set.js +10 -46
- package/dist/m365/spo/commands/contenttype/contenttype-sync.js +12 -24
- package/dist/m365/spo/commands/file/file-add.js +2 -6
- package/dist/m365/spo/commands/listitem/listitem-get.js +15 -7
- package/dist/m365/spo/commands/page/page-header-set.js +123 -64
- package/docs/docs/cmd/spo/contenttype/contenttype-sync.mdx +4 -4
- package/docs/docs/cmd/spo/file/file-add.mdx +2 -2
- package/docs/docs/cmd/spo/file/file-checkin.mdx +21 -0
- package/docs/docs/cmd/spo/file/file-checkout.mdx +21 -0
- package/docs/docs/cmd/spo/file/file-copy.mdx +19 -0
- package/docs/docs/cmd/spo/file/file-get.mdx +19 -0
- package/docs/docs/cmd/spo/file/file-list.mdx +19 -0
- package/docs/docs/cmd/spo/file/file-move.mdx +19 -0
- package/docs/docs/cmd/spo/file/file-remove.mdx +21 -0
- package/docs/docs/cmd/spo/file/file-rename.mdx +19 -0
- package/docs/docs/cmd/spo/folder/folder-retentionlabel-ensure.mdx +21 -0
- package/docs/docs/cmd/spo/folder/folder-retentionlabel-remove.mdx +21 -0
- package/docs/docs/cmd/spo/folder/folder-roleassignment-add.mdx +21 -0
- package/docs/docs/cmd/spo/folder/folder-roleassignment-remove.mdx +21 -0
- package/docs/docs/cmd/spo/folder/folder-roleinheritance-break.mdx +21 -0
- package/docs/docs/cmd/spo/folder/folder-roleinheritance-reset.mdx +21 -0
- package/docs/docs/cmd/spo/list/list-add.mdx +19 -0
- package/docs/docs/cmd/spo/list/list-contenttype-add.mdx +19 -0
- package/docs/docs/cmd/spo/list/list-contenttype-default-set.mdx +21 -0
- package/docs/docs/cmd/spo/list/list-contenttype-list.mdx +19 -0
- package/docs/docs/cmd/spo/list/list-contenttype-remove.mdx +21 -0
- package/docs/docs/cmd/spo/list/list-defaultvalue-clear.mdx +21 -0
- package/docs/docs/cmd/spo/list/list-defaultvalue-list.mdx +19 -0
- package/docs/docs/cmd/spo/list/list-defaultvalue-remove.mdx +21 -0
- package/docs/docs/cmd/spo/list/list-defaultvalue-set.mdx +21 -0
- package/docs/docs/cmd/spo/list/list-get.mdx +19 -0
- package/docs/docs/cmd/spo/list/list-list.mdx +19 -0
- package/docs/docs/cmd/spo/list/list-remove.mdx +21 -0
- package/docs/docs/cmd/spo/list/list-retentionlabel-ensure.mdx +21 -0
- package/docs/docs/cmd/spo/list/list-retentionlabel-get.mdx +19 -0
- package/docs/docs/cmd/spo/list/list-retentionlabel-remove.mdx +21 -0
- package/docs/docs/cmd/spo/list/list-roleassignment-add.mdx +21 -0
- package/docs/docs/cmd/spo/list/list-roleassignment-remove.mdx +21 -0
- package/docs/docs/cmd/spo/list/list-roleinheritance-break.mdx +21 -0
- package/docs/docs/cmd/spo/list/list-roleinheritance-reset.mdx +21 -0
- package/docs/docs/cmd/spo/list/list-sensitivitylabel-ensure.mdx +23 -0
- package/docs/docs/cmd/spo/list/list-set.mdx +21 -0
- package/docs/docs/cmd/spo/list/list-sitescript-get.mdx +19 -0
- package/docs/docs/cmd/spo/list/list-view-add.mdx +19 -0
- package/docs/docs/cmd/spo/list/list-view-field-add.mdx +21 -0
- package/docs/docs/cmd/spo/list/list-view-field-remove.mdx +21 -0
- package/docs/docs/cmd/spo/list/list-view-field-set.mdx +21 -0
- package/docs/docs/cmd/spo/list/list-view-get.mdx +19 -0
- package/docs/docs/cmd/spo/list/list-view-list.mdx +19 -0
- package/docs/docs/cmd/spo/list/list-view-remove.mdx +21 -0
- package/docs/docs/cmd/spo/list/list-view-set.mdx +19 -0
- package/docs/docs/cmd/spo/list/list-webhook-add.mdx +19 -0
- package/docs/docs/cmd/spo/list/list-webhook-get.mdx +19 -0
- package/docs/docs/cmd/spo/list/list-webhook-list.mdx +19 -0
- package/docs/docs/cmd/spo/list/list-webhook-remove.mdx +21 -0
- package/docs/docs/cmd/spo/list/list-webhook-set.mdx +21 -0
- package/docs/docs/cmd/spo/listitem/listitem-attachment-add.mdx +19 -0
- package/docs/docs/cmd/spo/listitem/listitem-attachment-get.mdx +19 -0
- package/docs/docs/cmd/spo/listitem/listitem-attachment-list.mdx +19 -0
- package/docs/docs/cmd/spo/listitem/listitem-attachment-remove.mdx +19 -0
- package/docs/docs/cmd/spo/listitem/listitem-attachment-set.mdx +19 -0
- package/docs/docs/cmd/spo/listitem/listitem-get.mdx +13 -7
- package/docs/docs/cmd/spo/page/page-header-set.mdx +9 -9
- package/docs/docs/cmd/tenant/id/id-get.mdx +15 -0
- package/docs/docs/cmd/tenant/info/info-get.mdx +19 -0
- package/docs/docs/cmd/tenant/people/people-pronouns-get.mdx +19 -0
- package/docs/docs/cmd/tenant/people/people-pronouns-set.mdx +19 -0
- package/docs/docs/cmd/tenant/report/report-settings-get.mdx +19 -0
- package/docs/docs/cmd/tenant/report/report-settings-set.mdx +21 -0
- package/docs/docs/cmd/tenant/security/security-alerts-list.mdx +19 -0
- package/npm-shrinkwrap.json +1103 -1157
- package/package.json +17 -17
|
@@ -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 folder retentionlabel ensure
|
|
4
6
|
|
|
@@ -32,6 +34,25 @@ m365 spo folder retentionlabel ensure [options]
|
|
|
32
34
|
|
|
33
35
|
You can also use [spo listitem retentionlabel remove](./../../../cmd/spo/listitem/listitem-retentionlabel-remove.mdx) for removing the retention label from a list item.
|
|
34
36
|
|
|
37
|
+
## Permissions
|
|
38
|
+
|
|
39
|
+
<Tabs>
|
|
40
|
+
<TabItem value="Delegated">
|
|
41
|
+
|
|
42
|
+
| Resource | Permissions |
|
|
43
|
+
|------------|----------------|
|
|
44
|
+
| SharePoint | AllSites.Write |
|
|
45
|
+
|
|
46
|
+
</TabItem>
|
|
47
|
+
<TabItem value="Application">
|
|
48
|
+
|
|
49
|
+
| Resource | Permissions |
|
|
50
|
+
|------------|---------------------|
|
|
51
|
+
| SharePoint | Sites.ReadWrite.All |
|
|
52
|
+
|
|
53
|
+
</TabItem>
|
|
54
|
+
</Tabs>
|
|
55
|
+
|
|
35
56
|
## Examples
|
|
36
57
|
|
|
37
58
|
Applies a retention label to a folder based on the label name and the folderUrl.
|
|
@@ -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 folder retentionlabel remove
|
|
4
6
|
|
|
@@ -28,6 +30,25 @@ m365 spo folder 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 folder in a given site based on the folder 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 folder roleassignment add
|
|
4
6
|
|
|
@@ -43,6 +45,25 @@ m365 spo folder roleassignment add [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
|
Add the role assignment to the specified folder based on the group name and role definition name.
|
|
@@ -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 folder roleassignment remove
|
|
4
6
|
|
|
@@ -40,6 +42,25 @@ m365 spo folder roleassignment remove [options]
|
|
|
40
42
|
|
|
41
43
|
<Global />
|
|
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
|
Remove roleassignment from folder based on group name.
|
|
@@ -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 folder roleinheritance break
|
|
4
6
|
|
|
@@ -28,6 +30,25 @@ m365 spo folder roleinheritance break [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
|
Break the inheritance of a folder with a specified site-relative 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 folder roleinheritance reset
|
|
4
6
|
|
|
@@ -25,6 +27,25 @@ m365 spo folder roleinheritance reset [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
|
## Examples
|
|
29
50
|
|
|
30
51
|
Reset inheritance of folder with a specific site-relative URL.
|
|
@@ -207,6 +207,25 @@ m365 spo list add [options]
|
|
|
207
207
|
|
|
208
208
|
<Global />
|
|
209
209
|
|
|
210
|
+
## Permissions
|
|
211
|
+
|
|
212
|
+
<Tabs>
|
|
213
|
+
<TabItem value="Delegated">
|
|
214
|
+
|
|
215
|
+
| Resource | Permissions |
|
|
216
|
+
|------------|-----------------|
|
|
217
|
+
| SharePoint | AllSites.Manage |
|
|
218
|
+
|
|
219
|
+
</TabItem>
|
|
220
|
+
<TabItem value="Application">
|
|
221
|
+
|
|
222
|
+
| Resource | Permissions |
|
|
223
|
+
|------------|------------------|
|
|
224
|
+
| SharePoint | Sites.Manage.All |
|
|
225
|
+
|
|
226
|
+
</TabItem>
|
|
227
|
+
</Tabs>
|
|
228
|
+
|
|
210
229
|
## Examples
|
|
211
230
|
|
|
212
231
|
Add a list with specific title and baseTemplate in a specific site.
|
|
@@ -33,6 +33,25 @@ m365 spo list contenttype add [options]
|
|
|
33
33
|
|
|
34
34
|
<Global />
|
|
35
35
|
|
|
36
|
+
## Permissions
|
|
37
|
+
|
|
38
|
+
<Tabs>
|
|
39
|
+
<TabItem value="Delegated">
|
|
40
|
+
|
|
41
|
+
| Resource | Permissions |
|
|
42
|
+
|------------|----------------|
|
|
43
|
+
| SharePoint | AllSites.Write |
|
|
44
|
+
|
|
45
|
+
</TabItem>
|
|
46
|
+
<TabItem value="Application">
|
|
47
|
+
|
|
48
|
+
| Resource | Permissions |
|
|
49
|
+
|------------|---------------------|
|
|
50
|
+
| SharePoint | Sites.ReadWrite.All |
|
|
51
|
+
|
|
52
|
+
</TabItem>
|
|
53
|
+
</Tabs>
|
|
54
|
+
|
|
36
55
|
## Examples
|
|
37
56
|
|
|
38
57
|
Adds a specific existing content type to a list retrieved by id in a specific 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 list contenttype default set
|
|
4
6
|
|
|
@@ -31,6 +33,25 @@ m365 spo list contenttype default set [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.Write |
|
|
44
|
+
|
|
45
|
+
</TabItem>
|
|
46
|
+
<TabItem value="Application">
|
|
47
|
+
|
|
48
|
+
| Resource | Permissions |
|
|
49
|
+
|------------|---------------------|
|
|
50
|
+
| SharePoint | Sites.ReadWrite.All |
|
|
51
|
+
|
|
52
|
+
</TabItem>
|
|
53
|
+
</Tabs>
|
|
54
|
+
|
|
34
55
|
## Examples
|
|
35
56
|
|
|
36
57
|
Set a content type with a specific id as default a list retrieved by id located in a specific site.
|
|
@@ -30,6 +30,25 @@ m365 spo list contenttype 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
|
List all content types configured on a specific list retrieved by id in a specific 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 list contenttype remove
|
|
4
6
|
|
|
@@ -34,6 +36,25 @@ m365 spo list contenttype 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.Write |
|
|
47
|
+
|
|
48
|
+
</TabItem>
|
|
49
|
+
<TabItem value="Application">
|
|
50
|
+
|
|
51
|
+
| Resource | Permissions |
|
|
52
|
+
|------------|---------------------|
|
|
53
|
+
| SharePoint | Sites.ReadWrite.All |
|
|
54
|
+
|
|
55
|
+
</TabItem>
|
|
56
|
+
</Tabs>
|
|
57
|
+
|
|
37
58
|
## Examples
|
|
38
59
|
|
|
39
60
|
Remove content type with a specific id from the list retrieved by id in a specific 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 list defaultvalue clear
|
|
4
6
|
|
|
@@ -37,6 +39,25 @@ m365 spo list defaultvalue clear [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.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
|
Remove all default column values from a library
|
|
@@ -33,6 +33,25 @@ m365 spo list defaultvalue list [options]
|
|
|
33
33
|
|
|
34
34
|
<Global />
|
|
35
35
|
|
|
36
|
+
## Permissions
|
|
37
|
+
|
|
38
|
+
<Tabs>
|
|
39
|
+
<TabItem value="Delegated">
|
|
40
|
+
|
|
41
|
+
| Resource | Permissions |
|
|
42
|
+
|------------|---------------|
|
|
43
|
+
| SharePoint | AllSites.Read |
|
|
44
|
+
|
|
45
|
+
</TabItem>
|
|
46
|
+
<TabItem value="Application">
|
|
47
|
+
|
|
48
|
+
| Resource | Permissions |
|
|
49
|
+
|------------|----------------|
|
|
50
|
+
| SharePoint | Sites.Read.All |
|
|
51
|
+
|
|
52
|
+
</TabItem>
|
|
53
|
+
</Tabs>
|
|
54
|
+
|
|
36
55
|
## Examples
|
|
37
56
|
|
|
38
57
|
List all default column values of a list specified by title
|
|
@@ -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 list defaultvalue remove
|
|
4
6
|
|
|
@@ -37,6 +39,25 @@ m365 spo list defaultvalue remove [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.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
|
Remove a default column value from the root folder of the list
|
|
@@ -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 list defaultvalue set
|
|
4
6
|
|
|
@@ -45,6 +47,25 @@ Due to limitations in SharePoint Online, setting default column values for folde
|
|
|
45
47
|
|
|
46
48
|
:::
|
|
47
49
|
|
|
50
|
+
## Permissions
|
|
51
|
+
|
|
52
|
+
<Tabs>
|
|
53
|
+
<TabItem value="Delegated">
|
|
54
|
+
|
|
55
|
+
| Resource | Permissions |
|
|
56
|
+
|------------|----------------|
|
|
57
|
+
| SharePoint | AllSites.Write |
|
|
58
|
+
|
|
59
|
+
</TabItem>
|
|
60
|
+
<TabItem value="Application">
|
|
61
|
+
|
|
62
|
+
| Resource | Permissions |
|
|
63
|
+
|------------|---------------------|
|
|
64
|
+
| SharePoint | Sites.ReadWrite.All |
|
|
65
|
+
|
|
66
|
+
</TabItem>
|
|
67
|
+
</Tabs>
|
|
68
|
+
|
|
48
69
|
## Examples
|
|
49
70
|
|
|
50
71
|
Set a default folder value on the root folder of a list for a text field
|
|
@@ -43,6 +43,25 @@ m365 spo list get [options]
|
|
|
43
43
|
|
|
44
44
|
When the `properties` option includes values with a `/`, for example: `ListItemAllFields/Id`, an additional `$expand` query parameter will be included on `ListItemAllFields`.
|
|
45
45
|
|
|
46
|
+
## Permissions
|
|
47
|
+
|
|
48
|
+
<Tabs>
|
|
49
|
+
<TabItem value="Delegated">
|
|
50
|
+
|
|
51
|
+
| Resource | Permissions |
|
|
52
|
+
|------------|---------------|
|
|
53
|
+
| SharePoint | AllSites.Read |
|
|
54
|
+
|
|
55
|
+
</TabItem>
|
|
56
|
+
<TabItem value="Application">
|
|
57
|
+
|
|
58
|
+
| Resource | Permissions |
|
|
59
|
+
|------------|----------------|
|
|
60
|
+
| SharePoint | Sites.Read.All |
|
|
61
|
+
|
|
62
|
+
</TabItem>
|
|
63
|
+
</Tabs>
|
|
64
|
+
|
|
46
65
|
## Examples
|
|
47
66
|
|
|
48
67
|
Get the default document library located in the specified site.
|
|
@@ -31,6 +31,25 @@ m365 spo list list [options]
|
|
|
31
31
|
|
|
32
32
|
When the `--properties` option includes values with a `/`, for example: `RootFolder/ServerRelativeUrl`, an additional `$expand` query parameter should be included on `RootFolder`.
|
|
33
33
|
|
|
34
|
+
## Permissions
|
|
35
|
+
|
|
36
|
+
<Tabs>
|
|
37
|
+
<TabItem value="Delegated">
|
|
38
|
+
|
|
39
|
+
| Resource | Permissions |
|
|
40
|
+
|------------|---------------|
|
|
41
|
+
| SharePoint | AllSites.Read |
|
|
42
|
+
|
|
43
|
+
</TabItem>
|
|
44
|
+
<TabItem value="Application">
|
|
45
|
+
|
|
46
|
+
| Resource | Permissions |
|
|
47
|
+
|------------|----------------|
|
|
48
|
+
| SharePoint | Sites.Read.All |
|
|
49
|
+
|
|
50
|
+
</TabItem>
|
|
51
|
+
</Tabs>
|
|
52
|
+
|
|
34
53
|
## Examples
|
|
35
54
|
|
|
36
55
|
Return all lists located in in a specific 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 list remove
|
|
4
6
|
|
|
@@ -31,6 +33,25 @@ m365 spo list remove [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.Manage |
|
|
44
|
+
|
|
45
|
+
</TabItem>
|
|
46
|
+
<TabItem value="Application">
|
|
47
|
+
|
|
48
|
+
| Resource | Permissions |
|
|
49
|
+
|------------|------------------|
|
|
50
|
+
| SharePoint | Sites.Manage.All |
|
|
51
|
+
|
|
52
|
+
</TabItem>
|
|
53
|
+
</Tabs>
|
|
54
|
+
|
|
34
55
|
## Examples
|
|
35
56
|
|
|
36
57
|
Remove the list with a specific ID located in a specific 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 list retentionlabel ensure
|
|
4
6
|
|
|
@@ -38,6 +40,25 @@ m365 spo list retentionlabel ensure [options]
|
|
|
38
40
|
|
|
39
41
|
A list retention label is a default label that will be applied to all new items in the list. If you specify `syncToItems`, it is also synced to existing items.
|
|
40
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
|
+
|
|
41
62
|
## Examples
|
|
42
63
|
|
|
43
64
|
Sets a retention label by name on a given list.
|
|
@@ -30,6 +30,25 @@ m365 spo list retentionlabel get [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
|
Gets retention label set on the list with specified title 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 list retentionlabel remove
|
|
4
6
|
|
|
@@ -31,6 +33,25 @@ m365 spo list retentionlabel remove [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.Write |
|
|
44
|
+
|
|
45
|
+
</TabItem>
|
|
46
|
+
<TabItem value="Application">
|
|
47
|
+
|
|
48
|
+
| Resource | Permissions |
|
|
49
|
+
|------------|---------------------|
|
|
50
|
+
| SharePoint | Sites.ReadWrite.All |
|
|
51
|
+
|
|
52
|
+
</TabItem>
|
|
53
|
+
</Tabs>
|
|
54
|
+
|
|
34
55
|
## Examples
|
|
35
56
|
|
|
36
57
|
Clears the retention label on a given list by 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 list roleassignment add
|
|
4
6
|
|
|
@@ -49,6 +51,25 @@ m365 spo list roleassignment add [options]
|
|
|
49
51
|
|
|
50
52
|
<Global />
|
|
51
53
|
|
|
54
|
+
## Permissions
|
|
55
|
+
|
|
56
|
+
<Tabs>
|
|
57
|
+
<TabItem value="Delegated">
|
|
58
|
+
|
|
59
|
+
| Resource | Permissions |
|
|
60
|
+
|------------|----------------------|
|
|
61
|
+
| SharePoint | AllSites.FullControl |
|
|
62
|
+
|
|
63
|
+
</TabItem>
|
|
64
|
+
<TabItem value="Application">
|
|
65
|
+
|
|
66
|
+
| Resource | Permissions |
|
|
67
|
+
|------------|-----------------------|
|
|
68
|
+
| SharePoint | Sites.FullControl.All |
|
|
69
|
+
|
|
70
|
+
</TabItem>
|
|
71
|
+
</Tabs>
|
|
72
|
+
|
|
52
73
|
## Examples
|
|
53
74
|
|
|
54
75
|
Adds role assignment to a list by title located in a specific site for given principal id and role definition id.
|