@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
|
@@ -11,16 +11,16 @@ m365 spo site list [options]
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
13
|
`-t, --type [type]`
|
|
14
|
-
: type of sites to list. Allowed values are `TeamSite,CommunicationSite
|
|
14
|
+
: convenience option for type of sites to list. Allowed values are `TeamSite,CommunicationSite`.
|
|
15
15
|
|
|
16
16
|
`--webTemplate [webTemplate]`
|
|
17
|
-
:
|
|
17
|
+
: type of sites to list. To be used with values like `GROUP#0` and `SITEPAGEPUBLISHING#0`. Specify either `type` or `webTemplate`, but not both.
|
|
18
18
|
|
|
19
19
|
`-f, --filter [filter]`
|
|
20
20
|
: filter to apply when retrieving sites
|
|
21
21
|
|
|
22
22
|
`--includeOneDriveSites`
|
|
23
|
-
: use this switch to include OneDrive sites in the result when retrieving sites.
|
|
23
|
+
: use this switch to include OneDrive sites in the result when retrieving sites. Do not specify the `type` or `webTemplate` options when using this.
|
|
24
24
|
|
|
25
25
|
`--deleted`
|
|
26
26
|
: use this switch to only return deleted sites
|
|
@@ -34,14 +34,14 @@ m365 spo site list [options]
|
|
|
34
34
|
|
|
35
35
|
Using the `-f, --filter` option you can specify which sites you want to retrieve. For example, to get sites with _project_ in their URL, use `Url -like 'project'` as the filter.
|
|
36
36
|
|
|
37
|
-
When using the text output type
|
|
37
|
+
When using the text output type, the command lists only the values of the `Title`, and `Url` properties of the site. When setting the output type to JSON, all available properties are included in the command output.
|
|
38
38
|
|
|
39
39
|
## Examples
|
|
40
40
|
|
|
41
41
|
List all sites in the currently connected tenant
|
|
42
42
|
|
|
43
43
|
```sh
|
|
44
|
-
m365 spo site list
|
|
44
|
+
m365 spo site list
|
|
45
45
|
```
|
|
46
46
|
|
|
47
47
|
List all group connected team sites in the currently connected tenant
|
|
@@ -65,7 +65,7 @@ m365 spo site list --type TeamSite --filter "Url -like 'project'"
|
|
|
65
65
|
List all sites in the currently connected tenant including OneDrive sites
|
|
66
66
|
|
|
67
67
|
```sh
|
|
68
|
-
m365 spo site list --
|
|
68
|
+
m365 spo site list --includeOneDriveSites
|
|
69
69
|
```
|
|
70
70
|
|
|
71
71
|
List all deleted sites in the tenant you're logged in to
|
|
@@ -10,13 +10,13 @@ m365 spo site rename [options]
|
|
|
10
10
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
|
-
`-u, --
|
|
13
|
+
`-u, --url <url>`
|
|
14
14
|
: The URL of the site to rename
|
|
15
15
|
|
|
16
|
-
`--
|
|
16
|
+
`--newUrl <newUrl>`
|
|
17
17
|
: New URL for the site collection
|
|
18
18
|
|
|
19
|
-
`--
|
|
19
|
+
`--newTitle [newTitle]`
|
|
20
20
|
: New title for the site
|
|
21
21
|
|
|
22
22
|
`--suppressMarketplaceAppCheck`
|
|
@@ -42,17 +42,17 @@ Renaming site collections is by default asynchronous and depending on the curren
|
|
|
42
42
|
Starts the rename of the site collection with name "samplesite" to "renamed" without modifying the title
|
|
43
43
|
|
|
44
44
|
```sh
|
|
45
|
-
m365 spo site rename --
|
|
45
|
+
m365 spo site rename --url http://contoso.sharepoint.com/samplesite --newUrl http://contoso.sharepoint.com/renamed
|
|
46
46
|
```
|
|
47
47
|
|
|
48
48
|
Starts the rename of the site collection with name "samplesite" to "renamed" modifying the title of the site to "New Title"
|
|
49
49
|
|
|
50
50
|
```sh
|
|
51
|
-
m365 spo site rename --
|
|
51
|
+
m365 spo site rename --url http://contoso.sharepoint.com/samplesite --newUrl http://contoso.sharepoint.com/renamed --newTitle "New Title"
|
|
52
52
|
```
|
|
53
53
|
|
|
54
54
|
Renames the specified site collection and waits for the operation to complete
|
|
55
55
|
|
|
56
56
|
```sh
|
|
57
|
-
m365 spo site rename --
|
|
57
|
+
m365 spo site rename --url http://contoso.sharepoint.com/samplesite --newUrl http://contoso.sharepoint.com/renamed --newTitle "New Title" --wait
|
|
58
58
|
```
|
|
@@ -10,7 +10,7 @@ m365 spo sitedesign rights grant [options]
|
|
|
10
10
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
|
-
`-i, --
|
|
13
|
+
`-i, --siteDesignId <siteDesignId>`
|
|
14
14
|
: The ID of the site design to grant rights on
|
|
15
15
|
|
|
16
16
|
`-p, --principals <principals>`
|
|
@@ -26,19 +26,19 @@ m365 spo sitedesign rights grant [options]
|
|
|
26
26
|
Grant user with alias _PattiF_ view permission to the specified site design
|
|
27
27
|
|
|
28
28
|
```sh
|
|
29
|
-
m365 spo sitedesign rights grant --
|
|
29
|
+
m365 spo sitedesign rights grant --siteDesignId 9b142c22-037f-4a7f-9017-e9d8c0e34b98 --principals PattiF --rights View
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
Grant users with aliases _PattiF_ and _AdeleV_ view permission to the specified site design
|
|
33
33
|
|
|
34
34
|
```sh
|
|
35
|
-
m365 spo sitedesign rights grant --
|
|
35
|
+
m365 spo sitedesign rights grant --siteDesignId 9b142c22-037f-4a7f-9017-e9d8c0e34b98 --principals "PattiF,AdeleV" --rights View
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
Grant user with email _PattiF@contoso.com_ view permission to the specified site design
|
|
39
39
|
|
|
40
40
|
```sh
|
|
41
|
-
m365 spo sitedesign rights grant --
|
|
41
|
+
m365 spo sitedesign rights grant --siteDesignId 9b142c22-037f-4a7f-9017-e9d8c0e34b98 --principals PattiF@contoso.com --rights View
|
|
42
42
|
```
|
|
43
43
|
|
|
44
44
|
## More information
|
|
@@ -10,14 +10,14 @@ m365 spo sitedesign rights list [options]
|
|
|
10
10
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
|
-
`-i, --
|
|
13
|
+
`-i, --siteDesignId <siteDesignId>`
|
|
14
14
|
: The ID of the site design to get rights information from
|
|
15
15
|
|
|
16
16
|
--8<-- "docs/cmd/_global.md"
|
|
17
17
|
|
|
18
18
|
## Remarks
|
|
19
19
|
|
|
20
|
-
If the specified `
|
|
20
|
+
If the specified `siteDesignId` doesn't refer to an existing site script, you will get a `File not found` error.
|
|
21
21
|
|
|
22
22
|
If no permissions are listed, it means that the particular site design is visible to everyone.
|
|
23
23
|
|
|
@@ -26,7 +26,7 @@ If no permissions are listed, it means that the particular site design is visibl
|
|
|
26
26
|
Get information about rights granted for the site design with ID _2c1ba4c4-cd9b-4417-832f-92a34bc34b2a_
|
|
27
27
|
|
|
28
28
|
```sh
|
|
29
|
-
m365 spo sitedesign rights list --
|
|
29
|
+
m365 spo sitedesign rights list --siteDesignId 2c1ba4c4-cd9b-4417-832f-92a34bc34b2a
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
## More information
|
|
@@ -10,7 +10,7 @@ m365 spo sitedesign rights revoke [options]
|
|
|
10
10
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
|
-
`-i, --
|
|
13
|
+
`-i, --siteDesignId <siteDesignId>`
|
|
14
14
|
: The ID of the site design to revoke rights from
|
|
15
15
|
|
|
16
16
|
`-p, --principals <principals>`
|
|
@@ -34,13 +34,13 @@ If you try to revoke access for a user that doesn't have access granted to the s
|
|
|
34
34
|
Revoke access to the site design with ID _2c1ba4c4-cd9b-4417-832f-92a34bc34b2a_ from user with alias _PattiF_. Will prompt for confirmation before revoking the access
|
|
35
35
|
|
|
36
36
|
```sh
|
|
37
|
-
m365 spo sitedesign rights revoke --
|
|
37
|
+
m365 spo sitedesign rights revoke --siteDesignId 2c1ba4c4-cd9b-4417-832f-92a34bc34b2a --principals PattiF
|
|
38
38
|
```
|
|
39
39
|
|
|
40
40
|
Revoke access to the site design with ID _2c1ba4c4-cd9b-4417-832f-92a34bc34b2a_ from users with aliases _PattiF_ and _AdeleV_ without prompting for confirmation
|
|
41
41
|
|
|
42
42
|
```sh
|
|
43
|
-
m365 spo sitedesign rights revoke --
|
|
43
|
+
m365 spo sitedesign rights revoke --siteDesignId 2c1ba4c4-cd9b-4417-832f-92a34bc34b2a --principals "PattiF,AdeleV" --confirm
|
|
44
44
|
```
|
|
45
45
|
|
|
46
46
|
## More information
|
|
@@ -10,7 +10,7 @@ m365 spo sitedesign task get [options]
|
|
|
10
10
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
|
-
`-i, --
|
|
13
|
+
`-i, --id <id>`
|
|
14
14
|
: The ID of the site design task to get information for
|
|
15
15
|
|
|
16
16
|
--8<-- "docs/cmd/_global.md"
|
|
@@ -20,7 +20,7 @@ m365 spo sitedesign task get [options]
|
|
|
20
20
|
Get information about the specified site design scheduled for execution
|
|
21
21
|
|
|
22
22
|
```sh
|
|
23
|
-
m365 spo sitedesign task get --
|
|
23
|
+
m365 spo sitedesign task get --id 6ec3ca5b-d04b-4381-b169-61378556d76e
|
|
24
24
|
```
|
|
25
25
|
|
|
26
26
|
## More information
|
|
@@ -10,7 +10,7 @@ m365 spo sitedesign task remove [options]
|
|
|
10
10
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
|
-
`-i, --
|
|
13
|
+
`-i, --id <id>`
|
|
14
14
|
: The ID of the site design task to remove
|
|
15
15
|
|
|
16
16
|
`--confirm`
|
|
@@ -20,16 +20,16 @@ m365 spo sitedesign task remove [options]
|
|
|
20
20
|
|
|
21
21
|
## Examples
|
|
22
22
|
|
|
23
|
-
Removes the specified site design task with
|
|
23
|
+
Removes the specified site design task with id _6ec3ca5b-d04b-4381-b169-61378556d76e_ scheduled for execution without prompting confirmation
|
|
24
24
|
|
|
25
25
|
```sh
|
|
26
|
-
m365 spo sitedesign task remove --
|
|
26
|
+
m365 spo sitedesign task remove --id 6ec3ca5b-d04b-4381-b169-61378556d76e --confirm
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
-
Removes the specified site design task with
|
|
29
|
+
Removes the specified site design task with id _6ec3ca5b-d04b-4381-b169-61378556d76e_ scheduled for execution with prompt for confirmation before removing
|
|
30
30
|
|
|
31
31
|
```sh
|
|
32
|
-
m365 spo sitedesign task remove --
|
|
32
|
+
m365 spo sitedesign task remove --id 6ec3ca5b-d04b-4381-b169-61378556d76e
|
|
33
33
|
```
|
|
34
34
|
|
|
35
35
|
## More information
|
|
@@ -10,7 +10,7 @@ m365 spo tenant recyclebinitem remove [options]
|
|
|
10
10
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
|
-
`-u, --
|
|
13
|
+
`-u, --siteUrl <siteUrl>`
|
|
14
14
|
: URL of the site to remove
|
|
15
15
|
|
|
16
16
|
`--wait`
|
|
@@ -33,11 +33,11 @@ Removing a site collection is by default asynchronous and depending on the curre
|
|
|
33
33
|
Removes the specified deleted site collection from tenant recycle bin
|
|
34
34
|
|
|
35
35
|
```sh
|
|
36
|
-
m365 spo tenant recyclebinitem remove --
|
|
36
|
+
m365 spo tenant recyclebinitem remove --siteUrl https://contoso.sharepoint.com/sites/team
|
|
37
37
|
```
|
|
38
38
|
|
|
39
39
|
Removes the specified deleted site collection from tenant recycle bin and wait for the removing process to complete
|
|
40
40
|
|
|
41
41
|
```sh
|
|
42
|
-
m365 spo tenant recyclebinitem remove --
|
|
42
|
+
m365 spo tenant recyclebinitem remove --siteUrl https://contoso.sharepoint.com/sites/team --wait
|
|
43
43
|
```
|
|
@@ -10,9 +10,12 @@ m365 spo tenant recyclebinitem restore [options]
|
|
|
10
10
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
|
-
`-u, --
|
|
13
|
+
`-u, --siteUrl <siteUrl>`
|
|
14
14
|
: URL of the site to restore
|
|
15
15
|
|
|
16
|
+
`--wait`
|
|
17
|
+
: Wait for the site collection to be restored before completing the command
|
|
18
|
+
|
|
16
19
|
--8<-- "docs/cmd/_global.md"
|
|
17
20
|
|
|
18
21
|
!!! important
|
|
@@ -27,11 +30,11 @@ Restoring deleted site collections is by default asynchronous and depending on t
|
|
|
27
30
|
Restore a deleted site collection from tenant recycle bin
|
|
28
31
|
|
|
29
32
|
```sh
|
|
30
|
-
m365 spo tenant recyclebinitem restore --
|
|
33
|
+
m365 spo tenant recyclebinitem restore --siteUrl https://contoso.sharepoint.com/sites/team
|
|
31
34
|
```
|
|
32
35
|
|
|
33
36
|
Restore a deleted site collection from tenant recycle bin and wait for completion
|
|
34
37
|
|
|
35
38
|
```sh
|
|
36
|
-
m365 spo tenant recyclebinitem restore --
|
|
39
|
+
m365 spo tenant recyclebinitem restore --siteUrl https://contoso.sharepoint.com/sites/team --wait
|
|
37
40
|
```
|
|
@@ -45,6 +45,11 @@ m365 spo term add [options]
|
|
|
45
45
|
!!! important
|
|
46
46
|
To use this command you have to have permissions to access the tenant admin site.
|
|
47
47
|
|
|
48
|
+
## Remarks
|
|
49
|
+
|
|
50
|
+
!!! warning "Escaping JSON in PowerShell"
|
|
51
|
+
When using the `--customProperties` and/or `--localCustomProperties` options 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.
|
|
52
|
+
|
|
48
53
|
## Examples
|
|
49
54
|
|
|
50
55
|
Add taxonomy term with the specified name to the term group and term set specified by their names
|
|
@@ -33,6 +33,11 @@ m365 spo term set add [options]
|
|
|
33
33
|
!!! important
|
|
34
34
|
To use this command you have to have permissions to access the tenant admin site.
|
|
35
35
|
|
|
36
|
+
## Remarks
|
|
37
|
+
|
|
38
|
+
!!! warning "Escaping JSON in PowerShell"
|
|
39
|
+
When using the `--customProperties` 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.
|
|
40
|
+
|
|
36
41
|
## Examples
|
|
37
42
|
|
|
38
43
|
Add taxonomy term set to the term group specified by ID
|
|
@@ -56,5 +61,5 @@ m365 spo term set add --name PnP-Organizations --termGroupId 0e8f395e-ff58-4d45-
|
|
|
56
61
|
Add taxonomy term set and set its custom properties
|
|
57
62
|
|
|
58
63
|
```sh
|
|
59
|
-
m365 spo term set add --name PnP-Organizations --termGroupId 0e8f395e-ff58-4d45-9ff7-e331ab728beb --customProperties '
|
|
64
|
+
m365 spo term set add --name PnP-Organizations --termGroupId 0e8f395e-ff58-4d45-9ff7-e331ab728beb --customProperties '{"Property":"Value"}'
|
|
60
65
|
```
|
|
@@ -16,7 +16,7 @@ m365 spo web add [options]
|
|
|
16
16
|
`-d, --description [description]`
|
|
17
17
|
: Subsite description
|
|
18
18
|
|
|
19
|
-
`-u, --
|
|
19
|
+
`-u, --url <url>`
|
|
20
20
|
: Subsite relative url
|
|
21
21
|
|
|
22
22
|
`-w, --webTemplate <webTemplate>`
|
|
@@ -41,17 +41,17 @@ m365 spo web add [options]
|
|
|
41
41
|
Create subsite using the _Team site_ template in the _en-US_ locale
|
|
42
42
|
|
|
43
43
|
```sh
|
|
44
|
-
m365 spo web add --title Subsite --description Subsite --
|
|
44
|
+
m365 spo web add --title Subsite --description Subsite --url subsite --webTemplate STS#0 --parentWebUrl https://contoso.sharepoint.com --locale 1033
|
|
45
45
|
```
|
|
46
46
|
|
|
47
47
|
Create subsite with unique permissions using the default _en-US_ locale
|
|
48
48
|
|
|
49
49
|
```sh
|
|
50
|
-
m365 spo web add --title Subsite --
|
|
50
|
+
m365 spo web add --title Subsite --url subsite --webTemplate STS#0 --parentWebUrl https://contoso.sharepoint.com --breakInheritance
|
|
51
51
|
```
|
|
52
52
|
|
|
53
53
|
Create subsite with the same navigation as the parent site
|
|
54
54
|
|
|
55
55
|
```sh
|
|
56
|
-
m365 spo web add --title Subsite --
|
|
56
|
+
m365 spo web add --title Subsite --url subsite --webTemplate STS#0 --parentWebUrl https://contoso.sharepoint.com --inheritNavigation
|
|
57
57
|
```
|
|
@@ -10,7 +10,7 @@ m365 spo web get [options]
|
|
|
10
10
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
|
-
`-u, --
|
|
13
|
+
`-u, --url <url>`
|
|
14
14
|
: URL of the site for which to retrieve the information
|
|
15
15
|
|
|
16
16
|
`--withGroups`
|
|
@@ -23,11 +23,11 @@ m365 spo web get [options]
|
|
|
23
23
|
Retrieve information about the site _https://contoso.sharepoint.com/subsite_
|
|
24
24
|
|
|
25
25
|
```sh
|
|
26
|
-
m365 spo web get --
|
|
26
|
+
m365 spo web get --url https://contoso.sharepoint.com/subsite
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
Retrieve information about the site _https://contoso.sharepoint.com/subsite_ along with associated groups for the web
|
|
30
30
|
|
|
31
31
|
```sh
|
|
32
|
-
m365 spo web get --
|
|
32
|
+
m365 spo web get --url https://contoso.sharepoint.com/subsite --withGroups
|
|
33
33
|
```
|
|
@@ -10,7 +10,7 @@ m365 spo web list [options]
|
|
|
10
10
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
|
-
`-u, --
|
|
13
|
+
`-u, --url <url>`
|
|
14
14
|
: URL of the parent site for which to retrieve the list of subsites
|
|
15
15
|
|
|
16
16
|
--8<-- "docs/cmd/_global.md"
|
|
@@ -20,5 +20,5 @@ m365 spo web list [options]
|
|
|
20
20
|
Return all subsites from site _https://contoso.sharepoint.com/_
|
|
21
21
|
|
|
22
22
|
```sh
|
|
23
|
-
m365 spo web list
|
|
23
|
+
m365 spo web list --url https://contoso.sharepoint.com
|
|
24
24
|
```
|
|
@@ -10,7 +10,7 @@ m365 spo web reindex [options]
|
|
|
10
10
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
|
-
`-u, --
|
|
13
|
+
`-u, --url <url>`
|
|
14
14
|
: URL of the subsite to reindex
|
|
15
15
|
|
|
16
16
|
--8<-- "docs/cmd/_global.md"
|
|
@@ -24,5 +24,5 @@ If the subsite to be reindexed is a no-script site, the command will request rei
|
|
|
24
24
|
Request reindexing the subsite _https://contoso.sharepoint.com/subsite_
|
|
25
25
|
|
|
26
26
|
```sh
|
|
27
|
-
m365 spo web reindex --
|
|
27
|
+
m365 spo web reindex --url https://contoso.sharepoint.com/subsite
|
|
28
28
|
```
|
|
@@ -10,7 +10,7 @@ m365 spo web remove [options]
|
|
|
10
10
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
|
-
`-u, --
|
|
13
|
+
`-u, --url <url>`
|
|
14
14
|
: URL of the subsite to remove
|
|
15
15
|
|
|
16
16
|
`--confirm`
|
|
@@ -23,5 +23,5 @@ m365 spo web remove [options]
|
|
|
23
23
|
Delete subsite without prompting for confirmation
|
|
24
24
|
|
|
25
25
|
```sh
|
|
26
|
-
m365 spo web remove --
|
|
26
|
+
m365 spo web remove --url https://contoso.sharepoint.com/subsite --confirm
|
|
27
27
|
```
|
|
@@ -13,6 +13,9 @@ m365 spo web roleinheritance reset [options]
|
|
|
13
13
|
`-u, --webUrl <webUrl>`
|
|
14
14
|
: URL of the site
|
|
15
15
|
|
|
16
|
+
`--confirm`
|
|
17
|
+
: Do not prompt for confirmation before resetting role inheritance.
|
|
18
|
+
|
|
16
19
|
--8<-- "docs/cmd/_global.md"
|
|
17
20
|
|
|
18
21
|
## Examples
|
|
@@ -22,3 +25,9 @@ Restore role inheritance of subsite _https://contoso.sharepoint.com/sites/projec
|
|
|
22
25
|
```sh
|
|
23
26
|
m365 spo web roleinheritance reset --webUrl https://contoso.sharepoint.com/sites/project-x
|
|
24
27
|
```
|
|
28
|
+
|
|
29
|
+
Restore role inheritance of subsite _https://contoso.sharepoint.com/sites/project-x_ without prompting for confirmation
|
|
30
|
+
|
|
31
|
+
```sh
|
|
32
|
+
m365 spo web roleinheritance reset --webUrl https://contoso.sharepoint.com/sites/project-x --confirm
|
|
33
|
+
```
|
|
@@ -10,7 +10,7 @@ m365 spo web set [options]
|
|
|
10
10
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
|
-
`-u, --
|
|
13
|
+
`-u, --url <url>`
|
|
14
14
|
: URL of the subsite to update
|
|
15
15
|
|
|
16
16
|
`-t, --title [title]`
|
|
@@ -54,49 +54,49 @@ Next to updating web properties corresponding to the options of this command, yo
|
|
|
54
54
|
Update subsite title
|
|
55
55
|
|
|
56
56
|
```sh
|
|
57
|
-
m365 spo web set --
|
|
57
|
+
m365 spo web set --url https://contoso.sharepoint.com/sites/team-a --title Team-a
|
|
58
58
|
```
|
|
59
59
|
|
|
60
60
|
Hide quick launch on the subsite
|
|
61
61
|
|
|
62
62
|
```sh
|
|
63
|
-
m365 spo web set --
|
|
63
|
+
m365 spo web set --url https://contoso.sharepoint.com/sites/team-a --quickLaunchEnabled false
|
|
64
64
|
```
|
|
65
65
|
|
|
66
66
|
Set site header layout to compact
|
|
67
67
|
|
|
68
68
|
```sh
|
|
69
|
-
m365 spo web set --
|
|
69
|
+
m365 spo web set --url https://contoso.sharepoint.com/sites/team-a --headerLayout compact
|
|
70
70
|
```
|
|
71
71
|
|
|
72
72
|
Set site header color to primary theme background color
|
|
73
73
|
|
|
74
74
|
```sh
|
|
75
|
-
m365 spo web set --
|
|
75
|
+
m365 spo web set --url https://contoso.sharepoint.com/sites/team-a --headerEmphasis 0
|
|
76
76
|
```
|
|
77
77
|
|
|
78
78
|
Enable megamenu in the site
|
|
79
79
|
|
|
80
80
|
```sh
|
|
81
|
-
m365 spo web set --
|
|
81
|
+
m365 spo web set --url https://contoso.sharepoint.com/sites/team-a --megaMenuEnabled true
|
|
82
82
|
```
|
|
83
83
|
|
|
84
84
|
Hide footer in the site
|
|
85
85
|
|
|
86
86
|
```sh
|
|
87
|
-
m365 spo web set --
|
|
87
|
+
m365 spo web set --url https://contoso.sharepoint.com/sites/team-a --footerEnabled false
|
|
88
88
|
```
|
|
89
89
|
|
|
90
90
|
Set search scope to tenant scope
|
|
91
91
|
|
|
92
92
|
```sh
|
|
93
|
-
m365 spo web set --
|
|
93
|
+
m365 spo web set --url https://contoso.sharepoint.com/sites/team-a --searchScope tenant
|
|
94
94
|
```
|
|
95
95
|
|
|
96
96
|
Set welcome page for the web
|
|
97
97
|
|
|
98
98
|
```sh
|
|
99
|
-
m365 spo web set --
|
|
99
|
+
m365 spo web set --url https://contoso.sharepoint.com/sites/team-a --welcomePage "SitePages/new-home.aspx"
|
|
100
100
|
```
|
|
101
101
|
|
|
102
102
|
## More information
|
|
@@ -10,7 +10,7 @@ m365 teams app install [options]
|
|
|
10
10
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
|
-
`--
|
|
13
|
+
`--id <id>`
|
|
14
14
|
: The ID of the app to install
|
|
15
15
|
|
|
16
16
|
`--teamId [teamId]`
|
|
@@ -26,24 +26,24 @@ m365 teams app install [options]
|
|
|
26
26
|
|
|
27
27
|
## Remarks
|
|
28
28
|
|
|
29
|
-
The `
|
|
29
|
+
The `id` has to be the ID of the app from the Microsoft Teams App Catalog. Do not use the ID from the manifest of the zip app package. Use the [teams app list](./app-list.md) command to get this ID instead.
|
|
30
30
|
|
|
31
31
|
## Examples
|
|
32
32
|
|
|
33
33
|
Install an app from the catalog in a Microsoft Teams team
|
|
34
34
|
|
|
35
35
|
```sh
|
|
36
|
-
m365 teams app install --
|
|
36
|
+
m365 teams app install --id 4440558e-8c73-4597-abc7-3644a64c4bce --teamId 2609af39-7775-4f94-a3dc-0dd67657e900
|
|
37
37
|
```
|
|
38
38
|
|
|
39
39
|
Install a personal app for the user specified using their user name
|
|
40
40
|
|
|
41
41
|
```sh
|
|
42
|
-
m365 teams app install --
|
|
42
|
+
m365 teams app install --id 4440558e-8c73-4597-abc7-3644a64c4bce --userName steve@contoso.com
|
|
43
43
|
```
|
|
44
44
|
|
|
45
45
|
Install a personal app for the user specified using their ID
|
|
46
46
|
|
|
47
47
|
```sh
|
|
48
|
-
m365 teams app install --
|
|
48
|
+
m365 teams app install --id 4440558e-8c73-4597-abc7-3644a64c4bce --userId 2609af39-7775-4f94-a3dc-0dd67657e900
|
|
49
49
|
```
|
|
@@ -10,7 +10,7 @@ m365 teams app uninstall [options]
|
|
|
10
10
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
|
-
`--
|
|
13
|
+
`--id <id>`
|
|
14
14
|
: The unique id of the app instance installed in the Microsoft Teams team
|
|
15
15
|
|
|
16
16
|
`--teamId <teamId>`
|
|
@@ -23,7 +23,7 @@ m365 teams app uninstall [options]
|
|
|
23
23
|
|
|
24
24
|
## Remarks
|
|
25
25
|
|
|
26
|
-
The `
|
|
26
|
+
The `id` has to be the id the app instance installed in the Microsoft Teams team.
|
|
27
27
|
Do not use the ID from the manifest of the zip app package or the id from the Microsoft Teams App Catalog.
|
|
28
28
|
|
|
29
29
|
## Examples
|
|
@@ -31,5 +31,5 @@ Do not use the ID from the manifest of the zip app package or the id from the Mi
|
|
|
31
31
|
Uninstall an app from a Microsoft Teams team
|
|
32
32
|
|
|
33
33
|
```sh
|
|
34
|
-
m365 teams app uninstall --
|
|
34
|
+
m365 teams app uninstall --id YzUyN2E0NzAtYTg4Mi00ODFjLTk4MWMtZWU2ZWZhYmE4NWM3IyM0ZDFlYTA0Ny1mMTk2LTQ1MGQtYjJlOS0wZDI4NTViYTA1YTY= --teamId 2609af39-7775-4f94-a3dc-0dd67657e900
|
|
35
35
|
```
|
|
@@ -16,14 +16,14 @@ m365 teams channel get [options]
|
|
|
16
16
|
`--teamName [teamName]`
|
|
17
17
|
: The display name of the team to which the channel belongs to. Specify either teamId or teamName but not both
|
|
18
18
|
|
|
19
|
-
`-c, --
|
|
20
|
-
: The ID of the channel for which to retrieve more information. Specify either
|
|
19
|
+
`-c, --id [id]`
|
|
20
|
+
: The ID of the channel for which to retrieve more information. Specify either id or name but not both
|
|
21
21
|
|
|
22
|
-
`--
|
|
23
|
-
: The display name of the channel for which to retrieve more information. Specify either
|
|
22
|
+
`--name [name]`
|
|
23
|
+
: The display name of the channel for which to retrieve more information. Specify either id or name but not both
|
|
24
24
|
|
|
25
25
|
`--primary`
|
|
26
|
-
: Gets the default channel, General, of a team. If specified,
|
|
26
|
+
: Gets the default channel, General, of a team. If specified, id or name are not needed
|
|
27
27
|
|
|
28
28
|
--8<-- "docs/cmd/_global.md"
|
|
29
29
|
|
|
@@ -32,13 +32,13 @@ m365 teams channel get [options]
|
|
|
32
32
|
Get information about Microsoft Teams team channel with id _19:493665404ebd4a18adb8a980a31b4986@thread.skype_
|
|
33
33
|
|
|
34
34
|
```sh
|
|
35
|
-
m365 teams channel get --teamId 00000000-0000-0000-0000-000000000000 --
|
|
35
|
+
m365 teams channel get --teamId 00000000-0000-0000-0000-000000000000 --id '19:493665404ebd4a18adb8a980a31b4986@thread.skype'
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
Get information about Microsoft Teams team channel with name _Channel Name_
|
|
39
39
|
|
|
40
40
|
```sh
|
|
41
|
-
m365 teams channel get --teamName "Team Name" --
|
|
41
|
+
m365 teams channel get --teamName "Team Name" --name "Channel Name"
|
|
42
42
|
```
|
|
43
43
|
|
|
44
44
|
Get information about Microsoft Teams team primary channel , i.e. General
|
|
@@ -8,12 +8,6 @@ Adds a specified member in the specified Microsoft Teams private or shared team
|
|
|
8
8
|
m365 teams channel member add [options]
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
## Alias
|
|
12
|
-
|
|
13
|
-
```sh
|
|
14
|
-
m365 teams conversationmember add [options]
|
|
15
|
-
```
|
|
16
|
-
|
|
17
11
|
## Options
|
|
18
12
|
|
|
19
13
|
`-i, --teamId [teamId]`
|
|
@@ -8,12 +8,6 @@ Remove the specified member from the specified Microsoft Teams private or shared
|
|
|
8
8
|
m365 teams channel member remove [options]
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
## Alias
|
|
12
|
-
|
|
13
|
-
```sh
|
|
14
|
-
m365 teams conversationmember remove [options]
|
|
15
|
-
```
|
|
16
|
-
|
|
17
11
|
## Options
|
|
18
12
|
|
|
19
13
|
`--teamId [teamId]`
|