@pnp/cli-microsoft365 11.8.0 → 11.9.0-beta.16af377
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/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/cli/cli.js +49 -13
- package/dist/index.js +9 -1
- package/dist/m365/adaptivecard/commands/adaptivecard-send.js +4 -1
- package/dist/m365/app/commands/permission/permission-add.js +4 -1
- package/dist/m365/booking/commands/business/business-get.js +5 -1
- package/dist/m365/cli/commands/app/app-reconsent.js +8 -0
- package/dist/m365/cli/commands/cli-consent.js +8 -31
- package/dist/m365/cli/commands/cli-doctor.js +6 -1
- package/dist/m365/cli/commands/cli-issue.js +8 -36
- package/dist/m365/cli/commands/completion/completion-clink-update.js +8 -0
- package/dist/m365/cli/commands/completion/completion-pwsh-setup.js +8 -16
- package/dist/m365/cli/commands/completion/completion-pwsh-update.js +8 -0
- package/dist/m365/cli/commands/completion/completion-sh-setup.js +8 -0
- package/dist/m365/cli/commands/completion/completion-sh-update.js +8 -0
- package/dist/m365/cli/commands/config/config-get.js +9 -32
- package/dist/m365/cli/commands/config/config-list.js +8 -0
- package/dist/m365/cli/commands/config/config-reset.js +9 -34
- package/dist/m365/cli/commands/config/config-set.js +86 -70
- package/dist/m365/commands/login.js +26 -6
- package/dist/m365/commands/request.js +26 -60
- package/dist/m365/commands/search.js +59 -77
- package/dist/m365/commands/setup.js +16 -31
- package/dist/m365/commands/version.js +6 -0
- package/dist/m365/connection/commands/connection-remove.js +9 -29
- package/dist/m365/connection/commands/connection-use.js +8 -26
- package/dist/m365/context/commands/context-init.js +6 -0
- package/dist/m365/context/commands/option/option-set.js +9 -18
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-get.js +5 -1
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-member-add.js +32 -63
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-member-get.js +21 -45
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-member-list.js +32 -53
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-member-remove.js +34 -74
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-remove.js +10 -2
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-roleassignment-add.js +37 -57
- package/dist/m365/entra/commands/multitenant/multitenant-get.js +8 -1
- package/dist/m365/entra/commands/multitenant/multitenant-remove.js +8 -22
- package/dist/m365/entra/commands/multitenant/multitenant-set.js +15 -36
- package/dist/m365/entra/commands/oauth2grant/oauth2grant-add.js +10 -31
- package/dist/m365/entra/commands/oauth2grant/oauth2grant-list.js +8 -24
- package/dist/m365/entra/commands/oauth2grant/oauth2grant-remove.js +9 -17
- package/dist/m365/entra/commands/oauth2grant/oauth2grant-set.js +9 -17
- package/dist/m365/entra/commands/organization/organization-set.js +14 -3
- package/dist/m365/entra/commands/roleassignment/roleassignment-add.js +10 -2
- package/dist/m365/entra/commands/roledefinition/roledefinition-get.js +10 -2
- package/dist/m365/entra/commands/roledefinition/roledefinition-remove.js +10 -2
- package/dist/m365/entra/commands/roledefinition/roledefinition-set.js +14 -3
- package/dist/m365/entra/commands/user/user-session-revoke.js +5 -1
- package/dist/m365/exo/commands/approleassignment/approleassignment-add.js +60 -12
- package/dist/m365/flow/commands/environment/environment-get.js +5 -1
- package/dist/m365/graph/commands/directoryextension/directoryextension-add.js +5 -1
- package/dist/m365/graph/commands/directoryextension/directoryextension-get.js +15 -3
- package/dist/m365/graph/commands/directoryextension/directoryextension-list.js +5 -1
- package/dist/m365/graph/commands/directoryextension/directoryextension-remove.js +15 -3
- package/dist/m365/outlook/commands/calendar/calendar-get.js +1 -1
- package/dist/m365/outlook/commands/mail/mail-searchfolder-add.js +5 -1
- package/dist/m365/outlook/commands/mailbox/mailbox-settings-get.js +5 -1
- package/dist/m365/outlook/commands/mailbox/mailbox-settings-set.js +9 -2
- package/dist/m365/pa/commands/environment/environment-get.js +5 -1
- package/dist/m365/pp/commands/environment/environment-get.js +5 -1
- package/dist/m365/pp/commands/website/website-get.js +5 -1
- package/dist/m365/spe/commands/container/container-add.js +5 -1
- package/dist/m365/spe/commands/container/container-get.js +54 -26
- package/dist/m365/spe/commands/container/container-permission-list.js +43 -4
- package/dist/m365/spe/commands/container/container-recyclebinitem-list.js +5 -1
- package/dist/m365/spe/commands/container/container-recyclebinitem-remove.js +10 -2
- package/dist/m365/spe/commands/container/container-recyclebinitem-restore.js +10 -2
- package/dist/m365/spe/commands/container/container-remove.js +10 -2
- package/dist/m365/spe/commands/container/container-set.js +77 -0
- package/dist/m365/spe/commands/containertype/containertype-get.js +5 -1
- package/dist/m365/spe/commands/containertype/containertype-remove.js +5 -1
- package/dist/m365/spe/commands.js +1 -0
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.0.0.js +2 -2
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.0.1.js +2 -2
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.0.2.js +2 -2
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.1.0.js +6 -6
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.1.1.js +6 -6
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.1.3.js +6 -6
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.10.0.js +9 -9
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.11.0.js +9 -9
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.12.0.js +9 -9
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.12.1.js +9 -9
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.13.0.js +9 -9
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.13.1.js +9 -9
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.14.0.js +9 -9
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.15.0.js +9 -9
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.15.2.js +9 -9
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.16.0.js +9 -9
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.16.1.js +9 -9
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.17.0.js +9 -9
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.17.1.js +9 -9
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.17.2.js +10 -10
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.17.3.js +10 -10
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.17.4.js +10 -10
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.18.0.js +9 -9
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.18.1.js +9 -9
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.18.2.js +9 -9
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.19.0.js +11 -11
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.2.0.js +6 -6
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.20.0.js +13 -13
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.21.0.js +13 -13
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.21.1.js +13 -13
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.22.0.js +10 -10
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.22.1.js +10 -10
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.22.2.js +10 -10
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.23.0.js +8 -8
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.3.0.js +6 -6
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.3.1.js +6 -6
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.3.2.js +6 -6
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.3.4.js +7 -7
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.4.0.js +7 -7
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.4.1.js +7 -7
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.5.0.js +7 -7
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.5.1.js +7 -7
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.6.0.js +7 -7
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.7.0.js +7 -7
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.7.1.js +7 -7
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.8.0.js +8 -8
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.8.1.js +8 -8
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.8.2.js +9 -9
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.9.1.js +9 -9
- package/dist/m365/spfx/commands/project/project-doctor/rules/DependencyRule.js +4 -4
- 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/FN001035_DEP_fluentui_react.js +2 -2
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN002004_DEVDEP_gulp.js +2 -2
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN002007_DEVDEP_ajv.js +2 -2
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN002013_DEVDEP_types_webpack_env.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/rules/FN002019_DEVDEP_microsoft_rush_stack_compiler.js +2 -2
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN002021_DEVDEP_rushstack_eslint_config.js +2 -2
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN002022_DEVDEP_typescript.js +2 -2
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN021001_PKG_spfx_deps_versions_match_project_version.js +2 -2
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN021013_PKG_spfx_devdeps_match_version.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/DependencyRule.js +7 -7
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001001_DEP_microsoft_sp_core_library.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001002_DEP_microsoft_sp_lodash_subset.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001003_DEP_microsoft_sp_office_ui_fabric_core.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001004_DEP_microsoft_sp_webpart_base.js +2 -2
- 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/FN001007_DEP_types_webpack_env.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/FN001010_DEP_types_es6_promise.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001011_DEP_microsoft_sp_dialog.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001012_DEP_microsoft_sp_application_base.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001013_DEP_microsoft_decorators.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001014_DEP_microsoft_sp_listview_extensibility.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/FN001018_DEP_microsoft_sp_client_base.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/FN001021_DEP_microsoft_sp_property_pane.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/FN001023_DEP_microsoft_sp_component_base.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001024_DEP_microsoft_sp_diagnostics.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001025_DEP_microsoft_sp_dynamic_data.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001026_DEP_microsoft_sp_extension_base.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001027_DEP_microsoft_sp_http.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001028_DEP_microsoft_sp_list_subscription.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001029_DEP_microsoft_sp_loader.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001030_DEP_microsoft_sp_module_interfaces.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001031_DEP_microsoft_sp_odata_types.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001032_DEP_microsoft_sp_page_context.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001033_DEP_tslib.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001034_DEP_microsoft_sp_adaptive_card_extension_base.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001035_DEP_fluentui_react.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002001_DEVDEP_microsoft_sp_build_web.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002002_DEVDEP_microsoft_sp_module_interfaces.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002003_DEVDEP_microsoft_sp_webpart_workbench.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002004_DEVDEP_gulp.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002005_DEVDEP_types_chai.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002006_DEVDEP_types_mocha.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002007_DEVDEP_ajv.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002008_DEVDEP_tslint_microsoft_contrib.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002009_DEVDEP_microsoft_sp_tslint_rules.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002010_DEVDEP_microsoft_rush_stack_compiler_2_7.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002011_DEVDEP_microsoft_rush_stack_compiler_2_9.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002012_DEVDEP_microsoft_rush_stack_compiler_3_3.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002013_DEVDEP_types_webpack_env.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002014_DEVDEP_types_es6_promise.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/FN002017_DEVDEP_microsoft_rush_stack_compiler_3_7.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002018_DEVDEP_microsoft_rush_stack_compiler_3_9.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002019_DEVDEP_spfx_fast_serve_helpers.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002020_DEVDEP_microsoft_rush_stack_compiler_4_5.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002021_DEVDEP_rushstack_eslint_config.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002022_DEVDEP_microsoft_eslint_plugin_spfx.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002023_DEVDEP_microsoft_eslint_config_spfx.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002024_DEVDEP_eslint.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/FN002026_DEVDEP_typescript.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002027_DEVDEP_fluentui_react.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002028_DEVDEP_microsoft_rush_stack_compiler_4_7.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002029_DEVDEP_microsoft_rush_stack_compiler_5_3.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002030_DEVDEP_microsoft_spfx_web_build_rig.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002031_DEVDEP_rushstack_heft.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002032_DEVDEP_typescript_eslint_parser.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002033_DEVDEP_css_loader.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002034_DEVDEP_microsoft_spfx_heft_plugins.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002035_DEVDEP_types_heft_jest.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002036_DEVDEP_types_jest.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN003001_CFG_schema.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN003002_CFG_version.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN004001_CFG_CA_schema.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN004002_CFG_CA_deployCdnPath.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN005001_CFG_DAS_schema.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN005002_CFG_DAS_workingDir.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN006001_CFG_PS_schema.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN006002_CFG_PS_includeClientSideAssets.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN006003_CFG_PS_isDomainIsolated.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN006004_CFG_PS_developer.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN007001_CFG_S_schema.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN007002_CFG_S_initialPage.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN008001_CFG_TSL_schema.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN008002_CFG_TSL_removeRule.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN009001_CFG_WM_schema.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010001_YORC_version.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010002_YORC_isCreatingSolution.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010003_YORC_packageManager.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010005_YORC_environment.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010006_YORC_framework.js +3 -3
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010007_YORC_isDomainIsolated.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010009_YORC_sdkVersions_microsoft_graph_client.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010010_YORC_sdkVersions_teams_js.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010011_YORC_useGulp.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN011001_MAN_webpart_schema.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN011002_MAN_applicationCustomizer_schema.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN011003_MAN_listViewCommandSet_schema.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN011004_MAN_fieldCustomizer_schema.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN011005_MAN_webpart_defaultGroup.js +3 -3
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN011009_MAN_webpart_safeWithCustomScriptDisabled.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN011011_MAN_webpart_supportedHosts.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012001_TSC_module.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012002_TSC_moduleResolution.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012003_TSC_skipLibCheck.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012006_TSC_types_es6_collections.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012011_TSC_outDir.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012012_TSC_include.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012013_TSC_exclude.js +3 -3
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012014_TSC_inlineSources.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012015_TSC_strictNullChecks.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012016_TSC_noUnusedLocals.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012017_TSC_extends.js +2 -3
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012019_TSC_types_es6_promise.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012020_TSC_noImplicitAny.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN014001_CODE_settings_jsonSchemas.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN014003_CODE_launch.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN014004_CODE_settings_jsonSchemas_configJson_url.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN014006_CODE_launch_sourceMapPathOverrides.js +3 -3
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN014008_CODE_launch_hostedWorkbench_type.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN014009_CODE_launch_hostedWorkbench_url.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015001_FILE_typings_tsd_d_ts.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015002_FILE_typings__ms_odsp_d_ts.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015003_FILE_tslint_json.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015004_FILE_config_tslint_json.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015005_FILE_src_index_ts.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015007_FILE_config_copy_assets_json.js +2 -2
- 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/FN015009_FILE_config_sass_json.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015010_FILE_gulpfile_js.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015011_FILE_tsconfig_json.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015014_FILE_config_rig_json.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015015_FILE_config_typescript_json.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015016_FILE_eslint_config_js.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN016001_TS_msgraphclient_packageName.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN018003_TEAMS_tab20x20_png.js +3 -3
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN018004_TEAMS_tab96x96_png.js +3 -3
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN019002_TSL_extends.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/FN021001_PKG_main.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN021002_PKG_engines.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN021003_PKG_engines_node.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN021004_PKG_scripts_build.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN021005_PKG_scripts_test.js +3 -3
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN021006_PKG_scripts_clean.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN021007_PKG_scripts_start.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN021008_PKG_scripts_eject_webpack.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 +3 -3
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN025001_ESLINTRCJS_overrides.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN026001_CFG_SASS_schema.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN026002_CFG_SASS_extends.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN027001_OVERRIDES_rushstack_heft.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FileAddRemoveRule.js +4 -5
- package/dist/m365/spfx/commands/project/project-upgrade/rules/PackageRule.js +4 -4
- package/dist/m365/spfx/commands/project/project-upgrade/rules/ResolutionRule.js +3 -3
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.0.1.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.0.2.js +3 -3
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.1.0.js +25 -25
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.1.1.js +7 -7
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.1.3.js +3 -3
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.10.0.js +27 -27
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.11.0.js +36 -36
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.12.0.js +41 -41
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.12.1.js +26 -26
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.13.0.js +36 -36
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.13.1.js +24 -24
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.14.0.js +26 -26
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.15.0.js +42 -40
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.15.2.js +31 -31
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.16.0.js +36 -36
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.16.1.js +29 -27
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.17.0.js +32 -32
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.17.1.js +25 -25
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.17.2.js +28 -28
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.17.3.js +27 -27
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.17.4.js +25 -25
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.18.0.js +33 -33
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.18.1.js +26 -26
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.18.2.js +25 -25
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.19.0.js +26 -26
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.2.0.js +29 -29
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.20.0.js +29 -29
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.21.0.js +31 -31
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.21.1.js +25 -25
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.22.0.js +65 -57
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.22.1.js +26 -26
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.22.2.js +26 -26
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.23.0.js +39 -39
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.3.0.js +19 -19
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.3.1.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.3.2.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.3.4.js +22 -22
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.4.0.js +30 -30
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.4.1.js +20 -20
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.5.0.js +40 -40
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.5.1.js +21 -21
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.6.0.js +44 -36
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.7.0.js +32 -32
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.7.1.js +25 -25
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.8.0.js +32 -32
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.8.1.js +24 -24
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.8.2.js +31 -31
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.9.1.js +35 -35
- package/dist/m365/spo/commands/file/file-version-keep.js +5 -1
- package/dist/m365/spo/commands/homesite/homesite-add.js +5 -1
- package/dist/m365/spo/commands/homesite/homesite-set.js +9 -2
- package/dist/m365/spo/commands/list/list-defaultvalue-clear.js +10 -2
- package/dist/m365/spo/commands/list/list-defaultvalue-get.js +5 -1
- package/dist/m365/spo/commands/list/list-defaultvalue-list.js +5 -1
- package/dist/m365/spo/commands/list/list-defaultvalue-remove.js +5 -1
- package/dist/m365/spo/commands/list/list-defaultvalue-set.js +5 -1
- package/dist/m365/spo/commands/list/list-view-add.js +17 -4
- package/dist/m365/spo/commands/page/page-control-set.js +14 -5
- package/dist/m365/spo/commands/page/page-get.js +5 -1
- package/dist/m365/spo/commands/web/web-alert-list.js +10 -2
- package/dist/m365/spp/commands/autofillcolumn/autofillcolumn-set.js +10 -2
- package/dist/m365/spp/commands/model/model-apply.js +10 -2
- package/dist/m365/teams/commands/callrecord/callrecord-list.js +5 -1
- package/dist/m365/viva/commands/engage/engage-community-user-add.js +20 -4
- package/dist/m365/viva/commands/engage/engage-community-user-list.js +10 -2
- package/dist/m365/viva/commands/engage/engage-community-user-remove.js +16 -7
- package/dist/m365/viva/commands/engage/engage-role-member-add.js +79 -0
- package/dist/m365/viva/commands/engage/engage-role-member-list.js +5 -1
- package/dist/m365/viva/commands.js +1 -0
- package/dist/utils/prompt.js +1 -7
- package/docs/docs/cmd/outlook/calendar/calendar-get.mdx +7 -7
- package/docs/docs/cmd/spe/container/container-get.mdx +24 -3
- package/docs/docs/cmd/spe/container/container-permission-list.mdx +24 -3
- package/docs/docs/cmd/spe/container/container-set.mdx +160 -0
- package/docs/docs/cmd/spo/app/app-add.mdx +19 -0
- package/docs/docs/cmd/spo/app/app-deploy.mdx +21 -0
- package/docs/docs/cmd/spo/app/app-get.mdx +19 -0
- package/docs/docs/cmd/spo/app/app-install.mdx +21 -0
- package/docs/docs/cmd/spo/app/app-instance-list.mdx +19 -0
- package/docs/docs/cmd/spo/app/app-list.mdx +19 -0
- package/docs/docs/cmd/spo/app/app-remove.mdx +21 -0
- package/docs/docs/cmd/spo/app/app-retract.mdx +21 -0
- package/docs/docs/cmd/spo/app/app-teamspackage-download.mdx +21 -0
- package/docs/docs/cmd/spo/app/app-uninstall.mdx +21 -0
- package/docs/docs/cmd/spo/app/app-upgrade.mdx +21 -0
- package/docs/docs/cmd/spo/apppage/apppage-add.mdx +19 -1
- package/docs/docs/cmd/spo/apppage/apppage-set.mdx +21 -0
- package/docs/docs/cmd/spo/commandset/commandset-add.mdx +19 -0
- package/docs/docs/cmd/spo/commandset/commandset-get.mdx +19 -0
- package/docs/docs/cmd/spo/commandset/commandset-list.mdx +19 -0
- package/docs/docs/cmd/spo/commandset/commandset-remove.mdx +21 -0
- package/docs/docs/cmd/spo/commandset/commandset-set.mdx +21 -0
- package/docs/docs/cmd/spo/page/page-control-set.mdx +18 -3
- package/docs/docs/cmd/viva/engage/engage-role-member-add.mdx +76 -0
- package/npm-shrinkwrap.json +550 -3172
- package/package.json +27 -22
|
@@ -35,7 +35,11 @@ class SpoListDefaultValueRemoveCommand extends SpoCommand {
|
|
|
35
35
|
getRefinedSchema(schema) {
|
|
36
36
|
return schema
|
|
37
37
|
.refine(options => [options.listId, options.listTitle, options.listUrl].filter(o => o !== undefined).length === 1, {
|
|
38
|
-
error: 'Use one of the following options: listId, listTitle, listUrl.'
|
|
38
|
+
error: 'Use one of the following options: listId, listTitle, listUrl.',
|
|
39
|
+
params: {
|
|
40
|
+
customCode: 'optionSet',
|
|
41
|
+
options: ['listId', 'listTitle', 'listUrl']
|
|
42
|
+
}
|
|
39
43
|
});
|
|
40
44
|
}
|
|
41
45
|
async commandAction(logger, args) {
|
|
@@ -36,7 +36,11 @@ class SpoListDefaultValueSetCommand extends SpoCommand {
|
|
|
36
36
|
getRefinedSchema(schema) {
|
|
37
37
|
return schema
|
|
38
38
|
.refine(options => [options.listId, options.listTitle, options.listUrl].filter(o => o !== undefined).length === 1, {
|
|
39
|
-
error: 'Use one of the following options: listId, listTitle, listUrl.'
|
|
39
|
+
error: 'Use one of the following options: listId, listTitle, listUrl.',
|
|
40
|
+
params: {
|
|
41
|
+
customCode: 'optionSet',
|
|
42
|
+
options: ['listId', 'listTitle', 'listUrl']
|
|
43
|
+
}
|
|
40
44
|
});
|
|
41
45
|
}
|
|
42
46
|
async commandAction(logger, args) {
|
|
@@ -57,25 +57,38 @@ class SpoListViewAddCommand extends SpoCommand {
|
|
|
57
57
|
getRefinedSchema(schema) {
|
|
58
58
|
return schema
|
|
59
59
|
.refine((options) => [options.listId, options.listTitle, options.listUrl].filter(o => o !== undefined).length === 1, {
|
|
60
|
-
error: 'Use one of the following options: listId, listTitle, or listUrl.'
|
|
60
|
+
error: 'Use one of the following options: listId, listTitle, or listUrl.',
|
|
61
|
+
params: {
|
|
62
|
+
customCode: 'optionSet',
|
|
63
|
+
options: ['listId', 'listTitle', 'listUrl']
|
|
64
|
+
}
|
|
61
65
|
})
|
|
62
66
|
.refine((options) => !options.personal || !options.default, {
|
|
63
67
|
error: 'Default view cannot be a personal view.'
|
|
64
68
|
})
|
|
65
69
|
.refine((options) => options.type !== 'calendar' || [options.calendarStartDateField, options.calendarEndDateField, options.calendarTitleField].filter(o => o === undefined).length === 0, {
|
|
66
|
-
error: 'When type is calendar, do specify calendarStartDateField, calendarEndDateField, and calendarTitleField.'
|
|
70
|
+
error: 'When type is calendar, do specify calendarStartDateField, calendarEndDateField, and calendarTitleField.',
|
|
71
|
+
params: {
|
|
72
|
+
customCode: 'required'
|
|
73
|
+
}
|
|
67
74
|
})
|
|
68
75
|
.refine((options) => options.type === 'calendar' || [options.calendarStartDateField, options.calendarEndDateField, options.calendarTitleField].filter(o => o === undefined).length === 3, {
|
|
69
76
|
error: 'When type is not calendar, do not specify calendarStartDateField, calendarEndDateField, and calendarTitleField.'
|
|
70
77
|
})
|
|
71
78
|
.refine((options) => options.type !== 'kanban' || options.kanbanBucketField !== undefined, {
|
|
72
|
-
error: 'When type is kanban, do specify kanbanBucketField.'
|
|
79
|
+
error: 'When type is kanban, do specify kanbanBucketField.',
|
|
80
|
+
params: {
|
|
81
|
+
customCode: 'required'
|
|
82
|
+
}
|
|
73
83
|
})
|
|
74
84
|
.refine((options) => options.type === 'kanban' || options.kanbanBucketField === undefined, {
|
|
75
85
|
error: 'When type is not kanban, do not specify kanbanBucketField.'
|
|
76
86
|
})
|
|
77
87
|
.refine((options) => options.type === 'calendar' || options.fields !== undefined, {
|
|
78
|
-
error: 'When type is not calendar, do specify fields.'
|
|
88
|
+
error: 'When type is not calendar, do specify fields.',
|
|
89
|
+
params: {
|
|
90
|
+
customCode: 'required'
|
|
91
|
+
}
|
|
79
92
|
});
|
|
80
93
|
}
|
|
81
94
|
async commandAction(logger, args) {
|
|
@@ -79,7 +79,7 @@ class SpoPageControlSetCommand extends SpoCommand {
|
|
|
79
79
|
await logger.logToStderr('');
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
|
-
if (args.options.webPartProperties) {
|
|
82
|
+
else if (args.options.webPartProperties) {
|
|
83
83
|
if (this.verbose) {
|
|
84
84
|
await logger.logToStderr('web part properties data:');
|
|
85
85
|
await logger.logToStderr(args.options.webPartProperties);
|
|
@@ -96,6 +96,12 @@ class SpoPageControlSetCommand extends SpoCommand {
|
|
|
96
96
|
await logger.logToStderr('');
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
|
+
else if (args.options.innerHtml) {
|
|
100
|
+
if (canvasControl.controlType !== 4 && !canvasControl.innerHTML) {
|
|
101
|
+
throw 'The innerHtml option can only be used with text web parts.';
|
|
102
|
+
}
|
|
103
|
+
canvasControl.innerHTML = args.options.innerHtml;
|
|
104
|
+
}
|
|
99
105
|
const pageData = {};
|
|
100
106
|
if (page.AuthorByline) {
|
|
101
107
|
pageData.AuthorByline = page.AuthorByline;
|
|
@@ -140,7 +146,8 @@ _SpoPageControlSetCommand_instances = new WeakSet(), _SpoPageControlSetCommand_i
|
|
|
140
146
|
this.telemetry.push((args) => {
|
|
141
147
|
Object.assign(this.telemetryProperties, {
|
|
142
148
|
webPartData: typeof args.options.webPartData !== 'undefined',
|
|
143
|
-
webPartProperties: typeof args.options.webPartProperties !== 'undefined'
|
|
149
|
+
webPartProperties: typeof args.options.webPartProperties !== 'undefined',
|
|
150
|
+
innerHtml: typeof args.options.innerHtml !== 'undefined'
|
|
144
151
|
});
|
|
145
152
|
});
|
|
146
153
|
}, _SpoPageControlSetCommand_initOptions = function _SpoPageControlSetCommand_initOptions() {
|
|
@@ -154,21 +161,23 @@ _SpoPageControlSetCommand_instances = new WeakSet(), _SpoPageControlSetCommand_i
|
|
|
154
161
|
option: '--webPartData [webPartData]'
|
|
155
162
|
}, {
|
|
156
163
|
option: '--webPartProperties [webPartProperties]'
|
|
164
|
+
}, {
|
|
165
|
+
option: '--innerHtml [innerHtml]'
|
|
157
166
|
});
|
|
158
167
|
}, _SpoPageControlSetCommand_initValidators = function _SpoPageControlSetCommand_initValidators() {
|
|
159
168
|
this.validators.push(async (args) => {
|
|
160
169
|
if (!validation.isValidGuid(args.options.id)) {
|
|
161
170
|
return `${args.options.id} is not a valid GUID`;
|
|
162
171
|
}
|
|
163
|
-
if (args.options.webPartData
|
|
164
|
-
return 'Specify webPartProperties or
|
|
172
|
+
if ([args.options.webPartData, args.options.webPartProperties, args.options.innerHtml].filter(Boolean).length > 1) {
|
|
173
|
+
return 'Specify webPartProperties, webPartData, or innerHtml but not more than one';
|
|
165
174
|
}
|
|
166
175
|
if (args.options.webPartProperties) {
|
|
167
176
|
try {
|
|
168
177
|
JSON.parse(args.options.webPartProperties);
|
|
169
178
|
}
|
|
170
179
|
catch (e) {
|
|
171
|
-
return `Specified webPartProperties is not a valid JSON string. Input: ${args.options.
|
|
180
|
+
return `Specified webPartProperties is not a valid JSON string. Input: ${args.options.webPartProperties}. Error: ${e}`;
|
|
172
181
|
}
|
|
173
182
|
}
|
|
174
183
|
if (args.options.webPartData) {
|
|
@@ -30,7 +30,11 @@ class SpoPageGetCommand extends SpoCommand {
|
|
|
30
30
|
getRefinedSchema(schema) {
|
|
31
31
|
return schema
|
|
32
32
|
.refine(options => [options.name, options.default].filter(x => x !== undefined).length === 1, {
|
|
33
|
-
error: `Specify either name or default, but not both
|
|
33
|
+
error: `Specify either name or default, but not both.`,
|
|
34
|
+
params: {
|
|
35
|
+
customCode: 'optionSet',
|
|
36
|
+
options: ['name', 'default']
|
|
37
|
+
}
|
|
34
38
|
});
|
|
35
39
|
}
|
|
36
40
|
async commandAction(logger, args) {
|
|
@@ -38,10 +38,18 @@ class SpoWebAlertListCommand extends SpoCommand {
|
|
|
38
38
|
getRefinedSchema(schema) {
|
|
39
39
|
return schema
|
|
40
40
|
.refine(options => [options.listId, options.listUrl, options.listTitle].filter(x => x !== undefined).length <= 1, {
|
|
41
|
-
error: `Specify either listId, listUrl, or listTitle, but not more than one
|
|
41
|
+
error: `Specify either listId, listUrl, or listTitle, but not more than one.`,
|
|
42
|
+
params: {
|
|
43
|
+
customCode: 'optionSet',
|
|
44
|
+
options: ['listId', 'listUrl', 'listTitle']
|
|
45
|
+
}
|
|
42
46
|
})
|
|
43
47
|
.refine(options => [options.userName, options.userId].filter(x => x !== undefined).length <= 1, {
|
|
44
|
-
error: `Specify either userName or userId, but not both
|
|
48
|
+
error: `Specify either userName or userId, but not both.`,
|
|
49
|
+
params: {
|
|
50
|
+
customCode: 'optionSet',
|
|
51
|
+
options: ['userName', 'userId']
|
|
52
|
+
}
|
|
45
53
|
});
|
|
46
54
|
}
|
|
47
55
|
async commandAction(logger, args) {
|
|
@@ -55,10 +55,18 @@ class SppAutofillColumnSetCommand extends SpoCommand {
|
|
|
55
55
|
getRefinedSchema(schema) {
|
|
56
56
|
return schema
|
|
57
57
|
.refine(options => [options.columnId, options.columnTitle, options.columnInternalName].filter(Boolean).length === 1, {
|
|
58
|
-
message: `Specify exactly one of the following options: 'columnId', 'columnTitle' or 'columnInternalName'
|
|
58
|
+
message: `Specify exactly one of the following options: 'columnId', 'columnTitle' or 'columnInternalName'.`,
|
|
59
|
+
params: {
|
|
60
|
+
customCode: 'optionSet',
|
|
61
|
+
options: ['columnId', 'columnTitle', 'columnInternalName']
|
|
62
|
+
}
|
|
59
63
|
})
|
|
60
64
|
.refine(options => [options.listTitle, options.listId, options.listUrl].filter(Boolean).length === 1, {
|
|
61
|
-
message: `Specify exactly one of the following options: 'listTitle', 'listId' or 'listUrl'
|
|
65
|
+
message: `Specify exactly one of the following options: 'listTitle', 'listId' or 'listUrl'.`,
|
|
66
|
+
params: {
|
|
67
|
+
customCode: 'optionSet',
|
|
68
|
+
options: ['listTitle', 'listId', 'listUrl']
|
|
69
|
+
}
|
|
62
70
|
});
|
|
63
71
|
}
|
|
64
72
|
async commandAction(logger, args) {
|
|
@@ -39,10 +39,18 @@ class SppModelApplyCommand extends SpoCommand {
|
|
|
39
39
|
getRefinedSchema(schema) {
|
|
40
40
|
return schema
|
|
41
41
|
.refine(options => [options.id, options.title].filter(x => x !== undefined).length === 1, {
|
|
42
|
-
error: `Specify exactly one of the following options: 'id' or 'title'
|
|
42
|
+
error: `Specify exactly one of the following options: 'id' or 'title'.`,
|
|
43
|
+
params: {
|
|
44
|
+
customCode: 'optionSet',
|
|
45
|
+
options: ['id', 'title']
|
|
46
|
+
}
|
|
43
47
|
})
|
|
44
48
|
.refine(options => [options.listTitle, options.listId, options.listUrl].filter(x => x !== undefined).length === 1, {
|
|
45
|
-
error: `Specify exactly one of the following options: 'listTitle', 'listId' or 'listUrl'
|
|
49
|
+
error: `Specify exactly one of the following options: 'listTitle', 'listId' or 'listUrl'.`,
|
|
50
|
+
params: {
|
|
51
|
+
customCode: 'optionSet',
|
|
52
|
+
options: ['listTitle', 'listId', 'listUrl']
|
|
53
|
+
}
|
|
46
54
|
});
|
|
47
55
|
}
|
|
48
56
|
async commandAction(logger, args) {
|
|
@@ -55,7 +55,11 @@ class TeamsCallRecordListCommand extends GraphApplicationCommand {
|
|
|
55
55
|
getRefinedSchema(schema) {
|
|
56
56
|
return schema
|
|
57
57
|
.refine((options) => [options.userId, options.userName].filter(o => o !== undefined).length <= 1, {
|
|
58
|
-
error: 'Use one of the following options: userId or userName but not both.'
|
|
58
|
+
error: 'Use one of the following options: userId or userName but not both.',
|
|
59
|
+
params: {
|
|
60
|
+
customCode: 'optionSet',
|
|
61
|
+
options: ['userId', 'userName']
|
|
62
|
+
}
|
|
59
63
|
})
|
|
60
64
|
.refine((options) => [options.startDateTime, options.endDateTime].filter(o => o !== undefined).length <= 1 || new Date(options.startDateTime) < new Date(options.endDateTime), {
|
|
61
65
|
message: 'Value of startDateTime, must be before endDateTime.'
|
|
@@ -35,16 +35,32 @@ class VivaEngageCommunityUserAddCommand extends GraphCommand {
|
|
|
35
35
|
getRefinedSchema(schema) {
|
|
36
36
|
return schema
|
|
37
37
|
.refine(options => [options.communityId, options.communityDisplayName, options.entraGroupId].filter(x => x !== undefined).length === 1, {
|
|
38
|
-
error: 'Specify either communityId, communityDisplayName, or entraGroupId, but not multiple.'
|
|
38
|
+
error: 'Specify either communityId, communityDisplayName, or entraGroupId, but not multiple.',
|
|
39
|
+
params: {
|
|
40
|
+
customCode: 'optionSet',
|
|
41
|
+
options: ['communityId', 'communityDisplayName', 'entraGroupId']
|
|
42
|
+
}
|
|
39
43
|
})
|
|
40
44
|
.refine(options => options.communityId || options.communityDisplayName || options.entraGroupId, {
|
|
41
|
-
error: 'Specify at least one of communityId, communityDisplayName, or entraGroupId.'
|
|
45
|
+
error: 'Specify at least one of communityId, communityDisplayName, or entraGroupId.',
|
|
46
|
+
params: {
|
|
47
|
+
customCode: 'optionSet',
|
|
48
|
+
options: ['communityId', 'communityDisplayName', 'entraGroupId']
|
|
49
|
+
}
|
|
42
50
|
})
|
|
43
51
|
.refine(options => options.ids || options.userNames, {
|
|
44
|
-
error: 'Specify either of ids or userNames.'
|
|
52
|
+
error: 'Specify either of ids or userNames.',
|
|
53
|
+
params: {
|
|
54
|
+
customCode: 'optionSet',
|
|
55
|
+
options: ['ids', 'userNames']
|
|
56
|
+
}
|
|
45
57
|
})
|
|
46
58
|
.refine(options => typeof options.userNames !== 'undefined' || typeof options.ids !== 'undefined', {
|
|
47
|
-
error: 'Specify either ids or userNames, but not both.'
|
|
59
|
+
error: 'Specify either ids or userNames, but not both.',
|
|
60
|
+
params: {
|
|
61
|
+
customCode: 'optionSet',
|
|
62
|
+
options: ['ids', 'userNames']
|
|
63
|
+
}
|
|
48
64
|
});
|
|
49
65
|
}
|
|
50
66
|
async commandAction(logger, args) {
|
|
@@ -24,10 +24,18 @@ class VivaEngageCommunityUserListCommand extends GraphCommand {
|
|
|
24
24
|
getRefinedSchema(schema) {
|
|
25
25
|
return schema
|
|
26
26
|
.refine(options => [options.communityId, options.communityDisplayName, options.entraGroupId].filter(x => x !== undefined).length === 1, {
|
|
27
|
-
error: 'Specify either communityId, communityDisplayName, or entraGroupId, but not multiple.'
|
|
27
|
+
error: 'Specify either communityId, communityDisplayName, or entraGroupId, but not multiple.',
|
|
28
|
+
params: {
|
|
29
|
+
customCode: 'optionSet',
|
|
30
|
+
options: ['communityId', 'communityDisplayName', 'entraGroupId']
|
|
31
|
+
}
|
|
28
32
|
})
|
|
29
33
|
.refine(options => options.communityId || options.communityDisplayName || options.entraGroupId, {
|
|
30
|
-
error: 'Specify at least one of communityId, communityDisplayName, or entraGroupId.'
|
|
34
|
+
error: 'Specify at least one of communityId, communityDisplayName, or entraGroupId.',
|
|
35
|
+
params: {
|
|
36
|
+
customCode: 'optionSet',
|
|
37
|
+
options: ['communityId', 'communityDisplayName', 'entraGroupId']
|
|
38
|
+
}
|
|
31
39
|
});
|
|
32
40
|
}
|
|
33
41
|
defaultProperties() {
|
|
@@ -32,16 +32,25 @@ class VivaEngageCommunityUserRemoveCommand extends GraphCommand {
|
|
|
32
32
|
getRefinedSchema(schema) {
|
|
33
33
|
return schema
|
|
34
34
|
.refine(options => [options.communityId, options.communityDisplayName, options.entraGroupId].filter(x => x !== undefined).length === 1, {
|
|
35
|
-
error: 'Specify either communityId, communityDisplayName, or entraGroupId, but not multiple.'
|
|
35
|
+
error: 'Specify either communityId, communityDisplayName, or entraGroupId, but not multiple.',
|
|
36
|
+
params: {
|
|
37
|
+
customCode: 'optionSet',
|
|
38
|
+
options: ['communityId', 'communityDisplayName', 'entraGroupId']
|
|
39
|
+
}
|
|
36
40
|
})
|
|
37
41
|
.refine(options => options.communityId || options.communityDisplayName || options.entraGroupId, {
|
|
38
|
-
error: 'Specify at least one of communityId, communityDisplayName, or entraGroupId.'
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
+
error: 'Specify at least one of communityId, communityDisplayName, or entraGroupId.',
|
|
43
|
+
params: {
|
|
44
|
+
customCode: 'optionSet',
|
|
45
|
+
options: ['communityId', 'communityDisplayName', 'entraGroupId']
|
|
46
|
+
}
|
|
42
47
|
})
|
|
43
|
-
.refine(options =>
|
|
44
|
-
error: 'Specify either id or userName, but not both.'
|
|
48
|
+
.refine(options => [options.id, options.userName].filter(o => o !== undefined).length === 1, {
|
|
49
|
+
error: 'Specify either id or userName, but not both.',
|
|
50
|
+
params: {
|
|
51
|
+
customCode: 'optionSet',
|
|
52
|
+
options: ['id', 'userName']
|
|
53
|
+
}
|
|
45
54
|
});
|
|
46
55
|
}
|
|
47
56
|
async commandAction(logger, args) {
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { globalOptionsZod } from '../../../../Command.js';
|
|
3
|
+
import GraphCommand from '../../../base/GraphCommand.js';
|
|
4
|
+
import commands from '../../commands.js';
|
|
5
|
+
import { vivaEngage } from '../../../../utils/vivaEngage.js';
|
|
6
|
+
import { entraUser } from '../../../../utils/entraUser.js';
|
|
7
|
+
import request from '../../../../request.js';
|
|
8
|
+
import { validation } from '../../../../utils/validation.js';
|
|
9
|
+
export const options = z.strictObject({
|
|
10
|
+
...globalOptionsZod.shape,
|
|
11
|
+
roleId: z.uuid().optional().refine(id => validation.isValidGuid(id), {
|
|
12
|
+
error: e => `'${e.input}' is not a valid GUID.`
|
|
13
|
+
}),
|
|
14
|
+
roleName: z.string().optional(),
|
|
15
|
+
userId: z.uuid().optional().refine(id => validation.isValidGuid(id), {
|
|
16
|
+
error: e => `'${e.input}' is not a valid GUID.`
|
|
17
|
+
}),
|
|
18
|
+
userName: z.string().refine(upn => validation.isValidUserPrincipalName(upn), {
|
|
19
|
+
error: e => `'${e.input}' is not a valid UPN.`
|
|
20
|
+
}).optional()
|
|
21
|
+
});
|
|
22
|
+
class VivaEngageRoleMemberAddCommand extends GraphCommand {
|
|
23
|
+
get name() {
|
|
24
|
+
return commands.ENGAGE_ROLE_MEMBER_ADD;
|
|
25
|
+
}
|
|
26
|
+
get description() {
|
|
27
|
+
return 'Assign a Viva Engage role to a user';
|
|
28
|
+
}
|
|
29
|
+
get schema() {
|
|
30
|
+
return options;
|
|
31
|
+
}
|
|
32
|
+
getRefinedSchema(schema) {
|
|
33
|
+
return schema
|
|
34
|
+
.refine(options => [options.roleId, options.roleName].filter(x => x !== undefined).length === 1, {
|
|
35
|
+
error: 'Specify either roleId, or roleName, but not both.'
|
|
36
|
+
})
|
|
37
|
+
.refine(options => [options.userId, options.userName].filter(x => x !== undefined).length === 1, {
|
|
38
|
+
error: 'Specify either userId, or userName, but not both.'
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
async commandAction(logger, args) {
|
|
42
|
+
try {
|
|
43
|
+
let roleId = args.options.roleId;
|
|
44
|
+
let userId = args.options.userId;
|
|
45
|
+
if (args.options.roleName) {
|
|
46
|
+
if (this.verbose) {
|
|
47
|
+
await logger.logToStderr(`Retrieving Viva Engage role ID for role name '${args.options.roleName}'...`);
|
|
48
|
+
}
|
|
49
|
+
roleId = await vivaEngage.getRoleIdByName(args.options.roleName);
|
|
50
|
+
}
|
|
51
|
+
if (args.options.userName) {
|
|
52
|
+
if (this.verbose) {
|
|
53
|
+
await logger.logToStderr(`Retrieving Viva Engage user ID for user name '${args.options.userName}'...`);
|
|
54
|
+
}
|
|
55
|
+
userId = await entraUser.getUserIdByUpn(args.options.userName);
|
|
56
|
+
}
|
|
57
|
+
if (this.verbose) {
|
|
58
|
+
await logger.logToStderr(`Assigning user ${userId} to a Viva Engage role ${roleId}...`);
|
|
59
|
+
}
|
|
60
|
+
const requestOptions = {
|
|
61
|
+
url: `${this.resource}/beta/employeeExperience/roles/${roleId}/members`,
|
|
62
|
+
headers: {
|
|
63
|
+
'content-type': 'application/json;odata=nometadata',
|
|
64
|
+
'accept': 'application/json;odata.metadata=none'
|
|
65
|
+
},
|
|
66
|
+
responseType: 'json',
|
|
67
|
+
data: {
|
|
68
|
+
'user@odata.bind': `${this.resource}/beta/users('${userId}')`
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
await request.post(requestOptions);
|
|
72
|
+
}
|
|
73
|
+
catch (err) {
|
|
74
|
+
this.handleRejectedODataJsonPromise(err);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
export default new VivaEngageRoleMemberAddCommand();
|
|
79
|
+
//# sourceMappingURL=engage-role-member-add.js.map
|
|
@@ -22,7 +22,11 @@ class VivaEngageRoleMemberListCommand extends GraphCommand {
|
|
|
22
22
|
getRefinedSchema(schema) {
|
|
23
23
|
return schema
|
|
24
24
|
.refine(options => [options.roleId, options.roleName].filter(x => x !== undefined).length === 1, {
|
|
25
|
-
error: 'Specify either roleId, or roleName, but not both.'
|
|
25
|
+
error: 'Specify either roleId, or roleName, but not both.',
|
|
26
|
+
params: {
|
|
27
|
+
customCode: 'optionSet',
|
|
28
|
+
options: ['roleId', 'roleName']
|
|
29
|
+
}
|
|
26
30
|
});
|
|
27
31
|
}
|
|
28
32
|
defaultProperties() {
|
|
@@ -25,6 +25,7 @@ export default {
|
|
|
25
25
|
ENGAGE_REPORT_GROUPSACTIVITYDETAIL: `${prefix} engage report groupsactivitydetail`,
|
|
26
26
|
ENGAGE_REPORT_GROUPSACTIVITYGROUPCOUNTS: `${prefix} engage report groupsactivitygroupcounts`,
|
|
27
27
|
ENGAGE_ROLE_LIST: `${prefix} engage role list`,
|
|
28
|
+
ENGAGE_ROLE_MEMBER_ADD: `${prefix} engage role member add`,
|
|
28
29
|
ENGAGE_ROLE_MEMBER_LIST: `${prefix} engage role member list`,
|
|
29
30
|
ENGAGE_ROLE_MEMBER_REMOVE: `${prefix} engage role member remove`,
|
|
30
31
|
ENGAGE_SEARCH: `${prefix} engage search`,
|
package/dist/utils/prompt.js
CHANGED
|
@@ -13,13 +13,7 @@ export const prompt = {
|
|
|
13
13
|
}
|
|
14
14
|
const errorOutput = cli.getSettingWithDefaultValue(settingsNames.errorOutput, 'stderr');
|
|
15
15
|
return inquirerInput
|
|
16
|
-
.default(config, { output: errorOutput === 'stderr' ? process.stderr : process.stdout })
|
|
17
|
-
.catch(error => {
|
|
18
|
-
if (error instanceof Error && error.name === 'ExitPromptError') {
|
|
19
|
-
return ''; // noop; handle Ctrl + C
|
|
20
|
-
}
|
|
21
|
-
throw error;
|
|
22
|
-
});
|
|
16
|
+
.default(config, { output: errorOutput === 'stderr' ? process.stderr : process.stdout });
|
|
23
17
|
},
|
|
24
18
|
/* c8 ignore next 9 */
|
|
25
19
|
async forConfirmation(config) {
|
|
@@ -41,16 +41,16 @@ m365 outlook calendar get [options]
|
|
|
41
41
|
<Tabs>
|
|
42
42
|
<TabItem value="Delegated">
|
|
43
43
|
|
|
44
|
-
| Resource | Permissions
|
|
45
|
-
|
|
46
|
-
| Microsoft Graph |
|
|
44
|
+
| Resource | Permissions |
|
|
45
|
+
|-----------------|----------------|
|
|
46
|
+
| Microsoft Graph | Calendars.Read |
|
|
47
47
|
|
|
48
48
|
</TabItem>
|
|
49
49
|
<TabItem value="Application">
|
|
50
50
|
|
|
51
|
-
| Resource | Permissions
|
|
52
|
-
|
|
53
|
-
| Microsoft Graph |
|
|
51
|
+
| Resource | Permissions |
|
|
52
|
+
|-----------------|----------------|
|
|
53
|
+
| Microsoft Graph | Calendars.Read |
|
|
54
54
|
|
|
55
55
|
</TabItem>
|
|
56
56
|
</Tabs>
|
|
@@ -162,4 +162,4 @@ m365 outlook calendar get --userId b743445a-112c-4fda-9afd-05943f9c7b36 --calend
|
|
|
162
162
|
```
|
|
163
163
|
|
|
164
164
|
</TabItem>
|
|
165
|
-
</Tabs>
|
|
165
|
+
</Tabs>
|
|
@@ -15,8 +15,17 @@ m365 spe container get [options]
|
|
|
15
15
|
## Options
|
|
16
16
|
|
|
17
17
|
```md definition-list
|
|
18
|
-
`-i, --id
|
|
19
|
-
: The Id of the container instance.
|
|
18
|
+
`-i, --id [id]`
|
|
19
|
+
: The Id of the container instance. Specify either `id` or `name` but not both.
|
|
20
|
+
|
|
21
|
+
`-n, --name [name]`
|
|
22
|
+
: Display name of the container. Specify either `id` or `name` but not both.
|
|
23
|
+
|
|
24
|
+
`--containerTypeId [containerTypeId]`
|
|
25
|
+
: The container type ID of the container instance. Specify either `containerTypeId` or `containerTypeName` when using `name` but not both.
|
|
26
|
+
|
|
27
|
+
`--containerTypeName [containerTypeName]`
|
|
28
|
+
: The container type name of the container instance. Specify either `containerTypeId` or `containerTypeName` when using `name` but not both.
|
|
20
29
|
```
|
|
21
30
|
|
|
22
31
|
<Global />
|
|
@@ -42,12 +51,24 @@ m365 spe container get [options]
|
|
|
42
51
|
|
|
43
52
|
## Examples
|
|
44
53
|
|
|
45
|
-
Gets a container of a specific type.
|
|
54
|
+
Gets a container of a specific type by id.
|
|
46
55
|
|
|
47
56
|
```sh
|
|
48
57
|
m365 spe container get --id "b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_5Z"
|
|
49
58
|
```
|
|
50
59
|
|
|
60
|
+
Gets a container of a specific type by display name.
|
|
61
|
+
|
|
62
|
+
```sh
|
|
63
|
+
m365 spe container get --name "My Application Storage Container" --containerTypeId "91710488-5756-407f-9046-fbe5f0b4de73"
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
Gets container by using its name and container type name.
|
|
67
|
+
|
|
68
|
+
```sh
|
|
69
|
+
m365 spe container get --name "Invoices" --containerTypeName "My container type name"
|
|
70
|
+
```
|
|
71
|
+
|
|
51
72
|
## Response
|
|
52
73
|
|
|
53
74
|
<Tabs>
|
|
@@ -15,8 +15,17 @@ m365 spe container permission list [options]
|
|
|
15
15
|
## Options
|
|
16
16
|
|
|
17
17
|
```md definition-list
|
|
18
|
-
`-i, --containerId
|
|
19
|
-
: The ID of the SharePoint Embedded Container.
|
|
18
|
+
`-i, --containerId [id]`
|
|
19
|
+
: The ID of the SharePoint Embedded Container. Specify either `containerId` or `containerName` but not both.
|
|
20
|
+
|
|
21
|
+
`-n, --containerName [containerName]`
|
|
22
|
+
: Display name of the SharePoint Embedded Container. Specify either `containerId` or `containerName` but not both.
|
|
23
|
+
|
|
24
|
+
`--containerTypeId [containerTypeId]`
|
|
25
|
+
: The container type ID of the container instance. Specify either `containerTypeId` or `containerTypeName` when using `containerName` but not both.
|
|
26
|
+
|
|
27
|
+
`--containerTypeName [containerTypeName]`
|
|
28
|
+
: The container type name of the container instance. Specify either `containerTypeId` or `containerTypeName` when using `containerName` but not both.
|
|
20
29
|
```
|
|
21
30
|
|
|
22
31
|
<Global />
|
|
@@ -42,12 +51,24 @@ m365 spe container permission list [options]
|
|
|
42
51
|
|
|
43
52
|
## Examples
|
|
44
53
|
|
|
45
|
-
Lists Container permissions.
|
|
54
|
+
Lists Container permissions by id.
|
|
46
55
|
|
|
47
56
|
```sh
|
|
48
57
|
m365 spe container permission list --containerId "b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_5Z"
|
|
49
58
|
```
|
|
50
59
|
|
|
60
|
+
Lists Container permissions by display name.
|
|
61
|
+
|
|
62
|
+
```sh
|
|
63
|
+
m365 spe container permission list --containerName "My Application Storage Container" --containerTypeId "91710488-5756-407f-9046-fbe5f0b4de73"
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
Lists Container permissions by display name and container type name.
|
|
67
|
+
|
|
68
|
+
```sh
|
|
69
|
+
m365 spe container permission list --containerName "My Application Storage Container" --containerTypeName "My container type name"
|
|
70
|
+
```
|
|
71
|
+
|
|
51
72
|
## Response
|
|
52
73
|
|
|
53
74
|
<Tabs>
|