@pnp/cli-microsoft365 7.0.0-beta.4ebf3ad → 7.0.0-beta.515b009
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.cjs +1 -3
- package/dist/Auth.js +2 -1
- package/dist/Command.js +1 -1
- package/dist/GlobalOptions.js +1 -7
- package/dist/cli/Cli.js +19 -2
- package/dist/m365/aad/commands/app/app-add.js +8 -8
- package/dist/m365/aad/commands/app/app-role-add.js +5 -5
- package/dist/m365/aad/commands/app/app-set.js +5 -5
- package/dist/m365/aad/commands/{o365group/o365group-add.js → m365group/m365group-add.js} +17 -17
- package/dist/m365/aad/commands/{o365group/o365group-conversation-list.js → m365group/m365group-conversation-list.js} +10 -10
- package/dist/m365/aad/commands/{o365group/o365group-conversation-post-list.js → m365group/m365group-conversation-post-list.js} +14 -14
- package/dist/m365/aad/commands/{o365group/o365group-get.js → m365group/m365group-get.js} +13 -10
- package/dist/m365/aad/commands/{o365group/o365group-list.js → m365group/m365group-list.js} +13 -28
- package/dist/m365/aad/commands/{o365group/o365group-recyclebinitem-clear.js → m365group/m365group-recyclebinitem-clear.js} +15 -15
- package/dist/m365/aad/commands/{o365group/o365group-recyclebinitem-list.js → m365group/m365group-recyclebinitem-list.js} +10 -10
- package/dist/m365/aad/commands/{o365group/o365group-recyclebinitem-remove.js → m365group/m365group-recyclebinitem-remove.js} +14 -14
- package/dist/m365/aad/commands/{o365group/o365group-recyclebinitem-restore.js → m365group/m365group-recyclebinitem-restore.js} +14 -14
- package/dist/m365/aad/commands/{o365group/o365group-remove.js → m365group/m365group-remove.js} +12 -12
- package/dist/m365/aad/commands/{o365group/o365group-renew.js → m365group/m365group-renew.js} +10 -10
- package/dist/m365/aad/commands/{o365group/o365group-report-activitycounts.js → m365group/m365group-report-activitycounts.js} +4 -4
- package/dist/m365/aad/commands/{o365group/o365group-report-activitydetail.js → m365group/m365group-report-activitydetail.js} +4 -4
- package/dist/m365/aad/commands/{o365group/o365group-report-activityfilecounts.js → m365group/m365group-report-activityfilecounts.js} +4 -4
- package/dist/m365/aad/commands/{o365group/o365group-report-activitygroupcounts.js → m365group/m365group-report-activitygroupcounts.js} +4 -4
- package/dist/m365/aad/commands/{o365group/o365group-report-activitystorage.js → m365group/m365group-report-activitystorage.js} +4 -4
- package/dist/m365/aad/commands/{o365group/o365group-set.js → m365group/m365group-set.js} +17 -17
- package/dist/m365/aad/commands/{o365group/o365group-teamify.js → m365group/m365group-teamify.js} +14 -14
- package/dist/m365/aad/commands/{o365group/o365group-user-add.js → m365group/m365group-user-add.js} +14 -14
- package/dist/m365/aad/commands/{o365group/o365group-user-list.js → m365group/m365group-user-list.js} +12 -12
- package/dist/m365/aad/commands/{o365group/o365group-user-remove.js → m365group/m365group-user-remove.js} +14 -14
- package/dist/m365/aad/commands/{o365group/o365group-user-set.js → m365group/m365group-user-set.js} +15 -15
- package/dist/m365/aad/commands/policy/policy-list.js +5 -5
- package/dist/m365/aad/commands.js +22 -22
- package/dist/m365/cli/commands/cli-issue.js +5 -5
- package/dist/m365/cli/commands/config/config-get.js +5 -5
- package/dist/m365/cli/commands/config/config-list.js +16 -0
- package/dist/m365/cli/commands/config/config-reset.js +5 -5
- package/dist/m365/cli/commands/config/config-set.js +5 -5
- package/dist/m365/cli/commands.js +1 -0
- package/dist/m365/commands/login.js +5 -5
- package/dist/m365/commands/request.js +1 -1
- package/dist/m365/flow/commands/owner/owner-ensure.js +5 -5
- package/dist/m365/pa/commands/app/app-owner-set.js +5 -5
- package/dist/m365/pa/commands/app/app-permission-ensure.js +162 -0
- package/dist/m365/pa/commands/app/app-permission-list.js +2 -2
- package/dist/m365/pa/commands/app/app-permission-remove.js +153 -0
- package/dist/m365/pa/commands.js +3 -4
- package/dist/m365/planner/commands/bucket/bucket-add.js +2 -2
- package/dist/m365/planner/commands/bucket/bucket-get.js +2 -2
- package/dist/m365/planner/commands/bucket/bucket-list.js +2 -2
- package/dist/m365/planner/commands/bucket/bucket-remove.js +2 -2
- package/dist/m365/planner/commands/bucket/bucket-set.js +2 -2
- package/dist/m365/planner/commands/plan/plan-get.js +1 -2
- package/dist/m365/planner/commands/plan/plan-list.js +4 -5
- package/dist/m365/planner/commands/plan/plan-set.js +2 -2
- package/dist/m365/planner/commands/task/task-add.js +17 -11
- package/dist/m365/planner/commands/task/task-get.js +35 -25
- package/dist/m365/planner/commands/task/task-list.js +26 -19
- package/dist/m365/planner/commands/task/task-remove.js +39 -34
- package/dist/m365/planner/commands/task/task-set.js +35 -23
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-add.js +14 -14
- package/dist/m365/spfx/commands/package/package-generate.js +15 -15
- package/dist/m365/spfx/commands/project/DeployWorkflow.js +55 -0
- package/dist/m365/spfx/commands/project/project-doctor/{doctor-1.18.0-beta.1.js → doctor-1.18.0-beta.5.js} +1 -1
- package/dist/m365/spfx/commands/project/project-doctor.js +9 -9
- package/dist/m365/spfx/commands/project/project-externalize/rules/PnPJsRule.js +2 -2
- package/dist/m365/spfx/commands/project/project-github-workflow-add.js +157 -0
- package/dist/m365/spfx/commands/project/project-github-workflow-model.js +2 -0
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.15.2.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/{upgrade-1.18.0-beta.1.js → upgrade-1.18.0-beta.5.js} +26 -26
- package/dist/m365/spfx/commands/project/project-upgrade.js +14 -14
- package/dist/m365/spfx/commands/spfx-doctor.js +76 -106
- package/dist/m365/spfx/commands.js +1 -0
- package/dist/m365/spo/commands/app/SpoAppBaseCommand.js +27 -26
- package/dist/m365/spo/commands/app/app-add.js +9 -9
- package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-add.js +5 -5
- package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-list.js +5 -5
- package/dist/m365/spo/commands/commandset/commandset-add.js +11 -11
- package/dist/m365/spo/commands/commandset/commandset-get.js +8 -8
- package/dist/m365/spo/commands/commandset/commandset-list.js +5 -5
- package/dist/m365/spo/commands/commandset/commandset-remove.js +5 -5
- package/dist/m365/spo/commands/commandset/commandset-set.js +11 -11
- package/dist/m365/spo/commands/file/file-add.js +13 -13
- 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-copy.js +36 -4
- package/dist/m365/spo/commands/file/file-list.js +4 -4
- package/dist/m365/spo/commands/file/file-move.js +74 -98
- package/dist/m365/spo/commands/file/file-remove.js +6 -6
- package/dist/m365/spo/commands/file/file-rename.js +2 -2
- package/dist/m365/spo/commands/file/file-retentionlabel-ensure.js +1 -1
- package/dist/m365/spo/commands/file/file-retentionlabel-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-sharinglink-add.js +8 -8
- package/dist/m365/spo/commands/file/file-sharinglink-list.js +5 -5
- 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 +1 -1
- 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-add.js +2 -4
- package/dist/m365/spo/commands/folder/folder-copy.js +89 -45
- package/dist/m365/spo/commands/folder/folder-get.js +1 -1
- package/dist/m365/spo/commands/folder/folder-list.js +2 -2
- package/dist/m365/spo/commands/folder/folder-move.js +89 -47
- package/dist/m365/spo/commands/folder/folder-remove.js +7 -4
- package/dist/m365/spo/commands/folder/folder-rename.js +13 -17
- package/dist/m365/spo/commands/folder/folder-retentionlabel-ensure.js +1 -1
- package/dist/m365/spo/commands/folder/folder-retentionlabel-remove.js +1 -1
- package/dist/m365/spo/commands/folder/folder-roleassignment-add.js +1 -1
- package/dist/m365/spo/commands/folder/folder-roleassignment-remove.js +1 -1
- package/dist/m365/spo/commands/folder/folder-roleinheritance-break.js +1 -1
- package/dist/m365/spo/commands/folder/folder-roleinheritance-reset.js +1 -1
- package/dist/m365/spo/commands/group/group-list.js +0 -1
- package/dist/m365/spo/commands/list/list-add.js +4 -4
- package/dist/m365/spo/commands/list/list-set.js +4 -4
- package/dist/m365/spo/commands/navigation/navigation-node-set.js +2 -2
- package/dist/m365/spo/commands/orgassetslibrary/orgassetslibrary-add.js +34 -5
- package/dist/m365/spo/commands/page/clientsidepages.js +1 -81
- package/dist/m365/spo/commands/propertybag/propertybag-base.js +63 -59
- package/dist/m365/spo/commands/propertybag/propertybag-remove.js +28 -31
- package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-set.js +30 -32
- package/dist/m365/spo/commands/site/FlowsPolicy.js +7 -0
- package/dist/m365/spo/commands/site/site-add.js +114 -161
- package/dist/m365/spo/commands/site/site-apppermission-add.js +15 -18
- package/dist/m365/spo/commands/site/site-apppermission-remove.js +34 -38
- package/dist/m365/spo/commands/site/site-apppermission-set.js +11 -14
- package/dist/m365/spo/commands/site/site-ensure.js +14 -67
- package/dist/m365/spo/commands/site/site-hubsite-disconnect.js +22 -22
- package/dist/m365/spo/commands/site/site-list.js +27 -43
- package/dist/m365/spo/commands/site/site-recyclebinitem-list.js +6 -6
- package/dist/m365/spo/commands/site/site-remove.js +166 -210
- package/dist/m365/spo/commands/site/site-set.js +178 -199
- package/dist/m365/spo/commands/tenant/tenant-commandset-add.js +8 -8
- package/dist/m365/spo/commands/tenant/tenant-commandset-set.js +8 -8
- package/dist/m365/spo/commands/tenant/tenant-settings-set.js +4 -4
- package/dist/m365/spo/commands/theme/theme-list.js +1 -9
- package/dist/m365/spo/commands/theme/theme-remove.js +24 -24
- package/dist/m365/spo/commands/theme/theme-set.js +0 -1
- package/dist/m365/spo/commands/user/user-remove.js +27 -27
- package/dist/m365/spo/commands/web/web-reindex.js +35 -42
- package/dist/m365/spo/commands/web/web-remove.js +21 -21
- package/dist/m365/spo/commands/web/web-roleassignment-add.js +16 -31
- package/dist/m365/spo/commands/web/web-roleassignment-remove.js +33 -44
- package/dist/m365/spo/commands/web/web-roleinheritance-break.js +18 -18
- package/dist/m365/spo/commands/web/web-roleinheritance-reset.js +19 -19
- package/dist/m365/spo/commands/web/web-set.js +5 -5
- package/dist/m365/teams/commands/app/app-list.js +5 -5
- package/dist/m365/teams/commands/chat/chat-member-add.js +5 -5
- package/dist/m365/teams/commands/funsettings/funsettings-set.js +4 -4
- package/dist/m365/teams/commands/guestsettings/guestsettings-set.js +4 -4
- package/dist/m365/teams/commands/membersettings/membersettings-set.js +4 -4
- package/dist/m365/teams/commands/messagingsettings/messagingsettings-set.js +5 -5
- package/dist/m365/teams/commands/team/team-set.js +3 -3
- package/dist/m365/todo/commands/task/task-add.js +6 -6
- package/dist/m365/yammer/commands/message/message-like-set.js +27 -28
- package/dist/m365/yammer/commands/message/message-list.js +67 -86
- package/dist/m365/yammer/commands/message/message-remove.js +18 -18
- package/dist/m365/yammer/commands/yammer-search.js +58 -74
- package/dist/utils/aadGroup.js +18 -0
- package/dist/utils/fsUtil.js +5 -0
- package/dist/utils/planner.js +4 -3
- package/dist/utils/spo.js +595 -54
- package/dist/utils/validation.js +0 -3
- package/docs/docs/cmd/aad/{o365group/o365group-add.mdx → m365group/m365group-add.mdx} +13 -13
- package/docs/docs/cmd/aad/{o365group/o365group-conversation-list.mdx → m365group/m365group-conversation-list.mdx} +4 -4
- package/docs/docs/cmd/aad/{o365group/o365group-conversation-post-list.mdx → m365group/m365group-conversation-post-list.mdx} +8 -8
- package/docs/docs/cmd/aad/{o365group/o365group-get.mdx → m365group/m365group-get.mdx} +6 -6
- package/docs/docs/cmd/aad/{o365group/o365group-list.mdx → m365group/m365group-list.mdx} +12 -29
- package/docs/docs/cmd/aad/{o365group/o365group-recyclebinitem-clear.mdx → m365group/m365group-recyclebinitem-clear.mdx} +5 -5
- package/docs/docs/cmd/aad/{o365group/o365group-recyclebinitem-list.mdx → m365group/m365group-recyclebinitem-list.mdx} +8 -8
- package/docs/docs/cmd/aad/{o365group/o365group-recyclebinitem-remove.mdx → m365group/m365group-recyclebinitem-remove.mdx} +6 -6
- package/docs/docs/cmd/aad/{o365group/o365group-recyclebinitem-restore.mdx → m365group/m365group-recyclebinitem-restore.mdx} +6 -6
- package/docs/docs/cmd/aad/{o365group/o365group-remove.mdx → m365group/m365group-remove.mdx} +6 -6
- package/docs/docs/cmd/aad/{o365group/o365group-renew.mdx → m365group/m365group-renew.mdx} +4 -4
- package/docs/docs/cmd/aad/{o365group/o365group-report-activitycounts.mdx → m365group/m365group-report-activitycounts.mdx} +6 -6
- package/docs/docs/cmd/aad/{o365group/o365group-report-activitydetail.mdx → m365group/m365group-report-activitydetail.mdx} +7 -7
- package/docs/docs/cmd/aad/{o365group/o365group-report-activityfilecounts.mdx → m365group/m365group-report-activityfilecounts.mdx} +6 -6
- package/docs/docs/cmd/aad/{o365group/o365group-report-activitygroupcounts.mdx → m365group/m365group-report-activitygroupcounts.mdx} +6 -6
- package/docs/docs/cmd/aad/{o365group/o365group-report-activitystorage.mdx → m365group/m365group-report-activitystorage.mdx} +6 -6
- package/docs/docs/cmd/aad/{o365group/o365group-set.mdx → m365group/m365group-set.mdx} +8 -8
- package/docs/docs/cmd/aad/{o365group/o365group-teamify.mdx → m365group/m365group-teamify.mdx} +5 -5
- package/docs/docs/cmd/aad/{o365group/o365group-user-add.mdx → m365group/m365group-user-add.mdx} +5 -5
- package/docs/docs/cmd/aad/{o365group/o365group-user-list.mdx → m365group/m365group-user-list.mdx} +7 -7
- package/docs/docs/cmd/aad/{o365group/o365group-user-remove.mdx → m365group/m365group-user-remove.mdx} +5 -5
- package/docs/docs/cmd/aad/{o365group/o365group-user-set.mdx → m365group/m365group-user-set.mdx} +5 -5
- package/docs/docs/cmd/aad/user/user-set.mdx +1 -1
- package/docs/docs/cmd/cli/config/config-list.mdx +78 -0
- package/docs/docs/cmd/flow/flow-enable.mdx +2 -2
- package/docs/docs/cmd/login.mdx +6 -0
- package/docs/docs/cmd/pa/app/app-permission-ensure.mdx +85 -0
- package/docs/docs/cmd/pa/app/app-permission-remove.mdx +74 -0
- package/docs/docs/cmd/planner/plan/plan-add.mdx +1 -1
- package/docs/docs/cmd/planner/task/task-add.mdx +22 -7
- package/docs/docs/cmd/planner/task/task-get.mdx +13 -4
- package/docs/docs/cmd/planner/task/task-list.mdx +22 -7
- package/docs/docs/cmd/planner/task/task-remove.mdx +25 -8
- package/docs/docs/cmd/planner/task/task-set.mdx +22 -7
- package/docs/docs/cmd/pp/dataverse/dataverse-table-get.mdx +2 -2
- package/docs/docs/cmd/pp/dataverse/dataverse-table-list.mdx +2 -2
- package/docs/docs/cmd/pp/dataverse/dataverse-table-remove.mdx +3 -3
- package/docs/docs/cmd/spfx/project/project-github-workflow-add.mdx +94 -0
- package/docs/docs/cmd/spo/file/file-add.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-checkin.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-checkout-undo.mdx +1 -9
- package/docs/docs/cmd/spo/file/file-checkout.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-copy.mdx +20 -16
- package/docs/docs/cmd/spo/file/file-get.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-list.mdx +2 -2
- package/docs/docs/cmd/spo/file/file-move.mdx +36 -18
- package/docs/docs/cmd/spo/file/file-remove.mdx +8 -8
- package/docs/docs/cmd/spo/file/file-rename.mdx +3 -3
- package/docs/docs/cmd/spo/file/file-retentionlabel-ensure.mdx +2 -2
- package/docs/docs/cmd/spo/file/file-retentionlabel-remove.mdx +3 -3
- package/docs/docs/cmd/spo/file/file-roleassignment-add.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-roleassignment-remove.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-roleinheritance-break.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-roleinheritance-reset.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-sharinginfo-get.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-add.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-clear.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-get.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-list.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-remove.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-set.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-version-clear.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-version-get.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-version-list.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-version-remove.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-version-restore.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-add.mdx +76 -1
- package/docs/docs/cmd/spo/folder/folder-copy.mdx +39 -12
- package/docs/docs/cmd/spo/folder/folder-get.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-list.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-move.mdx +40 -13
- package/docs/docs/cmd/spo/folder/folder-remove.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-rename.mdx +5 -1
- package/docs/docs/cmd/spo/folder/folder-retentionlabel-ensure.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-retentionlabel-remove.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-roleassignment-add.mdx +2 -2
- package/docs/docs/cmd/spo/folder/folder-roleassignment-remove.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-roleinheritance-break.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-roleinheritance-reset.mdx +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-attachment-list.mdx +1 -1
- package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-add.mdx +14 -1
- package/docs/docs/cmd/spo/site/site-add.mdx +1 -1
- package/docs/docs/cmd/spo/site/site-ensure.mdx +1 -1
- package/docs/docs/cmd/spo/site/site-list.mdx +3 -78
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-add.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-list.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-remove.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-commandset-add.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-commandset-remove.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-commandset-set.mdx +1 -1
- package/docs/docs/cmd/teams/team/team-add.mdx +1 -1
- package/docs/docs/cmd/yammer/network/network-list.mdx +1 -1
- package/npm-shrinkwrap.json +290 -1413
- package/package.json +17 -18
- package/dist/m365/pa/cds-project-mutator.js +0 -91
- package/dist/m365/pa/commands/pcf/pcf-init/assets/control/dataset-template/generated/ManifestTypes.d.ts +0 -11
- package/dist/m365/pa/commands/pcf/pcf-init/assets/control/dataset-template/template_ControlManifest.Input.xml +0 -31
- package/dist/m365/pa/commands/pcf/pcf-init/assets/control/dataset-template/template_index.ts +0 -51
- package/dist/m365/pa/commands/pcf/pcf-init/assets/control/field-template/generated/ManifestTypes.d.ts +0 -12
- package/dist/m365/pa/commands/pcf/pcf-init/assets/control/field-template/template_ControlManifest.Input.xml +0 -37
- package/dist/m365/pa/commands/pcf/pcf-init/assets/control/field-template/template_index.ts +0 -48
- package/dist/m365/pa/commands/pcf/pcf-init/assets/control/index.ts +0 -0
- package/dist/m365/pa/commands/pcf/pcf-init/assets/control/virtual-dataset-template/template_ControlManifest.Input.xml +0 -31
- package/dist/m365/pa/commands/pcf/pcf-init/assets/control/virtual-dataset-template/template_index.tsx +0 -58
- package/dist/m365/pa/commands/pcf/pcf-init/assets/control/virtual-field-template/template_ControlManifest.Input.xml +0 -37
- package/dist/m365/pa/commands/pcf/pcf-init/assets/control/virtual-field-template/template_index.tsx +0 -55
- package/dist/m365/pa/commands/pcf/pcf-init/assets/package.json +0 -19
- package/dist/m365/pa/commands/pcf/pcf-init/assets/pcfconfig.json +0 -3
- package/dist/m365/pa/commands/pcf/pcf-init/assets/template_.gitignore +0 -14
- package/dist/m365/pa/commands/pcf/pcf-init/assets/template_pcfprojecttype.pcfproj +0 -45
- package/dist/m365/pa/commands/pcf/pcf-init/pcf-init-variables.js +0 -2
- package/dist/m365/pa/commands/pcf/pcf-init.js +0 -120
- package/dist/m365/pa/commands/solution/solution-init/assets/Other/Customizations.xml +0 -18
- package/dist/m365/pa/commands/solution/solution-init/assets/Other/Relationships.xml +0 -2
- package/dist/m365/pa/commands/solution/solution-init/assets/Other/template_Solution.xml +0 -94
- package/dist/m365/pa/commands/solution/solution-init/assets/template_.gitignore +0 -2
- package/dist/m365/pa/commands/solution/solution-init/assets/template_solutionprojecttype.cdsproj +0 -44
- package/dist/m365/pa/commands/solution/solution-init/solution-init-variables.js +0 -2
- package/dist/m365/pa/commands/solution/solution-init.js +0 -126
- package/dist/m365/pa/commands/solution/solution-reference-add.js +0 -88
- package/dist/m365/pa/template-instantiator.js +0 -57
- package/docs/docs/cmd/pa/pcf/pcf-init.mdx +0 -56
- package/docs/docs/cmd/pa/solution/solution-init.mdx +0 -46
- package/docs/docs/cmd/pa/solution/solution-reference-add.mdx +0 -42
- /package/dist/m365/aad/commands/{o365group → m365group}/GroupExtended.js +0 -0
|
@@ -14,16 +14,28 @@ m365 spo folder copy [options]
|
|
|
14
14
|
|
|
15
15
|
```md definition-list
|
|
16
16
|
`-u, --webUrl <webUrl>`
|
|
17
|
-
: The URL of the site where the folder is located
|
|
17
|
+
: The URL of the site where the folder is located.
|
|
18
18
|
|
|
19
|
-
`-s, --sourceUrl
|
|
20
|
-
: The server
|
|
19
|
+
`-s, --sourceUrl [sourceUrl]`
|
|
20
|
+
: The server-, site-relative or absolute decoded URL of the folder to copy. Specify either `sourceUrl` or `sourceId` but not both.
|
|
21
|
+
|
|
22
|
+
`-i, --sourceId [sourceId]`
|
|
23
|
+
: The UniqueId (GUID) of the folder. Specify either `sourceUrl` or `sourceId` but not both.
|
|
21
24
|
|
|
22
25
|
`-t, --targetUrl <targetUrl>`
|
|
23
|
-
: Server-relative URL where to copy the folder
|
|
26
|
+
: Server-relative or absolute decoded URL where to copy the folder.
|
|
27
|
+
|
|
28
|
+
`--newName [newName]`
|
|
29
|
+
: New name of the destination folder.
|
|
30
|
+
|
|
31
|
+
`--nameConflictBehavior [nameConflictBehavior]`
|
|
32
|
+
: Behavior when a file or folder with the same name is already present at the destination. Possible values: `fail`, `rename`. The default is `fail`.
|
|
24
33
|
|
|
25
|
-
`--
|
|
26
|
-
:
|
|
34
|
+
`--resetAuthorAndCreated`
|
|
35
|
+
: Use this option to clear the author and created date. When not specified, the values from the source folder are used.
|
|
36
|
+
|
|
37
|
+
`--bypassSharedLock`
|
|
38
|
+
: This indicates whether a folder with a shared lock can still be moved. Use this option to copy a folder that is locked.
|
|
27
39
|
```
|
|
28
40
|
|
|
29
41
|
<Global />
|
|
@@ -32,26 +44,41 @@ m365 spo folder copy [options]
|
|
|
32
44
|
|
|
33
45
|
When you copy a folder with documents that have version history, only the latest document version is copied.
|
|
34
46
|
|
|
47
|
+
When you specify a value for `nameConflictBehavior`, consider the following:
|
|
48
|
+
|
|
49
|
+
- `fail` will throw an error when the destination folder already exists.
|
|
50
|
+
- `rename` will add a suffix (e.g. Folder1) when the destination folder already exists.
|
|
51
|
+
|
|
35
52
|
## Examples
|
|
36
53
|
|
|
37
|
-
|
|
54
|
+
Copy a folder a folder to another location using server-relative URLs
|
|
38
55
|
|
|
39
56
|
```sh
|
|
40
|
-
m365 spo folder copy --webUrl https://contoso.sharepoint.com/sites/
|
|
57
|
+
m365 spo folder copy --webUrl https://contoso.sharepoint.com/sites/project-x --sourceUrl "/sites/project-x/Shared Documents/Reports" --targetUrl "/sites/project-y/Shared Documents/Project files"
|
|
41
58
|
```
|
|
42
59
|
|
|
43
|
-
|
|
60
|
+
Copy a folder a folder to another location using site-relative URLs and rename it
|
|
44
61
|
|
|
45
62
|
```sh
|
|
46
|
-
m365 spo folder copy --webUrl https://contoso.sharepoint.com/sites/
|
|
63
|
+
m365 spo folder copy --webUrl https://contoso.sharepoint.com/sites/project-x --sourceUrl "/Shared Documents/Reports" --targetUrl "/sites/project-y/Shared Documents" --newName "Reports January"
|
|
47
64
|
```
|
|
48
65
|
|
|
49
|
-
|
|
66
|
+
Copy a folder to another location and use new name on conflict
|
|
50
67
|
|
|
51
68
|
```sh
|
|
52
|
-
m365 spo folder copy --webUrl https://contoso.sharepoint.com/sites/
|
|
69
|
+
m365 spo folder copy --webUrl https://contoso.sharepoint.com/sites/project-x --sourceUrl "/sites/project-x/Shared Documents/Reports" --targetUrl "/sites/project-y/Shared Documents/Project files" --nameConflictBehavior rename
|
|
53
70
|
```
|
|
54
71
|
|
|
72
|
+
Copy a folder referenced by its ID to another document library and reset author and created date
|
|
73
|
+
|
|
74
|
+
```sh
|
|
75
|
+
m365 spo folder copy --webUrl https://contoso.sharepoint.com/sites/project-x --sourceId b8cc341b-9c11-4f2d-aa2b-0ce9c18bcba2 --targetUrl "/sites/project-x/Project files" --retainEditorAndModified
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
## Response
|
|
79
|
+
|
|
80
|
+
The command won't return a response on success.
|
|
81
|
+
|
|
55
82
|
## More information
|
|
56
83
|
|
|
57
84
|
- Copy items from a SharePoint document library: [https://support.office.com/en-us/article/move-or-copy-items-from-a-sharepoint-document-library-00e2f483-4df3-46be-a861-1f5f0c1a87bc](https://support.office.com/en-us/article/move-or-copy-items-from-a-sharepoint-document-library-00e2f483-4df3-46be-a861-1f5f0c1a87bc)
|
|
@@ -17,7 +17,7 @@ m365 spo folder get [options]
|
|
|
17
17
|
: The URL of the site where the folder is located.
|
|
18
18
|
|
|
19
19
|
`--url [url]`
|
|
20
|
-
: The server- or site-relative URL of the folder to retrieve. Specify either `folderUrl` or `id` but not both.
|
|
20
|
+
: The server- or site-relative decoded URL of the folder to retrieve. Specify either `folderUrl` or `id` but not both.
|
|
21
21
|
|
|
22
22
|
`-i, --id [id]`
|
|
23
23
|
: The UniqueId (GUID) of the folder to retrieve. Specify either `url` or `id` but not both.
|
|
@@ -19,7 +19,7 @@ m365 spo folder list [options]
|
|
|
19
19
|
: The URL of the site where the folders to list are located.
|
|
20
20
|
|
|
21
21
|
`-p, --parentFolderUrl <parentFolderUrl>`
|
|
22
|
-
: The server- or site-relative URL of the parent folder.
|
|
22
|
+
: The server- or site-relative decoded URL of the parent folder.
|
|
23
23
|
|
|
24
24
|
`--fields [fields]`
|
|
25
25
|
: Comma-separated list of fields to retrieve. Will retrieve all fields if not specified and json output is requested.
|
|
@@ -14,44 +14,71 @@ m365 spo folder move [options]
|
|
|
14
14
|
|
|
15
15
|
```md definition-list
|
|
16
16
|
`-u, --webUrl <webUrl>`
|
|
17
|
-
: The URL of the site where the folder is located
|
|
17
|
+
: The URL of the site where the folder is located.
|
|
18
18
|
|
|
19
|
-
`-s, --sourceUrl
|
|
20
|
-
: The server
|
|
19
|
+
`-s, --sourceUrl [sourceUrl]`
|
|
20
|
+
: The server-, site-relative or absolute decoded URL of the folder to move. Specify either `sourceUrl` or `sourceId` but not both.
|
|
21
|
+
|
|
22
|
+
`-i, --sourceId [sourceId]`
|
|
23
|
+
: The ID of the folder to move. Specify either `sourceUrl` or `sourceId` but not both.
|
|
21
24
|
|
|
22
25
|
`-t, --targetUrl <targetUrl>`
|
|
23
|
-
: Server-relative URL where to move the folder
|
|
26
|
+
: Server-relative or absolute decoded URL where to move the folder.
|
|
27
|
+
|
|
28
|
+
`--newName [newName]`
|
|
29
|
+
: The new name of the destination folder.
|
|
30
|
+
|
|
31
|
+
`--nameConflictBehavior [nameConflictBehavior]`
|
|
32
|
+
: Behavior when a file or folder with the same name is already present at the destination. Possible values: `fail`, `rename`. The default is `fail`.
|
|
24
33
|
|
|
25
|
-
`--
|
|
26
|
-
:
|
|
34
|
+
`--retainEditorAndModified`
|
|
35
|
+
: Use this option to retain the editor and modified date. When not specified, these values are reset.
|
|
36
|
+
|
|
37
|
+
`--bypassSharedLock`
|
|
38
|
+
: This indicates whether a folder with a share lock can still be moved. Use this option to move a folder that is locked.
|
|
27
39
|
```
|
|
28
40
|
|
|
29
41
|
<Global />
|
|
30
42
|
|
|
31
43
|
## Remarks
|
|
32
44
|
|
|
33
|
-
|
|
45
|
+
All folder versions are retained while moving a folder.
|
|
46
|
+
|
|
47
|
+
When you specify a value for `nameConflictBehavior`, consider the following:
|
|
48
|
+
|
|
49
|
+
- `fail` will throw an error when the destination folder already exists.
|
|
50
|
+
- `rename` will add a suffix (e.g. folder1) when the destination folder already exists.
|
|
34
51
|
|
|
35
52
|
## Examples
|
|
36
53
|
|
|
37
|
-
Move folder to a document library in another site collection
|
|
54
|
+
Move a folder to a document library in another site collection by server-relative URL
|
|
38
55
|
|
|
39
56
|
```sh
|
|
40
|
-
m365 spo folder move --webUrl https://contoso.sharepoint.com/sites/
|
|
57
|
+
m365 spo folder move --webUrl https://contoso.sharepoint.com/sites/project-x --sourceUrl "/sites/project-x/Shared Documents/Reports" --targetUrl "/sites/project-y/Shared Documents/Reports January"
|
|
41
58
|
```
|
|
42
59
|
|
|
43
|
-
Move folder to
|
|
60
|
+
Move a folder to another location using site-relative URLs and rename it
|
|
44
61
|
|
|
45
62
|
```sh
|
|
46
|
-
m365 spo folder move --webUrl https://contoso.sharepoint.com/sites/
|
|
63
|
+
m365 spo folder move --webUrl https://contoso.sharepoint.com/sites/project-x --sourceUrl "/Shared Documents/Reports" --targetUrl "/sites/project-y/Shared Documents" --newName "Reports January"
|
|
47
64
|
```
|
|
48
65
|
|
|
49
|
-
Move folder to
|
|
66
|
+
Move a folder to another location and use a new name on conflict
|
|
50
67
|
|
|
51
68
|
```sh
|
|
52
|
-
m365 spo
|
|
69
|
+
m365 spo folder move --webUrl https://contoso.sharepoint.com/sites/project-x --sourceUrl "/sites/project-x/Shared Documents/Reports" --targetUrl "/sites/project-y/Shared Documents/Project files" --nameConflictBehavior rename
|
|
53
70
|
```
|
|
54
71
|
|
|
72
|
+
Move a folder referenced by its ID to another document library and retain editor and modified date
|
|
73
|
+
|
|
74
|
+
```sh
|
|
75
|
+
m365 spo folder move --webUrl https://contoso.sharepoint.com/sites/project-x --sourceId b8cc341b-9c11-4f2d-aa2b-0ce9c18bcba2 --targetUrl "/sites/project-x/Project files" --retainEditorAndModified
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
## Response
|
|
79
|
+
|
|
80
|
+
The command won't return a response on success.
|
|
81
|
+
|
|
55
82
|
## More information
|
|
56
83
|
|
|
57
84
|
- Move items from a SharePoint document library: [https://support.office.com/en-us/article/move-or-copy-items-from-a-sharepoint-document-library-00e2f483-4df3-46be-a861-1f5f0c1a87bc](https://support.office.com/en-us/article/move-or-copy-items-from-a-sharepoint-document-library-00e2f483-4df3-46be-a861-1f5f0c1a87bc)
|
|
@@ -17,7 +17,7 @@ m365 spo folder remove [options]
|
|
|
17
17
|
: The URL of the site where the folder to be deleted is located.
|
|
18
18
|
|
|
19
19
|
`--url <url>`
|
|
20
|
-
: The server- or site-relative URL of the folder to delete.
|
|
20
|
+
: The server- or site-relative decoded URL of the folder to delete.
|
|
21
21
|
|
|
22
22
|
`--recycle`
|
|
23
23
|
: Recycles the folder instead of actually deleting it.
|
|
@@ -17,7 +17,7 @@ m365 spo folder rename [options]
|
|
|
17
17
|
: The URL of the site where the folder to be renamed is located.
|
|
18
18
|
|
|
19
19
|
`--url <url>`
|
|
20
|
-
: The server- or site-relative URL of the folder (including the folder).
|
|
20
|
+
: The server- or site-relative decoded URL of the folder (including the folder).
|
|
21
21
|
|
|
22
22
|
`-n, --name <name>`
|
|
23
23
|
: New name for the target folder.
|
|
@@ -38,3 +38,7 @@ Renames a folder with a specific server-relative URL
|
|
|
38
38
|
```sh
|
|
39
39
|
m365 spo folder rename --webUrl https://contoso.sharepoint.com/sites/project-x --url '/sites/project-x/Shared Documents/My Folder 1' --name 'My Folder 2'
|
|
40
40
|
```
|
|
41
|
+
|
|
42
|
+
## Response
|
|
43
|
+
|
|
44
|
+
The command won't return a response on success.
|
|
@@ -17,7 +17,7 @@ m365 spo folder retentionlabel ensure [options]
|
|
|
17
17
|
: URL of the site where the retention label from a file to apply is located
|
|
18
18
|
|
|
19
19
|
`--folderUrl [folderUrl]`
|
|
20
|
-
: The server- or site-relative URL of the folder that should be labelled. Specify either `folderUrl` or `folderId` but not both.
|
|
20
|
+
: The server- or site-relative decoded URL of the folder that should be labelled. Specify either `folderUrl` or `folderId` but not both.
|
|
21
21
|
|
|
22
22
|
`i, --folderId [folderId]`
|
|
23
23
|
: The UniqueId (GUID) of the folder that should be labelled. Specify either `folderUrl` or `folderId` but not both.
|
|
@@ -17,7 +17,7 @@ m365 spo folder retentionlabel remove [options]
|
|
|
17
17
|
: The url of the web.
|
|
18
18
|
|
|
19
19
|
`--folderUrl [folderUrl]`
|
|
20
|
-
: The server- or site-relative URL of the folder of which the label should be removed. Specify either `folderUrl` or `folderId` but not both.
|
|
20
|
+
: The server- or site-relative decoded URL of the folder of which the label should be removed. Specify either `folderUrl` or `folderId` but not both.
|
|
21
21
|
|
|
22
22
|
`-i, --folderId [folderId]`
|
|
23
23
|
: The UniqueId (GUID) of the folder of which the label should be removed. Specify either `folderUrl` or `folderId` but not both.
|
|
@@ -17,7 +17,7 @@ m365 spo folder roleassignment add [options]
|
|
|
17
17
|
: The URL of the site where the folder is located.
|
|
18
18
|
|
|
19
19
|
`--folderUrl <folderUrl>`
|
|
20
|
-
: The server- or site-relative URL of the folder.
|
|
20
|
+
: The server- or site-relative decoded URL of the folder.
|
|
21
21
|
|
|
22
22
|
`--principalId [principalId]`
|
|
23
23
|
: The SharePoint principal id. It may be either an user id or group id for which the role assignment will be addd. Specify either upn, groupName or principalId but not multiple.
|
|
@@ -32,7 +32,7 @@ m365 spo folder roleassignment add [options]
|
|
|
32
32
|
: ID of the role definition. Specify either roleDefinitionId or roleDefinitionName but not both.
|
|
33
33
|
|
|
34
34
|
`--roleDefinitionName [roleDefinitionName]`
|
|
35
|
-
: The name of the role definition. E.g. 'Contribute', 'Read'. Specify either roleDefinitionId or roleDefinitionName but not both
|
|
35
|
+
: The name of the role definition. E.g. 'Contribute', 'Read'. Specify either roleDefinitionId or roleDefinitionName but not both.
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
<Global />
|
|
@@ -17,7 +17,7 @@ m365 spo folder roleassignment remove [options]
|
|
|
17
17
|
: The URL of the site where the folder is located.
|
|
18
18
|
|
|
19
19
|
`--folderUrl <folderUrl>`
|
|
20
|
-
: The server- or site-relative URL of the folder.
|
|
20
|
+
: The server- or site-relative decoded URL of the folder.
|
|
21
21
|
|
|
22
22
|
`--principalId [principalId]`
|
|
23
23
|
: The SharePoint principal id. It may be either an user id or group id for which the role assignment will be removed. Specify either upn, groupName or principalId but not multiple.
|
|
@@ -17,7 +17,7 @@ m365 spo folder roleinheritance break [options]
|
|
|
17
17
|
: URL of the site where the folder is located.
|
|
18
18
|
|
|
19
19
|
`--folderUrl <folderUrl>`
|
|
20
|
-
: The server- or site-relative URL of the folder.
|
|
20
|
+
: The server- or site-relative decoded URL of the folder.
|
|
21
21
|
|
|
22
22
|
`-c, --clearExistingPermissions`
|
|
23
23
|
: Clear all existing permissions from the folder.
|
|
@@ -17,7 +17,7 @@ m365 spo folder roleinheritance reset [options]
|
|
|
17
17
|
: URL of the site where the folder is located.
|
|
18
18
|
|
|
19
19
|
`--folderUrl <folderUrl>`
|
|
20
|
-
: The server- or site-relative URL of the folder.
|
|
20
|
+
: The server- or site-relative decoded URL of the folder.
|
|
21
21
|
|
|
22
22
|
`-f, --force`
|
|
23
23
|
: Don't prompt for confirmation to reset role inheritance of the folder.
|
|
@@ -28,7 +28,7 @@ m365 spo listitem attachment list [options]
|
|
|
28
28
|
: Server- or site-relative URL of the list. Specify either `listTitle`, `listId` or `listUrl`
|
|
29
29
|
|
|
30
30
|
`--listItemId <listItemId>`
|
|
31
|
-
: ID of the list item
|
|
31
|
+
: ID of the list item
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
<Global />
|
|
@@ -16,11 +16,14 @@ m365 spo orgassetslibrary add [options]
|
|
|
16
16
|
`--libraryUrl <libraryUrl>`
|
|
17
17
|
: The URL of the library to promote.
|
|
18
18
|
|
|
19
|
-
`--thumbnailUrl
|
|
19
|
+
`--thumbnailUrl [thumbnailUrl]`
|
|
20
20
|
: The URL of the thumbnail to render.
|
|
21
21
|
|
|
22
22
|
`--cdnType [cdnType]`
|
|
23
23
|
: Specifies the CDN type. Allowed values `Public`, `Private`. Default `Private`.
|
|
24
|
+
|
|
25
|
+
`--orgAssetType [orgAssetType]`
|
|
26
|
+
: Specifies the type of organizational library. Allowed values `ImageDocumentLibrary`, `OfficeTemplateLibrary`, `OfficeFontLibrary`. Defaults to `ImageDocumentLibrary`.
|
|
24
27
|
```
|
|
25
28
|
|
|
26
29
|
<Global />
|
|
@@ -33,6 +36,10 @@ To use this command you have to have permissions to access the tenant admin site
|
|
|
33
36
|
|
|
34
37
|
:::
|
|
35
38
|
|
|
39
|
+
To enable CDN in your tenant use the [spo cdn set](../cdn/cdn-set.mdx) command.
|
|
40
|
+
|
|
41
|
+
The document library on which you run the command must at least have read permissions for all users, except external users.
|
|
42
|
+
|
|
36
43
|
## Examples
|
|
37
44
|
|
|
38
45
|
Promotes an existing library to become an organization assets library
|
|
@@ -47,6 +54,12 @@ Promotes an existing library to become an organization assets library with Thumb
|
|
|
47
54
|
m365 spo orgassetslibrary --libraryUrl "https://contoso.sharepoint.com/SiteAssets" --thumbnailUrl "https://contoso.sharepoint.com/assets/logo.png"
|
|
48
55
|
```
|
|
49
56
|
|
|
57
|
+
Promotes an existing library to become an organization assets Office template library
|
|
58
|
+
|
|
59
|
+
```sh
|
|
60
|
+
m365 spo orgassetslibrary add --libraryUrl "https://contoso.sharepoint.com/SiteAssets" --orgAssetType "OfficeTemplateLibrary"
|
|
61
|
+
```
|
|
62
|
+
|
|
50
63
|
## Response
|
|
51
64
|
|
|
52
65
|
The command won't return a response on success.
|
|
@@ -98,7 +98,7 @@ Deleting and creating classic site collections is by default asynchronous and de
|
|
|
98
98
|
|
|
99
99
|
The `--owners` option is mandatory for creating `CommunicationSite` sites with app-only permissions.
|
|
100
100
|
|
|
101
|
-
When trying to create a team site using app-only permissions, you will get an _Insufficient privileges to complete the operation._ error. As a workaround, you can use the [`aad
|
|
101
|
+
When trying to create a team site using app-only permissions, you will get an _Insufficient privileges to complete the operation._ error. As a workaround, you can use the [`aad m365group add`](../../aad/m365group/m365group-add.mdx) command, followed by [`spo site set`](./site-set.mdx) to further configure the Team site.
|
|
102
102
|
|
|
103
103
|
## Examples
|
|
104
104
|
|
|
@@ -103,7 +103,7 @@ If you set the type to `ClassicSite`, you should also set a value of the `webTem
|
|
|
103
103
|
Ensure that a site exists at the specified URL. Create a modern team site if no site exists. If a site is found, don't check its type and update its title.
|
|
104
104
|
|
|
105
105
|
```sh
|
|
106
|
-
m365 spo site ensure --url https://contoso.sharepoint.com/
|
|
106
|
+
m365 spo site ensure --url https://contoso.sharepoint.com/teams/team1 --alias team1 --title "Team 1"
|
|
107
107
|
```
|
|
108
108
|
|
|
109
109
|
Ensure that a communication site exists at the specified URL. Create a communication site if no site exists. If a site of different type is found, return an error.
|
|
@@ -26,9 +26,6 @@ m365 spo site list [options]
|
|
|
26
26
|
|
|
27
27
|
`--includeOneDriveSites`
|
|
28
28
|
: use this switch to include OneDrive sites in the result when retrieving sites. Do not specify the `type` or `webTemplate` options when using this.
|
|
29
|
-
|
|
30
|
-
`--deleted`
|
|
31
|
-
: use this switch to only return deleted sites
|
|
32
29
|
```
|
|
33
30
|
|
|
34
31
|
<Global />
|
|
@@ -39,12 +36,14 @@ Using the `--filter` option you can specify which sites you want to retrieve. Fo
|
|
|
39
36
|
|
|
40
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.
|
|
41
38
|
|
|
39
|
+
If you wish to list deleted sites in your tenant, you should use the command [spo tenant recyclebinitem list](../tenant/tenant-recyclebinitem-list.mdx)
|
|
40
|
+
|
|
42
41
|
:::info
|
|
43
42
|
|
|
44
43
|
To use this command you have to have permissions to access the tenant admin site.
|
|
45
44
|
|
|
46
45
|
:::
|
|
47
|
-
|
|
46
|
+
|
|
48
47
|
## Examples
|
|
49
48
|
|
|
50
49
|
List all sites in the currently connected tenant
|
|
@@ -77,16 +76,8 @@ List all sites in the currently connected tenant including OneDrive sites
|
|
|
77
76
|
m365 spo site list --includeOneDriveSites
|
|
78
77
|
```
|
|
79
78
|
|
|
80
|
-
List all deleted sites in the tenant you're logged in to
|
|
81
|
-
|
|
82
|
-
```sh
|
|
83
|
-
m365 spo site list --deleted
|
|
84
|
-
```
|
|
85
|
-
|
|
86
79
|
## Response
|
|
87
80
|
|
|
88
|
-
### Standard response
|
|
89
|
-
|
|
90
81
|
<Tabs>
|
|
91
82
|
<TabItem value="JSON">
|
|
92
83
|
|
|
@@ -317,69 +308,3 @@ m365 spo site list --deleted
|
|
|
317
308
|
|
|
318
309
|
</TabItem>
|
|
319
310
|
</Tabs>
|
|
320
|
-
|
|
321
|
-
### `deleted` response
|
|
322
|
-
|
|
323
|
-
When we make use of the `--deleted` option, the response will differ.
|
|
324
|
-
|
|
325
|
-
<Tabs>
|
|
326
|
-
<TabItem value="JSON">
|
|
327
|
-
|
|
328
|
-
```json
|
|
329
|
-
[
|
|
330
|
-
{
|
|
331
|
-
"_ObjectType_": "Microsoft.Online.SharePoint.TenantAdministration.DeletedSiteProperties",
|
|
332
|
-
"_ObjectIdentity_": "b805bfa0-805c-6000-b76d-bc01ecf6c67f|908bed80-a04a-4433-b4a0-883d9847d110:1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4\\\nDeletedSiteProperties\\\nhttps%3a%2f%2fcontoso.sharepoint.com%2fteams%2fteam1",
|
|
333
|
-
"DaysRemaining": 22,
|
|
334
|
-
"DeletionTime": "/Date(2023,3,12,8,9,55,260)/",
|
|
335
|
-
"SiteId": "/Guid(0031a568-a081-4157-a3ab-0946a9da7f6e)/",
|
|
336
|
-
"Status": "Recycled",
|
|
337
|
-
"StorageMaximumLevel": 1048576,
|
|
338
|
-
"Url": "https://contoso.sharepoint.com/teams/team1",
|
|
339
|
-
"UserCodeMaximumLevel": 300
|
|
340
|
-
}
|
|
341
|
-
]
|
|
342
|
-
```
|
|
343
|
-
|
|
344
|
-
</TabItem>
|
|
345
|
-
<TabItem value="Text">
|
|
346
|
-
|
|
347
|
-
```text
|
|
348
|
-
Url
|
|
349
|
-
-------------------------------------------------
|
|
350
|
-
https://contoso.sharepoint.com/teams/team1
|
|
351
|
-
```
|
|
352
|
-
|
|
353
|
-
</TabItem>
|
|
354
|
-
<TabItem value="CSV">
|
|
355
|
-
|
|
356
|
-
```csv
|
|
357
|
-
ObjectType,ObjectIdentity,DaysRemaining,DeletionTime,SiteId,Status,StorageMaximumLevel,Url,UserCodeMaximumLevel
|
|
358
|
-
Microsoft.Online.SharePoint.TenantAdministration.DeletedSiteProperties,"fc05bfa0-80db-6000-a541-3d6844d4e148|908bed80-a04a-4433-b4a0-883d9847d110:1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4,DeletedSiteProperties,https%3a%2f%2fcontoso.sharepoint.com%2fteams%2fteam1",22,/Date(2023,3,12,8,9,55,260)/,/Guid(0031a568-a081-4157-a3ab-0946a9da7f6e)/,Recycled,1048576,https://contoso.sharepoint.com/teams/team1,300
|
|
359
|
-
```
|
|
360
|
-
|
|
361
|
-
</TabItem>
|
|
362
|
-
<TabItem value="Markdown">
|
|
363
|
-
|
|
364
|
-
```md
|
|
365
|
-
# spo site list --deleted "true"
|
|
366
|
-
|
|
367
|
-
Date: 2023-06-21
|
|
368
|
-
|
|
369
|
-
## https://contoso.sharepoint.com/teams/team1
|
|
370
|
-
|
|
371
|
-
Property | Value
|
|
372
|
-
---------|-------
|
|
373
|
-
\_ObjectType\_ | Microsoft.Online.SharePoint.TenantAdministration.DeletedSiteProperties
|
|
374
|
-
\_ObjectIdentity\_ | 3b06bfa0-40fd-6000-c2a5-1ef401300d74\|908bed80-a04a-4433-b4a0-883d9847d110:1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4<br>DeletedSiteProperties<br>https%3a%2f%2fcontoso.sharepoint.com%2fteams%2fteam1
|
|
375
|
-
DaysRemaining | 22
|
|
376
|
-
DeletionTime | /Date(2023,3,12,8,9,55,260)/
|
|
377
|
-
SiteId | /Guid(0031a568-a081-4157-a3ab-0946a9da7f6e)/
|
|
378
|
-
Status | Recycled
|
|
379
|
-
StorageMaximumLevel | 1048576
|
|
380
|
-
Url | https://contoso.sharepoint.com/teams/team1
|
|
381
|
-
UserCodeMaximumLevel | 300
|
|
382
|
-
```
|
|
383
|
-
|
|
384
|
-
</TabItem>
|
|
385
|
-
</Tabs>
|
|
@@ -32,7 +32,7 @@ m365 teams team add [options]
|
|
|
32
32
|
|
|
33
33
|
## Remarks
|
|
34
34
|
|
|
35
|
-
If you want to add a Team to an existing Microsoft 365 Group use the [aad
|
|
35
|
+
If you want to add a Team to an existing Microsoft 365 Group use the [aad m365group teamify](../../aad/m365group/m365group-teamify.mdx) command instead.
|
|
36
36
|
|
|
37
37
|
This command will return different responses based on the presence of the `--wait` option. If present, the command will return a `group` resource in the response. If not present, the command will return a `teamsAsyncOperation` resource in the response.
|
|
38
38
|
|