@pnp/cli-microsoft365 5.9.0 → 6.0.0-beta.01ba480
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/dist/Auth.js +1 -2
- package/dist/m365/aad/commands/app/app-add.js +4 -5
- package/dist/m365/aad/commands/app/app-remove.js +0 -4
- package/dist/m365/aad/commands/app/app-role-remove.js +0 -4
- package/dist/m365/aad/commands/approleassignment/approleassignment-add.js +11 -11
- package/dist/m365/aad/commands/approleassignment/approleassignment-list.js +10 -10
- package/dist/m365/aad/commands/approleassignment/approleassignment-remove.js +10 -10
- package/dist/m365/aad/commands/o365group/o365group-add.js +2 -7
- package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-list.js +6 -6
- package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-restore.js +0 -3
- package/dist/m365/aad/commands/o365group/o365group-teamify.js +7 -7
- package/dist/m365/aad/commands/policy/policy-list.js +6 -6
- package/dist/m365/aad/commands/sp/sp-get.js +12 -12
- package/dist/m365/aad/commands/user/user-guest-add.js +103 -0
- package/dist/m365/aad/commands.js +1 -3
- package/dist/m365/cli/commands/config/config-set.js +0 -1
- package/dist/m365/flow/commands/flow-disable.js +2 -2
- package/dist/m365/flow/commands/flow-enable.js +2 -2
- package/dist/m365/flow/commands/flow-export.js +5 -5
- package/dist/m365/flow/commands/flow-get.js +2 -2
- package/dist/m365/flow/commands/flow-list.js +2 -2
- package/dist/m365/flow/commands/flow-remove.js +3 -3
- package/dist/m365/flow/commands/run/run-cancel.js +6 -6
- package/dist/m365/flow/commands/run/run-get.js +4 -4
- package/dist/m365/flow/commands/run/run-list.js +4 -4
- package/dist/m365/flow/commands/run/run-resubmit.js +7 -7
- package/dist/m365/outlook/commands/mail/mail-send.js +0 -3
- package/dist/m365/outlook/commands/message/message-get.js +97 -0
- package/dist/m365/outlook/commands/message/message-move.js +2 -2
- package/dist/m365/outlook/commands.js +2 -2
- package/dist/m365/pa/commands/connector/connector-export.js +3 -3
- package/dist/m365/pa/commands/connector/connector-list.js +2 -2
- package/dist/m365/pa/commands/solution/solution-reference-add.js +7 -7
- package/dist/m365/planner/commands/bucket/bucket-add.js +2 -9
- package/dist/m365/planner/commands/bucket/bucket-get.js +4 -11
- package/dist/m365/planner/commands/bucket/bucket-list.js +2 -9
- package/dist/m365/planner/commands/bucket/bucket-remove.js +4 -11
- package/dist/m365/planner/commands/bucket/bucket-set.js +4 -11
- package/dist/m365/planner/commands/plan/plan-get.js +5 -24
- package/dist/m365/planner/commands/task/task-add.js +3 -8
- package/dist/m365/planner/commands/task/task-get.js +5 -19
- package/dist/m365/planner/commands/task/task-list.js +4 -11
- package/dist/m365/planner/commands/task/task-set.js +5 -10
- package/dist/m365/planner/commands.js +0 -2
- package/dist/m365/spfx/commands/package/package-generate.js +2 -2
- package/dist/m365/spo/commands/app/SpoAppBaseCommand.js +1 -1
- package/dist/m365/spo/commands/app/app-add.js +7 -7
- package/dist/m365/spo/commands/app/app-deploy.js +7 -7
- package/dist/m365/spo/commands/app/app-get.js +7 -7
- package/dist/m365/spo/commands/app/app-install.js +6 -6
- package/dist/m365/spo/commands/app/app-list.js +7 -7
- package/dist/m365/spo/commands/app/app-remove.js +7 -7
- package/dist/m365/spo/commands/app/app-retract.js +7 -7
- package/dist/m365/spo/commands/app/app-uninstall.js +6 -6
- package/dist/m365/spo/commands/app/app-upgrade.js +6 -6
- package/dist/m365/spo/commands/apppage/apppage-set.js +2 -2
- package/dist/m365/spo/commands/cdn/cdn-policy-list.js +7 -7
- package/dist/m365/spo/commands/cdn/cdn-policy-set.js +7 -7
- package/dist/m365/spo/commands/contenttype/contenttype-field-set.js +13 -13
- package/dist/m365/spo/commands/customaction/customaction-add.js +3 -3
- package/dist/m365/spo/commands/customaction/customaction-clear.js +3 -3
- package/dist/m365/spo/commands/customaction/customaction-get.js +5 -4
- package/dist/m365/spo/commands/customaction/customaction-list.js +5 -4
- package/dist/m365/spo/commands/customaction/customaction-remove.js +6 -5
- package/dist/m365/spo/commands/customaction/customaction-set.js +3 -3
- package/dist/m365/spo/commands/feature/feature-disable.js +4 -4
- package/dist/m365/spo/commands/feature/feature-enable.js +5 -5
- package/dist/m365/spo/commands/feature/feature-list.js +3 -3
- package/dist/m365/spo/commands/field/field-get.js +1 -7
- package/dist/m365/spo/commands/field/field-remove.js +1 -7
- package/dist/m365/spo/commands/field/field-set.js +1 -8
- package/dist/m365/spo/commands/file/file-checkin.js +5 -5
- package/dist/m365/spo/commands/file/file-checkout.js +5 -5
- package/dist/m365/spo/commands/file/file-sharinginfo-get.js +13 -13
- package/dist/m365/spo/commands/folder/folder-get.js +6 -6
- package/dist/m365/spo/commands/folder/folder-remove.js +3 -3
- package/dist/m365/spo/commands/folder/folder-rename.js +4 -4
- package/dist/m365/spo/commands/folder/folder-roleinheritance-break.js +11 -1
- package/dist/m365/spo/commands/folder/folder-roleinheritance-reset.js +12 -1
- package/dist/m365/spo/commands/hubsite/hubsite-register.js +4 -4
- package/dist/m365/spo/commands/hubsite/hubsite-rights-grant.js +4 -4
- package/dist/m365/spo/commands/hubsite/hubsite-rights-revoke.js +5 -5
- package/dist/m365/spo/commands/knowledgehub/knowledgehub-set.js +4 -4
- package/dist/m365/spo/commands/list/list-contenttype-add.js +4 -4
- package/dist/m365/spo/commands/list/list-contenttype-remove.js +5 -5
- package/dist/m365/spo/commands/list/list-list.js +3 -13
- package/dist/m365/spo/commands/list/list-roleinheritance-break.js +50 -29
- package/dist/m365/spo/commands/list/list-roleinheritance-reset.js +46 -25
- package/dist/m365/spo/commands/list/list-view-field-add.js +20 -20
- package/dist/m365/spo/commands/list/list-view-field-remove.js +11 -11
- package/dist/m365/spo/commands/list/list-view-field-set.js +15 -15
- package/dist/m365/spo/commands/list/list-view-get.js +9 -9
- package/dist/m365/spo/commands/list/list-view-remove.js +11 -11
- package/dist/m365/spo/commands/list/list-view-set.js +11 -11
- package/dist/m365/spo/commands/list/list-webhook-list.js +4 -28
- package/dist/m365/spo/commands/listitem/listitem-list.js +3 -28
- package/dist/m365/spo/commands/listitem/listitem-record-declare.js +4 -4
- package/dist/m365/spo/commands/listitem/listitem-record-undeclare.js +4 -4
- package/dist/m365/spo/commands/listitem/listitem-roleinheritance-break.js +50 -29
- package/dist/m365/spo/commands/listitem/listitem-roleinheritance-reset.js +48 -24
- package/dist/m365/spo/commands/page/page-column-get.js +2 -2
- package/dist/m365/spo/commands/page/page-column-list.js +2 -2
- package/dist/m365/spo/commands/page/page-control-get.js +4 -4
- package/dist/m365/spo/commands/page/page-control-list.js +3 -3
- package/dist/m365/spo/commands/page/page-control-set.js +3 -3
- package/dist/m365/spo/commands/page/page-section-add.js +2 -2
- package/dist/m365/spo/commands/page/page-section-get.js +2 -2
- package/dist/m365/spo/commands/page/page-section-list.js +2 -2
- package/dist/m365/spo/commands/roledefinition/roledefinition-list.js +15 -2
- package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-grant-revoke.js +2 -2
- package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-permissionrequest-approve.js +4 -4
- package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-permissionrequest-deny.js +4 -4
- package/dist/m365/spo/commands/site/site-add.js +4 -11
- package/dist/m365/spo/commands/site/site-appcatalog-add.js +3 -3
- package/dist/m365/spo/commands/site/site-appcatalog-remove.js +3 -3
- package/dist/m365/spo/commands/site/site-apppermission-get.js +2 -2
- package/dist/m365/spo/commands/site/site-apppermission-remove.js +5 -5
- package/dist/m365/spo/commands/site/site-apppermission-set.js +5 -5
- package/dist/m365/spo/commands/site/site-chrome-set.js +3 -3
- package/dist/m365/spo/commands/site/site-ensure.js +1 -1
- package/dist/m365/spo/commands/site/site-groupify.js +3 -3
- package/dist/m365/spo/commands/{hubsite/hubsite-connect.js → site/site-hubsite-connect.js} +17 -17
- package/dist/m365/spo/commands/{hubsite/hubsite-disconnect.js → site/site-hubsite-disconnect.js} +18 -18
- package/dist/m365/spo/commands/{hubsite/hubsite-theme-sync.js → site/site-hubsite-theme-sync.js} +11 -11
- package/dist/m365/spo/commands/site/site-list.js +6 -17
- package/dist/m365/spo/commands/site/site-rename.js +9 -9
- package/dist/m365/spo/commands/sitedesign/sitedesign-rights-grant.js +4 -4
- package/dist/m365/spo/commands/sitedesign/sitedesign-rights-list.js +4 -4
- package/dist/m365/spo/commands/sitedesign/sitedesign-rights-revoke.js +5 -5
- package/dist/m365/spo/commands/sitedesign/sitedesign-task-get.js +4 -4
- package/dist/m365/spo/commands/sitedesign/sitedesign-task-remove.js +5 -5
- package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-remove.js +5 -5
- package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-restore.js +3 -3
- package/dist/m365/spo/commands/web/web-add.js +4 -4
- package/dist/m365/spo/commands/web/web-get.js +3 -3
- package/dist/m365/spo/commands/web/web-list.js +4 -4
- package/dist/m365/spo/commands/web/web-reindex.js +8 -8
- package/dist/m365/spo/commands/web/web-remove.js +5 -5
- package/dist/m365/spo/commands/web/web-roleinheritance-reset.js +41 -15
- package/dist/m365/spo/commands/web/web-set.js +4 -4
- package/dist/m365/spo/commands.js +3 -6
- package/dist/m365/teams/commands/app/app-install.js +4 -4
- package/dist/m365/teams/commands/app/app-uninstall.js +3 -3
- package/dist/m365/teams/commands/channel/channel-get.js +10 -10
- package/dist/m365/teams/commands/channel/channel-member-add.js +0 -4
- package/dist/m365/teams/commands/channel/channel-member-list.js +0 -4
- package/dist/m365/teams/commands/channel/channel-member-remove.js +0 -4
- package/dist/m365/teams/commands/channel/channel-remove.js +16 -16
- package/dist/m365/teams/commands/channel/channel-set.js +7 -7
- package/dist/m365/teams/commands/message/message-get.js +3 -3
- package/dist/m365/teams/commands/tab/tab-get.js +10 -10
- package/dist/m365/teams/commands/tab/tab-remove.js +6 -6
- package/dist/m365/teams/commands/team/team-archive.js +3 -13
- package/dist/m365/teams/commands/team/team-clone.js +3 -20
- package/dist/m365/teams/commands/team/team-remove.js +5 -17
- package/dist/m365/teams/commands/team/team-set.js +1 -20
- package/dist/m365/teams/commands/team/team-unarchive.js +4 -16
- package/dist/m365/teams/commands/user/user-app-add.js +4 -4
- package/dist/m365/teams/commands/user/user-app-remove.js +3 -3
- package/dist/m365/teams/commands.js +0 -3
- package/dist/m365/viva/commands/connections/connections-app-create.js +9 -9
- package/dist/m365/yammer/commands/group/group-user-add.js +8 -8
- package/dist/m365/yammer/commands/group/group-user-remove.js +11 -11
- package/dist/m365/yammer/commands/message/message-like-set.js +5 -5
- package/dist/m365/yammer/commands/user/user-get.js +5 -5
- package/dist/settingsNames.js +0 -1
- package/docs/docs/_clisettings.md +1 -2
- package/docs/docs/cmd/aad/app/app-remove.md +0 -6
- package/docs/docs/cmd/aad/app/app-role-remove.md +0 -6
- package/docs/docs/cmd/aad/approleassignment/approleassignment-add.md +5 -5
- package/docs/docs/cmd/aad/approleassignment/approleassignment-list.md +5 -5
- package/docs/docs/cmd/aad/approleassignment/approleassignment-remove.md +5 -5
- package/docs/docs/cmd/aad/o365group/o365group-add.md +3 -3
- package/docs/docs/cmd/aad/o365group/o365group-recyclebinitem-list.md +7 -7
- package/docs/docs/cmd/aad/o365group/o365group-recyclebinitem-restore.md +0 -6
- package/docs/docs/cmd/aad/o365group/o365group-teamify.md +4 -4
- package/docs/docs/cmd/aad/policy/policy-list.md +2 -2
- package/docs/docs/cmd/aad/sp/sp-get.md +5 -5
- package/docs/docs/cmd/aad/user/user-guest-add.md +107 -0
- package/docs/docs/cmd/adaptivecard/adaptivecard-send.md +3 -0
- package/docs/docs/cmd/flow/flow-disable.md +3 -3
- package/docs/docs/cmd/flow/flow-enable.md +1 -1
- package/docs/docs/cmd/flow/flow-export.md +5 -5
- package/docs/docs/cmd/flow/flow-get.md +3 -3
- package/docs/docs/cmd/flow/flow-list.md +3 -3
- package/docs/docs/cmd/flow/flow-remove.md +5 -5
- package/docs/docs/cmd/flow/run/run-cancel.md +3 -3
- package/docs/docs/cmd/flow/run/run-get.md +3 -3
- package/docs/docs/cmd/flow/run/run-list.md +3 -3
- package/docs/docs/cmd/flow/run/run-resubmit.md +4 -4
- package/docs/docs/cmd/graph/schemaextension/schemaextension-add.md +4 -11
- package/docs/docs/cmd/graph/schemaextension/schemaextension-set.md +4 -10
- package/docs/docs/cmd/outlook/mail/mail-send.md +0 -6
- package/docs/docs/cmd/outlook/message/message-get.md +48 -0
- package/docs/docs/cmd/outlook/message/message-move.md +4 -4
- package/docs/docs/cmd/pa/connector/connector-export.md +3 -3
- package/docs/docs/cmd/pa/connector/connector-list.md +2 -2
- package/docs/docs/cmd/pa/solution/solution-reference-add.md +2 -2
- package/docs/docs/cmd/planner/bucket/bucket-add.md +0 -3
- package/docs/docs/cmd/planner/bucket/bucket-get.md +0 -3
- package/docs/docs/cmd/planner/bucket/bucket-list.md +0 -3
- package/docs/docs/cmd/planner/bucket/bucket-remove.md +0 -3
- package/docs/docs/cmd/planner/bucket/bucket-set.md +0 -3
- package/docs/docs/cmd/planner/plan/plan-get.md +0 -12
- package/docs/docs/cmd/planner/task/task-add.md +0 -3
- package/docs/docs/cmd/planner/task/task-get.md +0 -6
- package/docs/docs/cmd/planner/task/task-list.md +0 -3
- package/docs/docs/cmd/planner/task/task-set.md +0 -3
- package/docs/docs/cmd/spfx/package/package-generate.md +2 -2
- package/docs/docs/cmd/spo/app/app-add.md +2 -2
- package/docs/docs/cmd/spo/app/app-deploy.md +2 -2
- package/docs/docs/cmd/spo/app/app-get.md +2 -2
- package/docs/docs/cmd/spo/app/app-install.md +2 -2
- package/docs/docs/cmd/spo/app/app-list.md +2 -2
- package/docs/docs/cmd/spo/app/app-remove.md +2 -2
- package/docs/docs/cmd/spo/app/app-retract.md +2 -2
- package/docs/docs/cmd/spo/app/app-uninstall.md +2 -2
- package/docs/docs/cmd/spo/app/app-upgrade.md +2 -2
- package/docs/docs/cmd/spo/apppage/apppage-set.md +2 -2
- package/docs/docs/cmd/spo/cdn/cdn-policy-list.md +3 -3
- package/docs/docs/cmd/spo/cdn/cdn-policy-set.md +3 -3
- package/docs/docs/cmd/spo/contenttype/contenttype-field-set.md +4 -4
- package/docs/docs/cmd/spo/customaction/customaction-add.md +13 -10
- package/docs/docs/cmd/spo/customaction/customaction-clear.md +4 -4
- package/docs/docs/cmd/spo/customaction/customaction-get.md +5 -5
- package/docs/docs/cmd/spo/customaction/customaction-list.md +4 -4
- package/docs/docs/cmd/spo/customaction/customaction-remove.md +9 -9
- package/docs/docs/cmd/spo/customaction/customaction-set.md +10 -9
- package/docs/docs/cmd/spo/feature/feature-disable.md +4 -4
- package/docs/docs/cmd/spo/feature/feature-enable.md +2 -2
- package/docs/docs/cmd/spo/feature/feature-list.md +3 -3
- package/docs/docs/cmd/spo/field/field-get.md +0 -3
- package/docs/docs/cmd/spo/field/field-remove.md +0 -3
- package/docs/docs/cmd/spo/field/field-set.md +4 -4
- package/docs/docs/cmd/spo/file/file-checkin.md +6 -6
- package/docs/docs/cmd/spo/file/file-checkout.md +4 -4
- package/docs/docs/cmd/spo/file/file-sharinginfo-get.md +7 -7
- package/docs/docs/cmd/spo/folder/folder-get.md +3 -3
- package/docs/docs/cmd/spo/folder/folder-remove.md +3 -3
- package/docs/docs/cmd/spo/folder/folder-rename.md +2 -2
- package/docs/docs/cmd/spo/folder/folder-roleinheritance-break.md +6 -0
- package/docs/docs/cmd/spo/folder/folder-roleinheritance-reset.md +6 -0
- package/docs/docs/cmd/spo/hubsite/hubsite-register.md +2 -2
- package/docs/docs/cmd/spo/hubsite/hubsite-rights-grant.md +4 -4
- package/docs/docs/cmd/spo/hubsite/hubsite-rights-revoke.md +3 -3
- package/docs/docs/cmd/spo/knowledgehub/knowledgehub-set.md +2 -2
- package/docs/docs/cmd/spo/list/list-contenttype-add.md +4 -4
- package/docs/docs/cmd/spo/list/list-contenttype-remove.md +4 -4
- package/docs/docs/cmd/spo/list/list-list.md +0 -3
- package/docs/docs/cmd/spo/list/list-roleinheritance-break.md +9 -0
- package/docs/docs/cmd/spo/list/list-roleinheritance-reset.md +9 -0
- package/docs/docs/cmd/spo/list/list-view-field-add.md +8 -8
- package/docs/docs/cmd/spo/list/list-view-field-remove.md +6 -6
- package/docs/docs/cmd/spo/list/list-view-field-set.md +7 -7
- package/docs/docs/cmd/spo/list/list-view-get.md +7 -7
- package/docs/docs/cmd/spo/list/list-view-remove.md +8 -8
- package/docs/docs/cmd/spo/list/list-view-set.md +20 -9
- package/docs/docs/cmd/spo/list/list-webhook-list.md +3 -9
- package/docs/docs/cmd/spo/listitem/listitem-list.md +0 -6
- package/docs/docs/cmd/spo/listitem/listitem-record-declare.md +5 -5
- package/docs/docs/cmd/spo/listitem/listitem-record-undeclare.md +3 -3
- package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-break.md +9 -0
- package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-reset.md +5 -2
- package/docs/docs/cmd/spo/page/page-clientsidewebpart-add.md +5 -10
- package/docs/docs/cmd/spo/page/page-column-get.md +3 -3
- package/docs/docs/cmd/spo/page/page-column-list.md +3 -3
- package/docs/docs/cmd/spo/page/page-control-get.md +3 -3
- package/docs/docs/cmd/spo/page/page-control-list.md +3 -3
- package/docs/docs/cmd/spo/page/page-control-set.md +6 -5
- package/docs/docs/cmd/spo/page/page-section-add.md +3 -3
- package/docs/docs/cmd/spo/page/page-section-get.md +3 -3
- package/docs/docs/cmd/spo/page/page-section-list.md +3 -3
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-revoke.md +2 -2
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-approve.md +2 -2
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-deny.md +2 -2
- package/docs/docs/cmd/spo/site/site-add.md +2 -5
- package/docs/docs/cmd/spo/site/site-appcatalog-add.md +2 -2
- package/docs/docs/cmd/spo/site/site-appcatalog-remove.md +2 -2
- package/docs/docs/cmd/spo/site/site-apppermission-get.md +2 -2
- package/docs/docs/cmd/spo/site/site-apppermission-remove.md +2 -2
- package/docs/docs/cmd/spo/site/site-apppermission-set.md +5 -5
- package/docs/docs/cmd/spo/site/site-chrome-set.md +4 -4
- package/docs/docs/cmd/spo/site/site-groupify.md +5 -11
- package/docs/docs/cmd/spo/{hubsite/hubsite-connect.md → site/site-hubsite-connect.md} +7 -7
- package/docs/docs/cmd/spo/{hubsite/hubsite-disconnect.md → site/site-hubsite-disconnect.md} +8 -8
- package/docs/docs/cmd/spo/{hubsite/hubsite-theme-sync.md → site/site-hubsite-theme-sync.md} +5 -5
- package/docs/docs/cmd/spo/site/site-list.md +6 -6
- package/docs/docs/cmd/spo/site/site-rename.md +6 -6
- package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-grant.md +4 -4
- package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-list.md +3 -3
- package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-revoke.md +3 -3
- package/docs/docs/cmd/spo/sitedesign/sitedesign-task-get.md +2 -2
- package/docs/docs/cmd/spo/sitedesign/sitedesign-task-remove.md +5 -5
- package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-remove.md +3 -3
- package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-restore.md +6 -3
- package/docs/docs/cmd/spo/term/term-add.md +5 -0
- package/docs/docs/cmd/spo/term/term-set-add.md +6 -1
- package/docs/docs/cmd/spo/web/web-add.md +4 -4
- package/docs/docs/cmd/spo/web/web-get.md +3 -3
- package/docs/docs/cmd/spo/web/web-list.md +2 -2
- package/docs/docs/cmd/spo/web/web-reindex.md +2 -2
- package/docs/docs/cmd/spo/web/web-remove.md +2 -2
- package/docs/docs/cmd/spo/web/web-roleinheritance-reset.md +9 -0
- package/docs/docs/cmd/spo/web/web-set.md +9 -9
- package/docs/docs/cmd/teams/app/app-install.md +5 -5
- package/docs/docs/cmd/teams/app/app-uninstall.md +3 -3
- package/docs/docs/cmd/teams/channel/channel-get.md +7 -7
- package/docs/docs/cmd/teams/channel/channel-member-add.md +0 -6
- package/docs/docs/cmd/teams/channel/channel-member-list.md +0 -6
- package/docs/docs/cmd/teams/channel/channel-member-remove.md +0 -6
- package/docs/docs/cmd/teams/channel/channel-remove.md +7 -7
- package/docs/docs/cmd/teams/channel/channel-set.md +4 -4
- package/docs/docs/cmd/teams/message/message-get.md +3 -3
- package/docs/docs/cmd/teams/tab/tab-get.md +6 -6
- package/docs/docs/cmd/teams/tab/tab-remove.md +4 -4
- package/docs/docs/cmd/teams/team/team-archive.md +0 -3
- package/docs/docs/cmd/teams/team/team-clone.md +0 -6
- package/docs/docs/cmd/teams/team/team-remove.md +0 -3
- package/docs/docs/cmd/teams/team/team-set.md +0 -6
- package/docs/docs/cmd/teams/team/team-unarchive.md +0 -3
- package/docs/docs/cmd/teams/user/user-app-add.md +3 -3
- package/docs/docs/cmd/teams/user/user-app-remove.md +3 -3
- package/docs/docs/cmd/viva/connections/connections-app-create.md +2 -2
- package/docs/docs/cmd/yammer/group/group-user-add.md +5 -5
- package/docs/docs/cmd/yammer/group/group-user-remove.md +5 -5
- package/docs/docs/cmd/yammer/message/message-like-set.md +4 -4
- package/docs/docs/cmd/yammer/user/user-get.md +2 -2
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/dist/m365/spo/commands/site/site-classic-add.js +0 -328
- package/dist/m365/spo/commands/site/site-classic-list.js +0 -115
- package/dist/m365/spo/commands/site/site-classic-set.js +0 -351
- package/docs/docs/cmd/spo/site/site-classic-add.md +0 -93
- package/docs/docs/cmd/spo/site/site-classic-list.md +0 -68
- package/docs/docs/cmd/spo/site/site-classic-set.md +0 -102
|
@@ -25,6 +25,9 @@ m365 spo listitem roleinheritance reset [options]
|
|
|
25
25
|
`--listUrl [listUrl]`
|
|
26
26
|
: Server- or site-relative URL of the list. Specify either `listTitle`, `listId` or `listUrl`
|
|
27
27
|
|
|
28
|
+
`--confirm`
|
|
29
|
+
: Do not prompt for confirmation before resetting role inheritance.
|
|
30
|
+
|
|
28
31
|
--8<-- "docs/cmd/_global.md"
|
|
29
32
|
|
|
30
33
|
## Examples
|
|
@@ -41,8 +44,8 @@ Restore role inheritance of list item with id 8 from list with title _test_ loca
|
|
|
41
44
|
m365 spo listitem roleinheritance reset --webUrl https://contoso.sharepoint.com/sites/project-x --listItemId 8 --listTitle test
|
|
42
45
|
```
|
|
43
46
|
|
|
44
|
-
Restore role inheritance of a list item with a specific id in a list retrieved by server relative URL located in a specific site
|
|
47
|
+
Restore role inheritance of a list item with a specific id in a list retrieved by server relative URL located in a specific site without prompting for confirmation
|
|
45
48
|
|
|
46
49
|
```sh
|
|
47
|
-
m365 spo listitem roleinheritance reset --webUrl https://contoso.sharepoint.com/sites/project-x --listItemId 8 --listUrl /sites/project-x/lists/test
|
|
50
|
+
m365 spo listitem roleinheritance reset --webUrl https://contoso.sharepoint.com/sites/project-x --listItemId 8 --listUrl /sites/project-x/lists/test --confirm
|
|
48
51
|
```
|
|
@@ -45,7 +45,8 @@ If the specified `pageName` doesn't refer to an existing modern page, you will g
|
|
|
45
45
|
|
|
46
46
|
To add a standard web part to the page, specify one of the following values: _ContentRollup, BingMap, ContentEmbed, DocumentEmbed, Image, ImageGallery, LinkPreview, NewsFeed, NewsReel, PowerBIReportEmbed, QuickChart, SiteActivity, VideoEmbed, YammerEmbed, Events, GroupCalendar, Hero, List, PageTitle, People, QuickLinks, CustomMessageRegion, Divider, MicrosoftForms, Spacer_.
|
|
47
47
|
|
|
48
|
-
|
|
48
|
+
!!! warning "Escaping JSON in PowerShell"
|
|
49
|
+
When using the `--webPartProperties` option it's possible to enter a JSON string. In PowerShell 5 to 7.2 [specific escaping rules](./../../user-guide/using-cli.md#escaping-double-quotes-in-powershell) apply due to an issue. Remember that you can also use [file tokens](./../../user-guide/using-cli.md#passing-complex-content-into-cli-options) instead.
|
|
49
50
|
|
|
50
51
|
## Examples
|
|
51
52
|
|
|
@@ -67,20 +68,14 @@ Add a custom web part to the modern page
|
|
|
67
68
|
m365 spo page clientsidewebpart add --webUrl https://contoso.sharepoint.com/sites/a-team --pageName page.aspx --webPartId 3ede60d3-dc2c-438b-b5bf-cc40bb2351e1
|
|
68
69
|
```
|
|
69
70
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
```PowerShell
|
|
73
|
-
m365 --% spo page clientsidewebpart add --webUrl https://contoso.sharepoint.com/sites/a-team --pageName page.aspx --standardWebPart BingMap --webPartProperties `"{""Title"":""Foo location""}"`
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
Using Windows command line, add the standard Bing Map web part with the specific properties to a modern page
|
|
71
|
+
Add the standard Bing Map web part with the specific properties to a modern page
|
|
77
72
|
|
|
78
73
|
```sh
|
|
79
|
-
m365 spo page clientsidewebpart add --webUrl https://contoso.sharepoint.com/sites/a-team --pageName page.aspx --standardWebPart BingMap --webPartProperties
|
|
74
|
+
m365 spo page clientsidewebpart add --webUrl https://contoso.sharepoint.com/sites/a-team --pageName page.aspx --standardWebPart BingMap --webPartProperties '{"Title":"Foo location"}'
|
|
80
75
|
```
|
|
81
76
|
|
|
82
77
|
Add the standard Image web part with the preconfigured image
|
|
83
78
|
|
|
84
79
|
```sh
|
|
85
|
-
m365 spo page clientsidewebpart add --webUrl https://contoso.sharepoint.com/sites/a-team --pageName page.aspx --standardWebPart Image --webPartData '
|
|
80
|
+
m365 spo page clientsidewebpart add --webUrl https://contoso.sharepoint.com/sites/a-team --pageName page.aspx --standardWebPart Image --webPartData '{ "dataVersion": "1.8", "serverProcessedContent": {"htmlStrings":{},"searchablePlainTexts":{"captionText":""},"imageSources":{"imageSource":"/sites/team-a/SiteAssets/work-life-balance.png"},"links":{}}, "properties": {"imageSourceType":2,"altText":"a group of people on a beach","overlayText":"Work life balance","fileName":"48146-OFF12_Justice_01.png","siteId":"27664b85-067d-4be9-a7d7-89b2e804d09f","webId":"a7664b85-067d-4be9-a7d7-89b2e804d09f","listId":"37664b85-067d-4be9-a7d7-89b2e804d09f","uniqueId":"67664b85-067d-4be9-a7d7-89b2e804d09f","imgWidth":650,"imgHeight":433,"fixAspectRatio":false,"isOverlayTextEnabled":true}}'
|
|
86
81
|
```
|
|
@@ -13,7 +13,7 @@ m365 spo page column get [options]
|
|
|
13
13
|
`-u, --webUrl <webUrl>`
|
|
14
14
|
: URL of the site where the page to retrieve is located
|
|
15
15
|
|
|
16
|
-
`-n, --
|
|
16
|
+
`-n, --pageName <pageName>`
|
|
17
17
|
: Name of the page to get column information of
|
|
18
18
|
|
|
19
19
|
`-s, --section <section>`
|
|
@@ -26,12 +26,12 @@ m365 spo page column get [options]
|
|
|
26
26
|
|
|
27
27
|
## Remarks
|
|
28
28
|
|
|
29
|
-
If the specified
|
|
29
|
+
If the specified `pageName` doesn't refer to an existing modern page, you will get a _File doesn't exists_ error.
|
|
30
30
|
|
|
31
31
|
## Examples
|
|
32
32
|
|
|
33
33
|
Get information about the first column in the first section of a modern page with name _home.aspx_
|
|
34
34
|
|
|
35
35
|
```sh
|
|
36
|
-
m365 spo page column get --webUrl https://contoso.sharepoint.com/sites/team-a --
|
|
36
|
+
m365 spo page column get --webUrl https://contoso.sharepoint.com/sites/team-a --pageName home.aspx --section 1 --column 1
|
|
37
37
|
```
|
|
@@ -13,7 +13,7 @@ m365 spo page column list [options]
|
|
|
13
13
|
`-u, --webUrl <webUrl>`
|
|
14
14
|
: URL of the site where the page to retrieve is located
|
|
15
15
|
|
|
16
|
-
`-n, --
|
|
16
|
+
`-n, --pageName <pageName>`
|
|
17
17
|
: Name of the page to list columns of
|
|
18
18
|
|
|
19
19
|
`-s, --section <sectionId>`
|
|
@@ -23,12 +23,12 @@ m365 spo page column list [options]
|
|
|
23
23
|
|
|
24
24
|
## Remarks
|
|
25
25
|
|
|
26
|
-
If the specified
|
|
26
|
+
If the specified `pageName` doesn't refer to an existing modern page, you will get a _File doesn't exists_ error.
|
|
27
27
|
|
|
28
28
|
## Examples
|
|
29
29
|
|
|
30
30
|
List columns in the first section of a modern page with name _home.aspx_
|
|
31
31
|
|
|
32
32
|
```sh
|
|
33
|
-
m365 spo page column list --webUrl https://contoso.sharepoint.com/sites/team-a --
|
|
33
|
+
m365 spo page column list --webUrl https://contoso.sharepoint.com/sites/team-a --pageName home.aspx --section 1
|
|
34
34
|
```
|
|
@@ -13,7 +13,7 @@ m365 spo page control get [options]
|
|
|
13
13
|
`-i, --id <id>`
|
|
14
14
|
: ID of the control to retrieve information for
|
|
15
15
|
|
|
16
|
-
`-n, --
|
|
16
|
+
`-n, --pageName <pageName>`
|
|
17
17
|
: Name of the page where the control is located
|
|
18
18
|
|
|
19
19
|
`-u, --webUrl <webUrl>`
|
|
@@ -23,12 +23,12 @@ m365 spo page control get [options]
|
|
|
23
23
|
|
|
24
24
|
## Remarks
|
|
25
25
|
|
|
26
|
-
If the specified `
|
|
26
|
+
If the specified `pageName` doesn't refer to an existing modern page, you will get a `File doesn't exists` error.
|
|
27
27
|
|
|
28
28
|
## Examples
|
|
29
29
|
|
|
30
30
|
Get information about the control with ID _3ede60d3-dc2c-438b-b5bf-cc40bb2351e1_ placed on a modern page with name _home.aspx_
|
|
31
31
|
|
|
32
32
|
```sh
|
|
33
|
-
m365 spo page control get --id 3ede60d3-dc2c-438b-b5bf-cc40bb2351e1 --webUrl https://contoso.sharepoint.com/sites/team-a --
|
|
33
|
+
m365 spo page control get --id 3ede60d3-dc2c-438b-b5bf-cc40bb2351e1 --webUrl https://contoso.sharepoint.com/sites/team-a --pageName home.aspx
|
|
34
34
|
```
|
|
@@ -10,7 +10,7 @@ m365 spo page control list [options]
|
|
|
10
10
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
|
-
`-n, --
|
|
13
|
+
`-n, --pageName <pageName>`
|
|
14
14
|
: Name of the page to list controls of
|
|
15
15
|
|
|
16
16
|
`-u, --webUrl <webUrl>`
|
|
@@ -20,12 +20,12 @@ m365 spo page control list [options]
|
|
|
20
20
|
|
|
21
21
|
## Remarks
|
|
22
22
|
|
|
23
|
-
If the specified
|
|
23
|
+
If the specified `pageName` doesn't refer to an existing modern page, you will get a `File doesn't exists` error.
|
|
24
24
|
|
|
25
25
|
## Examples
|
|
26
26
|
|
|
27
27
|
List controls on the modern page with name _home.aspx_
|
|
28
28
|
|
|
29
29
|
```sh
|
|
30
|
-
m365 spo page control list --webUrl https://contoso.sharepoint.com/sites/team-a --
|
|
30
|
+
m365 spo page control list --webUrl https://contoso.sharepoint.com/sites/team-a --pageName home.aspx
|
|
31
31
|
```
|
|
@@ -13,7 +13,7 @@ m365 spo page control set [options]
|
|
|
13
13
|
`-i, --id <id>`
|
|
14
14
|
: ID of the control to update properties of
|
|
15
15
|
|
|
16
|
-
`-n, --
|
|
16
|
+
`-n, --pageName <pageName>`
|
|
17
17
|
: Name of the page where the control is located
|
|
18
18
|
|
|
19
19
|
`-u, --webUrl <webUrl>`
|
|
@@ -29,20 +29,21 @@ m365 spo page control set [options]
|
|
|
29
29
|
|
|
30
30
|
## Remarks
|
|
31
31
|
|
|
32
|
-
If the specified `
|
|
32
|
+
If the specified `pageName` doesn't refer to an existing modern page, you will get a `File doesn't exists` error.
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
!!! warning "Escaping JSON in PowerShell"
|
|
35
|
+
When using the `--webPartProperties` option it's possible to enter a JSON string. In PowerShell 5 to 7.2 [specific escaping rules](./../../user-guide/using-cli.md#escaping-double-quotes-in-powershell) apply due to an issue. Remember that you can also use [file tokens](./../../user-guide/using-cli.md#passing-complex-content-into-cli-options) instead.
|
|
35
36
|
|
|
36
37
|
## Examples
|
|
37
38
|
|
|
38
39
|
Update web part data for the control with ID _3ede60d3-dc2c-438b-b5bf-cc40bb2351e1_ placed on a modern page with name _home.aspx_
|
|
39
40
|
|
|
40
41
|
```sh
|
|
41
|
-
m365 spo page control set --id 3ede60d3-dc2c-438b-b5bf-cc40bb2351e1 --webUrl https://contoso.sharepoint.com/sites/team-a --
|
|
42
|
+
m365 spo page control set --id 3ede60d3-dc2c-438b-b5bf-cc40bb2351e1 --webUrl https://contoso.sharepoint.com/sites/team-a --pageName home.aspx --webPartData '{"title":"New WP Title","properties": {"description": "New description"}}'
|
|
42
43
|
```
|
|
43
44
|
|
|
44
45
|
Update web part properties for the control with ID _3ede60d3-dc2c-438b-b5bf-cc40bb2351e1_ placed on a modern page with name _home.aspx_
|
|
45
46
|
|
|
46
47
|
```sh
|
|
47
|
-
m365 spo page control set --id 3ede60d3-dc2c-438b-b5bf-cc40bb2351e1 --webUrl https://contoso.sharepoint.com/sites/team-a --
|
|
48
|
+
m365 spo page control set --id 3ede60d3-dc2c-438b-b5bf-cc40bb2351e1 --webUrl https://contoso.sharepoint.com/sites/team-a --pageName home.aspx --webPartProperties '{"description": "New description"}'
|
|
48
49
|
```
|
|
@@ -10,7 +10,7 @@ m365 spo page section add [options]
|
|
|
10
10
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
`-n, --pageName <pageName>`
|
|
14
14
|
: Name of the page to add section to
|
|
15
15
|
|
|
16
16
|
`-u, --webUrl <webUrl>`
|
|
@@ -26,12 +26,12 @@ m365 spo page section add [options]
|
|
|
26
26
|
|
|
27
27
|
## Remarks
|
|
28
28
|
|
|
29
|
-
If the specified `
|
|
29
|
+
If the specified `pageName` doesn't refer to an existing modern page, you will get a _File doesn't exists_ error.
|
|
30
30
|
|
|
31
31
|
## Examples
|
|
32
32
|
|
|
33
33
|
Add section to the modern page named _home.aspx_
|
|
34
34
|
|
|
35
35
|
```sh
|
|
36
|
-
m365 spo page section add --
|
|
36
|
+
m365 spo page section add --pageName home.aspx --webUrl https://contoso.sharepoint.com/sites/newsletter --sectionTemplate OneColumn --order 1
|
|
37
37
|
```
|
|
@@ -13,7 +13,7 @@ m365 spo page section get [options]
|
|
|
13
13
|
`-u, --webUrl <webUrl>`
|
|
14
14
|
: URL of the site where the page to retrieve is located
|
|
15
15
|
|
|
16
|
-
`-n, --
|
|
16
|
+
`-n, --pageName <pageName>`
|
|
17
17
|
: Name of the page to get section information of
|
|
18
18
|
|
|
19
19
|
`-s, --section <sectionId>`
|
|
@@ -23,12 +23,12 @@ m365 spo page section get [options]
|
|
|
23
23
|
|
|
24
24
|
## Remarks
|
|
25
25
|
|
|
26
|
-
If the specified
|
|
26
|
+
If the specified `pageName` doesn't refer to an existing modern page, you will get a _File doesn't exists_ error.
|
|
27
27
|
|
|
28
28
|
## Examples
|
|
29
29
|
|
|
30
30
|
Get information about the specified section of the modern page named _home.aspx_
|
|
31
31
|
|
|
32
32
|
```sh
|
|
33
|
-
m365 spo page section get --webUrl https://contoso.sharepoint.com/sites/team-a --
|
|
33
|
+
m365 spo page section get --webUrl https://contoso.sharepoint.com/sites/team-a --pageName home.aspx --section 1
|
|
34
34
|
```
|
|
@@ -13,19 +13,19 @@ m365 spo page section list [options]
|
|
|
13
13
|
`-u, --webUrl <webUrl>`
|
|
14
14
|
: URL of the site where the page to retrieve is located
|
|
15
15
|
|
|
16
|
-
`-n, --
|
|
16
|
+
`-n, --pageName <pageName>`
|
|
17
17
|
: Name of the page to list sections of
|
|
18
18
|
|
|
19
19
|
--8<-- "docs/cmd/_global.md"
|
|
20
20
|
|
|
21
21
|
## Remarks
|
|
22
22
|
|
|
23
|
-
If the specified
|
|
23
|
+
If the specified `pageName` doesn't refer to an existing modern page, you will get a _File doesn't exists_ error.
|
|
24
24
|
|
|
25
25
|
## Examples
|
|
26
26
|
|
|
27
27
|
List sections of a modern page named _home.aspx_
|
|
28
28
|
|
|
29
29
|
```sh
|
|
30
|
-
m365 spo page section list --webUrl https://contoso.sharepoint.com/sites/team-a --
|
|
30
|
+
m365 spo page section list --webUrl https://contoso.sharepoint.com/sites/team-a --pageName home.aspx
|
|
31
31
|
```
|
|
@@ -16,7 +16,7 @@ m365 spo sp grant revoke
|
|
|
16
16
|
|
|
17
17
|
## Options
|
|
18
18
|
|
|
19
|
-
`-i, --
|
|
19
|
+
`-i, --id <id>`
|
|
20
20
|
: `ObjectId` of the permission grant to revoke
|
|
21
21
|
|
|
22
22
|
--8<-- "docs/cmd/_global.md"
|
|
@@ -33,5 +33,5 @@ The permission grant you want to revoke is denoted using its `ObjectId`. You can
|
|
|
33
33
|
Revoke permission grant with ObjectId _50NAzUm3C0K9B6p8ORLtIsQccg4rMERGvFGRtBsk2fA_
|
|
34
34
|
|
|
35
35
|
```sh
|
|
36
|
-
m365 spo serviceprincipal grant revoke --
|
|
36
|
+
m365 spo serviceprincipal grant revoke --id 50NAzUm3C0K9B6p8ORLtIsQccg4rMERGvFGRtBsk2fA
|
|
37
37
|
```
|
|
@@ -16,7 +16,7 @@ m365 spo sp permissionrequest approve
|
|
|
16
16
|
|
|
17
17
|
## Options
|
|
18
18
|
|
|
19
|
-
`-i, --
|
|
19
|
+
`-i, --id <id>`
|
|
20
20
|
: ID of the permission request to approve
|
|
21
21
|
|
|
22
22
|
--8<-- "docs/cmd/_global.md"
|
|
@@ -33,5 +33,5 @@ The permission request you want to approve is denoted using its `ID`. You can re
|
|
|
33
33
|
Approve permission request with id _4dc4c043-25ee-40f2-81d3-b3bf63da7538_
|
|
34
34
|
|
|
35
35
|
```sh
|
|
36
|
-
m365 spo serviceprincipal permissionrequest approve --
|
|
36
|
+
m365 spo serviceprincipal permissionrequest approve --id 4dc4c043-25ee-40f2-81d3-b3bf63da7538
|
|
37
37
|
```
|
|
@@ -16,7 +16,7 @@ m365 spo sp permissionrequest deny
|
|
|
16
16
|
|
|
17
17
|
## Options
|
|
18
18
|
|
|
19
|
-
`-i, --
|
|
19
|
+
`-i, --id <id>`
|
|
20
20
|
: ID of the permission request to deny
|
|
21
21
|
|
|
22
22
|
--8<-- "docs/cmd/_global.md"
|
|
@@ -33,5 +33,5 @@ The permission request you want to approve is denoted using its `ID`. You can re
|
|
|
33
33
|
Deny permission request with id _4dc4c043-25ee-40f2-81d3-b3bf63da7538_
|
|
34
34
|
|
|
35
35
|
```sh
|
|
36
|
-
m365 spo serviceprincipal permissionrequest deny --
|
|
36
|
+
m365 spo serviceprincipal permissionrequest deny --id 4dc4c043-25ee-40f2-81d3-b3bf63da7538
|
|
37
37
|
```
|
|
@@ -46,9 +46,6 @@ m365 spo site add [options]
|
|
|
46
46
|
`--siteDesignId [siteDesignId]`
|
|
47
47
|
: Id of the custom site design to use to create the site. When creating a communication site, specify either `siteDesign` or `siteDesignId` (applies to type CommunicationSite)
|
|
48
48
|
|
|
49
|
-
`--allowFileSharingForGuestUsers`
|
|
50
|
-
: (deprecated. Use `shareByEmailEnabled` instead) Determines whether it's allowed to share file with guests (applies to type CommunicationSite)
|
|
51
|
-
|
|
52
49
|
`--shareByEmailEnabled`
|
|
53
50
|
: Determines whether it's allowed to share file with guests (applies to type CommunicationSite)
|
|
54
51
|
|
|
@@ -87,9 +84,9 @@ The value of the `--storageQuota` option must not exceed the company's available
|
|
|
87
84
|
|
|
88
85
|
The value of the `--storageQuotaWarningLevel` option must not exceed the the value of the `--storageQuota` option.
|
|
89
86
|
|
|
90
|
-
If you try to create a site with the same URL as a site that has been previously moved to the recycle bin, you will get an error. To avoid this error, you can use the `--removeDeletedSite` option. Prior to creating the site, the spo site
|
|
87
|
+
If you try to create a site with the same URL as a site that has been previously moved to the recycle bin, you will get an error. To avoid this error, you can use the `--removeDeletedSite` option. Prior to creating the site, the spo site add command will check if the site with the specified URL has been previously moved to the recycle bin and if so, will remove it. Because removing sites from the recycle bin might take a moment, it should be used in conjunction with the `--wait` option so that the new site is not created before the old site is fully removed.
|
|
91
88
|
|
|
92
|
-
Deleting and creating classic site collections is by default asynchronous and depending on the current state of Office 365, might take up to few minutes. If you're building a script with steps that require the site to be fully provisioned, you should use the `--wait` flag. When using this flag, the spo site
|
|
89
|
+
Deleting and creating classic site collections is by default asynchronous and depending on the current state of Office 365, might take up to few minutes. If you're building a script with steps that require the site to be fully provisioned, you should use the `--wait` flag. When using this flag, the spo site add command will keep running until it received confirmation from Office 365 that the site has been fully provisioned.
|
|
93
90
|
|
|
94
91
|
## Remarks for modern sites
|
|
95
92
|
|
|
@@ -10,7 +10,7 @@ m365 spo site appcatalog add [options]
|
|
|
10
10
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
|
-
`-u, --
|
|
13
|
+
`-u, --siteUrl <siteUrl>`
|
|
14
14
|
: URL of the site collection where the app catalog should be added
|
|
15
15
|
|
|
16
16
|
--8<-- "docs/cmd/_global.md"
|
|
@@ -23,7 +23,7 @@ m365 spo site appcatalog add [options]
|
|
|
23
23
|
Add a site collection app catalog to the specified site
|
|
24
24
|
|
|
25
25
|
```sh
|
|
26
|
-
m365 spo site appcatalog add --
|
|
26
|
+
m365 spo site appcatalog add --siteUrl https://contoso.sharepoint/sites/site
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
## More information
|
|
@@ -10,7 +10,7 @@ m365 spo site appcatalog remove [options]
|
|
|
10
10
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
|
-
`-u, --
|
|
13
|
+
`-u, --siteUrl <siteUrl>`
|
|
14
14
|
: URL of the site collection containing the app catalog to disable
|
|
15
15
|
|
|
16
16
|
--8<-- "docs/cmd/_global.md"
|
|
@@ -27,7 +27,7 @@ While the command uses the term *'remove'*, like its equivalent PowerShell cmdle
|
|
|
27
27
|
Remove the site collection app catalog from specified site
|
|
28
28
|
|
|
29
29
|
```sh
|
|
30
|
-
m365 spo site appcatalog remove --
|
|
30
|
+
m365 spo site appcatalog remove --siteUrl https://contoso.sharepoint/sites/site
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
## More information
|
|
@@ -13,7 +13,7 @@ m365 spo site apppermission get [options]
|
|
|
13
13
|
`-u, --siteUrl <siteUrl>`
|
|
14
14
|
: URL of the site collection where the permission to retrieve is located
|
|
15
15
|
|
|
16
|
-
`-i, --
|
|
16
|
+
`-i, --id <id>`
|
|
17
17
|
: ID of the permission to retrieve
|
|
18
18
|
|
|
19
19
|
--8<-- "docs/cmd/_global.md"
|
|
@@ -23,5 +23,5 @@ m365 spo site apppermission get [options]
|
|
|
23
23
|
Return a specific application permissions for the _https://contoso.sharepoint.com/sites/project-x_ site collection with permission id _aTowaS50fG1zLnNwLmV4dHw4OWVhNWM5NC03NzM2LTRlMjUtOTVhZC0zZmE5NWY2MmI2NmVAZGUzNDhiYzctMWFlYi00NDA2LThjYjMtOTdkYjAyMWNhZGI0_
|
|
24
24
|
|
|
25
25
|
```sh
|
|
26
|
-
m365 spo site apppermission get --siteUrl https://contoso.sharepoint.com/sites/project-x --
|
|
26
|
+
m365 spo site apppermission get --siteUrl https://contoso.sharepoint.com/sites/project-x --id aTowaS50fG1zLnNwLmV4dHw4OWVhNWM5NC03NzM2LTRlMjUtOTVhZC0zZmE5NWY2MmI2NmVAZGUzNDhiYzctMWFlYi00NDA2LThjYjMtOTdkYjAyMWNhZGI0
|
|
27
27
|
```
|
|
@@ -19,7 +19,7 @@ m365 spo site apppermission remove [options]
|
|
|
19
19
|
`-n, --appDisplayName [appDisplayName]`
|
|
20
20
|
: App display name
|
|
21
21
|
|
|
22
|
-
`-i, --
|
|
22
|
+
`-i, --id [id]`
|
|
23
23
|
: ID of the permission to remove
|
|
24
24
|
|
|
25
25
|
`--confirm`
|
|
@@ -44,5 +44,5 @@ m365 spo site apppermission remove --siteUrl https://contoso.sharepoint.com/site
|
|
|
44
44
|
Removes the application permission with the specified ID on site _https://contoso.sharepoint.com/sites/project-x_
|
|
45
45
|
|
|
46
46
|
```sh
|
|
47
|
-
m365 spo site apppermission remove --siteUrl https://contoso.sharepoint.com/sites/project-x --
|
|
47
|
+
m365 spo site apppermission remove --siteUrl https://contoso.sharepoint.com/sites/project-x --id aTowaS50fG1zLnNwLmV4dHw4OWVhNWM5NC03NzM2LTRlMjUtOTVhZC0zZmE5NWY2MmI2NmVAZGUzNDhiYzctMWFlYi00NDA2LThjYjMtOTdkYjAyMWNhZGI0
|
|
48
48
|
```
|
|
@@ -13,14 +13,14 @@ m365 spo site apppermission set [options]
|
|
|
13
13
|
`-u, --siteUrl <siteUrl>`
|
|
14
14
|
: URL of the site collection where the permission to retrieve is located
|
|
15
15
|
|
|
16
|
-
`-i, --
|
|
17
|
-
: ID of the permission to update. Specify `
|
|
16
|
+
`-i, --id [id]`
|
|
17
|
+
: ID of the permission to update. Specify `id`, `appId` or `appDisplayName`
|
|
18
18
|
|
|
19
19
|
`--appId [appId]`
|
|
20
|
-
: Client ID of the Azure AD app for which to update permissions. Specify `
|
|
20
|
+
: Client ID of the Azure AD app for which to update permissions. Specify `id`, `appId` or `appDisplayName`
|
|
21
21
|
|
|
22
22
|
`-n, --appDisplayName [appDisplayName]`
|
|
23
|
-
: Display name of the Azure AD app for which to update permissions. Specify `
|
|
23
|
+
: Display name of the Azure AD app for which to update permissions. Specify `id`, `appId` or `appDisplayName`
|
|
24
24
|
|
|
25
25
|
`-p, --permission <permission>`
|
|
26
26
|
: Permission to site (`read`, `write`, `manage` or `fullcontrol`)
|
|
@@ -32,7 +32,7 @@ m365 spo site apppermission set [options]
|
|
|
32
32
|
Updates a specific application permission to _read_ for the _https://contoso.sharepoint.com/sites/project-x_ site collection with permission id _aTowaS50fG1zLnNwLmV4dHw4OWVhNWM5NC03NzM2LTRlMjUtOTVhZC0zZmE5NWY2MmI2NmVAZGUzNDhiYzctMWFlYi00NDA2LThjYjMtOTdkYjAyMWNhZGI0_
|
|
33
33
|
|
|
34
34
|
```sh
|
|
35
|
-
m365 spo site apppermission set --siteUrl https://contoso.sharepoint.com/sites/project-x --
|
|
35
|
+
m365 spo site apppermission set --siteUrl https://contoso.sharepoint.com/sites/project-x --id aTowaS50fG1zLnNwLmV4dHw4OWVhNWM5NC03NzM2LTRlMjUtOTVhZC0zZmE5NWY2MmI2NmVAZGUzNDhiYzctMWFlYi00NDA2LThjYjMtOTdkYjAyMWNhZGI0 --permission read
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
Updates a specific application permission to _read_ for the _https://contoso.sharepoint.com/sites/project-x_ site collection with an application called _Foo_
|
|
@@ -10,7 +10,7 @@ m365 spo site chrome set [options]
|
|
|
10
10
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
|
-
`-u, --
|
|
13
|
+
`-u, --siteUrl <siteUrl>`
|
|
14
14
|
: URL of the site collection to which you want to change the chrome header/footer
|
|
15
15
|
|
|
16
16
|
`--headerLayout [headerLayout]`
|
|
@@ -42,17 +42,17 @@ m365 spo site chrome set [options]
|
|
|
42
42
|
Show site header in compact mode
|
|
43
43
|
|
|
44
44
|
```sh
|
|
45
|
-
m365 spo site chrome set --
|
|
45
|
+
m365 spo site chrome set --siteUrl https://contoso.sharepoint.com/sites/project-x --headerLayout Compact
|
|
46
46
|
```
|
|
47
47
|
|
|
48
48
|
Show site header in extended mode and display the logo on the right
|
|
49
49
|
|
|
50
50
|
```sh
|
|
51
|
-
m365 spo site chrome set --
|
|
51
|
+
m365 spo site chrome set --siteUrl https://contoso.sharepoint.com/sites/project-x --headerLayout Extended --logoAlignment Right
|
|
52
52
|
```
|
|
53
53
|
|
|
54
54
|
Disable the footer on the site
|
|
55
55
|
|
|
56
56
|
```sh
|
|
57
|
-
m365 spo site chrome set --
|
|
57
|
+
m365 spo site chrome set --siteUrl https://contoso.sharepoint.com/sites/project-x --disableFooter true
|
|
58
58
|
```
|
|
@@ -11,15 +11,9 @@ Connects site collection to an Microsoft 365 Group
|
|
|
11
11
|
m365 spo site groupify [options]
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
-
## Alias
|
|
15
|
-
|
|
16
|
-
```sh
|
|
17
|
-
m365 spo site groupify
|
|
18
|
-
```
|
|
19
|
-
|
|
20
14
|
## Options
|
|
21
15
|
|
|
22
|
-
`-u, --
|
|
16
|
+
`-u, --url <url>`
|
|
23
17
|
: URL of the site collection being connected to new Microsoft 365 Group
|
|
24
18
|
|
|
25
19
|
`-a, --alias <alias>`
|
|
@@ -51,25 +45,25 @@ When connecting site collection to an Microsoft 365 Group, SharePoint will creat
|
|
|
51
45
|
Connect site collection to an Microsoft 365 Group
|
|
52
46
|
|
|
53
47
|
```sh
|
|
54
|
-
m365 spo site groupify --
|
|
48
|
+
m365 spo site groupify --url https://contoso.sharepoin.com/sites/team-a --alias team-a --displayName 'Team A'
|
|
55
49
|
```
|
|
56
50
|
|
|
57
51
|
Connect site collection to an Microsoft 365 Group and make the group public
|
|
58
52
|
|
|
59
53
|
```sh
|
|
60
|
-
m365 spo site groupify --
|
|
54
|
+
m365 spo site groupify --url https://contoso.sharepoin.com/sites/team-a --alias team-a --displayName 'Team A' --isPublic
|
|
61
55
|
```
|
|
62
56
|
|
|
63
57
|
Connect site collection to an Microsoft 365 Group and set the group classification
|
|
64
58
|
|
|
65
59
|
```sh
|
|
66
|
-
m365 spo site groupify --
|
|
60
|
+
m365 spo site groupify --url https://contoso.sharepoin.com/sites/team-a --alias team-a --displayName 'Team A' --classification HBI
|
|
67
61
|
```
|
|
68
62
|
|
|
69
63
|
Connect site collection to an Microsoft 365 Group and keep the old home page
|
|
70
64
|
|
|
71
65
|
```sh
|
|
72
|
-
m365 spo site groupify --
|
|
66
|
+
m365 spo site groupify --url https://contoso.sharepoin.com/sites/team-a --alias team-a --displayName 'Team A' --keepOldHomepage
|
|
73
67
|
```
|
|
74
68
|
|
|
75
69
|
## More information
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
# spo hubsite connect
|
|
1
|
+
# spo site hubsite connect
|
|
2
2
|
|
|
3
3
|
Connects the specified site collection to the given hub site
|
|
4
4
|
|
|
5
5
|
## Usage
|
|
6
6
|
|
|
7
7
|
```sh
|
|
8
|
-
m365 spo hubsite connect [options]
|
|
8
|
+
m365 spo site hubsite connect [options]
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
|
-
`-u, --
|
|
13
|
+
`-u, --siteUrl <siteUrl>`
|
|
14
14
|
: The URL of the site collection to connect to the hub site
|
|
15
15
|
|
|
16
|
-
`-i, --
|
|
16
|
+
`-i, --id <id>`
|
|
17
17
|
: The ID of the hub site to which to connect the site collection
|
|
18
18
|
|
|
19
19
|
--8<-- "docs/cmd/_global.md"
|
|
@@ -25,14 +25,14 @@ m365 spo hubsite connect [options]
|
|
|
25
25
|
|
|
26
26
|
If the specified site collection is already connected to a hub site, it will be disconnected and connected to the newly specified hub site.
|
|
27
27
|
|
|
28
|
-
If the specified `
|
|
28
|
+
If the specified `id` doesn't point to a valid hub site, you will get a `ResourceNotFoundException` error.
|
|
29
29
|
|
|
30
30
|
## Examples
|
|
31
31
|
|
|
32
|
-
Connect
|
|
32
|
+
Connect a specific site collection to a hub site
|
|
33
33
|
|
|
34
34
|
```sh
|
|
35
|
-
m365 spo hubsite connect --
|
|
35
|
+
m365 spo site hubsite connect --siteUrl https://contoso.sharepoint.com/sites/contoso-sales --id 255a50b2-527f-4413-8485-57f4c17a24d1
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
## More information
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
# spo hubsite disconnect
|
|
1
|
+
# spo site hubsite disconnect
|
|
2
2
|
|
|
3
3
|
Disconnects the specified site collection from its hub site
|
|
4
4
|
|
|
5
5
|
## Usage
|
|
6
6
|
|
|
7
7
|
```sh
|
|
8
|
-
m365 spo hubsite disconnect [options]
|
|
8
|
+
m365 spo site hubsite disconnect [options]
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
|
-
`-u, --
|
|
13
|
+
`-u, --siteUrl <siteUrl>`
|
|
14
14
|
: URL of the site collection to disconnect from its hub site
|
|
15
15
|
|
|
16
16
|
`--confirm`
|
|
17
|
-
: Don't prompt for
|
|
17
|
+
: Don't prompt for confirmation
|
|
18
18
|
|
|
19
19
|
--8<-- "docs/cmd/_global.md"
|
|
20
20
|
|
|
@@ -25,16 +25,16 @@ m365 spo hubsite disconnect [options]
|
|
|
25
25
|
|
|
26
26
|
## Examples
|
|
27
27
|
|
|
28
|
-
Disconnect
|
|
28
|
+
Disconnect a specific site collection from its hub site. Will prompt for confirmation before disconnecting from the hub site.
|
|
29
29
|
|
|
30
30
|
```sh
|
|
31
|
-
m365 spo hubsite disconnect --
|
|
31
|
+
m365 spo site hubsite disconnect --siteUrl https://contoso.sharepoint.com/sites/sales
|
|
32
32
|
```
|
|
33
33
|
|
|
34
|
-
Disconnect
|
|
34
|
+
Disconnect a specific site collection from its hub site without prompting for confirmation.
|
|
35
35
|
|
|
36
36
|
```sh
|
|
37
|
-
m365 spo hubsite disconnect --
|
|
37
|
+
m365 spo site hubsite disconnect --siteUrl https://contoso.sharepoint.com/sites/sales --confirm
|
|
38
38
|
```
|
|
39
39
|
|
|
40
40
|
## More information
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
# spo hubsite theme sync
|
|
1
|
+
# spo site hubsite theme sync
|
|
2
2
|
|
|
3
|
-
Applies any theme updates from the
|
|
3
|
+
Applies any theme updates from the hub site the site is connected to.
|
|
4
4
|
|
|
5
5
|
## Usage
|
|
6
6
|
|
|
7
7
|
```sh
|
|
8
|
-
m365 spo hubsite theme sync [options]
|
|
8
|
+
m365 spo site hubsite theme sync [options]
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
## Options
|
|
@@ -22,10 +22,10 @@ m365 spo hubsite theme sync [options]
|
|
|
22
22
|
|
|
23
23
|
## Examples
|
|
24
24
|
|
|
25
|
-
Applies any theme updates from the
|
|
25
|
+
Applies any theme updates from the hub site to a specific site
|
|
26
26
|
|
|
27
27
|
```sh
|
|
28
|
-
m365 spo hubsite theme sync --webUrl https://contoso.sharepoint.com/sites/project-x
|
|
28
|
+
m365 spo site hubsite theme sync --webUrl https://contoso.sharepoint.com/sites/project-x
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
## More information
|