@pnp/cli-microsoft365 12.1.0-beta.f55735f → 12.2.0-beta.27b1dab
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/.mocharc.json +1 -1
- package/README.md +2 -2
- package/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/cli/cli.js +12 -7
- package/dist/m365/base/AppCommand.js +1 -1
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-get.js +1 -1
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-member-add.js +4 -4
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-member-get.js +2 -2
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-member-list.js +1 -1
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-member-remove.js +5 -5
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-remove.js +1 -1
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-roleassignment-add.js +3 -3
- package/dist/m365/entra/commands/app/app-add.js +106 -150
- package/dist/m365/entra/commands/app/app-get.js +22 -38
- package/dist/m365/entra/commands/app/app-list.js +10 -22
- package/dist/m365/entra/commands/app/app-permission-add.js +36 -50
- package/dist/m365/entra/commands/app/app-permission-list.js +29 -48
- package/dist/m365/entra/commands/app/app-permission-remove.js +44 -82
- package/dist/m365/entra/commands/app/app-remove.js +21 -38
- package/dist/m365/entra/commands/app/app-role-add.js +32 -46
- package/dist/m365/entra/commands/app/app-role-list.js +20 -25
- package/dist/m365/entra/commands/app/app-role-remove.js +33 -41
- package/dist/m365/entra/commands/app/app-set.js +46 -69
- package/dist/m365/entra/commands/approleassignment/approleassignment-add.js +2 -2
- package/dist/m365/entra/commands/approleassignment/approleassignment-list.js +2 -2
- package/dist/m365/entra/commands/approleassignment/approleassignment-remove.js +2 -2
- package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-add.js +2 -2
- package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-get.js +2 -2
- package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-remove.js +2 -2
- package/dist/m365/entra/commands/group/group-get.js +1 -1
- package/dist/m365/entra/commands/group/group-member-add.js +1 -1
- package/dist/m365/entra/commands/group/group-member-list.js +1 -1
- package/dist/m365/entra/commands/group/group-member-remove.js +1 -1
- package/dist/m365/entra/commands/group/group-member-set.js +1 -1
- package/dist/m365/entra/commands/group/group-remove.js +1 -1
- package/dist/m365/entra/commands/group/group-set.js +1 -1
- package/dist/m365/entra/commands/groupsetting/groupsetting-add.js +1 -1
- package/dist/m365/entra/commands/groupsetting/groupsetting-get.js +1 -1
- package/dist/m365/entra/commands/groupsetting/groupsetting-remove.js +1 -1
- package/dist/m365/entra/commands/groupsetting/groupsetting-set.js +1 -1
- package/dist/m365/entra/commands/groupsettingtemplate/groupsettingtemplate-get.js +1 -1
- package/dist/m365/entra/commands/m365group/m365group-conversation-list.js +1 -1
- package/dist/m365/entra/commands/m365group/m365group-conversation-post-list.js +1 -1
- package/dist/m365/entra/commands/m365group/m365group-get.js +1 -1
- package/dist/m365/entra/commands/m365group/m365group-recyclebinitem-list.js +2 -2
- package/dist/m365/entra/commands/m365group/m365group-recyclebinitem-remove.js +1 -1
- package/dist/m365/entra/commands/m365group/m365group-recyclebinitem-restore.js +1 -1
- package/dist/m365/entra/commands/m365group/m365group-remove.js +1 -1
- package/dist/m365/entra/commands/m365group/m365group-renew.js +1 -1
- package/dist/m365/entra/commands/m365group/m365group-set.js +1 -1
- package/dist/m365/entra/commands/m365group/m365group-teamify.js +1 -1
- package/dist/m365/entra/commands/m365group/m365group-user-add.js +2 -2
- package/dist/m365/entra/commands/m365group/m365group-user-list.js +1 -1
- package/dist/m365/entra/commands/m365group/m365group-user-remove.js +2 -2
- package/dist/m365/entra/commands/m365group/m365group-user-set.js +2 -2
- package/dist/m365/entra/commands/oauth2grant/oauth2grant-add.js +2 -2
- package/dist/m365/entra/commands/oauth2grant/oauth2grant-list.js +1 -1
- package/dist/m365/entra/commands/organization/organization-set.js +1 -1
- package/dist/m365/entra/commands/pim/pim-role-assignment-add.js +5 -5
- package/dist/m365/entra/commands/pim/pim-role-assignment-eligibility-list.js +2 -2
- package/dist/m365/entra/commands/pim/pim-role-assignment-list.js +2 -2
- package/dist/m365/entra/commands/pim/pim-role-assignment-remove.js +5 -5
- package/dist/m365/entra/commands/pim/pim-role-request-list.js +2 -2
- package/dist/m365/entra/commands/roleassignment/roleassignment-add.js +7 -7
- package/dist/m365/entra/commands/roledefinition/roledefinition-get.js +1 -1
- package/dist/m365/entra/commands/roledefinition/roledefinition-remove.js +1 -1
- package/dist/m365/entra/commands/roledefinition/roledefinition-set.js +1 -1
- package/dist/m365/entra/commands/user/user-add.js +1 -1
- package/dist/m365/entra/commands/user/user-get.js +1 -1
- package/dist/m365/entra/commands/user/user-groupmembership-list.js +1 -1
- package/dist/m365/entra/commands/user/user-license-add.js +1 -1
- package/dist/m365/entra/commands/user/user-license-list.js +1 -1
- package/dist/m365/entra/commands/user/user-license-remove.js +1 -1
- package/dist/m365/entra/commands/user/user-recyclebinitem-remove.js +1 -1
- package/dist/m365/entra/commands/user/user-recyclebinitem-restore.js +1 -1
- package/dist/m365/entra/commands/user/user-remove.js +1 -1
- package/dist/m365/entra/commands/user/user-session-revoke.js +1 -1
- package/dist/m365/entra/commands/user/user-set.js +2 -2
- package/dist/m365/entra/commands/user/user-signin-list.js +2 -2
- package/dist/m365/flow/commands/flow-export.js +1 -1
- package/dist/m365/flow/commands/flow-remove.js +1 -1
- package/dist/m365/flow/commands/owner/owner-ensure.js +1 -1
- package/dist/m365/flow/commands/owner/owner-list.js +1 -1
- package/dist/m365/flow/commands/owner/owner-remove.js +1 -1
- package/dist/m365/flow/commands/recyclebinitem/recyclebinitem-restore.js +1 -1
- package/dist/m365/flow/commands/run/run-cancel.js +1 -1
- package/dist/m365/flow/commands/run/run-get.js +1 -1
- package/dist/m365/flow/commands/run/run-list.js +1 -1
- package/dist/m365/flow/commands/run/run-resubmit.js +1 -1
- package/dist/m365/graph/commands/directoryextension/directoryextension-get.js +3 -3
- package/dist/m365/graph/commands/directoryextension/directoryextension-list.js +2 -2
- package/dist/m365/graph/commands/directoryextension/directoryextension-remove.js +3 -3
- package/dist/m365/outlook/commands/mail/mail-searchfolder-add.js +1 -1
- package/dist/m365/outlook/commands/mailbox/mailbox-settings-get.js +1 -1
- package/dist/m365/pp/commands/website/website-get.js +1 -1
- package/dist/m365/pp/commands/website/website-remove.js +1 -1
- package/dist/m365/pp/commands/website/website-webrole-list.js +1 -1
- package/dist/m365/spe/commands/container/container-add.js +1 -1
- package/dist/m365/spe/commands/container/container-get.js +1 -1
- package/dist/m365/spe/commands/container/container-permission-add.js +1 -1
- package/dist/m365/spe/commands/container/container-permission-list.js +1 -1
- package/dist/m365/spe/commands/container/container-permission-remove.js +1 -1
- package/dist/m365/spe/commands/container/container-permission-set.js +1 -1
- package/dist/m365/spe/commands/container/container-recyclebinitem-list.js +1 -1
- package/dist/m365/spe/commands/container/container-recyclebinitem-remove.js +1 -1
- package/dist/m365/spe/commands/container/container-recyclebinitem-restore.js +1 -1
- package/dist/m365/spe/commands/container/container-remove.js +1 -1
- package/dist/m365/spe/commands/containertype/containertype-add.js +1 -1
- package/dist/m365/spe/commands/containertype/containertype-get.js +1 -1
- package/dist/m365/spe/commands/containertype/containertype-remove.js +1 -1
- package/dist/m365/spfx/commands/SpfxCompatibilityMatrix.js +15 -0
- package/dist/m365/spfx/commands/package/package-generate.js +1 -1
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.24.2.js +19 -0
- package/dist/m365/spfx/commands/project/project-doctor/spfx-deps.js +5 -2
- package/dist/m365/spfx/commands/project/project-doctor.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001036_DEP_microsoft_sp_copilot_component.js +10 -0
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.24.2.js +57 -0
- package/dist/m365/spfx/commands/project/project-upgrade.js +2 -1
- package/dist/m365/spo/commands/folder/folder-archive.js +1 -1
- package/dist/m365/spo/commands/folder/folder-unarchive.js +1 -1
- package/dist/m365/spo/commands/list/list-defaultvalue-clear.js +1 -1
- package/dist/m365/spo/commands/list/list-defaultvalue-get.js +1 -1
- package/dist/m365/spo/commands/list/list-defaultvalue-list.js +1 -1
- package/dist/m365/spo/commands/list/list-defaultvalue-remove.js +1 -1
- package/dist/m365/spo/commands/list/list-defaultvalue-set.js +1 -1
- package/dist/m365/spo/commands/list/list-sensitivitylabel-remove.js +1 -1
- package/dist/m365/spo/commands/list/list-view-add.js +1 -1
- package/dist/m365/spo/commands/listitem/listitem-batch-add.js +1 -1
- package/dist/m365/spo/commands/listitem/listitem-batch-remove.js +3 -3
- package/dist/m365/spo/commands/listitem/listitem-batch-set.js +1 -1
- package/dist/m365/spo/commands/page/page-add.js +1 -1
- package/dist/m365/spo/commands/site/site-hubsite-connect.js +1 -1
- package/dist/m365/spo/commands/tenant/tenant-site-get.js +1 -1
- package/dist/m365/spo/commands/user/user-get.js +1 -1
- package/dist/m365/spo/commands/web/web-rule-get.js +1 -1
- package/dist/m365/spo/commands/web/web-rule-list.js +2 -2
- package/dist/m365/spo/commands/web/web-rule-remove.js +1 -1
- package/dist/m365/spp/commands/autofillcolumn/autofillcolumn-set.js +2 -2
- package/dist/m365/spp/commands/model/model-apply.js +2 -2
- package/dist/m365/teams/commands/callrecord/callrecord-get.js +1 -1
- package/dist/m365/teams/commands/callrecord/callrecord-list.js +1 -1
- package/dist/m365/teams/commands/chat/chatUtil.js +1 -1
- package/dist/m365/viva/commands/engage/engage-community-user-add.js +1 -1
- package/dist/utils/formatting.js +5 -4
- package/dist/utils/zod.js +2 -1
- package/docs/docs/cmd/spfx/project/project-upgrade.mdx +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-add.mdx +19 -0
- package/docs/docs/cmd/spo/listitem/listitem-batch-add.mdx +21 -0
- package/docs/docs/cmd/spo/listitem/listitem-batch-remove.mdx +21 -0
- package/docs/docs/cmd/spo/listitem/listitem-batch-set.mdx +21 -0
- package/docs/docs/cmd/spo/listitem/listitem-get.mdx +19 -0
- package/docs/docs/cmd/spo/listitem/listitem-isrecord.mdx +19 -0
- package/docs/docs/cmd/spo/listitem/listitem-list.mdx +19 -0
- package/docs/docs/cmd/spo/listitem/listitem-remove.mdx +21 -0
- package/docs/docs/cmd/spo/listitem/listitem-retentionlabel-ensure.mdx +21 -0
- package/docs/docs/cmd/spo/listitem/listitem-retentionlabel-remove.mdx +21 -0
- package/docs/docs/cmd/spo/listitem/listitem-roleassignment-add.mdx +23 -0
- package/docs/docs/cmd/spo/listitem/listitem-roleassignment-remove.mdx +23 -0
- package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-break.mdx +21 -0
- package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-reset.mdx +21 -0
- package/docs/docs/cmd/spo/listitem/listitem-set.mdx +19 -0
- package/docs/docs/cmd/spo/user/user-get.mdx +5 -0
- package/npm-shrinkwrap.json +539 -876
- package/package.json +31 -30
|
@@ -46,6 +46,25 @@ m365 spo listitem get [options]
|
|
|
46
46
|
|
|
47
47
|
If you want to specify a lookup type in the `fields` option, define which columns from the related list should be returned.
|
|
48
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
|
+
|
|
49
68
|
## Examples
|
|
50
69
|
|
|
51
70
|
Get an item with the ID parameter from a given list in a given site.
|
|
@@ -33,6 +33,25 @@ m365 spo listitem isrecord [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
|
Check whether the document with id _1_ in list with title _Documents_ located in site _https://contoso.sharepoint.com/sites/project-x_ is a record
|
|
@@ -53,6 +53,25 @@ This command retrieves all items in the list, even if there are more than 5000.
|
|
|
53
53
|
|
|
54
54
|
If you want to specify a lookup type in the `properties` option, define which columns from the related list should be returned.
|
|
55
55
|
|
|
56
|
+
## Permissions
|
|
57
|
+
|
|
58
|
+
<Tabs>
|
|
59
|
+
<TabItem value="Delegated">
|
|
60
|
+
|
|
61
|
+
| Resource | Permissions |
|
|
62
|
+
|------------|---------------|
|
|
63
|
+
| SharePoint | AllSites.Read |
|
|
64
|
+
|
|
65
|
+
</TabItem>
|
|
66
|
+
<TabItem value="Application">
|
|
67
|
+
|
|
68
|
+
| Resource | Permissions |
|
|
69
|
+
|------------|----------------|
|
|
70
|
+
| SharePoint | Sites.Read.All |
|
|
71
|
+
|
|
72
|
+
</TabItem>
|
|
73
|
+
</Tabs>
|
|
74
|
+
|
|
56
75
|
## Examples
|
|
57
76
|
|
|
58
77
|
Get all items from a list named Demo 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 listitem remove
|
|
4
6
|
|
|
@@ -37,6 +39,25 @@ m365 spo listitem 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 the list item located in a given site based on the list 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 listitem retentionlabel ensure
|
|
4
6
|
|
|
@@ -44,6 +46,25 @@ m365 spo listitem retentionlabel ensure [options]
|
|
|
44
46
|
|
|
45
47
|
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.
|
|
46
48
|
|
|
49
|
+
## Permissions
|
|
50
|
+
|
|
51
|
+
<Tabs>
|
|
52
|
+
<TabItem value="Delegated">
|
|
53
|
+
|
|
54
|
+
| Resource | Permissions |
|
|
55
|
+
|------------|----------------|
|
|
56
|
+
| SharePoint | AllSites.Write |
|
|
57
|
+
|
|
58
|
+
</TabItem>
|
|
59
|
+
<TabItem value="Application">
|
|
60
|
+
|
|
61
|
+
| Resource | Permissions |
|
|
62
|
+
|------------|---------------------|
|
|
63
|
+
| SharePoint | Sites.ReadWrite.All |
|
|
64
|
+
|
|
65
|
+
</TabItem>
|
|
66
|
+
</Tabs>
|
|
67
|
+
|
|
47
68
|
## Examples
|
|
48
69
|
|
|
49
70
|
Applies a retention label to a list item in a given site based on the list id and label 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 listitem retentionlabel remove
|
|
4
6
|
|
|
@@ -34,6 +36,25 @@ m365 spo listitem retentionlabel 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
|
Removes the retention label from a list item in a given site based on the list 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 listitem roleassignment add
|
|
4
6
|
|
|
@@ -52,6 +54,27 @@ m365 spo listitem roleassignment add [options]
|
|
|
52
54
|
|
|
53
55
|
<Global />
|
|
54
56
|
|
|
57
|
+
## Permissions
|
|
58
|
+
|
|
59
|
+
<Tabs>
|
|
60
|
+
<TabItem value="Delegated">
|
|
61
|
+
|
|
62
|
+
| Resource | Permissions |
|
|
63
|
+
|-----------------|----------------------|
|
|
64
|
+
| Microsoft Graph | Group.ReadBasic.All |
|
|
65
|
+
| SharePoint | AllSites.FullControl |
|
|
66
|
+
|
|
67
|
+
</TabItem>
|
|
68
|
+
<TabItem value="Application">
|
|
69
|
+
|
|
70
|
+
| Resource | Permissions |
|
|
71
|
+
|-----------------|-----------------------|
|
|
72
|
+
| Microsoft Graph | Group.ReadBasic.All |
|
|
73
|
+
| SharePoint | Sites.FullControl.All |
|
|
74
|
+
|
|
75
|
+
</TabItem>
|
|
76
|
+
</Tabs>
|
|
77
|
+
|
|
55
78
|
## Examples
|
|
56
79
|
|
|
57
80
|
Add role assignment to specified list item in specified list located in specified site for specified principal id and specified 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 listitem roleassignment remove
|
|
4
6
|
|
|
@@ -49,6 +51,27 @@ m365 spo listitem roleassignment remove [options]
|
|
|
49
51
|
|
|
50
52
|
<Global />
|
|
51
53
|
|
|
54
|
+
## Permissions
|
|
55
|
+
|
|
56
|
+
<Tabs>
|
|
57
|
+
<TabItem value="Delegated">
|
|
58
|
+
|
|
59
|
+
| Resource | Permissions |
|
|
60
|
+
|-----------------|----------------------|
|
|
61
|
+
| Microsoft Graph | Group.ReadBasic.All |
|
|
62
|
+
| SharePoint | AllSites.FullControl |
|
|
63
|
+
|
|
64
|
+
</TabItem>
|
|
65
|
+
<TabItem value="Application">
|
|
66
|
+
|
|
67
|
+
| Resource | Permissions |
|
|
68
|
+
|-----------------|-----------------------|
|
|
69
|
+
| Microsoft Graph | Group.ReadBasic.All |
|
|
70
|
+
| SharePoint | Sites.FullControl.All |
|
|
71
|
+
|
|
72
|
+
</TabItem>
|
|
73
|
+
</Tabs>
|
|
74
|
+
|
|
52
75
|
## Examples
|
|
53
76
|
|
|
54
77
|
Remove roleassignment from list item getting list by title 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 listitem roleinheritance break
|
|
4
6
|
|
|
@@ -41,6 +43,25 @@ m365 spo listitem roleinheritance break [options]
|
|
|
41
43
|
|
|
42
44
|
By default, when breaking permissions inheritance, the list item will retain existing permissions. To remove existing permissions, use the `--clearExistingPermissions` option.
|
|
43
45
|
|
|
46
|
+
## Permissions
|
|
47
|
+
|
|
48
|
+
<Tabs>
|
|
49
|
+
<TabItem value="Delegated">
|
|
50
|
+
|
|
51
|
+
| Resource | Permissions |
|
|
52
|
+
|------------|----------------------|
|
|
53
|
+
| SharePoint | AllSites.FullControl |
|
|
54
|
+
|
|
55
|
+
</TabItem>
|
|
56
|
+
<TabItem value="Application">
|
|
57
|
+
|
|
58
|
+
| Resource | Permissions |
|
|
59
|
+
|------------|-----------------------|
|
|
60
|
+
| SharePoint | Sites.FullControl.All |
|
|
61
|
+
|
|
62
|
+
</TabItem>
|
|
63
|
+
</Tabs>
|
|
64
|
+
|
|
44
65
|
## Examples
|
|
45
66
|
|
|
46
67
|
Break inheritance of list item _1_ in list _someList_ located in site _https://contoso.sharepoint.com/sites/project-x_
|
|
@@ -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 listitem roleinheritance reset
|
|
4
6
|
|
|
@@ -34,6 +36,25 @@ m365 spo listitem roleinheritance reset [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
|
## Examples
|
|
38
59
|
|
|
39
60
|
Restore role inheritance of list item with id 8 from list with ID _0cd891ef-afce-4e55-b836-fce03286cccf_ located in site _https://contoso.sharepoint.com/sites/project-x_
|
|
@@ -47,6 +47,25 @@ When updating a list item with a DateTime field, use the timezone and the format
|
|
|
47
47
|
|
|
48
48
|
:::
|
|
49
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
|
+
|
|
50
69
|
## Examples
|
|
51
70
|
|
|
52
71
|
Update an item with id _147_ with title _Demo Item_ and content type name _Item_ in list with title _Demo List_ in a site
|
|
@@ -95,6 +95,10 @@ m365 spo user get --webUrl https://contoso.sharepoint.com/sites/project-x
|
|
|
95
95
|
"LoginName": "i:0#.f|membership|johndoe@contoso.onmicrosoft.com",
|
|
96
96
|
"Title": "John Doe",
|
|
97
97
|
"PrincipalType": 1,
|
|
98
|
+
"AadObjectId": {
|
|
99
|
+
"NameId": "00af4ea3-3f02-4857-abe2-357dd6ccceb2",
|
|
100
|
+
"NameIdIssuer": "urn:federation:microsoftonline"
|
|
101
|
+
},
|
|
98
102
|
"Email": "johndoe@contoso.onmicrosoft.com",
|
|
99
103
|
"Expiration": "",
|
|
100
104
|
"IsEmailAuthenticationGuestUser": false,
|
|
@@ -112,6 +116,7 @@ m365 spo user get --webUrl https://contoso.sharepoint.com/sites/project-x
|
|
|
112
116
|
<TabItem value="Text">
|
|
113
117
|
|
|
114
118
|
```text
|
|
119
|
+
AadObjectId : {"NameId":"00af4ea3-3f02-4857-abe2-357dd6ccceb2","NameIdIssuer":"urn:federation:microsoftonline"}
|
|
115
120
|
Email : johndoe@contoso.onmicrosoft.com
|
|
116
121
|
Expiration :
|
|
117
122
|
Id : 10
|