@pnp/cli-microsoft365 5.9.0-beta.fd6d022 → 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/.eslintrc.js +17 -2
- package/README.md +5 -0
- package/dist/Auth.js +1 -2
- package/dist/Command.js +16 -2
- package/dist/appInsights.js +2 -0
- package/dist/m365/aad/commands/app/app-add.js +40 -17
- 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/commands/status.js +6 -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 +55 -34
- 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 +5 -12
- 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/pp/commands/Environment.js +3 -0
- package/dist/m365/pp/commands/card/card-get.js +110 -0
- package/dist/m365/pp/commands/card/card-list.js +68 -0
- package/dist/m365/pp/commands/dataverse/dataverse-table-list.js +69 -0
- package/dist/m365/pp/commands/environment/environment-get.js +75 -0
- package/dist/m365/pp/commands/gateway/gateway-get.js +70 -0
- package/dist/m365/pp/commands/solution/Solution.js +3 -0
- package/dist/m365/pp/commands/solution/solution-get.js +117 -0
- package/dist/m365/pp/commands/solution/solution-list.js +87 -0
- package/dist/m365/pp/commands/tenant/tenant-settings-list.js +45 -0
- package/dist/m365/pp/commands.js +9 -1
- package/dist/m365/spfx/commands/package/package-generate.js +2 -2
- package/dist/m365/spfx/commands/project/project-doctor.js +4 -1
- package/dist/m365/spfx/commands/project/project-externalize.js +4 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010001_YORC_version.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010002_YORC_isCreatingSolution.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010003_YORC_packageManager.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010004_YORC_componentType.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010005_YORC_environment.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010006_YORC_framework.js +3 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010007_YORC_isDomainIsolated.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010008_YORC_nodeVersion.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010009_YORC_sdkVersions_microsoft_graph_client.js +56 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010010_YORC_sdkVersions_teams_js.js +56 -0
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.14.0.js +0 -2
- package/dist/m365/spfx/commands/project/project-upgrade/{upgrade-1.16.0-beta.1.js → upgrade-1.16.0-beta.2.js} +44 -28
- package/dist/m365/spfx/commands/project/project-upgrade.js +1 -1
- package/dist/m365/spfx/commands/spfx-doctor.js +54 -9
- 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-add.js +82 -43
- package/dist/m365/spo/commands/contenttype/contenttype-field-remove.js +53 -21
- package/dist/m365/spo/commands/contenttype/contenttype-field-set.js +13 -13
- package/dist/m365/spo/commands/contenttype/contenttype-get.js +35 -14
- 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/eventreceiver/EventReceiver.js +3 -0
- package/dist/m365/spo/commands/eventreceiver/eventreceiver-remove.js +182 -0
- 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-add.js +26 -1
- 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 +24 -21
- 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-copy.js +25 -39
- package/dist/m365/spo/commands/file/file-move.js +24 -37
- package/dist/m365/spo/commands/file/file-rename.js +19 -16
- package/dist/m365/spo/commands/file/file-roleassignment-add.js +231 -0
- package/dist/m365/spo/commands/file/file-roleassignment-remove.js +180 -0
- package/dist/m365/spo/commands/file/file-roleinheritance-break.js +129 -0
- package/dist/m365/spo/commands/file/file-roleinheritance-reset.js +1 -1
- 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-roleassignment-remove.js +168 -0
- package/dist/m365/spo/commands/folder/folder-roleinheritance-break.js +104 -0
- package/dist/m365/spo/commands/folder/folder-roleinheritance-reset.js +13 -2
- package/dist/m365/spo/commands/group/AssociatedGroupPropertiesCollection.js +3 -0
- package/dist/m365/spo/commands/group/group-list.js +49 -10
- 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 +24 -21
- package/dist/m365/spo/commands/list/list-contenttype-default-set.js +59 -47
- package/dist/m365/spo/commands/list/list-contenttype-list.js +16 -8
- package/dist/m365/spo/commands/list/list-contenttype-remove.js +19 -11
- package/dist/m365/spo/commands/list/list-list.js +3 -13
- package/dist/m365/spo/commands/list/list-roleassignment-add.js +10 -10
- package/dist/m365/spo/commands/list/list-roleassignment-remove.js +8 -8
- package/dist/m365/spo/commands/list/list-roleinheritance-break.js +54 -25
- package/dist/m365/spo/commands/list/list-roleinheritance-reset.js +50 -21
- 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-add.js +19 -11
- package/dist/m365/spo/commands/list/list-webhook-get.js +17 -10
- package/dist/m365/spo/commands/list/list-webhook-list.js +17 -42
- package/dist/m365/spo/commands/list/list-webhook-remove.js +19 -11
- package/dist/m365/spo/commands/list/list-webhook-set.js +18 -10
- package/dist/m365/spo/commands/listitem/listitem-add.js +24 -14
- package/dist/m365/spo/commands/listitem/listitem-attachment-list.js +18 -8
- package/dist/m365/spo/commands/listitem/listitem-get.js +18 -8
- package/dist/m365/spo/commands/listitem/listitem-isrecord.js +20 -10
- package/dist/m365/spo/commands/listitem/listitem-list.js +20 -29
- package/dist/m365/spo/commands/listitem/listitem-record-declare.js +23 -16
- package/dist/m365/spo/commands/listitem/listitem-record-undeclare.js +27 -24
- package/dist/m365/spo/commands/listitem/listitem-remove.js +19 -11
- package/dist/m365/spo/commands/listitem/listitem-roleassignment-add.js +239 -0
- package/dist/m365/spo/commands/listitem/listitem-roleassignment-remove.js +8 -8
- package/dist/m365/spo/commands/listitem/listitem-roleinheritance-break.js +54 -25
- package/dist/m365/spo/commands/listitem/listitem-roleinheritance-reset.js +53 -21
- package/dist/m365/spo/commands/listitem/listitem-set.js +52 -44
- 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-roleassignment-add.js +10 -10
- package/dist/m365/spo/commands/web/web-roleassignment-remove.js +8 -8
- package/dist/m365/spo/commands/web/web-roleinheritance-break.js +100 -0
- 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 +11 -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-add.js +9 -9
- 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/todo/commands/list/list-get.js +89 -0
- package/dist/m365/todo/commands/task/task-add.js +55 -3
- package/dist/m365/todo/commands/task/task-get.js +108 -0
- package/dist/m365/todo/commands/task/task-set.js +53 -1
- package/dist/m365/todo/commands.js +2 -0
- 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/dist/utils/cache.js +81 -0
- package/dist/utils/pid.js +57 -0
- package/dist/utils/powerPlatform.js +42 -0
- package/docs/docs/_clisettings.md +18 -0
- 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 +13 -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 +29 -3
- package/docs/docs/cmd/planner/bucket/bucket-get.md +29 -3
- package/docs/docs/cmd/planner/bucket/bucket-list.md +30 -3
- package/docs/docs/cmd/planner/bucket/bucket-remove.md +4 -3
- package/docs/docs/cmd/planner/bucket/bucket-set.md +4 -3
- package/docs/docs/cmd/planner/plan/plan-add.md +123 -0
- package/docs/docs/cmd/planner/plan/plan-get.md +75 -12
- package/docs/docs/cmd/planner/plan/plan-list.md +45 -0
- package/docs/docs/cmd/planner/plan/plan-remove.md +4 -0
- 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/pp/card/card-get.md +51 -0
- package/docs/docs/cmd/pp/card/card-list.md +33 -0
- package/docs/docs/cmd/pp/dataverse/dataverse-table-list.md +33 -0
- package/docs/docs/cmd/pp/environment/environment-get.md +38 -0
- package/docs/docs/cmd/pp/environment/environment-list.md +1 -1
- package/docs/docs/cmd/pp/gateway/gateway-get.md +24 -0
- package/docs/docs/cmd/pp/solution/solution-get.md +51 -0
- package/docs/docs/cmd/pp/solution/solution-list.md +33 -0
- package/docs/docs/cmd/pp/tenant/tenant-settings-list.md +26 -0
- package/docs/docs/cmd/spfx/package/package-generate.md +2 -2
- package/docs/docs/cmd/spfx/project/project-rename.md +1 -14
- package/docs/docs/cmd/spfx/project/project-upgrade.md +1 -1
- package/docs/docs/cmd/spfx/spfx-doctor.md +10 -1
- 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-add.md +20 -2
- package/docs/docs/cmd/spo/contenttype/contenttype-field-remove.md +22 -4
- package/docs/docs/cmd/spo/contenttype/contenttype-field-set.md +4 -4
- package/docs/docs/cmd/spo/contenttype/contenttype-get.md +21 -3
- 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/eventreceiver/eventreceiver-get.md +2 -2
- package/docs/docs/cmd/spo/eventreceiver/eventreceiver-remove.md +69 -0
- 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-add.md +20 -2
- 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 +15 -6
- 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-roleassignment-add.md +57 -0
- package/docs/docs/cmd/spo/file/file-roleassignment-remove.md +54 -0
- package/docs/docs/cmd/spo/file/file-roleinheritance-break.md +54 -0
- 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-roleassignment-remove.md +57 -0
- package/docs/docs/cmd/spo/folder/folder-roleinheritance-break.md +45 -0
- package/docs/docs/cmd/spo/folder/folder-roleinheritance-reset.md +8 -2
- package/docs/docs/cmd/spo/group/group-list.md +10 -1
- package/docs/docs/cmd/spo/hubsite/hubsite-get.md +3 -3
- 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 +18 -9
- package/docs/docs/cmd/spo/list/list-contenttype-default-set.md +16 -7
- package/docs/docs/cmd/spo/list/list-contenttype-list.md +15 -6
- package/docs/docs/cmd/spo/list/list-contenttype-remove.md +19 -10
- package/docs/docs/cmd/spo/list/list-list.md +0 -3
- package/docs/docs/cmd/spo/list/list-roleinheritance-break.md +20 -8
- package/docs/docs/cmd/spo/list/list-roleinheritance-reset.md +23 -5
- 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-add.md +15 -16
- package/docs/docs/cmd/spo/list/list-webhook-get.md +16 -7
- package/docs/docs/cmd/spo/list/list-webhook-list.md +13 -10
- package/docs/docs/cmd/spo/list/list-webhook-remove.md +12 -10
- package/docs/docs/cmd/spo/list/list-webhook-set.md +14 -12
- package/docs/docs/cmd/spo/listitem/listitem-add.md +11 -2
- package/docs/docs/cmd/spo/listitem/listitem-attachment-list.md +11 -2
- package/docs/docs/cmd/spo/listitem/listitem-get.md +11 -2
- package/docs/docs/cmd/spo/listitem/listitem-isrecord.md +12 -2
- package/docs/docs/cmd/spo/listitem/listitem-list.md +9 -6
- package/docs/docs/cmd/spo/listitem/listitem-record-declare.md +11 -8
- package/docs/docs/cmd/spo/listitem/listitem-record-undeclare.md +14 -5
- package/docs/docs/cmd/spo/listitem/listitem-remove.md +11 -2
- package/docs/docs/cmd/spo/listitem/listitem-roleassignment-add.md +81 -0
- package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-break.md +16 -4
- package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-reset.md +14 -2
- package/docs/docs/cmd/spo/listitem/listitem-set.md +7 -4
- 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/site/site-hubsite-disconnect.md +42 -0
- 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-break.md +44 -0
- 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-add.md +4 -4
- 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/tenant/id/id-get.md +20 -0
- package/docs/docs/cmd/tenant/report/report-activeusercounts.md +35 -0
- package/docs/docs/cmd/tenant/report/report-activeuserdetail.md +49 -0
- package/docs/docs/cmd/tenant/report/report-office365activationcounts.md +32 -0
- package/docs/docs/cmd/tenant/report/report-office365activationsusercounts.md +30 -0
- package/docs/docs/cmd/tenant/report/report-office365activationsuserdetail.md +36 -0
- package/docs/docs/cmd/tenant/report/report-servicesusercounts.md +41 -0
- package/docs/docs/cmd/tenant/security/security-alerts-list.md +105 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-health-get.md +87 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-health-list.md +91 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-healthissue-get.md +62 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-healthissue-list.md +51 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-get.md +64 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-list.md +52 -0
- package/docs/docs/cmd/todo/list/list-get.md +61 -0
- package/docs/docs/cmd/todo/task/task-add.md +32 -5
- package/docs/docs/cmd/todo/task/task-get.md +75 -0
- package/docs/docs/cmd/todo/task/task-set.md +29 -2
- 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 +13 -3
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN006006_CFG_PS_features.js +0 -60
- 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/hubsite/hubsite-disconnect.md +0 -42
- 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,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
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# spo site hubsite disconnect
|
|
2
|
+
|
|
3
|
+
Disconnects the specified site collection from its hub site
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 spo site hubsite disconnect [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-u, --siteUrl <siteUrl>`
|
|
14
|
+
: URL of the site collection to disconnect from its hub site
|
|
15
|
+
|
|
16
|
+
`--confirm`
|
|
17
|
+
: Don't prompt for confirmation
|
|
18
|
+
|
|
19
|
+
--8<-- "docs/cmd/_global.md"
|
|
20
|
+
|
|
21
|
+
## Remarks
|
|
22
|
+
|
|
23
|
+
!!! attention
|
|
24
|
+
This command is based on a SharePoint API that is currently in preview and is subject to change once the API reached general availability.
|
|
25
|
+
|
|
26
|
+
## Examples
|
|
27
|
+
|
|
28
|
+
Disconnect a specific site collection from its hub site. Will prompt for confirmation before disconnecting from the hub site.
|
|
29
|
+
|
|
30
|
+
```sh
|
|
31
|
+
m365 spo site hubsite disconnect --siteUrl https://contoso.sharepoint.com/sites/sales
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
Disconnect a specific site collection from its hub site without prompting for confirmation.
|
|
35
|
+
|
|
36
|
+
```sh
|
|
37
|
+
m365 spo site hubsite disconnect --siteUrl https://contoso.sharepoint.com/sites/sales --confirm
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## More information
|
|
41
|
+
|
|
42
|
+
- SharePoint hub sites new in Microsoft 365: [https://techcommunity.microsoft.com/t5/SharePoint-Blog/SharePoint-hub-sites-new-in-Office-365/ba-p/109547](https://techcommunity.microsoft.com/t5/SharePoint-Blog/SharePoint-hub-sites-new-in-Office-365/ba-p/109547)
|
|
@@ -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
|
|
@@ -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
|
```
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# spo web roleinheritance break
|
|
2
|
+
|
|
3
|
+
Break role inheritance of subsite
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 spo web roleinheritance break [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-u, --webUrl <webUrl>`
|
|
14
|
+
: URL of the site.
|
|
15
|
+
|
|
16
|
+
`-c, --clearExistingPermissions`
|
|
17
|
+
: Clears all existing permissions from the web.
|
|
18
|
+
|
|
19
|
+
`--confirm`
|
|
20
|
+
: Don't prompt for confirmation.
|
|
21
|
+
|
|
22
|
+
--8<-- "docs/cmd/_global.md"
|
|
23
|
+
|
|
24
|
+
## Remarks
|
|
25
|
+
|
|
26
|
+
By default, when breaking permissions inheritance, the web will retain existing permissions. To remove existing permissions, use the `--clearExistingPermissions` option.
|
|
27
|
+
|
|
28
|
+
## Examples
|
|
29
|
+
|
|
30
|
+
Break role inheritance of a web and keep the existing permissions
|
|
31
|
+
|
|
32
|
+
```sh
|
|
33
|
+
m365 spo web roleinheritance break --webUrl https://contoso.sharepoint.com/sites/project-x
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Break role inheritance of a web and clear the existing permissions
|
|
37
|
+
|
|
38
|
+
```sh
|
|
39
|
+
m365 spo web roleinheritance break --webUrl https://contoso.sharepoint.com/sites/project-x --clearExistingPermissions
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## Response
|
|
43
|
+
|
|
44
|
+
The command won't return a response on success.
|
|
@@ -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
|
+
```
|