@pnp/cli-microsoft365 6.0.0-beta.dc71aa3 → 6.0.0-beta.dc8d53d
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/LICENSE +1 -3
- package/dist/Command.js +8 -6
- package/dist/cli/Cli.js +64 -6
- package/dist/m365/aad/commands/app/app-add.js +1 -1
- package/dist/m365/aad/commands/app/app-get.js +1 -1
- package/dist/m365/aad/commands/app/app-remove.js +1 -1
- package/dist/m365/aad/commands/app/app-role-add.js +1 -1
- package/dist/m365/aad/commands/app/app-role-list.js +1 -1
- package/dist/m365/aad/commands/app/app-role-remove.js +1 -1
- package/dist/m365/aad/commands/app/app-set.js +1 -1
- package/dist/m365/aad/commands/approleassignment/approleassignment-add.js +1 -1
- package/dist/m365/aad/commands/approleassignment/approleassignment-list.js +1 -1
- package/dist/m365/aad/commands/approleassignment/approleassignment-remove.js +1 -1
- package/dist/m365/aad/commands/groupsettingtemplate/groupsettingtemplate-get.js +1 -1
- package/dist/m365/aad/commands/o365group/o365group-conversation-post-list.js +1 -1
- package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-remove.js +1 -1
- package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-restore.js +1 -1
- package/dist/m365/aad/commands/o365group/o365group-teamify.js +1 -1
- package/dist/m365/aad/commands/o365group/o365group-user-add.js +1 -1
- package/dist/m365/aad/commands/o365group/o365group-user-remove.js +1 -1
- package/dist/m365/aad/commands/o365group/o365group-user-set.js +1 -1
- package/dist/m365/aad/commands/sp/sp-add.js +1 -1
- package/dist/m365/aad/commands/sp/sp-get.js +1 -1
- package/dist/m365/aad/commands/user/user-get.js +1 -1
- package/dist/m365/aad/commands/user/user-set.js +1 -1
- package/dist/m365/adaptivecard/commands/adaptivecard-send.js +1 -1
- package/dist/m365/booking/commands/business/business-get.js +1 -1
- package/dist/m365/cli/commands/config/config-set.js +4 -0
- package/dist/m365/commands/login.js +6 -1
- package/dist/m365/outlook/commands/message/message-list.js +1 -1
- package/dist/m365/outlook/commands/message/message-move.js +1 -1
- package/dist/m365/pa/commands/app/app-get.js +1 -1
- package/dist/m365/planner/commands/bucket/bucket-add.js +1 -1
- package/dist/m365/planner/commands/bucket/bucket-get.js +1 -1
- package/dist/m365/planner/commands/bucket/bucket-list.js +1 -1
- package/dist/m365/planner/commands/bucket/bucket-remove.js +1 -1
- package/dist/m365/planner/commands/bucket/bucket-set.js +1 -1
- package/dist/m365/planner/commands/plan/plan-add.js +1 -1
- package/dist/m365/planner/commands/plan/plan-get.js +1 -1
- package/dist/m365/planner/commands/plan/plan-list.js +1 -1
- package/dist/m365/planner/commands/plan/plan-remove.js +1 -1
- package/dist/m365/planner/commands/task/task-add.js +1 -1
- package/dist/m365/planner/commands/task/task-get.js +1 -1
- package/dist/m365/planner/commands/task/task-reference-remove.js +1 -1
- package/dist/m365/planner/commands/task/task-remove.js +1 -1
- package/dist/m365/pp/commands/card/card-clone.js +2 -2
- package/dist/m365/pp/commands/card/card-get.js +2 -2
- package/dist/m365/pp/commands/card/card-list.js +1 -1
- package/dist/m365/pp/commands/card/card-remove.js +2 -2
- package/dist/m365/pp/commands/dataverse/dataverse-table-get.js +1 -1
- package/dist/m365/pp/commands/dataverse/dataverse-table-list.js +1 -1
- package/dist/m365/pp/commands/dataverse/dataverse-table-remove.js +1 -1
- package/dist/m365/pp/commands/environment/environment-get.js +1 -1
- package/dist/m365/pp/commands/environment/environment-list.js +1 -1
- package/dist/m365/pp/commands/managementapp/managementapp-add.js +1 -1
- package/dist/m365/pp/commands/solution/solution-get.js +2 -2
- package/dist/m365/pp/commands/solution/solution-list.js +1 -1
- package/dist/m365/pp/commands/solution/solution-publisher-get.js +2 -2
- package/dist/m365/pp/commands/solution/solution-publisher-list.js +1 -1
- package/dist/m365/pp/commands/solution/solution-publisher-remove.js +2 -2
- package/dist/m365/pp/commands/solution/solution-remove.js +2 -2
- package/dist/m365/search/commands/externalconnection/externalconnection-get.js +1 -1
- package/dist/m365/search/commands/externalconnection/externalconnection-remove.js +1 -1
- package/dist/m365/spfx/commands/project/project-doctor/{doctor-1.16.0-rc.0.js → doctor-1.16.0.js} +1 -1
- package/dist/m365/spfx/commands/project/project-doctor.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/{upgrade-1.16.0-rc.0.js → upgrade-1.16.0.js} +26 -26
- package/dist/m365/spfx/commands/project/project-upgrade.js +13 -15
- package/dist/m365/spfx/commands/spfx-doctor.js +1 -1
- package/dist/m365/spo/commands/app/app-deploy.js +1 -1
- package/dist/m365/spo/commands/app/app-get.js +1 -1
- package/dist/m365/spo/commands/app/app-list.js +4 -11
- package/dist/m365/spo/commands/contenttype/contenttype-get.js +1 -1
- package/dist/m365/spo/commands/contenttype/contenttype-list.js +3 -10
- package/dist/m365/spo/commands/contenttype/contenttype-remove.js +1 -1
- package/dist/m365/spo/commands/contenttype/contenttype-set.js +1 -1
- package/dist/m365/spo/commands/customaction/customaction-get.js +1 -1
- package/dist/m365/spo/commands/customaction/customaction-list.js +4 -17
- package/dist/m365/spo/commands/customaction/customaction-remove.js +1 -1
- package/dist/m365/spo/commands/eventreceiver/eventreceiver-get.js +44 -28
- package/dist/m365/spo/commands/eventreceiver/eventreceiver-list.js +3 -10
- package/dist/m365/spo/commands/eventreceiver/eventreceiver-remove.js +3 -9
- package/dist/m365/spo/commands/feature/feature-list.js +4 -11
- package/dist/m365/spo/commands/field/field-get.js +1 -1
- package/dist/m365/spo/commands/field/field-list.js +3 -10
- package/dist/m365/spo/commands/field/field-remove.js +1 -1
- package/dist/m365/spo/commands/field/field-set.js +1 -1
- package/dist/m365/spo/commands/file/file-checkin.js +1 -1
- package/dist/m365/spo/commands/file/file-checkout.js +1 -1
- package/dist/m365/spo/commands/file/file-get.js +28 -2
- package/dist/m365/spo/commands/file/file-remove.js +1 -1
- package/dist/m365/spo/commands/file/file-roleassignment-add.js +1 -1
- package/dist/m365/spo/commands/file/file-roleassignment-remove.js +1 -1
- package/dist/m365/spo/commands/file/file-roleinheritance-break.js +1 -1
- package/dist/m365/spo/commands/file/file-roleinheritance-reset.js +1 -1
- package/dist/m365/spo/commands/file/file-sharinginfo-get.js +1 -1
- package/dist/m365/spo/commands/file/file-version-clear.js +1 -1
- package/dist/m365/spo/commands/file/file-version-get.js +1 -1
- package/dist/m365/spo/commands/file/file-version-list.js +7 -11
- package/dist/m365/spo/commands/file/file-version-remove.js +1 -1
- package/dist/m365/spo/commands/file/file-version-restore.js +1 -1
- package/dist/m365/spo/commands/folder/folder-get.js +30 -5
- package/dist/m365/spo/commands/folder/folder-list.js +4 -11
- package/dist/m365/spo/commands/group/group-add.js +1 -1
- package/dist/m365/spo/commands/group/group-get.js +1 -1
- package/dist/m365/spo/commands/group/group-list.js +4 -9
- package/dist/m365/spo/commands/group/group-member-add.js +1 -1
- package/dist/m365/spo/commands/group/group-member-list.js +4 -11
- package/dist/m365/spo/commands/group/group-member-remove.js +1 -1
- package/dist/m365/spo/commands/group/group-remove.js +1 -1
- package/dist/m365/spo/commands/group/group-set.js +1 -1
- package/dist/m365/spo/commands/hubsite/hubsite-connect.js +1 -1
- package/dist/m365/spo/commands/hubsite/hubsite-disconnect.js +1 -1
- package/dist/m365/spo/commands/hubsite/hubsite-get.js +1 -1
- package/dist/m365/spo/commands/hubsite/hubsite-list.js +4 -10
- package/dist/m365/spo/commands/list/list-contenttype-add.js +1 -1
- package/dist/m365/spo/commands/list/list-contenttype-default-set.js +1 -1
- package/dist/m365/spo/commands/list/list-contenttype-list.js +4 -12
- package/dist/m365/spo/commands/list/list-contenttype-remove.js +1 -1
- package/dist/m365/spo/commands/list/list-get.js +13 -5
- package/dist/m365/spo/commands/list/list-label-get.js +34 -22
- package/dist/m365/spo/commands/list/list-label-set.js +1 -1
- package/dist/m365/spo/commands/list/list-list.js +4 -12
- package/dist/m365/spo/commands/list/list-remove.js +1 -1
- package/dist/m365/spo/commands/list/list-roleassignment-add.js +1 -1
- package/dist/m365/spo/commands/list/list-roleassignment-remove.js +1 -1
- package/dist/m365/spo/commands/list/list-roleinheritance-break.js +1 -1
- package/dist/m365/spo/commands/list/list-roleinheritance-reset.js +1 -1
- package/dist/m365/spo/commands/list/list-set.js +1 -1
- package/dist/m365/spo/commands/list/list-sitescript-get.js +35 -24
- package/dist/m365/spo/commands/list/list-view-add.js +1 -1
- package/dist/m365/spo/commands/list/list-view-field-add.js +1 -1
- package/dist/m365/spo/commands/list/list-view-field-remove.js +1 -1
- package/dist/m365/spo/commands/list/list-view-field-set.js +1 -1
- package/dist/m365/spo/commands/list/list-view-get.js +1 -1
- package/dist/m365/spo/commands/list/list-view-list.js +4 -11
- package/dist/m365/spo/commands/list/list-view-remove.js +1 -1
- package/dist/m365/spo/commands/list/list-view-set.js +1 -1
- package/dist/m365/spo/commands/list/list-webhook-add.js +1 -1
- package/dist/m365/spo/commands/list/list-webhook-get.js +1 -1
- package/dist/m365/spo/commands/list/list-webhook-list.js +6 -14
- package/dist/m365/spo/commands/list/list-webhook-remove.js +1 -1
- package/dist/m365/spo/commands/list/list-webhook-set.js +1 -1
- package/dist/m365/spo/commands/listitem/listitem-add.js +1 -1
- package/dist/m365/spo/commands/listitem/listitem-attachment-list.js +1 -1
- package/dist/m365/spo/commands/listitem/listitem-batch-add.js +202 -0
- package/dist/m365/spo/commands/listitem/listitem-get.js +28 -5
- package/dist/m365/spo/commands/listitem/listitem-isrecord.js +1 -1
- package/dist/m365/spo/commands/listitem/listitem-list.js +1 -1
- package/dist/m365/spo/commands/listitem/listitem-record-declare.js +1 -1
- package/dist/m365/spo/commands/listitem/listitem-record-undeclare.js +1 -1
- package/dist/m365/spo/commands/listitem/listitem-remove.js +1 -1
- package/dist/m365/spo/commands/listitem/listitem-roleassignment-remove.js +1 -1
- package/dist/m365/spo/commands/listitem/listitem-roleinheritance-break.js +1 -1
- package/dist/m365/spo/commands/listitem/listitem-roleinheritance-reset.js +1 -1
- package/dist/m365/spo/commands/listitem/listitem-set.js +1 -1
- package/dist/m365/spo/commands/navigation/navigation-node-list.js +3 -10
- package/dist/m365/spo/commands/page/page-clientsidewebpart-add.js +1 -1
- package/dist/m365/spo/commands/page/page-list.js +7 -21
- package/dist/m365/spo/commands/page/page-set.js +36 -3
- package/dist/m365/spo/commands/page/page-template-list.js +4 -11
- package/dist/m365/spo/commands/roledefinition/roledefinition-list.js +3 -10
- package/dist/m365/spo/commands/site/site-apppermission-add.js +1 -1
- package/dist/m365/spo/commands/site/site-apppermission-remove.js +1 -1
- package/dist/m365/spo/commands/site/site-apppermission-set.js +1 -1
- package/dist/m365/spo/commands/sitedesign/sitedesign-get.js +1 -1
- package/dist/m365/spo/commands/term/term-add.js +1 -1
- package/dist/m365/spo/commands/term/term-get.js +1 -1
- package/dist/m365/spo/commands/term/term-group-get.js +1 -1
- package/dist/m365/spo/commands/term/term-list.js +1 -1
- package/dist/m365/spo/commands/term/term-set-add.js +1 -1
- package/dist/m365/spo/commands/term/term-set-get.js +1 -1
- package/dist/m365/spo/commands/term/term-set-list.js +1 -1
- package/dist/m365/spo/commands/user/user-get.js +1 -1
- package/dist/m365/spo/commands/user/user-remove.js +1 -1
- package/dist/m365/spo/commands/web/web-get.js +24 -1
- package/dist/m365/spo/commands/web/web-list.js +3 -10
- package/dist/m365/spo/commands/web/web-roleassignment-add.js +1 -1
- package/dist/m365/spo/commands/web/web-roleassignment-remove.js +1 -1
- package/dist/m365/spo/commands.js +1 -0
- package/dist/m365/teams/commands/app/app-install.js +1 -1
- package/dist/m365/teams/commands/app/app-update.js +1 -1
- package/dist/m365/teams/commands/cache/cache-remove.js +41 -10
- package/dist/m365/teams/commands/channel/channel-add.js +1 -1
- package/dist/m365/teams/commands/channel/channel-get.js +1 -1
- package/dist/m365/teams/commands/channel/channel-list.js +1 -1
- package/dist/m365/teams/commands/channel/channel-member-add.js +1 -1
- package/dist/m365/teams/commands/channel/channel-member-list.js +1 -1
- package/dist/m365/teams/commands/channel/channel-member-remove.js +1 -1
- package/dist/m365/teams/commands/channel/channel-member-set.js +1 -1
- package/dist/m365/teams/commands/channel/channel-remove.js +1 -1
- package/dist/m365/teams/commands/channel/channel-set.js +1 -1
- package/dist/m365/teams/commands/chat/chat-get.js +1 -1
- package/dist/m365/teams/commands/chat/chat-message-send.js +1 -1
- package/dist/m365/teams/commands/meeting/meeting-get.js +134 -0
- package/dist/m365/teams/commands/tab/tab-get.js +1 -1
- package/dist/m365/teams/commands/team/team-archive.js +1 -1
- package/dist/m365/teams/commands/team/team-clone.js +1 -1
- package/dist/m365/teams/commands/team/team-get.js +1 -1
- package/dist/m365/teams/commands/team/team-remove.js +1 -1
- package/dist/m365/teams/commands/team/team-unarchive.js +1 -1
- package/dist/m365/teams/commands/user/user-app-list.js +1 -1
- package/dist/m365/teams/commands.js +1 -0
- package/dist/m365/todo/commands/list/list-get.js +1 -1
- package/dist/m365/todo/commands/list/list-remove.js +1 -1
- package/dist/m365/todo/commands/list/list-set.js +1 -1
- package/dist/m365/todo/commands/task/task-add.js +1 -1
- package/dist/m365/todo/commands/task/task-get.js +1 -1
- package/dist/m365/todo/commands/task/task-list.js +1 -1
- package/dist/m365/todo/commands/task/task-remove.js +1 -1
- package/dist/m365/todo/commands/task/task-set.js +1 -1
- package/dist/settingsNames.js +1 -0
- package/dist/utils/formatting.js +15 -15
- package/dist/utils/odata.js +2 -1
- package/docs/docs/_clisettings.md +1 -0
- package/docs/docs/cmd/_global.md +2 -2
- package/docs/docs/cmd/aad/user/user-guest-add.md +1 -1
- package/docs/docs/cmd/app/app-open.md +1 -1
- package/docs/docs/cmd/flow/environment/environment-get.md +100 -0
- package/docs/docs/cmd/flow/environment/environment-list.md +97 -0
- package/docs/docs/cmd/flow/flow-disable.md +7 -3
- package/docs/docs/cmd/flow/flow-enable.md +4 -0
- package/docs/docs/cmd/flow/flow-export.md +20 -0
- package/docs/docs/cmd/flow/flow-get.md +372 -0
- package/docs/docs/cmd/flow/flow-list.md +107 -0
- package/docs/docs/cmd/flow/flow-remove.md +4 -0
- package/docs/docs/cmd/flow/run/run-cancel.md +4 -0
- package/docs/docs/cmd/flow/run/run-get.md +72 -0
- package/docs/docs/cmd/flow/run/run-list.md +68 -0
- package/docs/docs/cmd/flow/run/run-resubmit.md +4 -0
- package/docs/docs/cmd/pp/card/card-clone.md +1 -1
- package/docs/docs/cmd/pp/card/card-get.md +1 -1
- package/docs/docs/cmd/pp/card/card-list.md +1 -1
- package/docs/docs/cmd/pp/dataverse/dataverse-table-get.md +1 -1
- package/docs/docs/cmd/pp/dataverse/dataverse-table-list.md +1 -1
- package/docs/docs/cmd/pp/dataverse/dataverse-table-remove.md +1 -1
- package/docs/docs/cmd/pp/environment/environment-get.md +1 -1
- package/docs/docs/cmd/pp/environment/environment-list.md +1 -1
- package/docs/docs/cmd/pp/solution/solution-get.md +1 -1
- package/docs/docs/cmd/pp/solution/solution-list.md +1 -1
- package/docs/docs/cmd/pp/solution/solution-publisher-get.md +1 -1
- package/docs/docs/cmd/pp/solution/solution-publisher-list.md +1 -1
- package/docs/docs/cmd/spfx/package/package-generate.md +4 -0
- package/docs/docs/cmd/spfx/project/project-doctor.md +92 -0
- package/docs/docs/cmd/spfx/project/project-externalize.md +116 -0
- package/docs/docs/cmd/spfx/project/project-rename.md +6 -2
- package/docs/docs/cmd/spfx/project/project-upgrade.md +101 -1
- package/docs/docs/cmd/spfx/spfx-doctor.md +38 -0
- package/docs/docs/cmd/spo/eventreceiver/eventreceiver-get.md +42 -2
- package/docs/docs/cmd/spo/file/file-get.md +219 -8
- package/docs/docs/cmd/spo/file/file-version-list.md +5 -5
- package/docs/docs/cmd/spo/folder/folder-get.md +11 -0
- package/docs/docs/cmd/spo/homesite/homesite-get.md +31 -0
- package/docs/docs/cmd/spo/homesite/homesite-remove.md +20 -0
- package/docs/docs/cmd/spo/homesite/homesite-set.md +20 -0
- package/docs/docs/cmd/spo/hubsite/hubsite-data-get.md +57 -0
- package/docs/docs/cmd/spo/hubsite/hubsite-get.md +89 -0
- package/docs/docs/cmd/spo/hubsite/hubsite-list.md +94 -0
- package/docs/docs/cmd/spo/hubsite/hubsite-register.md +53 -0
- package/docs/docs/cmd/spo/hubsite/hubsite-rights-grant.md +4 -0
- package/docs/docs/cmd/spo/hubsite/hubsite-rights-revoke.md +4 -0
- package/docs/docs/cmd/spo/hubsite/hubsite-set.md +45 -0
- package/docs/docs/cmd/spo/hubsite/hubsite-unregister.md +4 -0
- package/docs/docs/cmd/spo/knowledgehub/knowledgehub-get.md +20 -0
- package/docs/docs/cmd/spo/knowledgehub/knowledgehub-remove.md +20 -0
- package/docs/docs/cmd/spo/knowledgehub/knowledgehub-set.md +20 -0
- package/docs/docs/cmd/spo/list/list-add.md +133 -0
- package/docs/docs/cmd/spo/list/list-contenttype-add.md +88 -1
- package/docs/docs/cmd/spo/list/list-contenttype-default-set.md +4 -0
- package/docs/docs/cmd/spo/list/list-contenttype-list.md +60 -0
- package/docs/docs/cmd/spo/list/list-contenttype-remove.md +4 -0
- package/docs/docs/cmd/spo/list/list-get.md +154 -6
- package/docs/docs/cmd/spo/list/list-label-get.md +83 -7
- package/docs/docs/cmd/spo/list/list-label-set.md +4 -0
- package/docs/docs/cmd/spo/list/list-list.md +89 -0
- package/docs/docs/cmd/spo/list/list-remove.md +4 -0
- package/docs/docs/cmd/spo/list/list-roleassignment-add.md +4 -0
- package/docs/docs/cmd/spo/list/list-roleassignment-remove.md +4 -0
- package/docs/docs/cmd/spo/list/list-roleinheritance-break.md +4 -0
- package/docs/docs/cmd/spo/list/list-roleinheritance-reset.md +4 -0
- package/docs/docs/cmd/spo/list/list-set.md +4 -0
- package/docs/docs/cmd/spo/list/list-sitescript-get.md +94 -8
- package/docs/docs/cmd/spo/list/list-view-add.md +121 -0
- package/docs/docs/cmd/spo/list/list-view-field-add.md +3 -0
- package/docs/docs/cmd/spo/list/list-view-field-remove.md +4 -0
- package/docs/docs/cmd/spo/list/list-view-field-set.md +3 -0
- package/docs/docs/cmd/spo/list/list-view-get.md +121 -0
- package/docs/docs/cmd/spo/list/list-view-list.md +78 -0
- package/docs/docs/cmd/spo/list/list-view-remove.md +4 -0
- package/docs/docs/cmd/spo/list/list-view-set.md +4 -0
- package/docs/docs/cmd/spo/list/list-webhook-add.md +33 -0
- package/docs/docs/cmd/spo/list/list-webhook-get.md +33 -0
- package/docs/docs/cmd/spo/list/list-webhook-list.md +32 -0
- package/docs/docs/cmd/spo/list/list-webhook-remove.md +4 -0
- package/docs/docs/cmd/spo/listitem/listitem-add.md +59 -0
- package/docs/docs/cmd/spo/listitem/listitem-attachment-list.md +34 -0
- package/docs/docs/cmd/spo/listitem/listitem-batch-add.md +61 -0
- package/docs/docs/cmd/spo/listitem/listitem-get.md +188 -4
- package/docs/docs/cmd/spo/listitem/listitem-isrecord.md +19 -0
- package/docs/docs/cmd/spo/listitem/listitem-list.md +41 -0
- package/docs/docs/cmd/spo/listitem/listitem-record-declare.md +29 -0
- package/docs/docs/cmd/spo/listitem/listitem-record-undeclare.md +4 -0
- package/docs/docs/cmd/spo/listitem/listitem-remove.md +4 -0
- package/docs/docs/cmd/spo/listitem/listitem-roleassignment-add.md +5 -1
- package/docs/docs/cmd/spo/listitem/listitem-roleassignment-remove.md +4 -0
- package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-break.md +5 -1
- package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-reset.md +4 -0
- package/docs/docs/cmd/spo/listitem/listitem-set.md +59 -0
- package/docs/docs/cmd/spo/mail/mail-send.md +4 -0
- package/docs/docs/cmd/spo/navigation/navigation-node-add.md +39 -0
- package/docs/docs/cmd/spo/navigation/navigation-node-list.md +29 -0
- package/docs/docs/cmd/spo/navigation/navigation-node-remove.md +4 -0
- package/docs/docs/cmd/spo/page/page-add.md +2 -2
- package/docs/docs/cmd/spo/page/page-set.md +15 -2
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-add.md +3 -1
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-list.md +3 -1
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-revoke.md +3 -3
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-approve.md +3 -3
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-deny.md +3 -3
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-list.md +3 -1
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-set.md +3 -3
- package/docs/docs/cmd/spo/web/web-get.md +258 -2
- package/docs/docs/cmd/teams/meeting/meeting-get.md +159 -0
- package/package.json +2 -1
- package/dist/m365/spo/commands/group/GroupPropertiesCollection.js +0 -3
- package/dist/m365/spo/commands/list/ListInstanceCollection.js +0 -3
- package/dist/m365/spo/commands/page/PageTemplateResponse.js +0 -3
|
@@ -31,54 +31,265 @@ m365 spo file get [options]
|
|
|
31
31
|
`-p, --path [path]`
|
|
32
32
|
: The local path where to save the retrieved file. Must be specified when the `--asFile` option is used
|
|
33
33
|
|
|
34
|
+
`--withPermissions`
|
|
35
|
+
: Set if you want to return associated roles and permissions
|
|
36
|
+
|
|
34
37
|
--8<-- "docs/cmd/_global.md"
|
|
35
38
|
|
|
36
39
|
## Examples
|
|
37
40
|
|
|
38
|
-
Get file properties for file with id (UniqueId)
|
|
41
|
+
Get file properties for a file with id (UniqueId) parameter located in a site
|
|
39
42
|
|
|
40
43
|
```sh
|
|
41
44
|
m365 spo file get --webUrl https://contoso.sharepoint.com/sites/project-x --id 'b2307a39-e878-458b-bc90-03bc578531d6'
|
|
42
45
|
```
|
|
43
46
|
|
|
44
|
-
Get contents of the file with id (UniqueId)
|
|
47
|
+
Get contents of the file with id (UniqueId) parameter located in a site
|
|
45
48
|
|
|
46
49
|
```sh
|
|
47
50
|
m365 spo file get --webUrl https://contoso.sharepoint.com/sites/project-x --id 'b2307a39-e878-458b-bc90-03bc578531d6' --asString
|
|
48
51
|
```
|
|
49
52
|
|
|
50
|
-
Get list item properties for file with id (UniqueId)
|
|
53
|
+
Get list item properties for a file with id (UniqueId) parameter located in a site
|
|
51
54
|
|
|
52
55
|
```sh
|
|
53
56
|
m365 spo file get --webUrl https://contoso.sharepoint.com/sites/project-x --id 'b2307a39-e878-458b-bc90-03bc578531d6' --asListItem
|
|
54
57
|
```
|
|
55
58
|
|
|
56
|
-
|
|
59
|
+
Saves the file with id (UniqueId) parameter located in a site to a local file
|
|
57
60
|
|
|
58
61
|
```sh
|
|
59
62
|
m365 spo file get --webUrl https://contoso.sharepoint.com/sites/project-x --id 'b2307a39-e878-458b-bc90-03bc578531d6' --asFile --path /Users/user/documents/SavedAsTest1.docx
|
|
60
63
|
```
|
|
61
64
|
|
|
62
|
-
Return file properties for file with server-relative url
|
|
65
|
+
Return file properties for a file with server-relative url located in a site
|
|
63
66
|
|
|
64
67
|
```sh
|
|
65
68
|
m365 spo file get --webUrl https://contoso.sharepoint.com/sites/project-x --url '/sites/project-x/documents/Test1.docx'
|
|
66
69
|
```
|
|
67
70
|
|
|
68
|
-
|
|
71
|
+
Returns a file as string for a file with server-relative url located in a site
|
|
69
72
|
|
|
70
73
|
```sh
|
|
71
74
|
m365 spo file get --webUrl https://contoso.sharepoint.com/sites/project-x --url '/sites/project-x/documents/Test1.docx' --asString
|
|
72
75
|
```
|
|
73
76
|
|
|
74
|
-
|
|
77
|
+
Returna the list item properties for a file with the server-relative url located in a site
|
|
75
78
|
|
|
76
79
|
```sh
|
|
77
80
|
m365 spo file get --webUrl https://contoso.sharepoint.com/sites/project-x --url '/sites/project-x/documents/Test1.docx' --asListItem
|
|
78
81
|
```
|
|
79
82
|
|
|
80
|
-
|
|
83
|
+
Saves a file with the server-relative url located in a site to a local file
|
|
81
84
|
|
|
82
85
|
```sh
|
|
83
86
|
m365 spo file get --webUrl https://contoso.sharepoint.com/sites/project-x --url '/sites/project-x/documents/Test1.docx' --asFile --path /Users/user/documents/SavedAsTest1.docx
|
|
84
87
|
```
|
|
88
|
+
|
|
89
|
+
Gets the file properties for a file with id (UniqueId) parameter located in a site with permissions
|
|
90
|
+
|
|
91
|
+
```sh
|
|
92
|
+
m365 spo file get --webUrl https://contoso.sharepoint.com/sites/project-x --id 'b2307a39-e878-458b-bc90-03bc578531d6' --withPermissions
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
## Response
|
|
96
|
+
|
|
97
|
+
=== "JSON"
|
|
98
|
+
|
|
99
|
+
```json
|
|
100
|
+
{
|
|
101
|
+
"CheckInComment": "",
|
|
102
|
+
"CheckOutType": 2,
|
|
103
|
+
"ContentTag": "{03E171B6-9DF2-46D9-A7A1-D5FA0BD23E4B},1,1",
|
|
104
|
+
"CustomizedPageStatus": 0,
|
|
105
|
+
"ETag": "\"{03E171B6-9DF2-46D9-A7A1-D5FA0BD23E4B},1\"",
|
|
106
|
+
"Exists": true,
|
|
107
|
+
"IrmEnabled": false,
|
|
108
|
+
"Length": "5987",
|
|
109
|
+
"Level": 1,
|
|
110
|
+
"LinkingUri": null,
|
|
111
|
+
"LinkingUrl": "",
|
|
112
|
+
"MajorVersion": 1,
|
|
113
|
+
"MinorVersion": 0,
|
|
114
|
+
"Name": "Test1.docx",
|
|
115
|
+
"ServerRelativeUrl": "/sites/project-x/documents/Test1.docx",
|
|
116
|
+
"TimeCreated": "2022-10-30T10:16:18Z",
|
|
117
|
+
"TimeLastModified": "2022-10-30T10:16:18Z",
|
|
118
|
+
"Title": null,
|
|
119
|
+
"UIVersion": 512,
|
|
120
|
+
"UIVersionLabel": "1.0",
|
|
121
|
+
"UniqueId": "b2307a39-e878-458b-bc90-03bc578531d6"
|
|
122
|
+
}
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
=== "Text"
|
|
126
|
+
|
|
127
|
+
```text
|
|
128
|
+
CheckInComment :
|
|
129
|
+
CheckOutType : 2
|
|
130
|
+
ContentTag : {03E171B6-9DF2-46D9-A7A1-D5FA0BD23E4B},1,1
|
|
131
|
+
CustomizedPageStatus: 0
|
|
132
|
+
ETag : "{03E171B6-9DF2-46D9-A7A1-D5FA0BD23E4B},1"
|
|
133
|
+
Exists : true
|
|
134
|
+
IrmEnabled : false
|
|
135
|
+
Length : 5987
|
|
136
|
+
Level : 1
|
|
137
|
+
LinkingUri : null
|
|
138
|
+
LinkingUrl :
|
|
139
|
+
MajorVersion : 1
|
|
140
|
+
MinorVersion : 0
|
|
141
|
+
Name : Test1.docx
|
|
142
|
+
ServerRelativeUrl : /sites/project-x/documents/Test1.docx
|
|
143
|
+
TimeCreated : 2022-10-30T10:16:18Z
|
|
144
|
+
TimeLastModified : 2022-10-30T10:16:18Z
|
|
145
|
+
Title : null
|
|
146
|
+
UIVersion : 512
|
|
147
|
+
UIVersionLabel : 1.0
|
|
148
|
+
UniqueId : b2307a39-e878-458b-bc90-03bc578531d6
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
=== "CSV"
|
|
152
|
+
|
|
153
|
+
```csv
|
|
154
|
+
CheckInComment,CheckOutType,ContentTag,CustomizedPageStatus,ETag,Exists,IrmEnabled,Length,Level,LinkingUri,LinkingUrl,MajorVersion,MinorVersion,Name,ServerRelativeUrl,TimeCreated,TimeLastModified,Title,UIVersion,UIVersionLabel,UniqueId
|
|
155
|
+
,2,"{03E171B6-9DF2-46D9-A7A1-D5FA0BD23E4B},1,1",0,"""{03E171B6-9DF2-46D9-A7A1-D5FA0BD23E4B},1""",1,,5987,1,,,1,0,Test1.docx,/sites/project-x/documents/Test1.docx,2022-10-30T10:16:18Z,2022-10-30T10:16:18Z,,512,1.0,b2307a39-e878-458b-bc90-03bc578531d6
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
### `withPermissions` response
|
|
159
|
+
|
|
160
|
+
When we make use of the option `withPermissions` the response will differ.
|
|
161
|
+
|
|
162
|
+
## Response
|
|
163
|
+
|
|
164
|
+
=== "JSON"
|
|
165
|
+
|
|
166
|
+
```json
|
|
167
|
+
{
|
|
168
|
+
"CheckInComment": "",
|
|
169
|
+
"CheckOutType": 2,
|
|
170
|
+
"ContentTag": "{03E171B6-9DF2-46D9-A7A1-D5FA0BD23E4B},1,1",
|
|
171
|
+
"CustomizedPageStatus": 0,
|
|
172
|
+
"ETag": "\"{03E171B6-9DF2-46D9-A7A1-D5FA0BD23E4B},1\"",
|
|
173
|
+
"Exists": true,
|
|
174
|
+
"IrmEnabled": false,
|
|
175
|
+
"Length": "5987",
|
|
176
|
+
"Level": 1,
|
|
177
|
+
"LinkingUri": null,
|
|
178
|
+
"LinkingUrl": "",
|
|
179
|
+
"MajorVersion": 1,
|
|
180
|
+
"MinorVersion": 0,
|
|
181
|
+
"Name": "Test1.docx",
|
|
182
|
+
"ServerRelativeUrl": "/sites/project-x/documents/Test1.docx",
|
|
183
|
+
"TimeCreated": "2022-10-30T10:16:18Z",
|
|
184
|
+
"TimeLastModified": "2022-10-30T10:16:18Z",
|
|
185
|
+
"Title": null,
|
|
186
|
+
"UIVersion": 512,
|
|
187
|
+
"UIVersionLabel": "1.0",
|
|
188
|
+
"UniqueId": "b2307a39-e878-458b-bc90-03bc578531d6",
|
|
189
|
+
"RoleAssignments": [
|
|
190
|
+
{
|
|
191
|
+
"Member": {
|
|
192
|
+
"Id": 3,
|
|
193
|
+
"IsHiddenInUI": false,
|
|
194
|
+
"LoginName": "Communication site Owners",
|
|
195
|
+
"Title": "Communication site Owners",
|
|
196
|
+
"PrincipalType": 8,
|
|
197
|
+
"AllowMembersEditMembership": false,
|
|
198
|
+
"AllowRequestToJoinLeave": false,
|
|
199
|
+
"AutoAcceptRequestToJoinLeave": false,
|
|
200
|
+
"Description": null,
|
|
201
|
+
"OnlyAllowMembersViewMembership": false,
|
|
202
|
+
"OwnerTitle": "Communication site Owners",
|
|
203
|
+
"RequestToJoinLeaveEmailSetting": ""
|
|
204
|
+
},
|
|
205
|
+
"RoleDefinitionBindings": [
|
|
206
|
+
{
|
|
207
|
+
"BasePermissions": {
|
|
208
|
+
"High": "2147483647",
|
|
209
|
+
"Low": "4294967295"
|
|
210
|
+
},
|
|
211
|
+
"Description": "Has full control.",
|
|
212
|
+
"Hidden": false,
|
|
213
|
+
"Id": 1073741829,
|
|
214
|
+
"Name": "Full Control",
|
|
215
|
+
"Order": 1,
|
|
216
|
+
"RoleTypeKind": 5,
|
|
217
|
+
"BasePermissionsValue": [
|
|
218
|
+
"ViewListItems",
|
|
219
|
+
"AddListItems",
|
|
220
|
+
"EditListItems",
|
|
221
|
+
"DeleteListItems",
|
|
222
|
+
"ApproveItems",
|
|
223
|
+
"OpenItems",
|
|
224
|
+
"ViewVersions",
|
|
225
|
+
"DeleteVersions",
|
|
226
|
+
"CancelCheckout",
|
|
227
|
+
"ManagePersonalViews",
|
|
228
|
+
"ManageLists",
|
|
229
|
+
"ViewFormPages",
|
|
230
|
+
"AnonymousSearchAccessList",
|
|
231
|
+
"Open",
|
|
232
|
+
"ViewPages",
|
|
233
|
+
"AddAndCustomizePages",
|
|
234
|
+
"ApplyThemeAndBorder",
|
|
235
|
+
"ApplyStyleSheets",
|
|
236
|
+
"ViewUsageData",
|
|
237
|
+
"CreateSSCSite",
|
|
238
|
+
"ManageSubwebs",
|
|
239
|
+
"CreateGroups",
|
|
240
|
+
"ManagePermissions",
|
|
241
|
+
"BrowseDirectories",
|
|
242
|
+
"BrowseUserInfo",
|
|
243
|
+
"AddDelPrivateWebParts",
|
|
244
|
+
"UpdatePersonalWebParts",
|
|
245
|
+
"ManageWeb",
|
|
246
|
+
"AnonymousSearchAccessWebLists",
|
|
247
|
+
"UseClientIntegration",
|
|
248
|
+
"UseRemoteAPIs",
|
|
249
|
+
"ManageAlerts",
|
|
250
|
+
"CreateAlerts",
|
|
251
|
+
"EditMyUserInfo",
|
|
252
|
+
"EnumeratePermissions"
|
|
253
|
+
],
|
|
254
|
+
"RoleTypeKindValue": "Administrator"
|
|
255
|
+
}
|
|
256
|
+
],
|
|
257
|
+
"PrincipalId": 3
|
|
258
|
+
}
|
|
259
|
+
]
|
|
260
|
+
}
|
|
261
|
+
```
|
|
262
|
+
|
|
263
|
+
=== "Text"
|
|
264
|
+
|
|
265
|
+
```text
|
|
266
|
+
CheckInComment :
|
|
267
|
+
CheckOutType : 2
|
|
268
|
+
ContentTag : {03E171B6-9DF2-46D9-A7A1-D5FA0BD23E4B},1,1
|
|
269
|
+
CustomizedPageStatus: 0
|
|
270
|
+
ETag : "{03E171B6-9DF2-46D9-A7A1-D5FA0BD23E4B},1"
|
|
271
|
+
Exists : true
|
|
272
|
+
IrmEnabled : false
|
|
273
|
+
Length : 5987
|
|
274
|
+
Level : 1
|
|
275
|
+
LinkingUri : null
|
|
276
|
+
LinkingUrl :
|
|
277
|
+
MajorVersion : 1
|
|
278
|
+
MinorVersion : 0
|
|
279
|
+
Name : Test1.docx
|
|
280
|
+
ServerRelativeUrl : /sites/project-x/documents/Test1.docx
|
|
281
|
+
TimeCreated : 2022-10-30T10:16:18Z
|
|
282
|
+
TimeLastModified : 2022-10-30T10:16:18Z
|
|
283
|
+
Title : null
|
|
284
|
+
UIVersion : 512
|
|
285
|
+
UIVersionLabel : 1.0
|
|
286
|
+
UniqueId : b2307a39-e878-458b-bc90-03bc578531d6
|
|
287
|
+
RoleAssignments : [{"Member":{"Id":3,"IsHiddenInUI":false,"LoginName":"Communication site Owners","Title":"Communication site Owners","PrincipalType":8,"AllowMembersEditMembership":false,"AllowRequestToJoinLeave":false,"AutoAcceptRequestToJoinLeave":false,"Description":null,"OnlyAllowMembersViewMembership":false,"OwnerTitle":"Communication site Owners","RequestToJoinLeaveEmailSetting":""},"RoleDefinitionBindings":[{"BasePermissions":{"High":"2147483647","Low":"4294967295"},"Description":"Has full control.","Hidden":false,"Id":1073741829,"Name":"Full Control","Order":1,"RoleTypeKind":5,"BasePermissionsValue":["ViewListItems","AddListItems","EditListItems","DeleteListItems","ApproveItems","OpenItems","ViewVersions","DeleteVersions","CancelCheckout","ManagePersonalViews","ManageLists","ViewFormPages","AnonymousSearchAccessList","Open","ViewPages","AddAndCustomizePages","ApplyThemeAndBorder","ApplyStyleSheets","ViewUsageData","CreateSSCSite","ManageSubwebs","CreateGroups","ManagePermissions","BrowseDirectories","BrowseUserInfo","AddDelPrivateWebParts","UpdatePersonalWebParts","ManageWeb","AnonymousSearchAccessWebLists","UseClientIntegration","UseRemoteAPIs","ManageAlerts","CreateAlerts","EditMyUserInfo","EnumeratePermissions"],"RoleTypeKindValue":"Administrator"}],"PrincipalId":3}]
|
|
288
|
+
```
|
|
289
|
+
|
|
290
|
+
=== "CSV"
|
|
291
|
+
|
|
292
|
+
```csv
|
|
293
|
+
CheckInComment,CheckOutType,ContentTag,CustomizedPageStatus,ETag,Exists,IrmEnabled,Length,Level,LinkingUri,LinkingUrl,MajorVersion,MinorVersion,Name,ServerRelativeUrl,TimeCreated,TimeLastModified,Title,UIVersion,UIVersionLabel,UniqueId,RoleAssignments
|
|
294
|
+
,2,"{03E171B6-9DF2-46D9-A7A1-D5FA0BD23E4B},1,1",0,"""{03E171B6-9DF2-46D9-A7A1-D5FA0BD23E4B},1""",1,,5987,1,,,1,0,Test1.docx,/sites/project-x/documents/Test1.docx,2022-10-30T10:16:18Z,2022-10-30T10:16:18Z,,512,1.0,b2307a39-e878-458b-bc90-03bc578531d6,"[{""Member"":{""Id"":3,""IsHiddenInUI"":false,""LoginName"":""Communication site Owners"",""Title"":""Communication site Owners"",""PrincipalType"":8,""AllowMembersEditMembership"":false,""AllowRequestToJoinLeave"":false,""AutoAcceptRequestToJoinLeave"":false,""Description"":null,""OnlyAllowMembersViewMembership"":false,""OwnerTitle"":""Communication site Owners"",""RequestToJoinLeaveEmailSetting"":""""},""RoleDefinitionBindings"":[{""BasePermissions"":{""High"":""2147483647"",""Low"":""4294967295""},""Description"":""Has full control."",""Hidden"":false,""Id"":1073741829,""Name"":""Full Control"",""Order"":1,""RoleTypeKind"":5,""BasePermissionsValue"":[""ViewListItems"",""AddListItems"",""EditListItems"",""DeleteListItems"",""ApproveItems"",""OpenItems"",""ViewVersions"",""DeleteVersions"",""CancelCheckout"",""ManagePersonalViews"",""ManageLists"",""ViewFormPages"",""AnonymousSearchAccessList"",""Open"",""ViewPages"",""AddAndCustomizePages"",""ApplyThemeAndBorder"",""ApplyStyleSheets"",""ViewUsageData"",""CreateSSCSite"",""ManageSubwebs"",""CreateGroups"",""ManagePermissions"",""BrowseDirectories"",""BrowseUserInfo"",""AddDelPrivateWebParts"",""UpdatePersonalWebParts"",""ManageWeb"",""AnonymousSearchAccessWebLists"",""UseClientIntegration"",""UseRemoteAPIs"",""ManageAlerts"",""CreateAlerts"",""EditMyUserInfo"",""EnumeratePermissions""],""RoleTypeKindValue"":""Administrator""}],""PrincipalId"":3}]"
|
|
295
|
+
```
|
|
@@ -63,14 +63,14 @@ m365 spo file version list --webUrl https://contoso.sharepoint.com/sites/project
|
|
|
63
63
|
=== "Text"
|
|
64
64
|
|
|
65
65
|
```text
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
66
|
+
Created ID IsCurrentVersion VersionLabel
|
|
67
|
+
-------------------- ---- ---------------- ------------
|
|
68
|
+
2022-10-30T12:03:06Z 512 false 1.0
|
|
69
69
|
```
|
|
70
70
|
|
|
71
71
|
=== "CSV"
|
|
72
72
|
|
|
73
73
|
```csv
|
|
74
|
-
|
|
75
|
-
|
|
74
|
+
Created,ID,IsCurrentVersion,VersionLabel
|
|
75
|
+
2022-10-30T12:03:06Z,512,false,1.0
|
|
76
76
|
```
|
|
@@ -19,12 +19,17 @@ m365 spo folder get [options]
|
|
|
19
19
|
`-i, --id [id]`
|
|
20
20
|
: The UniqueId (GUID) of the folder to retrieve. Specify either `url` or `id` but not both
|
|
21
21
|
|
|
22
|
+
`--withPermissions`
|
|
23
|
+
: Set if you want to return associated roles and permissions of the folder.
|
|
24
|
+
|
|
22
25
|
--8<-- "docs/cmd/_global.md"
|
|
23
26
|
|
|
24
27
|
## Remarks
|
|
25
28
|
|
|
26
29
|
If no folder exists at the specified URL, you will get a `Please check the folder URL. Folder might not exist on the specified URL` error.
|
|
27
30
|
|
|
31
|
+
If root level folder is passed, you will get a `Please ensure the specified folder URL or folder Id does not refer to a root folder. Use \'spo list get\' with withPermissions instead' error.` Please use the command 'spo list get'.
|
|
32
|
+
|
|
28
33
|
## Examples
|
|
29
34
|
|
|
30
35
|
Get folder properties for folder with server-relative url _'/Shared Documents'_ located in site _https://contoso.sharepoint.com/sites/project-x_
|
|
@@ -38,3 +43,9 @@ Get folder properties for folder with id (UniqueId) _b2307a39-e878-458b-bc90-03b
|
|
|
38
43
|
```sh
|
|
39
44
|
m365 spo folder get --webUrl https://contoso.sharepoint.com/sites/project-x --id "b2307a39-e878-458b-bc90-03bc578531d6"
|
|
40
45
|
```
|
|
46
|
+
|
|
47
|
+
Get folder properties for folder with server-relative url _'/Shared Documents/Test1'_ located in site _https://contoso.sharepoint.com/sites/test
|
|
48
|
+
|
|
49
|
+
```sh
|
|
50
|
+
m365 spo folder get --webUrl https://contoso.sharepoint.com/sites/test --url "Shared Documents/Test1" --withPermissions
|
|
51
|
+
```
|
|
@@ -20,6 +20,37 @@ Get information about the Home Site
|
|
|
20
20
|
m365 spo homesite get
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
+
## Response
|
|
24
|
+
|
|
25
|
+
=== "JSON"
|
|
26
|
+
|
|
27
|
+
```json
|
|
28
|
+
{
|
|
29
|
+
"SiteId": "af80c11f-0138-4d72-bb37-514542c3aabb",
|
|
30
|
+
"WebId": "6f90666d-b0e7-40c3-991f-4ab051d00a70",
|
|
31
|
+
"LogoUrl": "https://contoso.sharepoint.com/sites/intra/siteassets/work.png",
|
|
32
|
+
"Title": "Intranet",
|
|
33
|
+
"Url": "https://contoso.sharepoint.com/sites/intra"
|
|
34
|
+
}
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
=== "Text"
|
|
38
|
+
|
|
39
|
+
```text
|
|
40
|
+
LogoUrl: https://contoso.sharepoint.com/sites/intra/siteassets/work.png
|
|
41
|
+
SiteId : af80c11f-0138-4d72-bb37-514542c3aabb
|
|
42
|
+
Title : Intranet
|
|
43
|
+
Url : https://contoso.sharepoint.com/sites/intra
|
|
44
|
+
WebId : 6f90666d-b0e7-40c3-991f-4ab051d00a70
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
=== "CSV"
|
|
48
|
+
|
|
49
|
+
```csv
|
|
50
|
+
SiteId,WebId,LogoUrl,Title,Url
|
|
51
|
+
af80c11f-0138-4d72-bb37-514542c3aabb,6f90666d-b0e7-40c3-991f-4ab051d00a70,https://contoso.sharepoint.com/sites/intra/siteassets/work.png,Intranet,https://contoso.sharepoint.com/sites/intra
|
|
52
|
+
```
|
|
53
|
+
|
|
23
54
|
## More information
|
|
24
55
|
|
|
25
56
|
- SharePoint home sites: a landing for your organization on the intelligent intranet: [https://techcommunity.microsoft.com/t5/Microsoft-SharePoint-Blog/SharePoint-home-sites-a-landing-for-your-organization-on-the/ba-p/621933](https://techcommunity.microsoft.com/t5/Microsoft-SharePoint-Blog/SharePoint-home-sites-a-landing-for-your-organization-on-the/ba-p/621933)
|
|
@@ -26,6 +26,26 @@ Removes the current Home Site without confirmation
|
|
|
26
26
|
m365 spo homesite remove --confirm
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
+
## Response
|
|
30
|
+
|
|
31
|
+
=== "JSON"
|
|
32
|
+
|
|
33
|
+
```json
|
|
34
|
+
"https://contoso.sharepoint.com has been removed as a Home site. It may take some time for the change to apply. Check aka.ms/homesites for details."
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
=== "Text"
|
|
38
|
+
|
|
39
|
+
```text
|
|
40
|
+
https://contoso.sharepoint.com has been removed as a Home site. It may take some time for the change to apply. Check aka.ms/homesites for details.
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
=== "CSV"
|
|
44
|
+
|
|
45
|
+
```csv
|
|
46
|
+
https://contoso.sharepoint.com has been removed as a Home site. It may take some time for the change to apply. Check aka.ms/homesites for details.
|
|
47
|
+
```
|
|
48
|
+
|
|
29
49
|
## More information
|
|
30
50
|
|
|
31
51
|
- SharePoint home sites, a landing for your organization on the intelligent intranet: [https://techcommunity.microsoft.com/t5/Microsoft-SharePoint-Blog/SharePoint-home-sites-a-landing-for-your-organization-on-the/ba-p/621933](https://techcommunity.microsoft.com/t5/Microsoft-SharePoint-Blog/SharePoint-home-sites-a-landing-for-your-organization-on-the/ba-p/621933)
|
|
@@ -26,6 +26,26 @@ Set the specified site as the Home Site
|
|
|
26
26
|
m365 spo homesite set --siteUrl https://contoso.sharepoint.com/sites/comms
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
+
## Response
|
|
30
|
+
|
|
31
|
+
=== "JSON"
|
|
32
|
+
|
|
33
|
+
```json
|
|
34
|
+
"The Home site has been set to https://contoso.sharepoint.com. It may take some time for the change to apply. Check aka.ms/homesites for details."
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
=== "Text"
|
|
38
|
+
|
|
39
|
+
```text
|
|
40
|
+
The Home site has been set to https://contoso.sharepoint.com. It may take some time for the change to apply. Check aka.ms/homesites for details.
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
=== "CSV"
|
|
44
|
+
|
|
45
|
+
```csv
|
|
46
|
+
The Home site has been set to https://contoso.sharepoint.com. It may take some time for the change to apply. Check aka.ms/homesites for details.
|
|
47
|
+
```
|
|
48
|
+
|
|
29
49
|
## More information
|
|
30
50
|
|
|
31
51
|
- SharePoint home sites: a landing for your organization on the intelligent intranet: [https://techcommunity.microsoft.com/t5/Microsoft-SharePoint-Blog/SharePoint-home-sites-a-landing-for-your-organization-on-the/ba-p/621933](https://techcommunity.microsoft.com/t5/Microsoft-SharePoint-Blog/SharePoint-home-sites-a-landing-for-your-organization-on-the/ba-p/621933)
|
|
@@ -33,6 +33,63 @@ Get information about the hub site data for a site with URL https://contoso.shar
|
|
|
33
33
|
m365 spo hubsite data get --webUrl https://contoso.sharepoint.com/sites/project-x
|
|
34
34
|
```
|
|
35
35
|
|
|
36
|
+
## Response
|
|
37
|
+
|
|
38
|
+
=== "JSON"
|
|
39
|
+
|
|
40
|
+
```json
|
|
41
|
+
{
|
|
42
|
+
"headerEmphasis": "None",
|
|
43
|
+
"themeKey": "7EDE94FF",
|
|
44
|
+
"name": "Intranet",
|
|
45
|
+
"url": "https://contoso.sharepoint.com/sites/intra",
|
|
46
|
+
"logoUrl": "https://contoso.sharepoint.com/sites/intra/SiteAssets/work.png",
|
|
47
|
+
"logoFileHash": 637696294610000000,
|
|
48
|
+
"usesMetadataNavigation": false,
|
|
49
|
+
"megaMenuEnabled": true,
|
|
50
|
+
"navigation": [],
|
|
51
|
+
"isNavAudienceTargeted": false,
|
|
52
|
+
"siteDesignId": "184644fb-90ed-4841-a7ad-6930cf819060",
|
|
53
|
+
"requiresJoinApproval": false,
|
|
54
|
+
"hideNameInNavigation": false,
|
|
55
|
+
"parentHubSiteId": "1e1232eb-1a78-4726-8bb9-56af3640228d",
|
|
56
|
+
"relatedHubSiteIds": [
|
|
57
|
+
"af80c11f-0138-4d72-bb37-514542c3aabb"
|
|
58
|
+
],
|
|
59
|
+
"tenantInstanceId": "4d128b52-7228-46b5-8765-5b338476054d",
|
|
60
|
+
"isSameTenantInstance": true
|
|
61
|
+
}
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
=== "Text"
|
|
65
|
+
|
|
66
|
+
```text
|
|
67
|
+
headerEmphasis : None
|
|
68
|
+
hideNameInNavigation : false
|
|
69
|
+
isNavAudienceTargeted : false
|
|
70
|
+
isSameTenantInstance : true
|
|
71
|
+
logoFileHash : 637696294610000000
|
|
72
|
+
logoUrl : https://contoso.sharepoint.com/sites/intra/SiteAssets/work.png
|
|
73
|
+
megaMenuEnabled : true
|
|
74
|
+
name : Intranet
|
|
75
|
+
navigation : []
|
|
76
|
+
parentHubSiteId : 1e1232eb-1a78-4726-8bb9-56af3640228d
|
|
77
|
+
relatedHubSiteIds : ["af80c11f-0138-4d72-bb37-514542c3aabb"]
|
|
78
|
+
requiresJoinApproval : false
|
|
79
|
+
siteDesignId : 184644fb-90ed-4841-a7ad-6930cf819060
|
|
80
|
+
tenantInstanceId : 4d128b52-7228-46b5-8765-5b338476054d
|
|
81
|
+
themeKey : 7EDE94FF
|
|
82
|
+
url : https://contoso.sharepoint.com/sites/intra
|
|
83
|
+
usesMetadataNavigation: false
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
=== "CSV"
|
|
87
|
+
|
|
88
|
+
```csv
|
|
89
|
+
headerEmphasis,themeKey,name,url,logoUrl,logoFileHash,usesMetadataNavigation,megaMenuEnabled,navigation,isNavAudienceTargeted,siteDesignId,requiresJoinApproval,hideNameInNavigation,parentHubSiteId,relatedHubSiteIds,tenantInstanceId,isSameTenantInstance
|
|
90
|
+
None,7EDE94FF,Intranet,https://contoso.sharepoint.com/sites/intra,https://contoso.sharepoint.com/sites/intra/SiteAssets/work.png,637696294610000000,false,1,[],false,184644fb-90ed-4841-a7ad-6930cf819060,,,1e1232eb-1a78-4726-8bb9-56af3640228d,"[""af80c11f-0138-4d72-bb37-514542c3aabb""]",4d128b52-7228-46b5-8765-5b338476054d,1
|
|
91
|
+
```
|
|
92
|
+
|
|
36
93
|
## More information
|
|
37
94
|
|
|
38
95
|
- 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)
|
|
@@ -62,6 +62,95 @@ Get information about the hub site with URL _https://contoso.sharepoint.com/site
|
|
|
62
62
|
m365 spo hubsite get --url "https://contoso.sharepoint.com/sites/HubSite"
|
|
63
63
|
```
|
|
64
64
|
|
|
65
|
+
## Response
|
|
66
|
+
|
|
67
|
+
### Standard response
|
|
68
|
+
|
|
69
|
+
=== "JSON"
|
|
70
|
+
|
|
71
|
+
```json
|
|
72
|
+
{
|
|
73
|
+
"Description": "Intranet Hub Site",
|
|
74
|
+
"EnablePermissionsSync": false,
|
|
75
|
+
"EnforcedECTs": null,
|
|
76
|
+
"EnforcedECTsVersion": 0,
|
|
77
|
+
"HideNameInNavigation": false,
|
|
78
|
+
"ID": "af80c11f-0138-4d72-bb37-514542c3aabb",
|
|
79
|
+
"LogoUrl": "https://contoso.sharepoint.com/sites/intra/SiteAssets/work.png",
|
|
80
|
+
"ParentHubSiteId": "ec78f3aa-5a74-4f16-be49-3396df045f34",
|
|
81
|
+
"PermissionsSyncTag": 0,
|
|
82
|
+
"RequiresJoinApproval": false,
|
|
83
|
+
"SiteDesignId": "184644fb-90ed-4841-a7ad-6930cf819060",
|
|
84
|
+
"SiteId": "af80c11f-0138-4d72-bb37-514542c3aabb",
|
|
85
|
+
"SiteUrl": "https://contoso.sharepoint.com/sites/intra",
|
|
86
|
+
"Targets": null,
|
|
87
|
+
"TenantInstanceId": "5d128b52-7228-46b5-8765-5b338476054d",
|
|
88
|
+
"Title": "Intranet"
|
|
89
|
+
}
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
=== "Text"
|
|
93
|
+
|
|
94
|
+
```text
|
|
95
|
+
Description : Intranet Hub Site
|
|
96
|
+
EnablePermissionsSync: false
|
|
97
|
+
EnforcedECTs : null
|
|
98
|
+
EnforcedECTsVersion : 0
|
|
99
|
+
HideNameInNavigation : false
|
|
100
|
+
ID : af80c11f-0138-4d72-bb37-514542c3aabb
|
|
101
|
+
LogoUrl : https://contoso.sharepoint.com/sites/intra/SiteAssets/work.png
|
|
102
|
+
ParentHubSiteId : ec78f3aa-5a74-4f16-be49-3396df045f34
|
|
103
|
+
PermissionsSyncTag : 0
|
|
104
|
+
RequiresJoinApproval : false
|
|
105
|
+
SiteDesignId : 184644fb-90ed-4841-a7ad-6930cf819060
|
|
106
|
+
SiteId : af80c11f-0138-4d72-bb37-514542c3aabb
|
|
107
|
+
SiteUrl : https://contoso.sharepoint.com/sites/intra
|
|
108
|
+
Targets : null
|
|
109
|
+
TenantInstanceId : 5d128b52-7228-46b5-8765-5b338476054d
|
|
110
|
+
Title : Intranet
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
=== "CSV"
|
|
114
|
+
|
|
115
|
+
```csv
|
|
116
|
+
Description,EnablePermissionsSync,EnforcedECTs,EnforcedECTsVersion,HideNameInNavigation,ID,LogoUrl,ParentHubSiteId,PermissionsSyncTag,RequiresJoinApproval,SiteDesignId,SiteId,SiteUrl,Targets,TenantInstanceId,Title
|
|
117
|
+
Intranet Hub Site,false,,0,false,af80c11f-0138-4d72-bb37-514542c3aabb,https://contoso.sharepoint.com/sites/intra/SiteAssets/work.png,ec78f3aa-5a74-4f16-be49-3396df045f34,0,false,184644fb-90ed-4841-a7ad-6930cf819060,af80c11f-0138-4d72-bb37-514542c3aabb,https://contoso.sharepoint.com/sites/intra,,5d128b52-7228-46b5-8765-5b338476054d,Intranet
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
### `includeAssociatedSites` response
|
|
121
|
+
|
|
122
|
+
When we make use of the option `includeAssociatedSites` the response will differ. This command can only be executed using --output json or an error will be thrown.
|
|
123
|
+
|
|
124
|
+
=== "JSON"
|
|
125
|
+
|
|
126
|
+
```json
|
|
127
|
+
{
|
|
128
|
+
"Description": "Intranet Hub Site",
|
|
129
|
+
"EnablePermissionsSync": false,
|
|
130
|
+
"EnforcedECTs": null,
|
|
131
|
+
"EnforcedECTsVersion": 0,
|
|
132
|
+
"HideNameInNavigation": false,
|
|
133
|
+
"ID": "af80c11f-0138-4d72-bb37-514542c3aabb",
|
|
134
|
+
"LogoUrl": "https://contoso.sharepoint.com/sites/intra/SiteAssets/work.png",
|
|
135
|
+
"ParentHubSiteId": "ec78f3aa-5a74-4f16-be49-3396df045f34",
|
|
136
|
+
"PermissionsSyncTag": 0,
|
|
137
|
+
"RequiresJoinApproval": false,
|
|
138
|
+
"SiteDesignId": "184644fb-90ed-4841-a7ad-6930cf819060",
|
|
139
|
+
"SiteId": "af80c11f-0138-4d72-bb37-514542c3aabb",
|
|
140
|
+
"SiteUrl": "https://contoso.sharepoint.com/sites/intra",
|
|
141
|
+
"Targets": null,
|
|
142
|
+
"TenantInstanceId": "5d128b52-7228-46b5-8765-5b338476054d",
|
|
143
|
+
"Title": "Intranet",
|
|
144
|
+
"AssociatedSites": [
|
|
145
|
+
{
|
|
146
|
+
"Title": "About Us",
|
|
147
|
+
"SiteId": "1e1232eb-1a78-4726-8bb9-56af3640228d",
|
|
148
|
+
"SiteUrl": "https://contoso.sharepoint.com/sites/about-us"
|
|
149
|
+
}
|
|
150
|
+
]
|
|
151
|
+
}
|
|
152
|
+
```
|
|
153
|
+
|
|
65
154
|
## More information
|
|
66
155
|
|
|
67
156
|
- 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)
|