@pnp/cli-microsoft365 6.0.0-beta.27b9708 → 6.0.0-beta.291f17c
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +17 -2
- package/LICENSE +1 -3
- package/README.md +5 -0
- package/dist/Auth.js +3 -3
- package/dist/Command.js +80 -51
- package/dist/api.js +3 -3
- package/dist/appInsights.js +2 -0
- package/dist/cli/Cli.js +99 -36
- package/dist/index.js +2 -2
- package/dist/m365/aad/commands/app/app-add.js +74 -50
- package/dist/m365/aad/commands/app/app-get.js +19 -15
- package/dist/m365/aad/commands/app/app-list.js +38 -0
- package/dist/m365/aad/commands/app/app-remove.js +41 -41
- package/dist/m365/aad/commands/app/app-role-add.js +33 -29
- package/dist/m365/aad/commands/app/app-role-list.js +25 -12
- package/dist/m365/aad/commands/app/app-role-remove.js +29 -27
- package/dist/m365/aad/commands/app/app-set.js +16 -10
- package/dist/m365/aad/commands/approleassignment/approleassignment-add.js +94 -97
- package/dist/m365/aad/commands/approleassignment/approleassignment-list.js +45 -44
- package/dist/m365/aad/commands/approleassignment/approleassignment-remove.js +95 -96
- package/dist/m365/aad/commands/group/group-list.js +36 -24
- package/dist/m365/aad/commands/groupsetting/groupsetting-add.js +35 -34
- package/dist/m365/aad/commands/groupsetting/groupsetting-get.js +19 -16
- package/dist/m365/aad/commands/groupsetting/groupsetting-list.js +20 -8
- package/dist/m365/aad/commands/groupsetting/groupsetting-remove.js +33 -32
- package/dist/m365/aad/commands/groupsetting/groupsetting-set.js +35 -32
- package/dist/m365/aad/commands/groupsettingtemplate/groupsettingtemplate-get.js +18 -16
- package/dist/m365/aad/commands/groupsettingtemplate/groupsettingtemplate-list.js +20 -8
- package/dist/m365/aad/commands/o365group/o365group-add.js +87 -98
- package/dist/m365/aad/commands/o365group/o365group-conversation-list.js +13 -9
- package/dist/m365/aad/commands/o365group/o365group-conversation-post-list.js +17 -14
- package/dist/m365/aad/commands/o365group/o365group-get.js +22 -27
- package/dist/m365/aad/commands/o365group/o365group-list.js +40 -44
- package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-clear.js +34 -22
- package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-list.js +26 -13
- package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-remove.js +37 -39
- package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-restore.js +27 -26
- package/dist/m365/aad/commands/o365group/o365group-remove.js +41 -43
- package/dist/m365/aad/commands/o365group/o365group-renew.js +19 -14
- package/dist/m365/aad/commands/o365group/o365group-set.js +98 -116
- package/dist/m365/aad/commands/o365group/o365group-teamify.js +36 -32
- package/dist/m365/aad/commands/o365group/o365group-user-add.js +32 -28
- package/dist/m365/aad/commands/o365group/o365group-user-list.js +20 -21
- package/dist/m365/aad/commands/o365group/o365group-user-remove.js +63 -65
- package/dist/m365/aad/commands/o365group/o365group-user-set.js +66 -66
- package/dist/m365/aad/commands/oauth2grant/oauth2grant-add.js +28 -23
- package/dist/m365/aad/commands/oauth2grant/oauth2grant-list.js +24 -20
- package/dist/m365/aad/commands/oauth2grant/oauth2grant-remove.js +43 -32
- package/dist/m365/aad/commands/oauth2grant/oauth2grant-set.js +31 -16
- package/dist/m365/aad/commands/policy/policy-list.js +22 -23
- package/dist/m365/aad/commands/siteclassification/siteclassification-disable.js +61 -53
- package/dist/m365/aad/commands/siteclassification/siteclassification-enable.js +84 -72
- package/dist/m365/aad/commands/siteclassification/siteclassification-get.js +66 -57
- package/dist/m365/aad/commands/siteclassification/siteclassification-set.js +96 -93
- package/dist/m365/aad/commands/sp/sp-add.js +29 -27
- package/dist/m365/aad/commands/sp/sp-get.js +29 -27
- package/dist/m365/aad/commands/user/user-get.js +42 -40
- package/dist/m365/aad/commands/user/user-guest-add.js +103 -0
- package/dist/m365/aad/commands/user/user-hibp.js +24 -24
- package/dist/m365/aad/commands/user/user-list.js +34 -23
- package/dist/m365/aad/commands/user/user-password-validate.js +29 -17
- package/dist/m365/aad/commands/user/user-set.js +22 -16
- package/dist/m365/aad/commands/user/user-signin-list.js +29 -24
- package/dist/m365/aad/commands.js +2 -1
- package/dist/m365/adaptivecard/commands/adaptivecard-send.js +43 -41
- package/dist/m365/app/commands/app-get.js +28 -16
- package/dist/m365/app/commands/app-open.js +20 -5
- package/dist/m365/app/commands/permission/permission-list.js +19 -17
- package/dist/m365/base/AnonymousCommand.js +14 -3
- package/dist/m365/base/AppCommand.js +54 -47
- package/dist/m365/base/DateAndPeriodBasedReport.js +8 -5
- package/dist/m365/base/PeriodBasedReport.js +24 -16
- package/dist/m365/base/SpoCommand.js +25 -20
- package/dist/m365/base/YammerCommand.js +4 -4
- package/dist/m365/booking/commands/business/business-get.js +29 -18
- package/dist/m365/booking/commands/business/business-list.js +21 -12
- package/dist/m365/cli/commands/cli-consent.js +15 -12
- package/dist/m365/cli/commands/cli-doctor.js +37 -27
- package/dist/m365/cli/commands/cli-issue.js +15 -15
- package/dist/m365/cli/commands/cli-reconsent.js +31 -19
- package/dist/m365/cli/commands/completion/completion-clink-update.js +13 -3
- package/dist/m365/cli/commands/completion/completion-pwsh-setup.js +47 -38
- package/dist/m365/cli/commands/completion/completion-pwsh-update.js +16 -6
- package/dist/m365/cli/commands/completion/completion-sh-setup.js +21 -11
- package/dist/m365/cli/commands/completion/completion-sh-update.js +16 -6
- package/dist/m365/cli/commands/config/config-get.js +5 -4
- package/dist/m365/cli/commands/config/config-reset.js +10 -9
- package/dist/m365/cli/commands/config/config-set.js +25 -19
- package/dist/m365/commands/login.js +72 -64
- package/dist/m365/commands/logout.js +34 -23
- package/dist/m365/commands/request.js +56 -59
- package/dist/m365/commands/status.js +55 -28
- package/dist/m365/commands/version.js +13 -3
- package/dist/m365/file/commands/convert/convert-pdf.js +58 -53
- package/dist/m365/file/commands/file-add.js +17 -12
- package/dist/m365/file/commands/file-list.js +33 -34
- package/dist/m365/flow/commands/environment/environment-get.js +35 -22
- package/dist/m365/flow/commands/environment/environment-list.js +33 -21
- package/dist/m365/flow/commands/flow-disable.js +29 -14
- package/dist/m365/flow/commands/flow-enable.js +29 -14
- package/dist/m365/flow/commands/flow-export.js +105 -104
- package/dist/m365/flow/commands/flow-get.js +34 -21
- package/dist/m365/flow/commands/flow-list.js +29 -16
- package/dist/m365/flow/commands/flow-remove.js +42 -45
- package/dist/m365/flow/commands/run/run-cancel.js +36 -34
- package/dist/m365/flow/commands/run/run-get.js +34 -21
- package/dist/m365/flow/commands/run/run-list.js +32 -19
- package/dist/m365/flow/commands/run/run-resubmit.js +41 -41
- package/dist/m365/{spo/commands/page/PageTemplateResponse.js → graph/Changelog.js} +1 -1
- package/dist/m365/graph/commands/changelog/changelog-list.js +164 -0
- package/dist/m365/graph/commands/schemaextension/schemaextension-add.js +32 -29
- package/dist/m365/graph/commands/schemaextension/schemaextension-get.js +30 -17
- package/dist/m365/graph/commands/schemaextension/schemaextension-list.js +40 -36
- package/dist/m365/graph/commands/schemaextension/schemaextension-remove.js +43 -32
- package/dist/m365/graph/commands/schemaextension/schemaextension-set.js +59 -56
- package/dist/m365/graph/commands/subscription/subscription-add.js +30 -27
- package/dist/m365/graph/commands.js +1 -0
- package/dist/m365/onedrive/commands/onedrive-list.js +25 -15
- package/dist/m365/onenote/commands/notebook/notebook-list.js +15 -14
- package/dist/m365/outlook/commands/mail/mail-send.js +101 -37
- package/dist/m365/outlook/commands/message/message-get.js +97 -0
- package/dist/m365/outlook/commands/message/message-list.js +25 -14
- package/dist/m365/outlook/commands/message/message-move.js +36 -27
- package/dist/m365/outlook/commands/room/room-list.js +24 -12
- package/dist/m365/outlook/commands/roomlist/roomlist-list.js +20 -8
- package/dist/m365/outlook/commands.js +2 -2
- package/dist/m365/pa/commands/app/app-get.js +47 -47
- package/dist/m365/pa/commands/app/app-list.js +21 -17
- package/dist/m365/pa/commands/app/app-remove.js +42 -41
- package/dist/m365/pa/commands/connector/connector-export.js +103 -104
- package/dist/m365/pa/commands/connector/connector-list.js +30 -17
- package/dist/m365/pa/commands/environment/environment-get.js +35 -22
- package/dist/m365/pa/commands/environment/environment-list.js +33 -21
- package/dist/m365/pa/commands/pcf/pcf-init.js +39 -38
- package/dist/m365/pa/commands/solution/solution-init.js +50 -49
- package/dist/m365/pa/commands/solution/solution-reference-add.js +15 -14
- package/dist/m365/planner/commands/bucket/bucket-add.js +31 -29
- package/dist/m365/planner/commands/bucket/bucket-get.js +23 -22
- package/dist/m365/planner/commands/bucket/bucket-list.js +20 -15
- package/dist/m365/planner/commands/bucket/bucket-remove.js +40 -40
- package/dist/m365/planner/commands/bucket/bucket-set.js +32 -28
- package/dist/m365/planner/commands/plan/plan-add.js +36 -32
- package/dist/m365/planner/commands/plan/plan-get.js +37 -57
- package/dist/m365/planner/commands/plan/plan-list.js +20 -16
- package/dist/m365/planner/commands/plan/plan-remove.js +39 -41
- package/dist/m365/planner/commands/task/task-add.js +49 -52
- package/dist/m365/planner/commands/task/task-checklistitem-add.js +49 -38
- package/dist/m365/planner/commands/task/task-checklistitem-list.js +37 -22
- package/dist/m365/planner/commands/task/task-checklistitem-remove.js +54 -43
- package/dist/m365/planner/commands/task/task-get.js +22 -17
- package/dist/m365/planner/commands/task/task-list.js +52 -59
- package/dist/m365/planner/commands/task/task-reference-add.js +26 -25
- package/dist/m365/planner/commands/task/task-reference-list.js +32 -19
- package/dist/m365/planner/commands/task/task-reference-remove.js +43 -44
- package/dist/m365/planner/commands/task/task-remove.js +39 -38
- package/dist/m365/planner/commands/task/task-set.js +40 -43
- package/dist/m365/planner/commands/tenant/tenant-settings-list.js +26 -14
- package/dist/m365/planner/commands/tenant/tenant-settings-set.js +27 -24
- package/dist/m365/{spo/commands/list/ListInstanceCollection.js → pp/commands/Environment.js} +1 -1
- package/dist/m365/pp/commands/card/card-clone.js +122 -0
- package/dist/m365/pp/commands/card/card-get.js +110 -0
- package/dist/m365/pp/commands/card/card-list.js +68 -0
- package/dist/m365/pp/commands/card/card-remove.js +130 -0
- package/dist/m365/pp/commands/dataverse/dataverse-table-get.js +77 -0
- package/dist/m365/pp/commands/dataverse/dataverse-table-list.js +69 -0
- package/dist/m365/pp/commands/dataverse/dataverse-table-remove.js +95 -0
- package/dist/m365/pp/commands/environment/environment-get.js +75 -0
- package/dist/m365/pp/commands/environment/environment-list.js +41 -29
- package/dist/m365/pp/commands/gateway/gateway-get.js +71 -0
- package/dist/m365/pp/commands/gateway/gateway-list.js +29 -17
- package/dist/m365/pp/commands/managementapp/managementapp-add.js +26 -24
- package/dist/m365/pp/commands/managementapp/managementapp-list.js +21 -9
- package/dist/m365/{spo/commands/group/GroupPropertiesCollection.js → pp/commands/solution/Solution.js} +1 -1
- package/dist/m365/pp/commands/solution/solution-get.js +117 -0
- package/dist/m365/pp/commands/solution/solution-list.js +81 -0
- package/dist/m365/pp/commands/solution/solution-publisher-get.js +107 -0
- package/dist/m365/pp/commands/solution/solution-publisher-list.js +78 -0
- package/dist/m365/pp/commands/solution/solution-publisher-remove.js +130 -0
- package/dist/m365/pp/commands/solution/solution-remove.js +130 -0
- package/dist/m365/pp/commands/tenant/tenant-settings-list.js +45 -0
- package/dist/m365/pp/commands.js +17 -1
- package/dist/m365/search/commands/externalconnection/externalconnection-add.js +29 -24
- package/dist/m365/search/commands/externalconnection/externalconnection-get.js +39 -29
- package/dist/m365/search/commands/externalconnection/externalconnection-list.js +20 -8
- package/dist/m365/search/commands/externalconnection/externalconnection-remove.js +43 -35
- package/dist/m365/spfx/commands/package/package-generate.js +105 -98
- package/dist/m365/spfx/commands/project/base-project-command.js +19 -18
- package/dist/m365/spfx/commands/project/project-doctor/{doctor-1.16.0-beta.1.js → doctor-1.16.0.js} +6 -6
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN001008_DEP_react.js +2 -2
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN001009_DEP_react_dom.js +2 -2
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN001022_DEP_office_ui_fabric_react.js +2 -2
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN002015_DEVDEP_types_react.js +2 -2
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN002016_DEVDEP_types_react_dom.js +2 -2
- package/dist/m365/spfx/commands/project/project-doctor.js +107 -107
- package/dist/m365/spfx/commands/project/project-externalize.js +49 -39
- package/dist/m365/spfx/commands/project/project-rename.js +38 -30
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001005_DEP_types_react.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001006_DEP_types_react_dom.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001008_DEP_react.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001009_DEP_react_dom.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001015_DEP_types_react_addons_shallow_compare.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001016_DEP_types_react_addons_update.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001017_DEP_types_react_addons_update.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001019_DEP_knockout.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001020_DEP_types_knockout.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001022_DEP_office_ui_fabric_react.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002015_DEVDEP_types_react.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002016_DEVDEP_types_react_dom.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002025_DEVDEP_eslint_plugin_react_hooks.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010001_YORC_version.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010002_YORC_isCreatingSolution.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010003_YORC_packageManager.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010004_YORC_componentType.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010005_YORC_environment.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010006_YORC_framework.js +3 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010007_YORC_isDomainIsolated.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010008_YORC_nodeVersion.js +3 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010009_YORC_sdkVersions_microsoft_graph_client.js +56 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010010_YORC_sdkVersions_teams_js.js +56 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015008_FILE_eslintrc_js.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN020001_RES_types_react.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN022001_SCSS_remove_fabric_react.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN022002_SCSS_add_fabric_react.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.14.0.js +0 -2
- package/dist/m365/spfx/commands/project/project-upgrade/{upgrade-1.16.0-beta.1.js → upgrade-1.16.0.js} +44 -28
- package/dist/m365/spfx/commands/project/project-upgrade.js +193 -197
- package/dist/m365/spfx/commands/spfx-doctor.js +96 -56
- package/dist/m365/spo/commands/app/app-add.js +34 -34
- package/dist/m365/spo/commands/app/app-deploy.js +42 -42
- package/dist/m365/spo/commands/app/app-get.js +45 -44
- package/dist/m365/spo/commands/app/app-install.js +22 -16
- package/dist/m365/spo/commands/app/app-instance-list.js +27 -23
- package/dist/m365/spo/commands/app/app-list.js +26 -35
- package/dist/m365/spo/commands/app/app-remove.js +39 -40
- package/dist/m365/spo/commands/app/app-retract.js +39 -40
- package/dist/m365/spo/commands/app/app-teamspackage-download.js +44 -44
- package/dist/m365/spo/commands/app/app-uninstall.js +36 -34
- package/dist/m365/spo/commands/app/app-upgrade.js +22 -16
- package/dist/m365/spo/commands/apppage/apppage-add.js +39 -40
- package/dist/m365/spo/commands/apppage/apppage-set.js +21 -16
- package/dist/m365/spo/commands/cdn/cdn-get.js +36 -42
- package/dist/m365/spo/commands/cdn/cdn-origin-add.js +31 -38
- package/dist/m365/spo/commands/cdn/cdn-origin-list.js +34 -40
- package/dist/m365/spo/commands/cdn/cdn-origin-remove.js +46 -59
- package/dist/m365/spo/commands/cdn/cdn-policy-list.js +42 -49
- package/dist/m365/spo/commands/cdn/cdn-policy-set.js +38 -46
- package/dist/m365/spo/commands/cdn/cdn-set.js +64 -68
- package/dist/m365/spo/commands/contenttype/contenttype-add.js +127 -91
- package/dist/m365/spo/commands/contenttype/contenttype-field-remove.js +134 -118
- package/dist/m365/spo/commands/contenttype/contenttype-field-set.js +127 -151
- package/dist/m365/spo/commands/contenttype/contenttype-get.js +60 -37
- package/dist/m365/spo/commands/contenttype/contenttype-list.js +18 -21
- package/dist/m365/spo/commands/contenttype/contenttype-remove.js +67 -70
- package/dist/m365/spo/commands/contenttype/contenttype-set.js +168 -0
- package/dist/m365/spo/commands/contenttypehub/contenttypehub-get.js +51 -48
- package/dist/m365/spo/commands/customaction/customaction-add.js +46 -43
- package/dist/m365/spo/commands/customaction/customaction-clear.js +30 -28
- package/dist/m365/spo/commands/customaction/customaction-get.js +47 -41
- package/dist/m365/spo/commands/customaction/customaction-list.js +34 -42
- package/dist/m365/spo/commands/customaction/customaction-remove.js +40 -38
- package/dist/m365/spo/commands/customaction/customaction-set.js +27 -21
- package/dist/m365/spo/commands/eventreceiver/EventReceiver.js +3 -0
- package/dist/m365/spo/commands/eventreceiver/eventreceiver-get.js +64 -43
- package/dist/m365/spo/commands/eventreceiver/eventreceiver-list.js +34 -36
- package/dist/m365/spo/commands/eventreceiver/eventreceiver-remove.js +167 -0
- package/dist/m365/spo/commands/externaluser/externaluser-list.js +55 -58
- package/dist/m365/spo/commands/feature/feature-disable.js +26 -21
- package/dist/m365/spo/commands/feature/feature-enable.js +28 -23
- package/dist/m365/spo/commands/feature/feature-list.js +19 -23
- package/dist/m365/spo/commands/field/field-add.js +54 -26
- package/dist/m365/spo/commands/field/field-get.js +42 -37
- package/dist/m365/spo/commands/field/field-list.js +27 -29
- package/dist/m365/spo/commands/field/field-remove.js +88 -89
- package/dist/m365/spo/commands/field/field-set.js +82 -83
- package/dist/m365/spo/commands/file/file-add.js +166 -184
- package/dist/m365/spo/commands/file/file-checkin.js +41 -35
- package/dist/m365/spo/commands/file/file-checkout.js +28 -22
- package/dist/m365/spo/commands/file/file-copy.js +93 -106
- package/dist/m365/spo/commands/file/file-get.js +96 -71
- package/dist/m365/spo/commands/file/file-list.js +17 -11
- package/dist/m365/spo/commands/file/file-move.js +91 -103
- package/dist/m365/spo/commands/file/file-remove.js +60 -61
- package/dist/m365/spo/commands/file/file-rename.js +54 -51
- package/dist/m365/spo/commands/file/file-roleassignment-add.js +217 -0
- package/dist/m365/spo/commands/file/file-roleassignment-remove.js +180 -0
- package/dist/m365/spo/commands/file/file-roleinheritance-break.js +129 -0
- package/dist/m365/spo/commands/file/file-roleinheritance-reset.js +125 -0
- package/dist/m365/spo/commands/file/file-sharinginfo-get.js +51 -48
- package/dist/m365/spo/commands/file/file-version-clear.js +114 -0
- package/dist/m365/spo/commands/file/file-version-get.js +104 -0
- package/dist/m365/spo/commands/file/file-version-list.js +92 -0
- package/dist/m365/spo/commands/file/file-version-remove.js +119 -0
- package/dist/m365/spo/commands/file/file-version-restore.js +119 -0
- package/dist/m365/spo/commands/folder/folder-add.js +29 -25
- package/dist/m365/spo/commands/folder/folder-copy.js +49 -44
- package/dist/m365/spo/commands/folder/folder-get.js +85 -28
- package/dist/m365/spo/commands/folder/folder-list.js +44 -24
- package/dist/m365/spo/commands/folder/folder-move.js +50 -45
- package/dist/m365/spo/commands/folder/folder-remove.js +45 -42
- package/dist/m365/spo/commands/folder/folder-rename.js +34 -38
- package/dist/m365/spo/commands/folder/folder-roleassignment-add.js +215 -0
- package/dist/m365/spo/commands/folder/folder-roleassignment-remove.js +169 -0
- package/dist/m365/spo/commands/folder/folder-roleinheritance-break.js +104 -0
- package/dist/m365/spo/commands/folder/folder-roleinheritance-reset.js +100 -0
- package/dist/m365/spo/commands/group/AssociatedGroupPropertiesCollection.js +3 -0
- package/dist/m365/spo/commands/group/group-add.js +29 -26
- package/dist/m365/spo/commands/group/group-get.js +44 -40
- package/dist/m365/spo/commands/group/group-list.js +60 -23
- package/dist/m365/spo/commands/group/{group-user-add.js → group-member-add.js} +52 -55
- package/dist/m365/spo/commands/group/group-member-list.js +85 -0
- package/dist/m365/spo/commands/group/group-member-remove.js +114 -0
- package/dist/m365/spo/commands/group/group-remove.js +50 -53
- package/dist/m365/spo/commands/group/group-set.js +32 -27
- package/dist/m365/spo/commands/hidedefaultthemes/hidedefaultthemes-get.js +30 -20
- package/dist/m365/spo/commands/hidedefaultthemes/hidedefaultthemes-set.js +23 -20
- package/dist/m365/spo/commands/homesite/homesite-get.js +29 -19
- package/dist/m365/spo/commands/homesite/homesite-remove.js +50 -49
- package/dist/m365/spo/commands/homesite/homesite-set.js +28 -31
- package/dist/m365/spo/commands/hubsite/hubsite-connect.js +101 -22
- package/dist/m365/spo/commands/hubsite/hubsite-data-get.js +27 -24
- package/dist/m365/spo/commands/hubsite/hubsite-disconnect.js +98 -42
- package/dist/m365/spo/commands/hubsite/hubsite-get.js +25 -38
- package/dist/m365/spo/commands/hubsite/hubsite-list.js +59 -63
- package/dist/m365/spo/commands/hubsite/hubsite-register.js +22 -20
- package/dist/m365/spo/commands/hubsite/hubsite-rights-grant.js +33 -36
- package/dist/m365/spo/commands/hubsite/hubsite-rights-revoke.js +48 -55
- package/dist/m365/spo/commands/hubsite/hubsite-set.js +38 -41
- package/dist/m365/spo/commands/hubsite/hubsite-unregister.js +35 -35
- package/dist/m365/spo/commands/knowledgehub/knowledgehub-get.js +35 -32
- package/dist/m365/spo/commands/knowledgehub/knowledgehub-remove.js +52 -53
- package/dist/m365/spo/commands/knowledgehub/knowledgehub-set.js +29 -33
- package/dist/m365/spo/commands/list/list-add.js +28 -25
- package/dist/m365/spo/commands/list/list-contenttype-add.js +47 -40
- package/dist/m365/spo/commands/list/list-contenttype-default-set.js +112 -100
- package/dist/m365/spo/commands/list/list-contenttype-list.js +36 -32
- package/dist/m365/spo/commands/list/list-contenttype-remove.js +56 -49
- package/dist/m365/spo/commands/list/list-get.js +46 -34
- package/dist/m365/spo/commands/list/list-label-get.js +65 -53
- package/dist/m365/spo/commands/list/list-label-set.js +52 -48
- package/dist/m365/spo/commands/list/list-list.js +19 -24
- package/dist/m365/spo/commands/list/list-remove.js +47 -48
- package/dist/m365/spo/commands/list/list-roleassignment-add.js +51 -68
- package/dist/m365/spo/commands/list/list-roleassignment-remove.js +64 -75
- package/dist/m365/spo/commands/list/list-roleinheritance-break.js +67 -32
- package/dist/m365/spo/commands/list/list-roleinheritance-reset.js +63 -28
- package/dist/m365/spo/commands/list/list-set.js +60 -34
- package/dist/m365/spo/commands/list/list-sitescript-get.js +67 -57
- package/dist/m365/spo/commands/list/list-view-add.js +38 -33
- package/dist/m365/spo/commands/list/list-view-field-add.js +70 -56
- package/dist/m365/spo/commands/list/list-view-field-remove.js +64 -52
- package/dist/m365/spo/commands/list/list-view-field-set.js +51 -33
- package/dist/m365/spo/commands/list/list-view-get.js +37 -32
- package/dist/m365/spo/commands/list/list-view-list.js +32 -31
- package/dist/m365/spo/commands/list/list-view-remove.js +56 -47
- package/dist/m365/spo/commands/list/list-view-set.js +44 -27
- package/dist/m365/spo/commands/list/list-webhook-add.js +56 -46
- package/dist/m365/spo/commands/list/list-webhook-get.js +46 -37
- package/dist/m365/spo/commands/list/list-webhook-list.js +45 -74
- package/dist/m365/spo/commands/list/list-webhook-remove.js +61 -55
- package/dist/m365/spo/commands/list/list-webhook-set.js +54 -45
- package/dist/m365/spo/commands/listitem/listitem-add.js +118 -114
- package/dist/m365/spo/commands/listitem/listitem-attachment-list.js +43 -29
- package/dist/m365/spo/commands/listitem/listitem-batch-add.js +202 -0
- package/dist/m365/spo/commands/listitem/listitem-get.js +67 -30
- package/dist/m365/spo/commands/listitem/listitem-isrecord.js +78 -69
- package/dist/m365/spo/commands/listitem/listitem-list.js +77 -75
- package/dist/m365/spo/commands/listitem/listitem-record-declare.js +63 -56
- package/dist/m365/spo/commands/listitem/listitem-record-undeclare.js +59 -56
- package/dist/m365/spo/commands/listitem/listitem-remove.js +65 -57
- package/dist/m365/spo/commands/listitem/listitem-roleassignment-add.js +239 -0
- package/dist/m365/spo/commands/listitem/listitem-roleassignment-remove.js +65 -76
- package/dist/m365/spo/commands/listitem/listitem-roleinheritance-break.js +67 -32
- package/dist/m365/spo/commands/listitem/listitem-roleinheritance-reset.js +63 -25
- package/dist/m365/spo/commands/listitem/listitem-set.js +180 -189
- package/dist/m365/spo/commands/mail/mail-send.js +50 -45
- package/dist/m365/spo/commands/navigation/navigation-node-add.js +31 -28
- package/dist/m365/spo/commands/navigation/navigation-node-list.js +22 -26
- package/dist/m365/spo/commands/navigation/navigation-node-remove.js +38 -38
- package/dist/m365/spo/commands/orgassetslibrary/orgassetslibrary-add.js +30 -33
- package/dist/m365/spo/commands/orgassetslibrary/orgassetslibrary-list.js +49 -45
- package/dist/m365/spo/commands/orgassetslibrary/orgassetslibrary-remove.js +50 -50
- package/dist/m365/spo/commands/orgnewssite/orgnewssite-list.js +35 -31
- package/dist/m365/spo/commands/orgnewssite/orgnewssite-remove.js +41 -50
- package/dist/m365/spo/commands/orgnewssite/orgnewssite-set.js +26 -29
- package/dist/m365/spo/commands/page/Page.js +4 -3
- package/dist/m365/spo/commands/page/page-add.js +198 -218
- package/dist/m365/spo/commands/page/page-clientsidewebpart-add.js +191 -196
- package/dist/m365/spo/commands/page/page-column-get.js +25 -22
- package/dist/m365/spo/commands/page/page-column-list.js +20 -17
- package/dist/m365/spo/commands/page/page-control-get.js +40 -36
- package/dist/m365/spo/commands/page/page-control-list.js +36 -32
- package/dist/m365/spo/commands/page/page-control-set.js +101 -100
- package/dist/m365/spo/commands/page/page-copy.js +53 -53
- package/dist/m365/spo/commands/page/page-get.js +53 -53
- package/dist/m365/spo/commands/page/page-header-set.js +232 -235
- package/dist/m365/spo/commands/page/page-list.js +29 -42
- package/dist/m365/spo/commands/page/page-remove.js +48 -47
- package/dist/m365/spo/commands/page/page-section-add.js +69 -70
- package/dist/m365/spo/commands/page/page-section-get.js +16 -13
- package/dist/m365/spo/commands/page/page-section-list.js +25 -22
- package/dist/m365/spo/commands/page/page-set.js +254 -239
- package/dist/m365/spo/commands/page/page-template-list.js +20 -28
- package/dist/m365/spo/commands/page/page-text-add.js +45 -43
- package/dist/m365/spo/commands/propertybag/propertybag-base.js +4 -3
- package/dist/m365/spo/commands/propertybag/propertybag-get.js +27 -24
- package/dist/m365/spo/commands/propertybag/propertybag-list.js +22 -19
- package/dist/m365/spo/commands/propertybag/propertybag-remove.js +36 -40
- package/dist/m365/spo/commands/propertybag/propertybag-set.js +25 -29
- package/dist/m365/spo/commands/roledefinition/roledefinition-add.js +117 -0
- package/dist/m365/spo/commands/roledefinition/roledefinition-get.js +27 -24
- package/dist/m365/spo/commands/roledefinition/roledefinition-list.js +29 -20
- package/dist/m365/spo/commands/roledefinition/roledefinition-remove.js +38 -37
- package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-grant-add.js +40 -35
- package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-grant-list.js +43 -39
- package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-grant-revoke.js +35 -30
- package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-permissionrequest-approve.js +33 -36
- package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-permissionrequest-deny.js +28 -31
- package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-permissionrequest-list.js +45 -41
- package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-set.js +47 -56
- package/dist/m365/spo/commands/site/site-add.js +189 -206
- package/dist/m365/spo/commands/site/site-appcatalog-add.js +33 -36
- package/dist/m365/spo/commands/site/site-appcatalog-remove.js +33 -36
- package/dist/m365/spo/commands/site/site-apppermission-add.js +73 -40
- package/dist/m365/spo/commands/site/site-apppermission-get.js +21 -18
- package/dist/m365/spo/commands/site/site-apppermission-list.js +17 -19
- package/dist/m365/spo/commands/site/site-apppermission-remove.js +34 -40
- package/dist/m365/spo/commands/site/site-apppermission-set.js +34 -33
- package/dist/m365/spo/commands/site/site-chrome-set.js +52 -47
- package/dist/m365/spo/commands/site/site-commsite-enable.js +30 -33
- package/dist/m365/spo/commands/site/site-ensure.js +46 -36
- package/dist/m365/spo/commands/site/site-get.js +19 -16
- package/dist/m365/spo/commands/site/site-groupify.js +37 -34
- package/dist/m365/spo/commands/site/site-hubsite-connect.js +76 -0
- package/dist/m365/spo/commands/site/site-hubsite-disconnect.js +93 -0
- package/dist/m365/spo/commands/site/site-hubsite-theme-sync.js +64 -0
- package/dist/m365/spo/commands/site/site-inplacerecordsmanagement-set.js +27 -22
- package/dist/m365/spo/commands/site/site-list.js +20 -20
- package/dist/m365/spo/commands/site/site-recyclebinitem-list.js +29 -26
- package/dist/m365/spo/commands/site/site-recyclebinitem-restore.js +36 -28
- package/dist/m365/spo/commands/site/site-remove.js +66 -73
- package/dist/m365/spo/commands/site/site-rename.js +67 -77
- package/dist/m365/spo/commands/site/site-set.js +48 -51
- package/dist/m365/spo/commands/sitedesign/sitedesign-add.js +40 -42
- package/dist/m365/spo/commands/sitedesign/sitedesign-apply.js +31 -29
- package/dist/m365/spo/commands/sitedesign/sitedesign-get.js +30 -35
- package/dist/m365/spo/commands/sitedesign/sitedesign-list.js +28 -18
- package/dist/m365/spo/commands/sitedesign/sitedesign-remove.js +38 -42
- package/dist/m365/spo/commands/sitedesign/sitedesign-rights-grant.js +29 -29
- package/dist/m365/spo/commands/sitedesign/sitedesign-rights-list.js +28 -30
- package/dist/m365/spo/commands/sitedesign/sitedesign-rights-revoke.js +41 -45
- package/dist/m365/spo/commands/sitedesign/sitedesign-run-list.js +30 -26
- package/dist/m365/spo/commands/sitedesign/sitedesign-run-status-get.js +25 -21
- package/dist/m365/spo/commands/sitedesign/sitedesign-set.js +53 -51
- package/dist/m365/spo/commands/sitedesign/sitedesign-task-get.js +25 -23
- package/dist/m365/spo/commands/sitedesign/sitedesign-task-list.js +19 -15
- package/dist/m365/spo/commands/sitedesign/sitedesign-task-remove.js +37 -37
- package/dist/m365/spo/commands/sitescript/sitescript-add.js +24 -26
- package/dist/m365/spo/commands/sitescript/sitescript-get.js +25 -27
- package/dist/m365/spo/commands/sitescript/sitescript-list.js +31 -25
- package/dist/m365/spo/commands/sitescript/sitescript-remove.js +38 -42
- package/dist/m365/spo/commands/sitescript/sitescript-set.js +38 -40
- package/dist/m365/spo/commands/spo-get.js +16 -6
- package/dist/m365/spo/commands/spo-search.js +26 -25
- package/dist/m365/spo/commands/spo-set.js +11 -9
- package/dist/m365/spo/commands/storageentity/storageentity-get.js +38 -27
- package/dist/m365/spo/commands/storageentity/storageentity-list.js +36 -38
- package/dist/m365/spo/commands/storageentity/storageentity-remove.js +43 -51
- package/dist/m365/spo/commands/storageentity/storageentity-set.js +33 -36
- package/dist/m365/spo/commands/tenant/tenant-appcatalog-add.js +21 -22
- package/dist/m365/spo/commands/tenant/tenant-appcatalogurl-get.js +32 -22
- package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-list.js +39 -35
- package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-remove.js +56 -62
- package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-restore.js +24 -22
- package/dist/m365/spo/commands/tenant/tenant-settings-list.js +57 -53
- package/dist/m365/spo/commands/tenant/tenant-settings-set.js +56 -66
- package/dist/m365/spo/commands/term/term-add.js +99 -104
- package/dist/m365/spo/commands/term/term-get.js +50 -54
- package/dist/m365/spo/commands/term/term-group-add.js +74 -81
- package/dist/m365/spo/commands/term/term-group-get.js +37 -40
- package/dist/m365/spo/commands/term/term-group-list.js +43 -39
- package/dist/m365/spo/commands/term/term-list.js +41 -44
- package/dist/m365/spo/commands/term/term-set-add.js +85 -90
- package/dist/m365/spo/commands/term/term-set-get.js +39 -42
- package/dist/m365/spo/commands/term/term-set-list.js +40 -43
- package/dist/m365/spo/commands/theme/theme-apply.js +56 -60
- package/dist/m365/spo/commands/theme/theme-get.js +39 -34
- package/dist/m365/spo/commands/theme/theme-list.js +36 -26
- package/dist/m365/spo/commands/theme/theme-remove.js +47 -39
- package/dist/m365/spo/commands/theme/theme-set.js +33 -34
- package/dist/m365/spo/commands/user/user-get.js +35 -31
- package/dist/m365/spo/commands/user/user-list.js +25 -22
- package/dist/m365/spo/commands/user/user-remove.js +44 -42
- package/dist/m365/spo/commands/userprofile/userprofile-get.js +26 -24
- package/dist/m365/spo/commands/userprofile/userprofile-set.js +42 -34
- package/dist/m365/spo/commands/web/web-add.js +75 -99
- package/dist/m365/spo/commands/web/web-clientsidewebpart-list.js +31 -28
- package/dist/m365/spo/commands/web/web-get.js +47 -21
- package/dist/m365/spo/commands/web/web-installedlanguage-list.js +22 -19
- package/dist/m365/spo/commands/web/web-list.js +20 -24
- package/dist/m365/spo/commands/web/web-reindex.js +44 -55
- package/dist/m365/spo/commands/web/web-remove.js +36 -35
- package/dist/m365/spo/commands/web/web-roleassignment-add.js +37 -49
- package/dist/m365/spo/commands/web/web-roleassignment-remove.js +50 -56
- package/dist/m365/spo/commands/web/web-roleinheritance-break.js +100 -0
- package/dist/m365/spo/commands/web/web-roleinheritance-reset.js +51 -20
- package/dist/m365/spo/commands/web/web-set.js +53 -48
- package/dist/m365/spo/commands.js +25 -4
- package/dist/m365/teams/commands/Meeting.js +3 -0
- package/dist/m365/teams/commands/app/app-install.js +35 -31
- package/dist/m365/teams/commands/app/app-list.js +21 -16
- package/dist/m365/teams/commands/app/app-publish.js +22 -20
- package/dist/m365/teams/commands/app/app-remove.js +32 -31
- package/dist/m365/teams/commands/app/app-uninstall.js +31 -30
- package/dist/m365/teams/commands/app/app-update.js +26 -22
- package/dist/m365/teams/commands/cache/cache-remove.js +66 -34
- package/dist/m365/teams/commands/channel/channel-add.js +23 -20
- package/dist/m365/teams/commands/channel/channel-get.js +32 -33
- package/dist/m365/teams/commands/channel/channel-list.js +21 -19
- package/dist/m365/teams/commands/channel/channel-member-add.js +25 -33
- package/dist/m365/teams/commands/channel/channel-member-list.js +27 -31
- package/dist/m365/teams/commands/channel/channel-member-remove.js +34 -36
- package/dist/m365/teams/commands/channel/channel-member-set.js +33 -37
- package/dist/m365/teams/commands/channel/channel-remove.js +76 -61
- package/dist/m365/teams/commands/channel/channel-set.js +75 -33
- package/dist/m365/teams/commands/chat/chat-get.js +14 -10
- package/dist/m365/teams/commands/chat/chat-list.js +13 -10
- package/dist/m365/teams/commands/chat/chat-member-list.js +14 -10
- package/dist/m365/teams/commands/chat/chat-message-list.js +30 -26
- package/dist/m365/teams/commands/chat/chat-message-send.js +16 -12
- package/dist/m365/teams/commands/chat/chatUtil.js +2 -1
- package/dist/m365/teams/commands/funsettings/funsettings-list.js +20 -16
- package/dist/m365/teams/commands/funsettings/funsettings-set.js +29 -23
- package/dist/m365/teams/commands/guestsettings/guestsettings-list.js +20 -16
- package/dist/m365/teams/commands/guestsettings/guestsettings-set.js +26 -20
- package/dist/m365/teams/commands/meeting/meeting-get.js +134 -0
- package/dist/m365/teams/commands/meeting/meeting-list.js +153 -0
- package/dist/m365/teams/commands/membersettings/membersettings-list.js +20 -16
- package/dist/m365/teams/commands/membersettings/membersettings-set.js +26 -20
- package/dist/m365/teams/commands/message/message-get.js +20 -17
- package/dist/m365/teams/commands/message/message-list.js +22 -18
- package/dist/m365/teams/commands/message/message-reply-list.js +19 -15
- package/dist/m365/teams/commands/messagingsettings/messagingsettings-list.js +20 -16
- package/dist/m365/teams/commands/messagingsettings/messagingsettings-set.js +27 -21
- package/dist/m365/teams/commands/report/report-directroutingcalls.js +22 -18
- package/dist/m365/teams/commands/report/report-pstncalls.js +22 -18
- package/dist/m365/teams/commands/tab/tab-add.js +24 -20
- package/dist/m365/teams/commands/tab/tab-get.js +29 -33
- package/dist/m365/teams/commands/tab/tab-list.js +19 -14
- package/dist/m365/teams/commands/tab/tab-remove.js +35 -31
- package/dist/m365/teams/commands/team/team-add.js +53 -55
- package/dist/m365/teams/commands/team/team-archive.js +29 -28
- package/dist/m365/teams/commands/team/team-clone.js +36 -30
- package/dist/m365/teams/commands/team/team-get.js +22 -20
- package/dist/m365/teams/commands/team/team-list.js +29 -19
- package/dist/m365/teams/commands/team/team-remove.js +37 -37
- package/dist/m365/teams/commands/team/team-set.js +21 -22
- package/dist/m365/teams/commands/team/team-unarchive.js +25 -21
- package/dist/m365/teams/commands/user/user-app-add.js +23 -18
- package/dist/m365/teams/commands/user/user-app-list.js +34 -33
- package/dist/m365/teams/commands/user/user-app-remove.js +33 -32
- package/dist/m365/teams/commands/user/user-list.js +21 -22
- package/dist/m365/teams/commands.js +2 -3
- package/dist/m365/tenant/commands/id/id-get.js +37 -26
- package/dist/m365/tenant/commands/report/report-office365activationcounts.js +38 -24
- package/dist/m365/tenant/commands/report/report-office365activationsusercounts.js +38 -24
- package/dist/m365/tenant/commands/report/report-office365activationsuserdetail.js +38 -24
- package/dist/m365/tenant/commands/security/security-alerts-list.js +21 -8
- package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-health-get.js +19 -7
- package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-health-list.js +19 -7
- package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-healthissue-get.js +27 -14
- package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-healthissue-list.js +25 -12
- package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-message-get.js +20 -17
- package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-message-list.js +25 -12
- package/dist/m365/todo/commands/list/list-add.js +31 -19
- package/dist/m365/todo/commands/list/list-get.js +89 -0
- package/dist/m365/todo/commands/list/list-list.js +20 -8
- package/dist/m365/todo/commands/list/list-remove.js +58 -50
- package/dist/m365/todo/commands/list/list-set.js +35 -23
- package/dist/m365/todo/commands/task/task-add.js +87 -25
- package/dist/m365/todo/commands/task/task-get.js +108 -0
- package/dist/m365/todo/commands/task/task-list.js +34 -24
- package/dist/m365/todo/commands/task/task-remove.js +58 -50
- package/dist/m365/todo/commands/task/task-set.js +77 -23
- package/dist/m365/todo/commands.js +2 -0
- package/dist/m365/util/commands/accesstoken/accesstoken-get.js +26 -14
- package/dist/m365/viva/commands/connections/connections-app-create.js +104 -106
- package/dist/m365/yammer/commands/group/group-list.js +23 -35
- package/dist/m365/yammer/commands/group/group-user-add.js +21 -16
- package/dist/m365/yammer/commands/group/group-user-remove.js +39 -38
- package/dist/m365/yammer/commands/message/message-add.js +27 -24
- package/dist/m365/yammer/commands/message/message-get.js +18 -15
- package/dist/m365/yammer/commands/message/message-like-set.js +45 -46
- package/dist/m365/yammer/commands/message/message-list.js +24 -21
- package/dist/m365/yammer/commands/message/message-remove.js +31 -30
- package/dist/m365/yammer/commands/network/network-list.js +29 -17
- package/dist/m365/yammer/commands/user/user-get.js +26 -22
- package/dist/m365/yammer/commands/user/user-list.js +11 -8
- package/dist/m365/yammer/commands/yammer-search.js +82 -75
- package/dist/request.js +4 -4
- package/dist/settingsNames.js +1 -0
- package/dist/utils/aadGroup.js +2 -1
- package/dist/utils/cache.js +81 -0
- package/dist/utils/formatting.js +15 -15
- package/dist/utils/fsUtil.js +2 -4
- package/dist/utils/md.js +9 -2
- package/dist/utils/odata.js +2 -1
- package/dist/utils/pid.js +57 -0
- package/dist/utils/powerPlatform.js +43 -0
- package/dist/utils/spo.js +10 -8
- package/docs/docs/_clisettings.md +19 -0
- package/docs/docs/cmd/_global.md +2 -2
- package/docs/docs/cmd/aad/app/app-add.md +19 -19
- package/docs/docs/cmd/aad/app/app-list.md +149 -0
- package/docs/docs/cmd/aad/o365group/o365group-recyclebinitem-restore.md +1 -7
- package/docs/docs/cmd/aad/user/user-guest-add.md +107 -0
- package/docs/docs/cmd/aad/user/user-signin-list.md +1 -1
- package/docs/docs/cmd/adaptivecard/adaptivecard-send.md +12 -5
- package/docs/docs/cmd/app/app-get.md +156 -0
- package/docs/docs/cmd/app/app-open.md +21 -1
- package/docs/docs/cmd/app/permission/permission-list.md +43 -0
- package/docs/docs/cmd/booking/business/business-get.md +107 -0
- package/docs/docs/cmd/booking/business/business-list.md +34 -0
- 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 +373 -1
- 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/graph/changelog/changelog-list.md +53 -0
- package/docs/docs/cmd/graph/schemaextension/schemaextension-add.md +4 -11
- package/docs/docs/cmd/graph/schemaextension/schemaextension-set.md +4 -10
- package/docs/docs/cmd/onedrive/report/report-activityusercounts.md +1 -1
- package/docs/docs/cmd/outlook/mail/mail-send.md +82 -17
- package/docs/docs/cmd/outlook/message/message-get.md +48 -0
- package/docs/docs/cmd/pa/app/app-get.md +184 -0
- package/docs/docs/cmd/pa/app/app-list.md +181 -0
- package/docs/docs/cmd/pa/app/app-remove.md +4 -0
- package/docs/docs/cmd/pa/connector/connector-export.md +4 -0
- package/docs/docs/cmd/pa/connector/connector-list.md +89 -0
- package/docs/docs/cmd/pa/environment/environment-get.md +113 -0
- package/docs/docs/cmd/pa/environment/environment-list.md +109 -0
- package/docs/docs/cmd/pa/pcf/pcf-init.md +4 -0
- package/docs/docs/cmd/pa/solution/solution-init.md +5 -0
- package/docs/docs/cmd/pa/solution/solution-reference-add.md +4 -0
- package/docs/docs/cmd/planner/bucket/bucket-add.md +29 -0
- package/docs/docs/cmd/planner/bucket/bucket-get.md +29 -0
- package/docs/docs/cmd/planner/bucket/bucket-list.md +30 -0
- package/docs/docs/cmd/planner/bucket/bucket-remove.md +4 -0
- package/docs/docs/cmd/planner/bucket/bucket-set.md +4 -0
- package/docs/docs/cmd/planner/plan/plan-add.md +123 -0
- package/docs/docs/cmd/planner/plan/plan-get.md +77 -8
- package/docs/docs/cmd/planner/plan/plan-list.md +45 -0
- package/docs/docs/cmd/planner/plan/plan-remove.md +4 -0
- package/docs/docs/cmd/planner/task/task-checklistitem-list.md +1 -1
- package/docs/docs/cmd/planner/task/task-get.md +0 -3
- package/docs/docs/cmd/planner/task/task-reference-add.md +1 -1
- package/docs/docs/cmd/pp/card/card-clone.md +77 -0
- package/docs/docs/cmd/pp/card/card-get.md +122 -0
- package/docs/docs/cmd/pp/card/card-list.md +104 -0
- package/docs/docs/cmd/pp/card/card-remove.md +82 -0
- package/docs/docs/cmd/pp/dataverse/dataverse-table-get.md +120 -0
- package/docs/docs/cmd/pp/dataverse/dataverse-table-list.md +118 -0
- package/docs/docs/cmd/pp/dataverse/dataverse-table-remove.md +49 -0
- package/docs/docs/cmd/pp/environment/environment-get.md +346 -0
- package/docs/docs/cmd/pp/environment/environment-list.md +314 -2
- package/docs/docs/cmd/pp/gateway/gateway-get.md +56 -0
- package/docs/docs/cmd/pp/gateway/gateway-list.md +35 -0
- package/docs/docs/cmd/pp/managementapp/managementapp-add.md +23 -0
- package/docs/docs/cmd/pp/managementapp/managementapp-list.md +27 -0
- package/docs/docs/cmd/pp/solution/solution-get.md +86 -0
- package/docs/docs/cmd/pp/solution/solution-list.md +70 -0
- package/docs/docs/cmd/pp/solution/solution-publisher-get.md +83 -0
- package/docs/docs/cmd/pp/solution/solution-publisher-list.md +71 -0
- package/docs/docs/cmd/pp/solution/solution-publisher-remove.md +58 -0
- package/docs/docs/cmd/pp/solution/solution-remove.md +82 -0
- package/docs/docs/cmd/pp/tenant/tenant-settings-list.md +88 -0
- package/docs/docs/cmd/search/externalconnection/externalconnection-remove.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 -15
- package/docs/docs/cmd/spfx/project/project-upgrade.md +101 -1
- package/docs/docs/cmd/spfx/spfx-doctor.md +48 -1
- package/docs/docs/cmd/spo/contenttype/contenttype-add.md +20 -2
- package/docs/docs/cmd/spo/contenttype/contenttype-field-remove.md +22 -4
- package/docs/docs/cmd/spo/contenttype/contenttype-get.md +21 -3
- package/docs/docs/cmd/spo/contenttype/contenttype-set.md +45 -0
- package/docs/docs/cmd/spo/customaction/customaction-add.md +3 -0
- package/docs/docs/cmd/spo/customaction/customaction-set.md +3 -2
- package/docs/docs/cmd/spo/eventreceiver/eventreceiver-get.md +44 -4
- package/docs/docs/cmd/spo/eventreceiver/eventreceiver-remove.md +74 -0
- package/docs/docs/cmd/spo/field/field-add.md +20 -2
- package/docs/docs/cmd/spo/field/field-set.md +15 -6
- package/docs/docs/cmd/spo/file/file-get.md +219 -8
- package/docs/docs/cmd/spo/file/file-roleassignment-add.md +57 -0
- package/docs/docs/cmd/spo/file/file-roleassignment-remove.md +54 -0
- package/docs/docs/cmd/spo/file/file-roleinheritance-break.md +54 -0
- package/docs/docs/cmd/spo/file/file-roleinheritance-reset.md +39 -0
- package/docs/docs/cmd/spo/file/file-version-clear.md +55 -0
- package/docs/docs/cmd/spo/file/file-version-get.md +76 -0
- package/docs/docs/cmd/spo/file/file-version-list.md +76 -0
- package/docs/docs/cmd/spo/file/file-version-remove.md +58 -0
- package/docs/docs/cmd/spo/file/file-version-restore.md +58 -0
- package/docs/docs/cmd/spo/folder/folder-get.md +24 -4
- package/docs/docs/cmd/spo/folder/folder-list.md +45 -0
- package/docs/docs/cmd/spo/folder/folder-roleassignment-add.md +59 -0
- package/docs/docs/cmd/spo/folder/folder-roleassignment-remove.md +57 -0
- package/docs/docs/cmd/spo/folder/folder-roleinheritance-break.md +45 -0
- package/docs/docs/cmd/spo/folder/folder-roleinheritance-reset.md +42 -0
- package/docs/docs/cmd/spo/group/group-list.md +10 -1
- package/docs/docs/cmd/spo/group/{group-user-add.md → group-member-add.md} +11 -11
- package/docs/docs/cmd/spo/group/{group-user-list.md → group-member-list.md} +5 -5
- package/docs/docs/cmd/spo/group/group-member-remove.md +39 -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-connect.md +36 -14
- package/docs/docs/cmd/spo/hubsite/hubsite-data-get.md +57 -3
- package/docs/docs/cmd/spo/hubsite/hubsite-disconnect.md +28 -12
- package/docs/docs/cmd/spo/hubsite/hubsite-get.md +92 -3
- package/docs/docs/cmd/spo/hubsite/hubsite-list.md +94 -0
- package/docs/docs/cmd/spo/hubsite/hubsite-register.md +55 -2
- package/docs/docs/cmd/spo/hubsite/hubsite-rights-grant.md +6 -5
- package/docs/docs/cmd/spo/hubsite/hubsite-rights-revoke.md +6 -5
- package/docs/docs/cmd/spo/hubsite/hubsite-set.md +47 -5
- package/docs/docs/cmd/spo/hubsite/hubsite-unregister.md +6 -2
- 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 +102 -6
- package/docs/docs/cmd/spo/list/list-contenttype-default-set.md +20 -7
- package/docs/docs/cmd/spo/list/list-contenttype-list.md +75 -6
- package/docs/docs/cmd/spo/list/list-contenttype-remove.md +20 -7
- 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 +14 -10
- package/docs/docs/cmd/spo/list/list-roleassignment-remove.md +13 -9
- package/docs/docs/cmd/spo/list/list-roleinheritance-break.md +24 -8
- package/docs/docs/cmd/spo/list/list-roleinheritance-reset.md +27 -5
- package/docs/docs/cmd/spo/list/list-set.md +22 -6
- 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 +17 -4
- package/docs/docs/cmd/spo/list/list-view-field-remove.md +15 -2
- package/docs/docs/cmd/spo/list/list-view-field-set.md +21 -2
- package/docs/docs/cmd/spo/list/list-view-get.md +121 -0
- package/docs/docs/cmd/spo/list/list-view-list.md +94 -7
- package/docs/docs/cmd/spo/list/list-view-remove.md +16 -3
- package/docs/docs/cmd/spo/list/list-view-set.md +24 -6
- package/docs/docs/cmd/spo/list/list-webhook-add.md +48 -16
- package/docs/docs/cmd/spo/list/list-webhook-get.md +49 -7
- package/docs/docs/cmd/spo/list/list-webhook-list.md +45 -10
- package/docs/docs/cmd/spo/list/list-webhook-remove.md +16 -10
- package/docs/docs/cmd/spo/list/list-webhook-set.md +21 -12
- package/docs/docs/cmd/spo/listitem/listitem-add.md +70 -2
- package/docs/docs/cmd/spo/listitem/listitem-attachment-list.md +45 -2
- package/docs/docs/cmd/spo/listitem/listitem-batch-add.md +61 -0
- package/docs/docs/cmd/spo/listitem/listitem-get.md +198 -5
- package/docs/docs/cmd/spo/listitem/listitem-isrecord.md +31 -2
- package/docs/docs/cmd/spo/listitem/listitem-list.md +58 -8
- package/docs/docs/cmd/spo/listitem/listitem-record-declare.md +36 -4
- package/docs/docs/cmd/spo/listitem/listitem-record-undeclare.md +15 -2
- package/docs/docs/cmd/spo/listitem/listitem-remove.md +15 -2
- package/docs/docs/cmd/spo/listitem/listitem-roleassignment-add.md +85 -0
- package/docs/docs/cmd/spo/listitem/listitem-roleassignment-remove.md +13 -9
- package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-break.md +20 -4
- package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-reset.md +18 -2
- package/docs/docs/cmd/spo/listitem/listitem-set.md +66 -4
- 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-clientsidewebpart-add.md +14 -19
- package/docs/docs/cmd/spo/page/page-control-set.md +2 -1
- package/docs/docs/cmd/spo/page/page-set.md +15 -2
- package/docs/docs/cmd/spo/roledefinition/roledefinition-add.md +43 -0
- 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/site/site-add.md +2 -5
- package/docs/docs/cmd/spo/site/site-apppermission-add.md +1 -1
- package/docs/docs/cmd/spo/site/site-apppermission-set.md +1 -1
- package/docs/docs/cmd/spo/site/site-groupify.md +0 -6
- package/docs/docs/cmd/spo/site/site-hubsite-connect.md +37 -0
- package/docs/docs/cmd/spo/site/site-hubsite-disconnect.md +37 -0
- package/docs/docs/cmd/spo/site/site-hubsite-theme-sync.md +28 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-get.md +2 -2
- package/docs/docs/cmd/spo/spo-get.md +23 -0
- package/docs/docs/cmd/spo/spo-search.md +29 -0
- package/docs/docs/cmd/spo/spo-set.md +4 -0
- package/docs/docs/cmd/spo/term/term-add.md +5 -0
- package/docs/docs/cmd/spo/term/term-set-add.md +6 -1
- package/docs/docs/cmd/spo/user/user-get.md +49 -2
- package/docs/docs/cmd/spo/user/user-list.md +41 -0
- package/docs/docs/cmd/spo/user/user-remove.md +4 -0
- package/docs/docs/cmd/spo/userprofile/userprofile-get.md +586 -0
- package/docs/docs/cmd/spo/userprofile/userprofile-set.md +4 -0
- package/docs/docs/cmd/spo/web/web-add.md +43 -0
- package/docs/docs/cmd/spo/web/web-clientsidewebpart-list.md +29 -0
- package/docs/docs/cmd/spo/web/web-get.md +385 -2
- package/docs/docs/cmd/spo/web/web-installedlanguage-list.md +29 -0
- package/docs/docs/cmd/spo/web/web-list.md +81 -0
- package/docs/docs/cmd/spo/web/web-reindex.md +4 -0
- package/docs/docs/cmd/spo/web/web-remove.md +4 -0
- package/docs/docs/cmd/spo/web/web-roleassignment-add.md +15 -11
- package/docs/docs/cmd/spo/web/web-roleassignment-remove.md +13 -9
- package/docs/docs/cmd/spo/web/web-roleinheritance-break.md +44 -0
- package/docs/docs/cmd/spo/web/web-roleinheritance-reset.md +14 -1
- package/docs/docs/cmd/spo/web/web-set.md +4 -0
- package/docs/docs/cmd/teams/app/app-install.md +4 -0
- package/docs/docs/cmd/teams/app/app-list.md +30 -0
- package/docs/docs/cmd/teams/app/app-publish.md +31 -1
- package/docs/docs/cmd/teams/app/app-remove.md +4 -0
- package/docs/docs/cmd/teams/app/app-uninstall.md +4 -0
- package/docs/docs/cmd/teams/app/app-update.md +4 -0
- package/docs/docs/cmd/teams/cache/cache-remove.md +5 -1
- package/docs/docs/cmd/teams/channel/channel-add.md +42 -5
- package/docs/docs/cmd/teams/channel/channel-get.md +46 -7
- package/docs/docs/cmd/teams/channel/channel-list.md +36 -1
- package/docs/docs/cmd/teams/channel/channel-member-add.md +9 -11
- package/docs/docs/cmd/teams/channel/channel-member-list.md +37 -6
- package/docs/docs/cmd/teams/channel/channel-member-remove.md +5 -7
- package/docs/docs/cmd/teams/channel/channel-member-set.md +37 -2
- package/docs/docs/cmd/teams/channel/channel-remove.md +16 -9
- package/docs/docs/cmd/teams/channel/channel-set.md +16 -6
- package/docs/docs/cmd/teams/chat/chat-get.md +42 -0
- package/docs/docs/cmd/teams/chat/chat-list.md +38 -0
- package/docs/docs/cmd/teams/chat/chat-member-list.md +35 -0
- package/docs/docs/cmd/teams/chat/chat-message-list.md +60 -0
- package/docs/docs/cmd/teams/chat/chat-message-send.md +4 -0
- package/docs/docs/cmd/teams/funsettings/funsettings-list.md +29 -0
- package/docs/docs/cmd/teams/funsettings/funsettings-set.md +10 -6
- package/docs/docs/cmd/teams/guestsettings/guestsettings-list.md +25 -0
- package/docs/docs/cmd/teams/guestsettings/guestsettings-set.md +4 -0
- package/docs/docs/cmd/teams/meeting/meeting-get.md +159 -0
- package/docs/docs/cmd/teams/meeting/meeting-list.md +149 -0
- package/docs/docs/cmd/teams/membersettings/membersettings-list.md +33 -0
- package/docs/docs/cmd/teams/membersettings/membersettings-set.md +4 -0
- package/docs/docs/cmd/teams/message/message-get.md +80 -0
- package/docs/docs/cmd/teams/message/message-list.md +63 -0
- package/docs/docs/cmd/teams/message/message-reply-list.md +63 -0
- package/docs/docs/cmd/teams/messagingsettings/messagingsettings-list.md +31 -0
- package/docs/docs/cmd/teams/messagingsettings/messagingsettings-set.md +4 -0
- package/docs/docs/cmd/teams/report/report-deviceusagedistributionusercounts.md +35 -0
- package/docs/docs/cmd/teams/report/report-deviceusageusercounts.md +36 -0
- package/docs/docs/cmd/teams/report/report-deviceusageuserdetail.md +41 -0
- package/docs/docs/cmd/teams/report/report-directroutingcalls.md +49 -0
- package/docs/docs/cmd/teams/report/report-pstncalls.md +49 -0
- package/docs/docs/cmd/teams/report/report-useractivitycounts.md +39 -0
- package/docs/docs/cmd/teams/report/report-useractivityusercounts.md +33 -0
- package/docs/docs/cmd/teams/report/report-useractivityuserdetail.md +58 -0
- package/docs/docs/cmd/teams/tab/tab-add.md +35 -0
- package/docs/docs/cmd/teams/tab/tab-get.md +35 -0
- package/docs/docs/cmd/teams/tab/tab-list.md +43 -0
- package/docs/docs/cmd/teams/tab/tab-remove.md +4 -0
- package/docs/docs/cmd/teams/team/team-add.md +145 -0
- package/docs/docs/cmd/teams/team/team-archive.md +7 -3
- package/docs/docs/cmd/teams/team/team-clone.md +4 -3
- package/docs/docs/cmd/teams/team/team-get.md +78 -0
- package/docs/docs/cmd/teams/team/team-list.md +30 -0
- package/docs/docs/cmd/teams/team/team-remove.md +7 -3
- package/docs/docs/cmd/teams/team/team-set.md +4 -3
- package/docs/docs/cmd/teams/team/team-unarchive.md +5 -2
- package/docs/docs/cmd/teams/user/user-app-add.md +4 -0
- package/docs/docs/cmd/teams/user/user-app-list.md +40 -0
- package/docs/docs/cmd/teams/user/user-app-remove.md +4 -0
- package/docs/docs/cmd/teams/user/user-list.md +31 -0
- package/docs/docs/cmd/tenant/id/id-get.md +20 -0
- package/docs/docs/cmd/tenant/report/report-activeusercounts.md +35 -0
- package/docs/docs/cmd/tenant/report/report-activeuserdetail.md +49 -0
- package/docs/docs/cmd/tenant/report/report-office365activationcounts.md +32 -0
- package/docs/docs/cmd/tenant/report/report-office365activationsusercounts.md +30 -0
- package/docs/docs/cmd/tenant/report/report-office365activationsuserdetail.md +36 -0
- package/docs/docs/cmd/tenant/report/report-servicesusercounts.md +41 -0
- package/docs/docs/cmd/tenant/security/security-alerts-list.md +106 -1
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-health-get.md +88 -1
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-health-list.md +92 -1
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-healthissue-get.md +62 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-healthissue-list.md +51 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-get.md +64 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-list.md +52 -0
- package/docs/docs/cmd/todo/list/list-add.md +32 -1
- package/docs/docs/cmd/todo/list/list-get.md +61 -0
- package/docs/docs/cmd/todo/list/list-list.md +31 -0
- package/docs/docs/cmd/todo/list/list-remove.md +10 -6
- package/docs/docs/cmd/todo/list/list-set.md +9 -5
- package/docs/docs/cmd/todo/task/task-add.md +88 -5
- package/docs/docs/cmd/todo/task/task-get.md +75 -0
- package/docs/docs/cmd/todo/task/task-list.md +47 -0
- package/docs/docs/cmd/todo/task/task-remove.md +9 -4
- package/docs/docs/cmd/todo/task/task-set.md +88 -7
- package/docs/docs/cmd/util/accesstoken/accesstoken-get.md +20 -0
- package/docs/docs/cmd/viva/connections/connections-app-create.md +4 -0
- package/docs/docs/cmd/yammer/group/group-list.md +65 -0
- package/docs/docs/cmd/yammer/group/group-user-add.md +4 -0
- package/docs/docs/cmd/yammer/group/group-user-remove.md +4 -0
- package/docs/docs/cmd/yammer/message/message-add.md +55 -0
- package/docs/docs/cmd/yammer/message/message-get.md +64 -0
- package/docs/docs/cmd/yammer/message/message-like-set.md +4 -0
- package/docs/docs/cmd/yammer/message/message-list.md +60 -0
- package/docs/docs/cmd/yammer/message/message-remove.md +4 -0
- package/docs/docs/cmd/yammer/network/network-list.md +96 -0
- package/docs/docs/cmd/yammer/report/report-activitycounts.md +31 -0
- package/docs/docs/cmd/yammer/report/report-activityusercounts.md +31 -0
- package/docs/docs/cmd/yammer/report/report-activityuserdetail.md +36 -0
- package/docs/docs/cmd/yammer/report/report-deviceusagedistributionusercounts.md +33 -0
- package/docs/docs/cmd/yammer/report/report-deviceusageusercounts.md +34 -0
- package/docs/docs/cmd/yammer/report/report-deviceusageuserdetail.md +38 -0
- package/docs/docs/cmd/yammer/report/report-groupsactivitycounts.md +31 -0
- package/docs/docs/cmd/yammer/report/report-groupsactivitydetail.md +37 -0
- package/docs/docs/cmd/yammer/report/report-groupsactivitygroupcounts.md +30 -0
- package/docs/docs/cmd/yammer/user/user-get.md +99 -0
- package/docs/docs/cmd/yammer/user/user-list.md +97 -0
- package/docs/docs/cmd/yammer/yammer-search.md +77 -0
- package/npm-shrinkwrap.json +405 -442
- package/package.json +43 -25
- package/dist/cli/index.js +0 -21
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN006006_CFG_PS_features.js +0 -60
- package/dist/m365/spo/commands/group/group-user-list.js +0 -88
- package/dist/m365/spo/commands/group/group-user-remove.js +0 -114
- package/dist/m365/spo/commands/hubsite/hubsite-theme-sync.js +0 -59
- package/dist/utils/index.js +0 -31
- package/docs/docs/cmd/spo/group/group-user-remove.md +0 -39
- package/docs/docs/cmd/spo/hubsite/hubsite-theme-sync.md +0 -33
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# spo file roleinheritance break
|
|
2
|
+
|
|
3
|
+
Breaks inheritance of a file. Keeping existing permissions is the default behavior.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 spo file roleinheritance break [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-u, --webUrl <webUrl>`
|
|
14
|
+
: URL of the site where the file is located
|
|
15
|
+
|
|
16
|
+
`--fileUrl [fileUrl]`
|
|
17
|
+
: The server-relative URL of the file. Specify either `fileUrl` or `fileId` but not both
|
|
18
|
+
|
|
19
|
+
`i, --fileId [fileId]`
|
|
20
|
+
: The UniqueId (GUID) of the file. Specify either `fileUrl` or `fileId` but not both
|
|
21
|
+
|
|
22
|
+
`-c, --clearExistingPermissions`
|
|
23
|
+
: Clear all existing permissions from the file
|
|
24
|
+
|
|
25
|
+
`--confirm`
|
|
26
|
+
: Don't prompt for confirmation
|
|
27
|
+
|
|
28
|
+
--8<-- "docs/cmd/_global.md"
|
|
29
|
+
|
|
30
|
+
## Examples
|
|
31
|
+
|
|
32
|
+
Break the inheritance of a file with a specific id (UniqueId).
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
m365 spo file roleinheritance break --webUrl "https://contoso.sharepoint.com/sites/project-x" --fileId "b2307a39-e878-458b-bc90-03bc578531d6"
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Break the inheritance of a file with a specific id (UniqueId) and clear all existing permissions.
|
|
39
|
+
|
|
40
|
+
```sh
|
|
41
|
+
m365 spo file roleinheritance break --webUrl "https://contoso.sharepoint.com/sites/project-x" --fileId "b2307a39-e878-458b-bc90-03bc578531d6" --clearExistingPermissions
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
Break the inheritance of a file with a specific server-relative URL.
|
|
45
|
+
|
|
46
|
+
```sh
|
|
47
|
+
m365 spo file roleinheritance break --webUrl "https://contoso.sharepoint.com/sites/project-x" --fileUrl "/sites/project-x/documents/Test1.docx"
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Break the inheritance of a file with a specific server-relative URL and clear all existing permissions.
|
|
51
|
+
|
|
52
|
+
```sh
|
|
53
|
+
m365 spo file roleinheritance break --webUrl "https://contoso.sharepoint.com/sites/project-x" --fileUrl "/sites/project-x/documents/Test1.docx" --clearExistingPermissions
|
|
54
|
+
```
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# spo file roleinheritance reset
|
|
2
|
+
|
|
3
|
+
Restores the role inheritance of a file
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 spo file roleinheritance reset [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-u, --webUrl <webUrl>`
|
|
14
|
+
: URL of the site where the file is located
|
|
15
|
+
|
|
16
|
+
`--fileUrl [fileUrl]`
|
|
17
|
+
: The server-relative URL of the file to retrieve. Specify either `fileUrl` or `fileId` but not both
|
|
18
|
+
|
|
19
|
+
`i, --fileId [fileId]`
|
|
20
|
+
: The UniqueId (GUID) of the file to retrieve. Specify either `fileUrl` or `fileId` but not both
|
|
21
|
+
|
|
22
|
+
`--confirm`
|
|
23
|
+
: Don't prompt for confirmation
|
|
24
|
+
|
|
25
|
+
--8<-- "docs/cmd/_global.md"
|
|
26
|
+
|
|
27
|
+
## Examples
|
|
28
|
+
|
|
29
|
+
Reset inheritance of file with id (UniqueId) _b2307a39-e878-458b-bc90-03bc578531d6_ located in site _https://contoso.sharepoint.com/sites/project-x_
|
|
30
|
+
|
|
31
|
+
```sh
|
|
32
|
+
m365 spo file roleinheritance reset --webUrl "https://contoso.sharepoint.com/sites/project-x" --fileId "b2307a39-e878-458b-bc90-03bc578531d6"
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Reset inheritance of file with server-relative url _/sites/project-x/documents/Test1_.docx located in site _https://contoso.sharepoint.com/sites/project-x_. It will **not** prompt for confirmation before resetting.
|
|
36
|
+
|
|
37
|
+
```sh
|
|
38
|
+
m365 spo file roleinheritance reset --webUrl "https://contoso.sharepoint.com/sites/project-x" --fileUrl "/sites/project-x/documents/Test1.docx" --confirm
|
|
39
|
+
```
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# spo file version clear
|
|
2
|
+
|
|
3
|
+
Removes all version history of a specified file
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 spo file version clear [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-w, --webUrl <webUrl>`
|
|
14
|
+
: The URL of the site where the file is located
|
|
15
|
+
|
|
16
|
+
`-u, --fileUrl [fileUrl]`
|
|
17
|
+
: The server-relative URL of the file to retrieve. Specify either `fileUrl` or `fileId` but not both
|
|
18
|
+
|
|
19
|
+
`-i, --fileId [fileId]`
|
|
20
|
+
: The UniqueId (GUID) of the file to retrieve. Specify either `fileUrl` or `fileId` but not both
|
|
21
|
+
|
|
22
|
+
`--confirm [confirm]`
|
|
23
|
+
: Don't prompt for confirmation.
|
|
24
|
+
|
|
25
|
+
--8<-- "docs/cmd/_global.md"
|
|
26
|
+
|
|
27
|
+
## Examples
|
|
28
|
+
|
|
29
|
+
Removes all file version history in a specific site based on fileId and prompts for confirmation
|
|
30
|
+
|
|
31
|
+
```sh
|
|
32
|
+
m365 spo file version clear --webUrl https://contoso.sharepoint.com --fileId 'b2307a39-e878-458b-bc90-03bc578531d6'
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Removes all file version history in a specific site based on fileUrl and prompts for confirmation
|
|
36
|
+
|
|
37
|
+
```sh
|
|
38
|
+
m365 spo file version clear --webUrl https://contoso.sharepoint.com --fileUrl '/Shared Documents/Document.docx'
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Removes all file version history in a specific site based on fileId without prompting for confirmation
|
|
42
|
+
|
|
43
|
+
```sh
|
|
44
|
+
m365 spo file version clear --webUrl https://contoso.sharepoint.com --fileId 'b2307a39-e878-458b-bc90-03bc578531d6' --confirm
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Removes all file version history in a specific site based on fileUrl without prompting for confirmation
|
|
48
|
+
|
|
49
|
+
```sh
|
|
50
|
+
m365 spo file version clear --webUrl https://contoso.sharepoint.com --fileUrl '/Shared Documents/Document.docx' --confirm
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## Response
|
|
54
|
+
|
|
55
|
+
The command won't return a response on success.
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# spo file version get
|
|
2
|
+
|
|
3
|
+
Gets information about a specific version of a specified file
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 spo file version get [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-w, --webUrl <webUrl>`
|
|
14
|
+
: The URL of the site where the file is located
|
|
15
|
+
|
|
16
|
+
`--label <label>`
|
|
17
|
+
: Label of version which will be retrieved
|
|
18
|
+
|
|
19
|
+
`-u, --fileUrl [fileUrl]`
|
|
20
|
+
: The server-relative URL of the file to retrieve. Specify either `fileUrl` or `fileId` but not both
|
|
21
|
+
|
|
22
|
+
`-i, --fileId [fileId]`
|
|
23
|
+
: The UniqueId (GUID) of the file to retrieve. Specify either `fileUrl` or `fileId` but not both
|
|
24
|
+
|
|
25
|
+
--8<-- "docs/cmd/_global.md"
|
|
26
|
+
|
|
27
|
+
## Examples
|
|
28
|
+
|
|
29
|
+
Get file version in a specific site based on fileId
|
|
30
|
+
|
|
31
|
+
```sh
|
|
32
|
+
m365 spo file version get --webUrl https://contoso.sharepoint.com --label "1.0" --fileId 'b2307a39-e878-458b-bc90-03bc578531d6'
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Get file in a specific site based on fileUrl
|
|
36
|
+
|
|
37
|
+
```sh
|
|
38
|
+
m365 spo file version get --webUrl https://contoso.sharepoint.com --label "1.0" --fileUrl '/Shared Documents/Document.docx'
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Response
|
|
42
|
+
|
|
43
|
+
=== "JSON"
|
|
44
|
+
|
|
45
|
+
```json
|
|
46
|
+
{
|
|
47
|
+
"CheckInComment": "",
|
|
48
|
+
"Created": "2022-10-30T12:03:06Z",
|
|
49
|
+
"ID": 512,
|
|
50
|
+
"IsCurrentVersion": false,
|
|
51
|
+
"Length": "18898",
|
|
52
|
+
"Size": 18898,
|
|
53
|
+
"Url": "_vti_history/512/Shared Documents/Document.docx",
|
|
54
|
+
"VersionLabel": "1.0"
|
|
55
|
+
}
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
=== "Text"
|
|
59
|
+
|
|
60
|
+
```text
|
|
61
|
+
CheckInComment :
|
|
62
|
+
Created : 2022-10-30T12:03:06Z
|
|
63
|
+
ID : 512
|
|
64
|
+
IsCurrentVersion: false
|
|
65
|
+
Length : 18898
|
|
66
|
+
Size : 18898
|
|
67
|
+
Url : _vti_history/512/Shared Documents/Document.docx
|
|
68
|
+
VersionLabel : 1.0
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
=== "CSV"
|
|
72
|
+
|
|
73
|
+
```csv
|
|
74
|
+
CheckInComment,Created,ID,IsCurrentVersion,Length,Size,Url,VersionLabel
|
|
75
|
+
,2022-10-30T12:03:06Z,512,,18898,18898,_vti_history/512/Shared Documents/Document.docx,1.0
|
|
76
|
+
```
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# spo file version list
|
|
2
|
+
|
|
3
|
+
Retrieves all versions of a file
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 spo file version list [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-w, --webUrl <webUrl>`
|
|
14
|
+
: The URL of the site where the file is located
|
|
15
|
+
|
|
16
|
+
`-u, --fileUrl [fileUrl]`
|
|
17
|
+
: The site-relative or server-relative URL of the file. Specify either `fileUrl` or `fileId` but not both
|
|
18
|
+
|
|
19
|
+
`-i, --fileId [fileId]`
|
|
20
|
+
: The UniqueId (GUID) of the file. Specify either `fileUrl` or `fileId` but not both
|
|
21
|
+
|
|
22
|
+
--8<-- "docs/cmd/_global.md"
|
|
23
|
+
|
|
24
|
+
## Examples
|
|
25
|
+
|
|
26
|
+
List file versions of a specific file based on the ID of the file
|
|
27
|
+
|
|
28
|
+
```sh
|
|
29
|
+
m365 spo file version list --webUrl https://contoso.sharepoint.com --fileId 'b2307a39-e878-458b-bc90-03bc578531d6'
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
List file versions of a specific file based on the site-relative URL of the file
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
m365 spo file version list --webUrl https://contoso.sharepoint.com --fileUrl '/Shared Documents/Document.docx'
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
List file versions of a specific file based on the server-relative URL of the file
|
|
39
|
+
|
|
40
|
+
```sh
|
|
41
|
+
m365 spo file version list --webUrl https://contoso.sharepoint.com/sites/project-x --fileUrl '/sites/project-x/Shared Documents/Document.docx'
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## Response
|
|
45
|
+
|
|
46
|
+
=== "JSON"
|
|
47
|
+
|
|
48
|
+
```json
|
|
49
|
+
[
|
|
50
|
+
{
|
|
51
|
+
"CheckInComment": "",
|
|
52
|
+
"Created": "2022-10-30T12:03:06Z",
|
|
53
|
+
"ID": 512,
|
|
54
|
+
"IsCurrentVersion": false,
|
|
55
|
+
"Length": "18898",
|
|
56
|
+
"Size": 18898,
|
|
57
|
+
"Url": "_vti_history/512/Shared Documents/Document.docx",
|
|
58
|
+
"VersionLabel": "1.0"
|
|
59
|
+
}
|
|
60
|
+
]
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
=== "Text"
|
|
64
|
+
|
|
65
|
+
```text
|
|
66
|
+
Created ID IsCurrentVersion VersionLabel
|
|
67
|
+
-------------------- ---- ---------------- ------------
|
|
68
|
+
2022-10-30T12:03:06Z 512 false 1.0
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
=== "CSV"
|
|
72
|
+
|
|
73
|
+
```csv
|
|
74
|
+
Created,ID,IsCurrentVersion,VersionLabel
|
|
75
|
+
2022-10-30T12:03:06Z,512,false,1.0
|
|
76
|
+
```
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# spo file version remove
|
|
2
|
+
|
|
3
|
+
Removes a specific version of a specified file
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 spo file version remove [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-w, --webUrl <webUrl>`
|
|
14
|
+
: The URL of the site where the file is located
|
|
15
|
+
|
|
16
|
+
`--label <label>`
|
|
17
|
+
: Label of version which will be removed
|
|
18
|
+
|
|
19
|
+
`-u, --fileUrl [fileUrl]`
|
|
20
|
+
: The server-relative URL of the file to retrieve. Specify either `fileUrl` or `fileId` but not both
|
|
21
|
+
|
|
22
|
+
`-i, --fileId [fileId]`
|
|
23
|
+
: The UniqueId (GUID) of the file to retrieve. Specify either `fileUrl` or `fileId` but not both
|
|
24
|
+
|
|
25
|
+
`--confirm [confirm]`
|
|
26
|
+
: Don't prompt for confirmation.
|
|
27
|
+
|
|
28
|
+
--8<-- "docs/cmd/_global.md"
|
|
29
|
+
|
|
30
|
+
## Examples
|
|
31
|
+
|
|
32
|
+
Removes a file version in a specific site based on fileId and prompts for confirmation
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
m365 spo file version remove --webUrl https://contoso.sharepoint.com --label "1.0" --fileId 'b2307a39-e878-458b-bc90-03bc578531d6'
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Removes a file version in a specific site based on fileUrl and prompts for confirmation
|
|
39
|
+
|
|
40
|
+
```sh
|
|
41
|
+
m365 spo file version remove --webUrl https://contoso.sharepoint.com --label "1.0" --fileUrl '/Shared Documents/Document.docx'
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
Removes a file version in a specific site based on fileId without prompting for confirmation
|
|
45
|
+
|
|
46
|
+
```sh
|
|
47
|
+
m365 spo file version remove --webUrl https://contoso.sharepoint.com --label "1.0" --fileId 'b2307a39-e878-458b-bc90-03bc578531d6' --confirm
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Removes a file version in a specific site based on fileUrl without prompting for confirmation
|
|
51
|
+
|
|
52
|
+
```sh
|
|
53
|
+
m365 spo file version remove --webUrl https://contoso.sharepoint.com --label "1.0" --fileUrl '/Shared Documents/Document.docx' --confirm
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## Response
|
|
57
|
+
|
|
58
|
+
The command won't return a response on success.
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# spo file version restore
|
|
2
|
+
|
|
3
|
+
Restores a specific version of a specified file
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 spo file version restore [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-w, --webUrl <webUrl>`
|
|
14
|
+
: The URL of the site where the file is located
|
|
15
|
+
|
|
16
|
+
`--label <label>`
|
|
17
|
+
: Label of version which will be restored
|
|
18
|
+
|
|
19
|
+
`-u, --fileUrl [fileUrl]`
|
|
20
|
+
: The server-relative URL of the file whose version will be restored. Specify either `fileUrl` or `fileId` but not both
|
|
21
|
+
|
|
22
|
+
`-i, --fileId [fileId]`
|
|
23
|
+
: The UniqueId (GUID) of the file whose version will be restored. Specify either `fileUrl` or `fileId` but not both
|
|
24
|
+
|
|
25
|
+
`--confirm [confirm]`
|
|
26
|
+
: Don't prompt for confirmation.
|
|
27
|
+
|
|
28
|
+
--8<-- "docs/cmd/_global.md"
|
|
29
|
+
|
|
30
|
+
## Examples
|
|
31
|
+
|
|
32
|
+
Restores a file version in a specific site based on fileId and prompts for confirmation
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
m365 spo file version restore --webUrl https://contoso.sharepoint.com --label "1.0" --fileId 'b2307a39-e878-458b-bc90-03bc578531d6'
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Restores a file version in a specific site based on fileUrl and prompts for confirmation
|
|
39
|
+
|
|
40
|
+
```sh
|
|
41
|
+
m365 spo file version restore --webUrl https://contoso.sharepoint.com --label "1.0" --fileUrl '/Shared Documents/Document.docx'
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
Restores a file version in a specific site based on fileId without prompting for confirmation
|
|
45
|
+
|
|
46
|
+
```sh
|
|
47
|
+
m365 spo file version restore --webUrl https://contoso.sharepoint.com --label "1.0" --fileId 'b2307a39-e878-458b-bc90-03bc578531d6' --confirm
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Restores a file version in a specific site based on fileUrl without prompting for confirmation
|
|
51
|
+
|
|
52
|
+
```sh
|
|
53
|
+
m365 spo file version restore --webUrl https://contoso.sharepoint.com --label "1.0" --fileUrl '/Shared Documents/Document.docx' --confirm
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## Response
|
|
57
|
+
|
|
58
|
+
The command won't return a response on success.
|
|
@@ -13,8 +13,14 @@ m365 spo folder get [options]
|
|
|
13
13
|
`-u, --webUrl <webUrl>`
|
|
14
14
|
: The URL of the site where the folder is located
|
|
15
15
|
|
|
16
|
-
`-f, --url
|
|
17
|
-
:
|
|
16
|
+
`-f, --url [url]`
|
|
17
|
+
: The server-relative URL of the folder to retrieve. Specify either `folderUrl` or `id` but not both
|
|
18
|
+
|
|
19
|
+
`-i, --id [id]`
|
|
20
|
+
: The UniqueId (GUID) of the folder to retrieve. Specify either `url` or `id` but not both
|
|
21
|
+
|
|
22
|
+
`--withPermissions`
|
|
23
|
+
: Set if you want to return associated roles and permissions of the folder.
|
|
18
24
|
|
|
19
25
|
--8<-- "docs/cmd/_global.md"
|
|
20
26
|
|
|
@@ -22,10 +28,24 @@ m365 spo folder get [options]
|
|
|
22
28
|
|
|
23
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.
|
|
24
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
|
+
|
|
25
33
|
## Examples
|
|
26
34
|
|
|
27
|
-
Get folder properties for folder with
|
|
35
|
+
Get folder properties for folder with server-relative url _'/Shared Documents'_ located in site _https://contoso.sharepoint.com/sites/project-x_
|
|
36
|
+
|
|
37
|
+
```sh
|
|
38
|
+
m365 spo folder get --webUrl https://contoso.sharepoint.com/sites/project-x --url "/Shared Documents"
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Get folder properties for folder with id (UniqueId) _b2307a39-e878-458b-bc90-03bc578531d6_ located in site _https://contoso.sharepoint.com/sites/project-x_
|
|
42
|
+
|
|
43
|
+
```sh
|
|
44
|
+
m365 spo folder get --webUrl https://contoso.sharepoint.com/sites/project-x --id "b2307a39-e878-458b-bc90-03bc578531d6"
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Get folder properties for folder with server-relative url _'/Shared Documents/Test1'_ located in site _https://contoso.sharepoint.com/sites/test
|
|
28
48
|
|
|
29
49
|
```sh
|
|
30
|
-
m365 spo folder get --webUrl https://contoso.sharepoint.com/sites/
|
|
50
|
+
m365 spo folder get --webUrl https://contoso.sharepoint.com/sites/test --url "Shared Documents/Test1" --withPermissions
|
|
31
51
|
```
|
|
@@ -16,6 +16,9 @@ m365 spo folder list [options]
|
|
|
16
16
|
`-p, --parentFolderUrl <parentFolderUrl>`
|
|
17
17
|
: Site-relative URL of the parent folder
|
|
18
18
|
|
|
19
|
+
`-r, --recursive`
|
|
20
|
+
: Set to retrieve nested folders
|
|
21
|
+
|
|
19
22
|
--8<-- "docs/cmd/_global.md"
|
|
20
23
|
|
|
21
24
|
## Examples
|
|
@@ -25,3 +28,45 @@ Gets list of folders under a parent folder with site-relative url _/Shared Docum
|
|
|
25
28
|
```sh
|
|
26
29
|
m365 spo folder list --webUrl https://contoso.sharepoint.com/sites/project-x --parentFolderUrl '/Shared Documents'
|
|
27
30
|
```
|
|
31
|
+
|
|
32
|
+
Gets recursive list of folders under a specific folder on a specific site
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
m365 spo folder list --webUrl https://contoso.sharepoint.com/sites/project-x --parentFolderUrl '/Shared Documents' --recursive
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Response
|
|
39
|
+
|
|
40
|
+
=== "JSON"
|
|
41
|
+
|
|
42
|
+
```json
|
|
43
|
+
[
|
|
44
|
+
{
|
|
45
|
+
"Exists": true,
|
|
46
|
+
"IsWOPIEnabled": false,
|
|
47
|
+
"ItemCount": 9,
|
|
48
|
+
"Name": "Folder A",
|
|
49
|
+
"ProgID": null,
|
|
50
|
+
"ServerRelativeUrl": "/Shared Documents/Folder A",
|
|
51
|
+
"TimeCreated": "2022-04-26T12:30:56Z",
|
|
52
|
+
"TimeLastModified": "2022-04-26T12:50:14Z",
|
|
53
|
+
"UniqueId": "20523746-971b-4488-aa6d-b45d645f61c5",
|
|
54
|
+
"WelcomePage": ""
|
|
55
|
+
}
|
|
56
|
+
]
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
=== "Text"
|
|
60
|
+
|
|
61
|
+
```text
|
|
62
|
+
Name ServerRelativeUrl
|
|
63
|
+
------- -------------------------
|
|
64
|
+
Folder A /Shared Documents/Folder A
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
=== "CSV"
|
|
68
|
+
|
|
69
|
+
```csv
|
|
70
|
+
Name,ServerRelativeUrl
|
|
71
|
+
Folder A,/Shared Documents/Folder A
|
|
72
|
+
```
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# spo folder roleassignment add
|
|
2
|
+
|
|
3
|
+
Adds a role assignment from the specified folder.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 spo folder roleassignment add [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-u, --webUrl <webUrl>`
|
|
14
|
+
: The URL of the site where the folder is located.
|
|
15
|
+
|
|
16
|
+
`-f, --folderUrl <folderUrl>`
|
|
17
|
+
: The server- or site-relative URL of the folder.
|
|
18
|
+
|
|
19
|
+
`--principalId [principalId]`
|
|
20
|
+
: 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.
|
|
21
|
+
|
|
22
|
+
`--upn [upn]`
|
|
23
|
+
: The upn/email of the user. Specify either upn, groupName or principalId but not multiple.
|
|
24
|
+
|
|
25
|
+
`--groupName [groupName]`
|
|
26
|
+
: The Azure AD or SharePoint group name. Specify either upn, groupName or principalId but not multiple.
|
|
27
|
+
|
|
28
|
+
`--roleDefinitionId [roleDefinitionId]`
|
|
29
|
+
: ID of the role definition. Specify either roleDefinitionId or roleDefinitionName but not both.
|
|
30
|
+
|
|
31
|
+
`--roleDefinitionName [roleDefinitionName]`
|
|
32
|
+
: The name of the role definition. E.g. 'Contribute', 'Read'. Specify either roleDefinitionId or roleDefinitionName but not both
|
|
33
|
+
|
|
34
|
+
--8<-- "docs/cmd/_global.md"
|
|
35
|
+
|
|
36
|
+
## Examples
|
|
37
|
+
|
|
38
|
+
Add the role assignment to the specified folder based on the group name and role definition name.
|
|
39
|
+
|
|
40
|
+
```sh
|
|
41
|
+
m365 spo folder roleassignment add --webUrl "https://contoso.sharepoint.com/sites/contoso-sales" --folderUrl "/Shared Documents/FolderPermission" --groupName "saleGroup" --roleDefinitionName "Edit"
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
Add the role assignment to the specified folder based on the principal Id and role definition id
|
|
45
|
+
|
|
46
|
+
```sh
|
|
47
|
+
m365 spo folder roleassignment add --webUrl "https://contoso.sharepoint.com/sites/contoso-sales" --folderUrl "/Shared Documents/FolderPermission" --principalId 2 --roleDefinitionId 1073741827
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Add the role assignment to the specified folder based on the upn and role definition name
|
|
51
|
+
|
|
52
|
+
```sh
|
|
53
|
+
m365 spo folder roleassignment add --webUrl "https://contoso.sharepoint.com/sites/contoso-sales" --folderUrl "/Shared Documents/FolderPermission" --upn "test@contoso.onmicrosoft.com" --roleDefinitionName "Edit"
|
|
54
|
+
```
|
|
55
|
+
Add the role assignment to the root folder based on the upn and role definition name
|
|
56
|
+
|
|
57
|
+
```sh
|
|
58
|
+
m365 spo folder roleassignment add --webUrl "https://contoso.sharepoint.com/sites/contoso-sales" --folderUrl "/Shared Documents" --upn "test@contoso.onmicrosoft.com" --roleDefinitionName "Edit"
|
|
59
|
+
```
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# spo folder roleassignment remove
|
|
2
|
+
|
|
3
|
+
Removes a role assignment from the specified folder.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 spo folder roleassignment remove [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-u, --webUrl <webUrl>`
|
|
14
|
+
: The URL of the site where the folder is located.
|
|
15
|
+
|
|
16
|
+
`-f, --folderUrl <folderUrl>`
|
|
17
|
+
: The server- or site-relative URL of the folder.
|
|
18
|
+
|
|
19
|
+
`--principalId [principalId]`
|
|
20
|
+
: 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.
|
|
21
|
+
|
|
22
|
+
`--upn [upn]`
|
|
23
|
+
: The upn/email of the user. Specify either upn, groupName or principalId but not multiple.
|
|
24
|
+
|
|
25
|
+
`--groupName [groupName]`
|
|
26
|
+
: The Azure AD or SharePoint group name. Specify either upn, groupName or principalId but not multiple.
|
|
27
|
+
|
|
28
|
+
`--confirm`
|
|
29
|
+
: Don't prompt for confirmation when removing the role assignment.
|
|
30
|
+
|
|
31
|
+
--8<-- "docs/cmd/_global.md"
|
|
32
|
+
|
|
33
|
+
## Examples
|
|
34
|
+
|
|
35
|
+
Remove roleassignment from folder based on group name
|
|
36
|
+
|
|
37
|
+
```sh
|
|
38
|
+
m365 spo folder roleassignment remove --webUrl "https://contoso.sharepoint.com/sites/contoso-sales" --folderUrl "/Shared Documents/FolderPermission" --groupName "saleGroup"
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Remove the role assignment from the specified folder based on the principal id.
|
|
42
|
+
|
|
43
|
+
```sh
|
|
44
|
+
m365 spo folder roleassignment remove --webUrl "https://contoso.sharepoint.com/sites/contoso-sales" --folderUrl "/Shared Documents/FolderPermission" --principalId 2
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Remove the role assignment from the specified folder based on the principal id without prompting for removal confirmation.
|
|
48
|
+
|
|
49
|
+
```sh
|
|
50
|
+
m365 spo folder roleassignment remove --webUrl "https://contoso.sharepoint.com/sites/contoso-sales" --folderUrl "/Shared Documents/FolderPermission" --principalId 2 --confirm
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
Remove the role assignment from the specified folder based on the upn.
|
|
54
|
+
|
|
55
|
+
```sh
|
|
56
|
+
m365 spo folder roleassignment remove --webUrl "https://contoso.sharepoint.com/sites/contoso-sales" --folderUrl "/Shared Documents/FolderPermission" --upn "test@contoso.onmicrosoft.com"
|
|
57
|
+
```
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# spo folder roleinheritance break
|
|
2
|
+
|
|
3
|
+
Breaks the role inheritance of a folder.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 spo folder roleinheritance break [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-u, --webUrl <webUrl>`
|
|
14
|
+
: URL of the site where the folder is located.
|
|
15
|
+
|
|
16
|
+
`-f, --folderUrl <folderUrl>`
|
|
17
|
+
: The site-relative URL or server-relative URL of the folder.
|
|
18
|
+
|
|
19
|
+
`-c, --clearExistingPermissions`
|
|
20
|
+
: Clear all existing permissions from the folder.
|
|
21
|
+
|
|
22
|
+
`--confirm`
|
|
23
|
+
: Don't prompt for confirmation to breaking role inheritance of the folder.
|
|
24
|
+
|
|
25
|
+
--8<-- "docs/cmd/_global.md"
|
|
26
|
+
|
|
27
|
+
## Examples
|
|
28
|
+
|
|
29
|
+
Break the inheritance of a folder with a specified site-relative URL.
|
|
30
|
+
|
|
31
|
+
```sh
|
|
32
|
+
m365 spo folder roleinheritance break --webUrl "https://contoso.sharepoint.com/sites/project-x" --folderUrl "Shared Documents/TestFolder"
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Break the inheritance of a folder with a specified server-relative URL. It will clear the existing permissions of the folder. It will **not** prompt for confirmation before breaking the inheritance.
|
|
36
|
+
|
|
37
|
+
```sh
|
|
38
|
+
m365 spo folder roleinheritance break --webUrl "https://contoso.sharepoint.com/sites/project-x" --folderUrl "/sites/project-x/Shared Documents/TestFolder" --clearExistingPermissions --confirm
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Break the inheritance of the specified root folder for the library with a specified server-relative URL. It will clear the existing permissions of the root folder. It will **not** prompt for confirmation before breaking the inheritance.
|
|
42
|
+
|
|
43
|
+
```sh
|
|
44
|
+
m365 spo folder roleinheritance break --webUrl "https://contoso.sharepoint.com/sites/project-x" --folderUrl "/sites/project-x/Shared Documents" --clearExistingPermissions --confirm
|
|
45
|
+
```
|