@pnp/cli-microsoft365 11.5.0 → 11.6.0-beta.1d74bb5
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/.devproxy/api-specs/sharepoint-admin.yaml +40 -0
- package/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/cli/cli.js +3 -0
- package/dist/m365/base/PeriodBasedReport.js +1 -1
- package/dist/m365/cli/commands/config/config-set.js +1 -1
- package/dist/m365/entra/commands/approleassignment/approleassignment-add.js +2 -2
- package/dist/m365/entra/commands/approleassignment/approleassignment-remove.js +1 -1
- package/dist/m365/entra/commands/group/group-add.js +2 -4
- package/dist/m365/entra/commands/group/group-member-list.js +1 -1
- package/dist/m365/entra/commands/m365group/m365group-add.js +4 -8
- package/dist/m365/entra/commands/user/user-recyclebinitem-list.js +5 -0
- package/dist/m365/file/commands/convert/convert-pdf.js +3 -5
- package/dist/m365/file/commands/file-add.js +3 -5
- package/dist/m365/file/commands/file-list.js +1 -2
- package/dist/m365/flow/commands/flow-export.js +1 -2
- package/dist/m365/flow/commands/owner/owner-remove.js +1 -1
- package/dist/m365/graph/commands/schemaextension/schemaextension-set.js +1 -1
- package/dist/m365/outlook/commands/calendargroup/calendargroup-list.js +87 -0
- package/dist/m365/outlook/commands.js +1 -0
- package/dist/m365/planner/commands/task/task-add.js +1 -2
- package/dist/m365/planner/commands/task/task-list.js +1 -1
- package/dist/m365/planner/commands/task/task-set.js +1 -2
- package/dist/m365/pp/commands/environment/environment-list.js +1 -1
- package/dist/m365/spfx/commands/project/project-doctor/rules/DependencyRule.js +1 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN003003_CFG_bundles.js +4 -5
- package/dist/m365/spfx/commands/spfx-doctor.js +1 -2
- package/dist/m365/spo/commands/agent/agent-add.js +172 -0
- package/dist/m365/spo/commands/app/app-deploy.js +2 -4
- package/dist/m365/spo/commands/app/app-list.js +2 -4
- package/dist/m365/spo/commands/cdn/cdn-get.js +2 -4
- package/dist/m365/spo/commands/cdn/cdn-origin-add.js +2 -4
- package/dist/m365/spo/commands/cdn/cdn-origin-list.js +2 -4
- package/dist/m365/spo/commands/cdn/cdn-policy-list.js +2 -4
- package/dist/m365/spo/commands/cdn/cdn-set.js +2 -3
- package/dist/m365/spo/commands/contenttype/contenttype-set.js +2 -2
- package/dist/m365/spo/commands/field/field-get.js +1 -1
- package/dist/m365/spo/commands/field/field-remove.js +1 -1
- package/dist/m365/spo/commands/file/file-remove.js +1 -1
- package/dist/m365/spo/commands/file/file-sharinginfo-get.js +1 -1
- package/dist/m365/spo/commands/list/list-remove.js +1 -1
- package/dist/m365/spo/commands/list/list-view-field-add.js +1 -2
- package/dist/m365/spo/commands/listitem/listitem-isrecord.js +2 -3
- package/dist/m365/spo/commands/listitem/listitem-record-declare.js +1 -1
- package/dist/m365/spo/commands/navigation/navigation-node-get.js +18 -28
- package/dist/m365/spo/commands/navigation/navigation-node-list.js +14 -39
- package/dist/m365/spo/commands/orgassetslibrary/orgassetslibrary-add.js +1 -2
- package/dist/m365/spo/commands/page/clientsidepages.js +6 -6
- package/dist/m365/spo/commands/page/page-add.js +2 -4
- package/dist/m365/spo/commands/page/page-header-set.js +4 -6
- package/dist/m365/spo/commands/page/page-section-add.js +7 -7
- package/dist/m365/spo/commands/page/page-set.js +6 -12
- package/dist/m365/spo/commands/page/page-text-add.js +1 -2
- package/dist/m365/spo/commands/site/site-add.js +38 -8
- package/dist/m365/spo/commands/site/site-apppermission-add.js +1 -1
- package/dist/m365/spo/commands/site/site-set.js +1 -1
- package/dist/m365/spo/commands/spo-search.js +1 -1
- package/dist/m365/spo/commands/tenant/tenant-commandset-remove.js +1 -1
- package/dist/m365/spo/commands/tenant/tenant-site-get.js +112 -0
- package/dist/m365/spo/commands/term/term-group-add.js +1 -2
- package/dist/m365/spo/commands/term/term-set-add.js +1 -2
- package/dist/m365/spo/commands/theme/theme-apply.js +1 -1
- package/dist/m365/spo/commands/user/user-list.js +1 -3
- package/dist/m365/spo/commands/web/web-add.js +2 -4
- package/dist/m365/spo/commands/web/web-reindex.js +1 -2
- package/dist/m365/spo/commands.js +2 -0
- package/dist/m365/spp/commands/autofillcolumn/autofillcolumn-set.js +1 -1
- package/dist/m365/viva/commands/engage/engage-role-member-remove.js +83 -0
- package/dist/m365/viva/commands/engage/engage-search.js +1 -1
- package/dist/m365/viva/commands.js +1 -0
- package/dist/utils/accessToken.js +21 -0
- package/dist/utils/brandCenter.js +29 -0
- package/dist/utils/odata.js +1 -2
- package/dist/utils/powerPlatform.js +1 -1
- package/dist/utils/spo.js +2 -2
- package/dist/utils/urlUtil.js +2 -12
- package/docs/docs/cmd/adaptivecard/adaptivecard-send.mdx +1 -1
- package/docs/docs/cmd/app/app-get.mdx +1 -1
- package/docs/docs/cmd/app/app-open.mdx +1 -1
- package/docs/docs/cmd/app/permission/permission-add.mdx +1 -1
- package/docs/docs/cmd/app/permission/permission-list.mdx +1 -1
- package/docs/docs/cmd/booking/business/business-get.mdx +1 -1
- package/docs/docs/cmd/booking/business/business-list.mdx +1 -1
- package/docs/docs/cmd/cli/app/app-add.mdx +1 -1
- package/docs/docs/cmd/cli/app/app-reconsent.mdx +1 -1
- package/docs/docs/cmd/cli/cli-consent.mdx +1 -1
- package/docs/docs/cmd/cli/cli-doctor.mdx +1 -1
- package/docs/docs/cmd/cli/cli-issue.mdx +1 -1
- package/docs/docs/cmd/cli/completion/completion-clink-update.mdx +1 -1
- package/docs/docs/cmd/cli/completion/completion-pwsh-setup.mdx +1 -1
- package/docs/docs/cmd/cli/completion/completion-pwsh-update.mdx +1 -1
- package/docs/docs/cmd/cli/completion/completion-sh-setup.mdx +1 -1
- package/docs/docs/cmd/cli/completion/completion-sh-update.mdx +1 -1
- package/docs/docs/cmd/cli/config/config-get.mdx +2 -2
- package/docs/docs/cmd/cli/config/config-list.mdx +2 -2
- package/docs/docs/cmd/cli/config/config-reset.mdx +2 -2
- package/docs/docs/cmd/cli/config/config-set.mdx +2 -2
- package/docs/docs/cmd/connection/connection-list.mdx +1 -1
- package/docs/docs/cmd/connection/connection-remove.mdx +1 -1
- package/docs/docs/cmd/connection/connection-set.mdx +1 -1
- package/docs/docs/cmd/connection/connection-use.mdx +1 -1
- package/docs/docs/cmd/context/context-init.mdx +1 -1
- package/docs/docs/cmd/context/context-remove.mdx +1 -1
- package/docs/docs/cmd/context/option/option-list.mdx +1 -1
- package/docs/docs/cmd/context/option/option-remove.mdx +1 -1
- package/docs/docs/cmd/context/option/option-set.mdx +1 -1
- package/docs/docs/cmd/docs.mdx +1 -1
- package/docs/docs/cmd/entra/administrativeunit/administrativeunit-add.mdx +1 -1
- package/docs/docs/cmd/entra/administrativeunit/administrativeunit-get.mdx +1 -1
- package/docs/docs/cmd/entra/administrativeunit/administrativeunit-list.mdx +1 -1
- package/docs/docs/cmd/entra/administrativeunit/administrativeunit-member-add.mdx +1 -1
- package/docs/docs/cmd/entra/administrativeunit/administrativeunit-member-get.mdx +1 -1
- package/docs/docs/cmd/entra/administrativeunit/administrativeunit-member-list.mdx +1 -1
- package/docs/docs/cmd/entra/administrativeunit/administrativeunit-member-remove.mdx +1 -1
- package/docs/docs/cmd/entra/administrativeunit/administrativeunit-remove.mdx +1 -1
- package/docs/docs/cmd/entra/administrativeunit/administrativeunit-roleassignment-add.mdx +1 -1
- package/docs/docs/cmd/entra/app/app-add.mdx +1 -1
- package/docs/docs/cmd/entra/app/app-get.mdx +1 -1
- package/docs/docs/cmd/entra/app/app-list.mdx +1 -1
- package/docs/docs/cmd/entra/app/app-permission-add.mdx +1 -1
- package/docs/docs/cmd/entra/app/app-permission-list.mdx +1 -1
- package/docs/docs/cmd/entra/app/app-permission-remove.mdx +1 -1
- package/docs/docs/cmd/entra/app/app-remove.mdx +1 -1
- package/docs/docs/cmd/entra/app/app-role-add.mdx +22 -1
- package/docs/docs/cmd/entra/app/app-role-list.mdx +21 -2
- package/docs/docs/cmd/entra/app/app-role-remove.mdx +23 -2
- package/docs/docs/cmd/entra/app/app-set.mdx +1 -1
- package/docs/docs/cmd/entra/approleassignment/approleassignment-add.mdx +1 -1
- package/docs/docs/cmd/entra/approleassignment/approleassignment-list.mdx +1 -1
- package/docs/docs/cmd/entra/approleassignment/approleassignment-remove.mdx +1 -1
- package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-add.mdx +1 -1
- package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-get.mdx +1 -1
- package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-list.mdx +1 -1
- package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-remove.mdx +1 -1
- package/docs/docs/cmd/entra/group/group-add.mdx +1 -1
- package/docs/docs/cmd/entra/group/group-get.mdx +1 -1
- package/docs/docs/cmd/entra/group/group-list.mdx +1 -1
- package/docs/docs/cmd/entra/group/group-member-add.mdx +1 -1
- package/docs/docs/cmd/entra/group/group-member-list.mdx +1 -1
- package/docs/docs/cmd/entra/group/group-member-remove.mdx +1 -1
- package/docs/docs/cmd/entra/group/group-member-set.mdx +1 -1
- package/docs/docs/cmd/entra/group/group-remove.mdx +1 -1
- package/docs/docs/cmd/entra/group/group-set.mdx +1 -1
- package/docs/docs/cmd/entra/groupsetting/groupsetting-add.mdx +1 -1
- package/docs/docs/cmd/entra/groupsetting/groupsetting-get.mdx +1 -1
- package/docs/docs/cmd/entra/groupsetting/groupsetting-list.mdx +1 -1
- package/docs/docs/cmd/entra/groupsetting/groupsetting-remove.mdx +1 -1
- package/docs/docs/cmd/entra/groupsetting/groupsetting-set.mdx +1 -1
- package/docs/docs/cmd/entra/groupsettingtemplate/groupsettingtemplate-get.mdx +1 -1
- package/docs/docs/cmd/entra/groupsettingtemplate/groupsettingtemplate-list.mdx +1 -1
- package/docs/docs/cmd/entra/license/license-list.mdx +1 -1
- package/docs/docs/cmd/entra/m365group/m365group-add.mdx +1 -1
- package/docs/docs/cmd/entra/m365group/m365group-conversation-list.mdx +1 -1
- package/docs/docs/cmd/entra/m365group/m365group-conversation-post-list.mdx +1 -1
- package/docs/docs/cmd/entra/m365group/m365group-get.mdx +1 -1
- package/docs/docs/cmd/entra/m365group/m365group-list.mdx +1 -1
- package/docs/docs/cmd/entra/m365group/m365group-recyclebinitem-clear.mdx +1 -1
- package/docs/docs/cmd/entra/m365group/m365group-recyclebinitem-list.mdx +1 -1
- package/docs/docs/cmd/entra/m365group/m365group-recyclebinitem-remove.mdx +1 -1
- package/docs/docs/cmd/entra/m365group/m365group-recyclebinitem-restore.mdx +1 -1
- package/docs/docs/cmd/entra/m365group/m365group-remove.mdx +1 -1
- package/docs/docs/cmd/entra/m365group/m365group-renew.mdx +1 -1
- package/docs/docs/cmd/entra/m365group/m365group-report-activitycounts.mdx +1 -1
- package/docs/docs/cmd/entra/m365group/m365group-report-activitydetail.mdx +1 -1
- package/docs/docs/cmd/entra/m365group/m365group-report-activityfilecounts.mdx +1 -1
- package/docs/docs/cmd/entra/m365group/m365group-report-activitygroupcounts.mdx +1 -1
- package/docs/docs/cmd/entra/m365group/m365group-report-activitystorage.mdx +1 -1
- package/docs/docs/cmd/entra/m365group/m365group-set.mdx +1 -1
- package/docs/docs/cmd/entra/m365group/m365group-teamify.mdx +1 -1
- package/docs/docs/cmd/entra/m365group/m365group-user-add.mdx +1 -1
- package/docs/docs/cmd/entra/m365group/m365group-user-list.mdx +1 -1
- package/docs/docs/cmd/entra/m365group/m365group-user-remove.mdx +1 -1
- package/docs/docs/cmd/entra/m365group/m365group-user-set.mdx +1 -1
- package/docs/docs/cmd/entra/multitenant/multitenant-add.mdx +1 -1
- package/docs/docs/cmd/entra/multitenant/multitenant-get.mdx +1 -1
- package/docs/docs/cmd/entra/multitenant/multitenant-remove.mdx +1 -1
- package/docs/docs/cmd/entra/multitenant/multitenant-set.mdx +1 -1
- package/docs/docs/cmd/entra/oauth2grant/oauth2grant-add.mdx +1 -1
- package/docs/docs/cmd/entra/oauth2grant/oauth2grant-list.mdx +1 -1
- package/docs/docs/cmd/entra/oauth2grant/oauth2grant-remove.mdx +1 -1
- package/docs/docs/cmd/entra/oauth2grant/oauth2grant-set.mdx +1 -1
- package/docs/docs/cmd/entra/organization/organization-list.mdx +1 -1
- package/docs/docs/cmd/entra/organization/organization-set.mdx +1 -1
- package/docs/docs/cmd/entra/pim/pim-role-assignment-add.mdx +1 -1
- package/docs/docs/cmd/entra/pim/pim-role-assignment-eligibility-list.mdx +1 -1
- package/docs/docs/cmd/entra/pim/pim-role-assignment-list.mdx +1 -1
- package/docs/docs/cmd/entra/pim/pim-role-assignment-remove.mdx +1 -1
- package/docs/docs/cmd/entra/pim/pim-role-request-list.mdx +1 -1
- package/docs/docs/cmd/entra/policy/policy-list.mdx +20 -1
- package/docs/docs/cmd/entra/resourcenamespace/resourcenamespace-list.mdx +20 -1
- package/docs/docs/cmd/entra/roleassignment/roleassignment-add.mdx +1 -1
- package/docs/docs/cmd/entra/roledefinition/roledefinition-add.mdx +1 -1
- package/docs/docs/cmd/entra/roledefinition/roledefinition-get.mdx +1 -1
- package/docs/docs/cmd/entra/roledefinition/roledefinition-list.mdx +1 -1
- package/docs/docs/cmd/entra/roledefinition/roledefinition-remove.mdx +1 -1
- package/docs/docs/cmd/entra/roledefinition/roledefinition-set.mdx +1 -1
- package/docs/docs/cmd/entra/rolepermission/rolepermission-list.mdx +1 -1
- package/docs/docs/cmd/entra/siteclassification/siteclassification-disable.mdx +1 -1
- package/docs/docs/cmd/entra/siteclassification/siteclassification-enable.mdx +1 -1
- package/docs/docs/cmd/entra/siteclassification/siteclassification-get.mdx +1 -1
- package/docs/docs/cmd/entra/siteclassification/siteclassification-set.mdx +1 -1
- package/docs/docs/cmd/entra/user/user-add.mdx +26 -7
- package/docs/docs/cmd/entra/user/user-get.mdx +20 -3
- package/docs/docs/cmd/entra/user/user-groupmembership-list.mdx +1 -1
- package/docs/docs/cmd/entra/user/user-guest-add.mdx +1 -1
- package/docs/docs/cmd/entra/user/user-hibp.mdx +5 -1
- package/docs/docs/cmd/entra/user/user-license-add.mdx +1 -1
- package/docs/docs/cmd/entra/user/user-license-list.mdx +1 -1
- package/docs/docs/cmd/entra/user/user-license-remove.mdx +1 -1
- package/docs/docs/cmd/entra/user/user-list.mdx +20 -1
- package/docs/docs/cmd/entra/user/user-password-validate.mdx +1 -1
- package/docs/docs/cmd/entra/user/user-recyclebinitem-clear.mdx +1 -1
- package/docs/docs/cmd/entra/user/user-recyclebinitem-list.mdx +1 -1
- package/docs/docs/cmd/entra/user/user-recyclebinitem-remove.mdx +1 -1
- package/docs/docs/cmd/entra/user/user-recyclebinitem-restore.mdx +1 -1
- package/docs/docs/cmd/entra/user/user-registrationdetails-list.mdx +1 -1
- package/docs/docs/cmd/entra/user/user-remove.mdx +27 -6
- package/docs/docs/cmd/entra/user/user-session-revoke.mdx +1 -1
- package/docs/docs/cmd/entra/user/user-set.mdx +28 -1
- package/docs/docs/cmd/entra/user/user-signin-list.mdx +1 -1
- package/docs/docs/cmd/exo/approleassignment/approleassignment-add.mdx +1 -1
- package/docs/docs/cmd/external/connection/connection-add.mdx +1 -1
- package/docs/docs/cmd/external/connection/connection-doctor.mdx +1 -1
- package/docs/docs/cmd/external/connection/connection-get.mdx +1 -1
- package/docs/docs/cmd/external/connection/connection-list.mdx +1 -1
- package/docs/docs/cmd/external/connection/connection-remove.mdx +1 -1
- package/docs/docs/cmd/external/connection/connection-schema-add.mdx +1 -1
- package/docs/docs/cmd/external/connection/connection-urltoitemresolver-add.mdx +1 -1
- package/docs/docs/cmd/external/item/item-add.mdx +1 -1
- package/docs/docs/cmd/file/convert/convert-pdf.mdx +1 -1
- package/docs/docs/cmd/file/file-add.mdx +1 -1
- package/docs/docs/cmd/file/file-copy.mdx +1 -1
- package/docs/docs/cmd/file/file-list.mdx +1 -1
- package/docs/docs/cmd/file/file-move.mdx +1 -1
- package/docs/docs/cmd/flow/environment/environment-get.mdx +1 -1
- package/docs/docs/cmd/flow/environment/environment-list.mdx +1 -1
- package/docs/docs/cmd/flow/flow-disable.mdx +1 -1
- package/docs/docs/cmd/flow/flow-enable.mdx +1 -1
- package/docs/docs/cmd/flow/flow-export.mdx +1 -1
- package/docs/docs/cmd/flow/flow-get.mdx +1 -1
- package/docs/docs/cmd/flow/flow-list.mdx +1 -1
- package/docs/docs/cmd/flow/flow-remove.mdx +1 -1
- package/docs/docs/cmd/flow/owner/owner-ensure.mdx +1 -1
- package/docs/docs/cmd/flow/owner/owner-list.mdx +1 -1
- package/docs/docs/cmd/flow/owner/owner-remove.mdx +1 -1
- package/docs/docs/cmd/flow/recyclebinitem/recyclebinitem-list.mdx +1 -1
- package/docs/docs/cmd/flow/recyclebinitem/recyclebinitem-restore.mdx +1 -1
- package/docs/docs/cmd/flow/run/run-cancel.mdx +1 -1
- package/docs/docs/cmd/flow/run/run-get.mdx +1 -1
- package/docs/docs/cmd/flow/run/run-list.mdx +1 -1
- package/docs/docs/cmd/flow/run/run-resubmit.mdx +1 -1
- package/docs/docs/cmd/graph/changelog/changelog-list.mdx +1 -1
- package/docs/docs/cmd/graph/directoryextension/directoryextension-add.mdx +1 -1
- package/docs/docs/cmd/graph/directoryextension/directoryextension-get.mdx +1 -1
- package/docs/docs/cmd/graph/directoryextension/directoryextension-list.mdx +1 -1
- package/docs/docs/cmd/graph/directoryextension/directoryextension-remove.mdx +1 -1
- package/docs/docs/cmd/graph/openextension/openextension-add.mdx +1 -1
- package/docs/docs/cmd/graph/openextension/openextension-get.mdx +1 -1
- package/docs/docs/cmd/graph/openextension/openextension-list.mdx +1 -1
- package/docs/docs/cmd/graph/openextension/openextension-remove.mdx +1 -1
- package/docs/docs/cmd/graph/openextension/openextension-set.mdx +1 -1
- package/docs/docs/cmd/graph/schemaextension/schemaextension-add.mdx +1 -1
- package/docs/docs/cmd/graph/schemaextension/schemaextension-get.mdx +1 -1
- package/docs/docs/cmd/graph/schemaextension/schemaextension-list.mdx +1 -1
- package/docs/docs/cmd/graph/schemaextension/schemaextension-remove.mdx +1 -1
- package/docs/docs/cmd/graph/schemaextension/schemaextension-set.mdx +1 -1
- package/docs/docs/cmd/graph/subscription/subscription-add.mdx +1 -1
- package/docs/docs/cmd/login.mdx +1 -1
- package/docs/docs/cmd/logout.mdx +1 -1
- package/docs/docs/cmd/onedrive/onedrive-list.mdx +1 -1
- package/docs/docs/cmd/onedrive/report/report-activityfilecounts.mdx +1 -1
- package/docs/docs/cmd/onedrive/report/report-activityusercounts.mdx +1 -1
- package/docs/docs/cmd/onedrive/report/report-activityuserdetail.mdx +1 -1
- package/docs/docs/cmd/onedrive/report/report-usageaccountcounts.mdx +1 -1
- package/docs/docs/cmd/onedrive/report/report-usageaccountdetail.mdx +1 -1
- package/docs/docs/cmd/onedrive/report/report-usagefilecounts.mdx +1 -1
- package/docs/docs/cmd/onedrive/report/report-usagestorage.mdx +1 -1
- package/docs/docs/cmd/onenote/notebook/notebook-add.mdx +1 -1
- package/docs/docs/cmd/onenote/notebook/notebook-list.mdx +1 -1
- package/docs/docs/cmd/onenote/page/page-list.mdx +1 -1
- package/docs/docs/cmd/outlook/calendargroup/calendargroup-list.mdx +120 -0
- package/docs/docs/cmd/outlook/mail/mail-searchfolder-add.mdx +1 -1
- package/docs/docs/cmd/outlook/mail/mail-send.mdx +1 -1
- package/docs/docs/cmd/outlook/mailbox/mailbox-settings-get.mdx +1 -1
- package/docs/docs/cmd/outlook/mailbox/mailbox-settings-set.mdx +1 -1
- package/docs/docs/cmd/outlook/message/message-get.mdx +1 -1
- package/docs/docs/cmd/outlook/message/message-list.mdx +1 -1
- package/docs/docs/cmd/outlook/message/message-move.mdx +1 -1
- package/docs/docs/cmd/outlook/message/message-remove.mdx +1 -1
- package/docs/docs/cmd/outlook/report/report-mailactivitycounts.mdx +1 -1
- package/docs/docs/cmd/outlook/report/report-mailactivityusercounts.mdx +1 -1
- package/docs/docs/cmd/outlook/report/report-mailactivityuserdetail.mdx +1 -1
- package/docs/docs/cmd/outlook/report/report-mailappusageappsusercounts.mdx +1 -1
- package/docs/docs/cmd/outlook/report/report-mailappusageusercounts.mdx +1 -1
- package/docs/docs/cmd/outlook/report/report-mailappusageuserdetail.mdx +1 -1
- package/docs/docs/cmd/outlook/report/report-mailappusageversionsusercounts.mdx +1 -1
- package/docs/docs/cmd/outlook/report/report-mailboxusagedetail.mdx +1 -1
- package/docs/docs/cmd/outlook/report/report-mailboxusagemailboxcount.mdx +1 -1
- package/docs/docs/cmd/outlook/report/report-mailboxusagequotastatusmailboxcounts.mdx +1 -1
- package/docs/docs/cmd/outlook/report/report-mailboxusagestorage.mdx +1 -1
- package/docs/docs/cmd/outlook/room/room-list.mdx +1 -1
- package/docs/docs/cmd/outlook/roomlist/roomlist-list.mdx +1 -1
- package/docs/docs/cmd/pa/app/app-consent-set.mdx +1 -1
- package/docs/docs/cmd/pa/app/app-export.mdx +1 -1
- package/docs/docs/cmd/pa/app/app-get.mdx +1 -1
- package/docs/docs/cmd/pa/app/app-list.mdx +1 -1
- package/docs/docs/cmd/pa/app/app-owner-set.mdx +1 -1
- package/docs/docs/cmd/pa/app/app-permission-ensure.mdx +1 -1
- package/docs/docs/cmd/pa/app/app-permission-list.mdx +1 -1
- package/docs/docs/cmd/pa/app/app-permission-remove.mdx +1 -1
- package/docs/docs/cmd/pa/app/app-remove.mdx +1 -1
- package/docs/docs/cmd/pa/connector/connector-export.mdx +1 -1
- package/docs/docs/cmd/pa/connector/connector-list.mdx +1 -1
- package/docs/docs/cmd/pa/environment/environment-get.mdx +1 -1
- package/docs/docs/cmd/pa/environment/environment-list.mdx +1 -1
- package/docs/docs/cmd/planner/bucket/bucket-add.mdx +1 -1
- package/docs/docs/cmd/planner/bucket/bucket-get.mdx +1 -1
- package/docs/docs/cmd/planner/bucket/bucket-list.mdx +1 -1
- package/docs/docs/cmd/planner/bucket/bucket-remove.mdx +1 -1
- package/docs/docs/cmd/planner/bucket/bucket-set.mdx +1 -1
- package/docs/docs/cmd/planner/plan/plan-add.mdx +1 -1
- package/docs/docs/cmd/planner/plan/plan-get.mdx +1 -1
- package/docs/docs/cmd/planner/plan/plan-list.mdx +1 -1
- package/docs/docs/cmd/planner/plan/plan-remove.mdx +1 -1
- package/docs/docs/cmd/planner/plan/plan-set.mdx +1 -1
- package/docs/docs/cmd/planner/roster/roster-add.mdx +1 -1
- package/docs/docs/cmd/planner/roster/roster-get.mdx +1 -1
- package/docs/docs/cmd/planner/roster/roster-member-add.mdx +1 -1
- package/docs/docs/cmd/planner/roster/roster-member-get.mdx +1 -1
- package/docs/docs/cmd/planner/roster/roster-member-list.mdx +1 -1
- package/docs/docs/cmd/planner/roster/roster-member-remove.mdx +1 -1
- package/docs/docs/cmd/planner/roster/roster-plan-list.mdx +1 -1
- package/docs/docs/cmd/planner/roster/roster-remove.mdx +1 -1
- package/docs/docs/cmd/planner/task/task-add.mdx +1 -1
- package/docs/docs/cmd/planner/task/task-checklistitem-add.mdx +1 -1
- package/docs/docs/cmd/planner/task/task-checklistitem-list.mdx +1 -1
- package/docs/docs/cmd/planner/task/task-checklistitem-remove.mdx +1 -1
- package/docs/docs/cmd/planner/task/task-get.mdx +1 -1
- package/docs/docs/cmd/planner/task/task-list.mdx +1 -1
- package/docs/docs/cmd/planner/task/task-reference-add.mdx +1 -1
- package/docs/docs/cmd/planner/task/task-reference-list.mdx +1 -1
- package/docs/docs/cmd/planner/task/task-reference-remove.mdx +1 -1
- package/docs/docs/cmd/planner/task/task-remove.mdx +1 -1
- package/docs/docs/cmd/planner/task/task-set.mdx +1 -1
- package/docs/docs/cmd/planner/tenant/tenant-settings-list.mdx +1 -1
- package/docs/docs/cmd/planner/tenant/tenant-settings-set.mdx +1 -1
- package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-get.mdx +1 -1
- package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-list.mdx +1 -1
- package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-remove.mdx +1 -1
- package/docs/docs/cmd/pp/copilot/copilot-get.mdx +1 -1
- package/docs/docs/cmd/pp/copilot/copilot-list.mdx +1 -1
- package/docs/docs/cmd/pp/copilot/copilot-remove.mdx +1 -1
- package/docs/docs/cmd/pp/dataverse/dataverse-table-get.mdx +1 -1
- package/docs/docs/cmd/pp/dataverse/dataverse-table-list.mdx +1 -1
- package/docs/docs/cmd/pp/dataverse/dataverse-table-remove.mdx +1 -1
- package/docs/docs/cmd/pp/dataverse/dataverse-table-row-list.mdx +1 -1
- package/docs/docs/cmd/pp/dataverse/dataverse-table-row-remove.mdx +1 -1
- package/docs/docs/cmd/pp/environment/environment-get.mdx +1 -1
- package/docs/docs/cmd/pp/environment/environment-list.mdx +1 -1
- package/docs/docs/cmd/pp/gateway/gateway-get.mdx +1 -1
- package/docs/docs/cmd/pp/gateway/gateway-list.mdx +1 -1
- package/docs/docs/cmd/pp/managementapp/managementapp-add.mdx +1 -1
- package/docs/docs/cmd/pp/managementapp/managementapp-list.mdx +1 -1
- package/docs/docs/cmd/pp/solution/solution-get.mdx +1 -1
- package/docs/docs/cmd/pp/solution/solution-list.mdx +1 -1
- package/docs/docs/cmd/pp/solution/solution-publish.mdx +1 -1
- package/docs/docs/cmd/pp/solution/solution-publisher-add.mdx +1 -1
- package/docs/docs/cmd/pp/solution/solution-publisher-get.mdx +1 -1
- package/docs/docs/cmd/pp/solution/solution-publisher-list.mdx +1 -1
- package/docs/docs/cmd/pp/solution/solution-publisher-remove.mdx +1 -1
- package/docs/docs/cmd/pp/solution/solution-remove.mdx +1 -1
- package/docs/docs/cmd/pp/tenant/tenant-settings-list.mdx +1 -1
- package/docs/docs/cmd/pp/tenant/tenant-settings-set.mdx +1 -1
- package/docs/docs/cmd/pp/website/website-get.mdx +1 -1
- package/docs/docs/cmd/purview/auditlog/auditlog-list.mdx +1 -1
- package/docs/docs/cmd/purview/retentionevent/retentionevent-add.mdx +1 -1
- package/docs/docs/cmd/purview/retentionevent/retentionevent-get.mdx +1 -1
- package/docs/docs/cmd/purview/retentionevent/retentionevent-list.mdx +1 -1
- package/docs/docs/cmd/purview/retentionevent/retentionevent-remove.mdx +1 -1
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-add.mdx +1 -1
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-get.mdx +1 -1
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-list.mdx +1 -1
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-remove.mdx +1 -1
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-set.mdx +1 -1
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-add.mdx +1 -1
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-get.mdx +1 -1
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-list.mdx +1 -1
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-remove.mdx +1 -1
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-set.mdx +1 -1
- package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-get.mdx +1 -1
- package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-list.mdx +1 -1
- package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-policysettings-list.mdx +1 -1
- package/docs/docs/cmd/purview/threatassessment/threatassessment-add.mdx +1 -1
- package/docs/docs/cmd/purview/threatassessment/threatassessment-get.mdx +1 -1
- package/docs/docs/cmd/purview/threatassessment/threatassessment-list.mdx +1 -1
- package/docs/docs/cmd/request.mdx +1 -1
- package/docs/docs/cmd/search.mdx +1 -1
- package/docs/docs/cmd/setup.mdx +1 -1
- package/docs/docs/cmd/spe/container/container-activate.mdx +1 -1
- package/docs/docs/cmd/spe/container/container-add.mdx +1 -1
- package/docs/docs/cmd/spe/container/container-get.mdx +1 -1
- package/docs/docs/cmd/spe/container/container-list.mdx +1 -1
- package/docs/docs/cmd/spe/container/container-permission-list.mdx +1 -1
- package/docs/docs/cmd/spe/container/container-recyclebinitem-list.mdx +1 -1
- package/docs/docs/cmd/spe/container/container-recyclebinitem-remove.mdx +1 -1
- package/docs/docs/cmd/spe/container/container-recyclebinitem-restore.mdx +1 -1
- package/docs/docs/cmd/spe/container/container-remove.mdx +1 -1
- package/docs/docs/cmd/spe/containertype/containertype-add.mdx +1 -1
- package/docs/docs/cmd/spe/containertype/containertype-get.mdx +1 -1
- package/docs/docs/cmd/spe/containertype/containertype-list.mdx +1 -1
- package/docs/docs/cmd/spe/containertype/containertype-remove.mdx +1 -1
- package/docs/docs/cmd/spfx/package/package-generate.mdx +1 -1
- package/docs/docs/cmd/spfx/project/project-azuredevops-pipeline-add.mdx +1 -1
- package/docs/docs/cmd/spfx/project/project-github-workflow-add.mdx +1 -1
- package/docs/docs/cmd/spfx/project/project-permissions-grant.mdx +1 -1
- package/docs/docs/cmd/spfx/project/project-rename.mdx +1 -1
- package/docs/docs/cmd/spfx/project/project-upgrade.mdx +1 -1
- package/docs/docs/cmd/spo/agent/agent-add.mdx +190 -0
- package/docs/docs/cmd/spo/app/app-add.mdx +1 -1
- package/docs/docs/cmd/spo/app/app-deploy.mdx +1 -1
- package/docs/docs/cmd/spo/app/app-get.mdx +1 -1
- package/docs/docs/cmd/spo/app/app-install.mdx +1 -1
- package/docs/docs/cmd/spo/app/app-instance-list.mdx +1 -1
- package/docs/docs/cmd/spo/app/app-list.mdx +1 -1
- package/docs/docs/cmd/spo/app/app-remove.mdx +1 -1
- package/docs/docs/cmd/spo/app/app-retract.mdx +1 -1
- package/docs/docs/cmd/spo/app/app-teamspackage-download.mdx +1 -1
- package/docs/docs/cmd/spo/app/app-uninstall.mdx +1 -1
- package/docs/docs/cmd/spo/app/app-upgrade.mdx +1 -1
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-add.mdx +1 -1
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-get.mdx +1 -1
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-list.mdx +1 -1
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-remove.mdx +1 -1
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-set.mdx +1 -1
- package/docs/docs/cmd/spo/apppage/apppage-add.mdx +1 -1
- package/docs/docs/cmd/spo/apppage/apppage-set.mdx +1 -1
- package/docs/docs/cmd/spo/brandcenter/brandcenter-settings-list.mdx +1 -1
- package/docs/docs/cmd/spo/cdn/cdn-get.mdx +1 -1
- package/docs/docs/cmd/spo/cdn/cdn-origin-add.mdx +1 -1
- package/docs/docs/cmd/spo/cdn/cdn-origin-list.mdx +1 -1
- package/docs/docs/cmd/spo/cdn/cdn-origin-remove.mdx +1 -1
- package/docs/docs/cmd/spo/cdn/cdn-policy-list.mdx +1 -1
- package/docs/docs/cmd/spo/cdn/cdn-policy-set.mdx +1 -1
- package/docs/docs/cmd/spo/cdn/cdn-set.mdx +1 -1
- package/docs/docs/cmd/spo/commandset/commandset-add.mdx +1 -1
- package/docs/docs/cmd/spo/commandset/commandset-get.mdx +1 -1
- package/docs/docs/cmd/spo/commandset/commandset-list.mdx +1 -1
- package/docs/docs/cmd/spo/commandset/commandset-remove.mdx +1 -1
- package/docs/docs/cmd/spo/commandset/commandset-set.mdx +1 -1
- package/docs/docs/cmd/spo/contenttype/contenttype-add.mdx +1 -1
- package/docs/docs/cmd/spo/contenttype/contenttype-field-list.mdx +1 -1
- package/docs/docs/cmd/spo/contenttype/contenttype-field-remove.mdx +1 -1
- package/docs/docs/cmd/spo/contenttype/contenttype-field-set.mdx +1 -1
- package/docs/docs/cmd/spo/contenttype/contenttype-get.mdx +1 -1
- package/docs/docs/cmd/spo/contenttype/contenttype-list.mdx +1 -1
- package/docs/docs/cmd/spo/contenttype/contenttype-remove.mdx +1 -1
- package/docs/docs/cmd/spo/contenttype/contenttype-set.mdx +1 -1
- package/docs/docs/cmd/spo/contenttype/contenttype-sync.mdx +1 -1
- package/docs/docs/cmd/spo/contenttypehub/contenttypehub-get.mdx +1 -1
- package/docs/docs/cmd/spo/customaction/customaction-add.mdx +1 -1
- package/docs/docs/cmd/spo/customaction/customaction-clear.mdx +1 -1
- package/docs/docs/cmd/spo/customaction/customaction-get.mdx +1 -1
- package/docs/docs/cmd/spo/customaction/customaction-list.mdx +1 -1
- package/docs/docs/cmd/spo/customaction/customaction-remove.mdx +1 -1
- package/docs/docs/cmd/spo/customaction/customaction-set.mdx +1 -1
- package/docs/docs/cmd/spo/eventreceiver/eventreceiver-get.mdx +1 -1
- package/docs/docs/cmd/spo/eventreceiver/eventreceiver-list.mdx +1 -1
- package/docs/docs/cmd/spo/eventreceiver/eventreceiver-remove.mdx +1 -1
- package/docs/docs/cmd/spo/externaluser/externaluser-list.mdx +1 -1
- package/docs/docs/cmd/spo/feature/feature-disable.mdx +1 -1
- package/docs/docs/cmd/spo/feature/feature-enable.mdx +1 -1
- package/docs/docs/cmd/spo/feature/feature-list.mdx +1 -1
- package/docs/docs/cmd/spo/field/field-add.mdx +1 -1
- package/docs/docs/cmd/spo/field/field-get.mdx +1 -1
- package/docs/docs/cmd/spo/field/field-list.mdx +1 -1
- package/docs/docs/cmd/spo/field/field-remove.mdx +1 -1
- package/docs/docs/cmd/spo/field/field-set.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-add.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-checkin.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-checkout-undo.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-checkout.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-copy.mdx +2 -2
- package/docs/docs/cmd/spo/file/file-get.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-list.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-move.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-remove.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-rename.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-retentionlabel-ensure.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-retentionlabel-remove.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-roleassignment-add.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-roleassignment-remove.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-roleinheritance-break.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-roleinheritance-reset.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-sharinginfo-get.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-add.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-clear.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-get.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-list.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-remove.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-set.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-version-clear.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-version-get.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-version-keep.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-version-list.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-version-remove.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-version-restore.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-add.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-copy.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-get.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-list.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-move.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-remove.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-retentionlabel-ensure.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-retentionlabel-remove.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-roleassignment-add.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-roleassignment-remove.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-roleinheritance-break.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-roleinheritance-reset.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-set.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-sharinglink-add.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-sharinglink-clear.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-sharinglink-get.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-sharinglink-list.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-sharinglink-remove.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-sharinglink-set.mdx +1 -1
- package/docs/docs/cmd/spo/group/group-add.mdx +1 -1
- package/docs/docs/cmd/spo/group/group-get.mdx +1 -1
- package/docs/docs/cmd/spo/group/group-list.mdx +1 -1
- package/docs/docs/cmd/spo/group/group-member-add.mdx +1 -1
- package/docs/docs/cmd/spo/group/group-member-list.mdx +1 -1
- package/docs/docs/cmd/spo/group/group-member-remove.mdx +1 -1
- package/docs/docs/cmd/spo/group/group-remove.mdx +1 -1
- package/docs/docs/cmd/spo/group/group-set.mdx +1 -1
- package/docs/docs/cmd/spo/hidedefaultthemes/hidedefaultthemes-get.mdx +1 -1
- package/docs/docs/cmd/spo/hidedefaultthemes/hidedefaultthemes-set.mdx +1 -1
- package/docs/docs/cmd/spo/homesite/homesite-add.mdx +1 -1
- package/docs/docs/cmd/spo/homesite/homesite-get.mdx +1 -1
- package/docs/docs/cmd/spo/homesite/homesite-list.mdx +1 -1
- package/docs/docs/cmd/spo/homesite/homesite-remove.mdx +1 -1
- package/docs/docs/cmd/spo/homesite/homesite-set.mdx +1 -1
- package/docs/docs/cmd/spo/hubsite/hubsite-connect.mdx +1 -1
- package/docs/docs/cmd/spo/hubsite/hubsite-data-get.mdx +1 -1
- package/docs/docs/cmd/spo/hubsite/hubsite-disconnect.mdx +1 -1
- package/docs/docs/cmd/spo/hubsite/hubsite-get.mdx +1 -1
- package/docs/docs/cmd/spo/hubsite/hubsite-list.mdx +1 -1
- package/docs/docs/cmd/spo/hubsite/hubsite-register.mdx +1 -1
- package/docs/docs/cmd/spo/hubsite/hubsite-rights-grant.mdx +1 -1
- package/docs/docs/cmd/spo/hubsite/hubsite-rights-revoke.mdx +1 -1
- package/docs/docs/cmd/spo/hubsite/hubsite-set.mdx +1 -1
- package/docs/docs/cmd/spo/hubsite/hubsite-unregister.mdx +1 -1
- package/docs/docs/cmd/spo/knowledgehub/knowledgehub-get.mdx +1 -1
- package/docs/docs/cmd/spo/knowledgehub/knowledgehub-remove.mdx +1 -1
- package/docs/docs/cmd/spo/knowledgehub/knowledgehub-set.mdx +1 -1
- package/docs/docs/cmd/spo/list/list-add.mdx +1 -1
- package/docs/docs/cmd/spo/list/list-contenttype-add.mdx +1 -1
- package/docs/docs/cmd/spo/list/list-contenttype-default-set.mdx +1 -1
- package/docs/docs/cmd/spo/list/list-contenttype-list.mdx +1 -1
- package/docs/docs/cmd/spo/list/list-contenttype-remove.mdx +1 -1
- package/docs/docs/cmd/spo/list/list-defaultvalue-clear.mdx +1 -1
- package/docs/docs/cmd/spo/list/list-defaultvalue-get.mdx +1 -1
- package/docs/docs/cmd/spo/list/list-defaultvalue-list.mdx +1 -1
- package/docs/docs/cmd/spo/list/list-defaultvalue-remove.mdx +1 -1
- package/docs/docs/cmd/spo/list/list-defaultvalue-set.mdx +1 -1
- package/docs/docs/cmd/spo/list/list-get.mdx +1 -1
- package/docs/docs/cmd/spo/list/list-list.mdx +1 -1
- package/docs/docs/cmd/spo/list/list-remove.mdx +1 -1
- package/docs/docs/cmd/spo/list/list-retentionlabel-ensure.mdx +1 -1
- package/docs/docs/cmd/spo/list/list-retentionlabel-get.mdx +1 -1
- package/docs/docs/cmd/spo/list/list-retentionlabel-remove.mdx +1 -1
- package/docs/docs/cmd/spo/list/list-roleassignment-add.mdx +1 -1
- package/docs/docs/cmd/spo/list/list-roleassignment-remove.mdx +1 -1
- package/docs/docs/cmd/spo/list/list-roleinheritance-break.mdx +1 -1
- package/docs/docs/cmd/spo/list/list-roleinheritance-reset.mdx +1 -1
- package/docs/docs/cmd/spo/list/list-sensitivitylabel-ensure.mdx +1 -1
- package/docs/docs/cmd/spo/list/list-set.mdx +1 -1
- package/docs/docs/cmd/spo/list/list-sitescript-get.mdx +1 -1
- package/docs/docs/cmd/spo/list/list-view-add.mdx +1 -1
- package/docs/docs/cmd/spo/list/list-view-field-add.mdx +1 -1
- package/docs/docs/cmd/spo/list/list-view-field-remove.mdx +1 -1
- package/docs/docs/cmd/spo/list/list-view-field-set.mdx +1 -1
- package/docs/docs/cmd/spo/list/list-view-get.mdx +1 -1
- package/docs/docs/cmd/spo/list/list-view-list.mdx +1 -1
- package/docs/docs/cmd/spo/list/list-view-remove.mdx +1 -1
- package/docs/docs/cmd/spo/list/list-view-set.mdx +1 -1
- package/docs/docs/cmd/spo/list/list-webhook-add.mdx +1 -1
- package/docs/docs/cmd/spo/list/list-webhook-get.mdx +1 -1
- package/docs/docs/cmd/spo/list/list-webhook-list.mdx +1 -1
- package/docs/docs/cmd/spo/list/list-webhook-remove.mdx +1 -1
- package/docs/docs/cmd/spo/list/list-webhook-set.mdx +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-add.mdx +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-attachment-add.mdx +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-attachment-get.mdx +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-attachment-list.mdx +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-attachment-remove.mdx +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-attachment-set.mdx +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-batch-add.mdx +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-batch-remove.mdx +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-batch-set.mdx +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-get.mdx +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-isrecord.mdx +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-list.mdx +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-record-declare.mdx +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-record-lock.mdx +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-record-undeclare.mdx +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-record-unlock.mdx +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-remove.mdx +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-retentionlabel-ensure.mdx +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-retentionlabel-remove.mdx +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-roleassignment-add.mdx +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-roleassignment-remove.mdx +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-break.mdx +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-reset.mdx +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-set.mdx +1 -1
- package/docs/docs/cmd/spo/navigation/navigation-node-add.mdx +1 -1
- package/docs/docs/cmd/spo/navigation/navigation-node-get.mdx +44 -11
- package/docs/docs/cmd/spo/navigation/navigation-node-list.mdx +37 -4
- package/docs/docs/cmd/spo/navigation/navigation-node-remove.mdx +1 -1
- package/docs/docs/cmd/spo/navigation/navigation-node-set.mdx +1 -1
- package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-add.mdx +1 -1
- package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-list.mdx +1 -1
- package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-remove.mdx +1 -1
- package/docs/docs/cmd/spo/orgnewssite/orgnewssite-list.mdx +1 -1
- package/docs/docs/cmd/spo/orgnewssite/orgnewssite-remove.mdx +1 -1
- package/docs/docs/cmd/spo/orgnewssite/orgnewssite-set.mdx +1 -1
- package/docs/docs/cmd/spo/page/page-add.mdx +1 -1
- package/docs/docs/cmd/spo/page/page-clientsidewebpart-add.mdx +1 -1
- package/docs/docs/cmd/spo/page/page-column-get.mdx +1 -1
- package/docs/docs/cmd/spo/page/page-column-list.mdx +1 -1
- package/docs/docs/cmd/spo/page/page-control-get.mdx +1 -1
- package/docs/docs/cmd/spo/page/page-control-list.mdx +1 -1
- package/docs/docs/cmd/spo/page/page-control-remove.mdx +1 -1
- package/docs/docs/cmd/spo/page/page-control-set.mdx +1 -1
- package/docs/docs/cmd/spo/page/page-copy.mdx +1 -1
- package/docs/docs/cmd/spo/page/page-get.mdx +1 -1
- package/docs/docs/cmd/spo/page/page-header-set.mdx +1 -1
- package/docs/docs/cmd/spo/page/page-list.mdx +1 -1
- package/docs/docs/cmd/spo/page/page-publish.mdx +1 -1
- package/docs/docs/cmd/spo/page/page-remove.mdx +1 -1
- package/docs/docs/cmd/spo/page/page-section-add.mdx +1 -1
- package/docs/docs/cmd/spo/page/page-section-get.mdx +1 -1
- package/docs/docs/cmd/spo/page/page-section-list.mdx +1 -1
- package/docs/docs/cmd/spo/page/page-section-remove.mdx +1 -1
- package/docs/docs/cmd/spo/page/page-set.mdx +1 -1
- package/docs/docs/cmd/spo/page/page-template-list.mdx +1 -1
- package/docs/docs/cmd/spo/page/page-text-add.mdx +1 -1
- package/docs/docs/cmd/spo/propertybag/propertybag-get.mdx +1 -1
- package/docs/docs/cmd/spo/propertybag/propertybag-list.mdx +1 -1
- package/docs/docs/cmd/spo/propertybag/propertybag-remove.mdx +1 -1
- package/docs/docs/cmd/spo/propertybag/propertybag-set.mdx +1 -1
- package/docs/docs/cmd/spo/report/report-activityfilecounts.mdx +1 -1
- package/docs/docs/cmd/spo/report/report-activitypages.mdx +1 -1
- package/docs/docs/cmd/spo/report/report-activityusercounts.mdx +1 -1
- package/docs/docs/cmd/spo/report/report-activityuserdetail.mdx +1 -1
- package/docs/docs/cmd/spo/report/report-siteusagedetail.mdx +1 -1
- package/docs/docs/cmd/spo/report/report-siteusagefilecounts.mdx +1 -1
- package/docs/docs/cmd/spo/report/report-siteusagepages.mdx +1 -1
- package/docs/docs/cmd/spo/report/report-siteusagesitecounts.mdx +1 -1
- package/docs/docs/cmd/spo/report/report-siteusagestorage.mdx +1 -1
- package/docs/docs/cmd/spo/roledefinition/roledefinition-add.mdx +1 -1
- package/docs/docs/cmd/spo/roledefinition/roledefinition-get.mdx +1 -1
- package/docs/docs/cmd/spo/roledefinition/roledefinition-list.mdx +1 -1
- package/docs/docs/cmd/spo/roledefinition/roledefinition-remove.mdx +1 -1
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-add.mdx +1 -1
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-list.mdx +1 -1
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-revoke.mdx +1 -1
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-approve.mdx +1 -1
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-deny.mdx +1 -1
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-list.mdx +1 -1
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-set.mdx +1 -1
- package/docs/docs/cmd/spo/site/site-add.mdx +15 -6
- package/docs/docs/cmd/spo/site/site-admin-add.mdx +1 -1
- package/docs/docs/cmd/spo/site/site-admin-list.mdx +1 -1
- package/docs/docs/cmd/spo/site/site-admin-remove.mdx +1 -1
- package/docs/docs/cmd/spo/site/site-appcatalog-add.mdx +1 -1
- package/docs/docs/cmd/spo/site/site-appcatalog-list.mdx +1 -1
- package/docs/docs/cmd/spo/site/site-appcatalog-remove.mdx +1 -1
- package/docs/docs/cmd/spo/site/site-apppermission-add.mdx +1 -1
- package/docs/docs/cmd/spo/site/site-apppermission-get.mdx +1 -1
- package/docs/docs/cmd/spo/site/site-apppermission-list.mdx +1 -1
- package/docs/docs/cmd/spo/site/site-apppermission-remove.mdx +1 -1
- package/docs/docs/cmd/spo/site/site-apppermission-set.mdx +1 -1
- package/docs/docs/cmd/spo/site/site-archive.mdx +1 -1
- package/docs/docs/cmd/spo/site/site-chrome-set.mdx +1 -1
- package/docs/docs/cmd/spo/site/site-commsite-enable.mdx +1 -1
- package/docs/docs/cmd/spo/site/site-ensure.mdx +1 -1
- package/docs/docs/cmd/spo/site/site-get.mdx +1 -1
- package/docs/docs/cmd/spo/site/site-groupify.mdx +1 -1
- package/docs/docs/cmd/spo/site/site-hubsite-connect.mdx +1 -1
- package/docs/docs/cmd/spo/site/site-hubsite-disconnect.mdx +1 -1
- package/docs/docs/cmd/spo/site/site-hubsite-theme-sync.mdx +1 -1
- package/docs/docs/cmd/spo/site/site-inplacerecordsmanagement-set.mdx +1 -1
- package/docs/docs/cmd/spo/site/site-list.mdx +1 -1
- package/docs/docs/cmd/spo/site/site-membership-list.mdx +1 -1
- package/docs/docs/cmd/spo/site/site-recyclebinitem-clear.mdx +1 -1
- package/docs/docs/cmd/spo/site/site-recyclebinitem-list.mdx +1 -1
- package/docs/docs/cmd/spo/site/site-recyclebinitem-move.mdx +1 -1
- package/docs/docs/cmd/spo/site/site-recyclebinitem-remove.mdx +1 -1
- package/docs/docs/cmd/spo/site/site-recyclebinitem-restore.mdx +1 -1
- package/docs/docs/cmd/spo/site/site-remove.mdx +1 -1
- package/docs/docs/cmd/spo/site/site-rename.mdx +1 -1
- package/docs/docs/cmd/spo/site/site-set.mdx +1 -1
- package/docs/docs/cmd/spo/site/site-sharingpermission-set.mdx +1 -1
- package/docs/docs/cmd/spo/site/site-unarchive.mdx +1 -1
- package/docs/docs/cmd/spo/site/site-versionpolicy-get.mdx +1 -1
- package/docs/docs/cmd/spo/sitedesign/sitedesign-add.mdx +1 -1
- package/docs/docs/cmd/spo/sitedesign/sitedesign-apply.mdx +1 -1
- package/docs/docs/cmd/spo/sitedesign/sitedesign-get.mdx +1 -1
- package/docs/docs/cmd/spo/sitedesign/sitedesign-list.mdx +1 -1
- package/docs/docs/cmd/spo/sitedesign/sitedesign-remove.mdx +1 -1
- package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-grant.mdx +1 -1
- package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-list.mdx +1 -1
- package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-revoke.mdx +1 -1
- package/docs/docs/cmd/spo/sitedesign/sitedesign-run-list.mdx +1 -1
- package/docs/docs/cmd/spo/sitedesign/sitedesign-run-status-get.mdx +1 -1
- package/docs/docs/cmd/spo/sitedesign/sitedesign-set.mdx +1 -1
- package/docs/docs/cmd/spo/sitedesign/sitedesign-task-get.mdx +1 -1
- package/docs/docs/cmd/spo/sitedesign/sitedesign-task-list.mdx +1 -1
- package/docs/docs/cmd/spo/sitedesign/sitedesign-task-remove.mdx +1 -1
- package/docs/docs/cmd/spo/sitescript/sitescript-add.mdx +1 -1
- package/docs/docs/cmd/spo/sitescript/sitescript-get.mdx +1 -1
- package/docs/docs/cmd/spo/sitescript/sitescript-list.mdx +1 -1
- package/docs/docs/cmd/spo/sitescript/sitescript-remove.mdx +1 -1
- package/docs/docs/cmd/spo/sitescript/sitescript-set.mdx +1 -1
- package/docs/docs/cmd/spo/spo-get.mdx +1 -1
- package/docs/docs/cmd/spo/spo-search.mdx +1 -1
- package/docs/docs/cmd/spo/spo-set.mdx +1 -1
- package/docs/docs/cmd/spo/storageentity/storageentity-get.mdx +1 -1
- package/docs/docs/cmd/spo/storageentity/storageentity-list.mdx +1 -1
- package/docs/docs/cmd/spo/storageentity/storageentity-remove.mdx +1 -1
- package/docs/docs/cmd/spo/storageentity/storageentity-set.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-appcatalog-add.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-appcatalogurl-get.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-add.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-get.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-list.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-remove.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-set.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-commandset-add.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-commandset-get.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-commandset-list.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-commandset-remove.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-commandset-set.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-list.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-remove.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-restore.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-settings-list.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-settings-set.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-site-get.mdx +479 -0
- package/docs/docs/cmd/spo/term/term-add.mdx +1 -1
- package/docs/docs/cmd/spo/term/term-get.mdx +1 -1
- package/docs/docs/cmd/spo/term/term-group-add.mdx +1 -1
- package/docs/docs/cmd/spo/term/term-group-get.mdx +1 -1
- package/docs/docs/cmd/spo/term/term-group-list.mdx +1 -1
- package/docs/docs/cmd/spo/term/term-list.mdx +1 -1
- package/docs/docs/cmd/spo/term/term-set-add.mdx +1 -1
- package/docs/docs/cmd/spo/term/term-set-get.mdx +1 -1
- package/docs/docs/cmd/spo/term/term-set-list.mdx +1 -1
- package/docs/docs/cmd/spo/theme/theme-apply.mdx +1 -1
- package/docs/docs/cmd/spo/theme/theme-get.mdx +1 -1
- package/docs/docs/cmd/spo/theme/theme-list.mdx +1 -1
- package/docs/docs/cmd/spo/theme/theme-remove.mdx +1 -1
- package/docs/docs/cmd/spo/theme/theme-set.mdx +1 -1
- package/docs/docs/cmd/spo/user/user-ensure.mdx +1 -1
- package/docs/docs/cmd/spo/user/user-get.mdx +1 -1
- package/docs/docs/cmd/spo/user/user-list.mdx +1 -1
- package/docs/docs/cmd/spo/user/user-remove.mdx +1 -1
- package/docs/docs/cmd/spo/userprofile/userprofile-get.mdx +1 -1
- package/docs/docs/cmd/spo/userprofile/userprofile-set.mdx +1 -1
- package/docs/docs/cmd/spo/web/web-add.mdx +1 -1
- package/docs/docs/cmd/spo/web/web-alert-list.mdx +1 -1
- package/docs/docs/cmd/spo/web/web-alert-remove.mdx +1 -1
- package/docs/docs/cmd/spo/web/web-clientsidewebpart-list.mdx +1 -1
- package/docs/docs/cmd/spo/web/web-get.mdx +1 -1
- package/docs/docs/cmd/spo/web/web-installedlanguage-list.mdx +1 -1
- package/docs/docs/cmd/spo/web/web-list.mdx +1 -1
- package/docs/docs/cmd/spo/web/web-reindex.mdx +1 -1
- package/docs/docs/cmd/spo/web/web-remove.mdx +1 -1
- package/docs/docs/cmd/spo/web/web-retentionlabel-list.mdx +1 -1
- package/docs/docs/cmd/spo/web/web-roleassignment-add.mdx +1 -1
- package/docs/docs/cmd/spo/web/web-roleassignment-remove.mdx +1 -1
- package/docs/docs/cmd/spo/web/web-roleinheritance-break.mdx +1 -1
- package/docs/docs/cmd/spo/web/web-roleinheritance-reset.mdx +1 -1
- package/docs/docs/cmd/spo/web/web-set.mdx +1 -1
- package/docs/docs/cmd/spp/autofillcolumn/autofillcolumn-set.mdx +1 -1
- package/docs/docs/cmd/spp/contentcenter/contentcenter-list.mdx +1 -1
- package/docs/docs/cmd/spp/model/model-apply.mdx +1 -1
- package/docs/docs/cmd/spp/model/model-get.mdx +1 -1
- package/docs/docs/cmd/spp/model/model-list.mdx +1 -1
- package/docs/docs/cmd/spp/model/model-remove.mdx +1 -1
- package/docs/docs/cmd/status.mdx +1 -1
- package/docs/docs/cmd/teams/app/app-install.mdx +1 -1
- package/docs/docs/cmd/teams/app/app-list.mdx +1 -1
- package/docs/docs/cmd/teams/app/app-publish.mdx +1 -1
- package/docs/docs/cmd/teams/app/app-remove.mdx +1 -1
- package/docs/docs/cmd/teams/app/app-uninstall.mdx +1 -1
- package/docs/docs/cmd/teams/app/app-update.mdx +1 -1
- package/docs/docs/cmd/teams/cache/cache-remove.mdx +1 -1
- package/docs/docs/cmd/teams/callrecord/callrecord-get.mdx +1 -1
- package/docs/docs/cmd/teams/callrecord/callrecord-list.mdx +1 -1
- package/docs/docs/cmd/teams/channel/channel-add.mdx +1 -1
- package/docs/docs/cmd/teams/channel/channel-get.mdx +1 -1
- package/docs/docs/cmd/teams/channel/channel-list.mdx +1 -1
- package/docs/docs/cmd/teams/channel/channel-member-add.mdx +1 -1
- package/docs/docs/cmd/teams/channel/channel-member-list.mdx +1 -1
- package/docs/docs/cmd/teams/channel/channel-member-remove.mdx +1 -1
- package/docs/docs/cmd/teams/channel/channel-member-set.mdx +1 -1
- package/docs/docs/cmd/teams/channel/channel-remove.mdx +1 -1
- package/docs/docs/cmd/teams/channel/channel-set.mdx +1 -1
- package/docs/docs/cmd/teams/chat/chat-get.mdx +1 -1
- package/docs/docs/cmd/teams/chat/chat-list.mdx +1 -1
- package/docs/docs/cmd/teams/chat/chat-member-add.mdx +1 -1
- package/docs/docs/cmd/teams/chat/chat-member-list.mdx +1 -1
- package/docs/docs/cmd/teams/chat/chat-member-remove.mdx +1 -1
- package/docs/docs/cmd/teams/chat/chat-message-list.mdx +1 -1
- package/docs/docs/cmd/teams/chat/chat-message-send.mdx +1 -1
- package/docs/docs/cmd/teams/funsettings/funsettings-list.mdx +1 -1
- package/docs/docs/cmd/teams/funsettings/funsettings-set.mdx +1 -1
- package/docs/docs/cmd/teams/guestsettings/guestsettings-list.mdx +1 -1
- package/docs/docs/cmd/teams/guestsettings/guestsettings-set.mdx +1 -1
- package/docs/docs/cmd/teams/meeting/meeting-add.mdx +1 -1
- package/docs/docs/cmd/teams/meeting/meeting-attendancereport-get.mdx +1 -1
- package/docs/docs/cmd/teams/meeting/meeting-attendancereport-list.mdx +1 -1
- package/docs/docs/cmd/teams/meeting/meeting-get.mdx +1 -1
- package/docs/docs/cmd/teams/meeting/meeting-list.mdx +1 -1
- package/docs/docs/cmd/teams/meeting/meeting-transcript-get.mdx +1 -1
- package/docs/docs/cmd/teams/meeting/meeting-transcript-list.mdx +1 -1
- package/docs/docs/cmd/teams/membersettings/membersettings-list.mdx +1 -1
- package/docs/docs/cmd/teams/membersettings/membersettings-set.mdx +1 -1
- package/docs/docs/cmd/teams/message/message-get.mdx +1 -1
- package/docs/docs/cmd/teams/message/message-list.mdx +1 -1
- package/docs/docs/cmd/teams/message/message-remove.mdx +1 -1
- package/docs/docs/cmd/teams/message/message-reply-list.mdx +1 -1
- package/docs/docs/cmd/teams/message/message-restore.mdx +1 -1
- package/docs/docs/cmd/teams/message/message-send.mdx +1 -1
- package/docs/docs/cmd/teams/messagingsettings/messagingsettings-list.mdx +1 -1
- package/docs/docs/cmd/teams/messagingsettings/messagingsettings-set.mdx +1 -1
- package/docs/docs/cmd/teams/report/report-deviceusagedistributionusercounts.mdx +1 -1
- package/docs/docs/cmd/teams/report/report-deviceusageusercounts.mdx +1 -1
- package/docs/docs/cmd/teams/report/report-deviceusageuserdetail.mdx +1 -1
- package/docs/docs/cmd/teams/report/report-directroutingcalls.mdx +1 -1
- package/docs/docs/cmd/teams/report/report-pstncalls.mdx +1 -1
- package/docs/docs/cmd/teams/report/report-useractivitycounts.mdx +1 -1
- package/docs/docs/cmd/teams/report/report-useractivityusercounts.mdx +1 -1
- package/docs/docs/cmd/teams/report/report-useractivityuserdetail.mdx +1 -1
- package/docs/docs/cmd/teams/tab/tab-add.mdx +1 -1
- package/docs/docs/cmd/teams/tab/tab-get.mdx +1 -1
- package/docs/docs/cmd/teams/tab/tab-list.mdx +1 -1
- package/docs/docs/cmd/teams/tab/tab-remove.mdx +1 -1
- package/docs/docs/cmd/teams/team/team-add.mdx +1 -1
- package/docs/docs/cmd/teams/team/team-app-list.mdx +1 -1
- package/docs/docs/cmd/teams/team/team-archive.mdx +1 -1
- package/docs/docs/cmd/teams/team/team-clone.mdx +1 -1
- package/docs/docs/cmd/teams/team/team-get.mdx +1 -1
- package/docs/docs/cmd/teams/team/team-list.mdx +1 -1
- package/docs/docs/cmd/teams/team/team-remove.mdx +1 -1
- package/docs/docs/cmd/teams/team/team-set.mdx +1 -1
- package/docs/docs/cmd/teams/team/team-unarchive.mdx +1 -1
- package/docs/docs/cmd/teams/user/user-app-add.mdx +1 -1
- package/docs/docs/cmd/teams/user/user-app-list.mdx +1 -1
- package/docs/docs/cmd/teams/user/user-app-remove.mdx +1 -1
- package/docs/docs/cmd/teams/user/user-app-upgrade.mdx +1 -1
- package/docs/docs/cmd/teams/user/user-list.mdx +1 -1
- package/docs/docs/cmd/tenant/id/id-get.mdx +1 -1
- package/docs/docs/cmd/tenant/info/info-get.mdx +1 -1
- package/docs/docs/cmd/tenant/people/people-profilecardproperty-add.mdx +1 -1
- package/docs/docs/cmd/tenant/people/people-profilecardproperty-get.mdx +1 -1
- package/docs/docs/cmd/tenant/people/people-profilecardproperty-list.mdx +1 -1
- package/docs/docs/cmd/tenant/people/people-profilecardproperty-remove.mdx +1 -1
- package/docs/docs/cmd/tenant/people/people-profilecardproperty-set.mdx +1 -1
- package/docs/docs/cmd/tenant/people/people-pronouns-get.mdx +1 -1
- package/docs/docs/cmd/tenant/people/people-pronouns-set.mdx +1 -1
- package/docs/docs/cmd/tenant/report/report-activeusercounts.mdx +1 -1
- package/docs/docs/cmd/tenant/report/report-activeuserdetail.mdx +1 -1
- package/docs/docs/cmd/tenant/report/report-office365activationcounts.mdx +1 -1
- package/docs/docs/cmd/tenant/report/report-office365activationsusercounts.mdx +1 -1
- package/docs/docs/cmd/tenant/report/report-office365activationsuserdetail.mdx +1 -1
- package/docs/docs/cmd/tenant/report/report-servicesusercounts.mdx +1 -1
- package/docs/docs/cmd/tenant/report/report-settings-get.mdx +1 -1
- package/docs/docs/cmd/tenant/report/report-settings-set.mdx +1 -1
- package/docs/docs/cmd/tenant/security/security-alerts-list.mdx +1 -1
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-health-get.mdx +1 -1
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-health-list.mdx +1 -1
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-healthissue-get.mdx +1 -1
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-healthissue-list.mdx +1 -1
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-get.mdx +1 -1
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-list.mdx +1 -1
- package/docs/docs/cmd/todo/list/list-add.mdx +1 -1
- package/docs/docs/cmd/todo/list/list-get.mdx +1 -1
- package/docs/docs/cmd/todo/list/list-list.mdx +1 -1
- package/docs/docs/cmd/todo/list/list-remove.mdx +1 -1
- package/docs/docs/cmd/todo/list/list-set.mdx +1 -1
- package/docs/docs/cmd/todo/task/task-add.mdx +1 -1
- package/docs/docs/cmd/todo/task/task-get.mdx +1 -1
- package/docs/docs/cmd/todo/task/task-list.mdx +1 -1
- package/docs/docs/cmd/todo/task/task-remove.mdx +1 -1
- package/docs/docs/cmd/todo/task/task-set.mdx +1 -1
- package/docs/docs/cmd/util/accesstoken/accesstoken-get.mdx +1 -1
- package/docs/docs/cmd/version.mdx +1 -1
- package/docs/docs/cmd/viva/connections/connections-app-create.mdx +1 -1
- package/docs/docs/cmd/viva/engage/engage-community-add.mdx +1 -1
- package/docs/docs/cmd/viva/engage/engage-community-get.mdx +1 -1
- package/docs/docs/cmd/viva/engage/engage-community-list.mdx +1 -1
- package/docs/docs/cmd/viva/engage/engage-community-remove.mdx +1 -1
- package/docs/docs/cmd/viva/engage/engage-community-set.mdx +1 -1
- package/docs/docs/cmd/viva/engage/engage-community-user-add.mdx +1 -1
- package/docs/docs/cmd/viva/engage/engage-community-user-list.mdx +1 -1
- package/docs/docs/cmd/viva/engage/engage-community-user-remove.mdx +1 -1
- package/docs/docs/cmd/viva/engage/engage-message-add.mdx +1 -1
- package/docs/docs/cmd/viva/engage/engage-message-get.mdx +1 -1
- package/docs/docs/cmd/viva/engage/engage-message-like-set.mdx +1 -1
- package/docs/docs/cmd/viva/engage/engage-message-list.mdx +1 -1
- package/docs/docs/cmd/viva/engage/engage-message-remove.mdx +1 -1
- package/docs/docs/cmd/viva/engage/engage-network-list.mdx +1 -1
- package/docs/docs/cmd/viva/engage/engage-report-activitycounts.mdx +1 -1
- package/docs/docs/cmd/viva/engage/engage-report-activityusercounts.mdx +1 -1
- package/docs/docs/cmd/viva/engage/engage-report-activityuserdetail.mdx +1 -1
- package/docs/docs/cmd/viva/engage/engage-report-deviceusagedistributionusercounts.mdx +1 -1
- package/docs/docs/cmd/viva/engage/engage-report-deviceusageusercounts.mdx +1 -1
- package/docs/docs/cmd/viva/engage/engage-report-deviceusageuserdetail.mdx +1 -1
- package/docs/docs/cmd/viva/engage/engage-report-groupsactivitycounts.mdx +1 -1
- package/docs/docs/cmd/viva/engage/engage-report-groupsactivitydetail.mdx +1 -1
- package/docs/docs/cmd/viva/engage/engage-report-groupsactivitygroupcounts.mdx +1 -1
- package/docs/docs/cmd/viva/engage/engage-role-list.mdx +1 -1
- package/docs/docs/cmd/viva/engage/engage-role-member-list.mdx +1 -1
- package/docs/docs/cmd/viva/engage/engage-role-member-remove.mdx +71 -0
- package/docs/docs/cmd/viva/engage/engage-search.mdx +1 -1
- package/docs/docs/cmd/viva/engage/engage-user-get.mdx +1 -1
- package/docs/docs/cmd/viva/engage/engage-user-list.mdx +1 -1
- package/npm-shrinkwrap.json +815 -522
- package/package.json +20 -18
- package/eslint-rules/lib/index.js +0 -5
- package/eslint-rules/lib/rules/correct-command-class-name.js +0 -132
- package/eslint-rules/lib/rules/correct-command-name.js +0 -65
- package/eslint-rules/lib/rules/no-by-server-relative-url-usage.js +0 -55
- package/eslint-rules/package-lock.json +0 -12
- package/eslint-rules/package.json +0 -5
- package/eslint.config.mjs +0 -273
|
@@ -5,6 +5,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
5
5
|
};
|
|
6
6
|
var _SpoSiteAddCommand_instances, _SpoSiteAddCommand_initTelemetry, _SpoSiteAddCommand_initOptions, _SpoSiteAddCommand_initValidators;
|
|
7
7
|
import { setTimeout } from 'timers/promises';
|
|
8
|
+
import { cli } from '../../../../cli/cli.js';
|
|
8
9
|
import config from '../../../../config.js';
|
|
9
10
|
import request from '../../../../request.js';
|
|
10
11
|
import { formatting } from '../../../../utils/formatting.js';
|
|
@@ -12,6 +13,7 @@ import { spo } from '../../../../utils/spo.js';
|
|
|
12
13
|
import { validation } from '../../../../utils/validation.js';
|
|
13
14
|
import SpoCommand from '../../../base/SpoCommand.js';
|
|
14
15
|
import commands from '../../commands.js';
|
|
16
|
+
import { brandCenter } from '../../../../utils/brandCenter.js';
|
|
15
17
|
class SpoSiteAddCommand extends SpoCommand {
|
|
16
18
|
get supportedLcids() {
|
|
17
19
|
// Languages supported by SharePoint
|
|
@@ -43,7 +45,7 @@ class SpoSiteAddCommand extends SpoCommand {
|
|
|
43
45
|
await logger.log(siteUrl);
|
|
44
46
|
}
|
|
45
47
|
async createModernSite(logger, args) {
|
|
46
|
-
const isTeamSite = args.options.type !== 'CommunicationSite';
|
|
48
|
+
const isTeamSite = args.options.type !== 'CommunicationSite' && args.options.type !== 'BrandCenter';
|
|
47
49
|
try {
|
|
48
50
|
const spoUrl = await spo.getSpoUrl(logger, this.debug);
|
|
49
51
|
if (this.verbose) {
|
|
@@ -128,6 +130,9 @@ class SpoSiteAddCommand extends SpoCommand {
|
|
|
128
130
|
if (args.options.owners) {
|
|
129
131
|
requestOptions.data.request.Owner = args.options.owners;
|
|
130
132
|
}
|
|
133
|
+
if (args.options.type === 'BrandCenter') {
|
|
134
|
+
await this.addBrandCenter(requestOptions.data.request, logger, args.options.force || false);
|
|
135
|
+
}
|
|
131
136
|
}
|
|
132
137
|
const response = await request.post(requestOptions);
|
|
133
138
|
if (isTeamSite) {
|
|
@@ -325,6 +330,27 @@ class SpoSiteAddCommand extends SpoCommand {
|
|
|
325
330
|
this.handleRejectedPromise(err);
|
|
326
331
|
}
|
|
327
332
|
}
|
|
333
|
+
async addBrandCenter(requestData, logger, force) {
|
|
334
|
+
const brandingCenterConfiguration = await brandCenter.getBrandCenterConfiguration(logger, this.debug);
|
|
335
|
+
if (brandingCenterConfiguration.IsBrandCenterSiteFeatureEnabled) {
|
|
336
|
+
throw Error('Brand center site is already created in the tenant.');
|
|
337
|
+
}
|
|
338
|
+
const warningMessage = `You agree to activate this site as your official brand center site and turn on the brand center app for use in your organization. Storage locations will be created for uploading files to brand center and managing them. Any uploaded files will be stored in the cloud and managed in a public content delivery network (CDN). The files will be accessible to anyone who is able to extract the URLs that point to them.
|
|
339
|
+
Don't use this feature if your files contain proprietary information, or if you don't have the necessary cloud hosting rights to use them. After creation, that site cannot be deleted.`;
|
|
340
|
+
if (force) {
|
|
341
|
+
await logger.logToStderr(warningMessage);
|
|
342
|
+
}
|
|
343
|
+
else {
|
|
344
|
+
const result = await cli.promptForConfirmation({
|
|
345
|
+
message: `${warningMessage}\n\nDo you want to proceed?`
|
|
346
|
+
});
|
|
347
|
+
if (!result) {
|
|
348
|
+
throw Error('Operation cancelled by the user.');
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
const brandCenterFeatureId = '99cd6e8b-189b-4611-ae89-f89105876e43';
|
|
352
|
+
requestData.AdditionalSiteFeatureIds = [brandCenterFeatureId];
|
|
353
|
+
}
|
|
328
354
|
}
|
|
329
355
|
_SpoSiteAddCommand_instances = new WeakSet(), _SpoSiteAddCommand_initTelemetry = function _SpoSiteAddCommand_initTelemetry() {
|
|
330
356
|
this.telemetry.push((args) => {
|
|
@@ -338,6 +364,7 @@ _SpoSiteAddCommand_instances = new WeakSet(), _SpoSiteAddCommand_initTelemetry =
|
|
|
338
364
|
telemetryProps.lcid = args.options.lcid;
|
|
339
365
|
telemetryProps.owners = typeof args.options.owners !== 'undefined';
|
|
340
366
|
telemetryProps.withAppCatalog = args.options.withAppCatalog || false;
|
|
367
|
+
telemetryProps.force = args.options.force || false;
|
|
341
368
|
if (isCommunicationSite) {
|
|
342
369
|
telemetryProps.shareByEmailEnabled = args.options.shareByEmailEnabled || false;
|
|
343
370
|
telemetryProps.siteDesign = args.options.siteDesign;
|
|
@@ -357,7 +384,7 @@ _SpoSiteAddCommand_instances = new WeakSet(), _SpoSiteAddCommand_initTelemetry =
|
|
|
357
384
|
}, _SpoSiteAddCommand_initOptions = function _SpoSiteAddCommand_initOptions() {
|
|
358
385
|
this.options.unshift({
|
|
359
386
|
option: '--type [type]',
|
|
360
|
-
autocomplete: ['TeamSite', 'CommunicationSite', 'ClassicSite']
|
|
387
|
+
autocomplete: ['TeamSite', 'CommunicationSite', 'ClassicSite', 'BrandCenter']
|
|
361
388
|
}, {
|
|
362
389
|
option: '-t, --title <title>'
|
|
363
390
|
}, {
|
|
@@ -399,24 +426,27 @@ _SpoSiteAddCommand_instances = new WeakSet(), _SpoSiteAddCommand_initTelemetry =
|
|
|
399
426
|
option: '--withAppCatalog'
|
|
400
427
|
}, {
|
|
401
428
|
option: '--wait'
|
|
429
|
+
}, {
|
|
430
|
+
option: '--force'
|
|
402
431
|
});
|
|
403
432
|
}, _SpoSiteAddCommand_initValidators = function _SpoSiteAddCommand_initValidators() {
|
|
404
433
|
this.validators.push(async (args) => {
|
|
405
434
|
const isClassicSite = args.options.type === 'ClassicSite';
|
|
406
|
-
const isCommunicationSite = args.options.type === 'CommunicationSite';
|
|
435
|
+
const isCommunicationSite = args.options.type === 'CommunicationSite' || args.options.type === 'BrandCenter';
|
|
407
436
|
const isTeamSite = isCommunicationSite === false && isClassicSite === false;
|
|
408
437
|
if (args.options.type) {
|
|
409
438
|
if (args.options.type !== 'TeamSite' &&
|
|
410
439
|
args.options.type !== 'CommunicationSite' &&
|
|
411
|
-
args.options.type !== 'ClassicSite'
|
|
412
|
-
|
|
440
|
+
args.options.type !== 'ClassicSite' &&
|
|
441
|
+
args.options.type !== 'BrandCenter') {
|
|
442
|
+
return `${args.options.type} is not a valid site type. Allowed types are TeamSite, CommunicationSite, ClassicSite, and BrandCenter`;
|
|
413
443
|
}
|
|
414
444
|
}
|
|
415
445
|
if (isTeamSite) {
|
|
416
446
|
if (!args.options.alias) {
|
|
417
447
|
return 'Required option alias missing';
|
|
418
448
|
}
|
|
419
|
-
if (args.options.url || args.options.siteDesign || args.options.removeDeletedSite || args.options.wait || args.options.shareByEmailEnabled || args.options.siteDesignId || args.options.timeZone || args.options.resourceQuota || args.options.resourceQuotaWarningLevel || args.options.storageQuota || args.options.storageQuotaWarningLevel || args.options.webTemplate) {
|
|
449
|
+
if (args.options.url || args.options.siteDesign || args.options.removeDeletedSite || args.options.wait || args.options.shareByEmailEnabled || args.options.siteDesignId || args.options.timeZone || args.options.resourceQuota || args.options.resourceQuotaWarningLevel || args.options.storageQuota || args.options.storageQuotaWarningLevel || args.options.webTemplate || args.options.force) {
|
|
420
450
|
return "Type TeamSite supports only the parameters title, lcid, alias, owners, classification, isPublic, and description";
|
|
421
451
|
}
|
|
422
452
|
}
|
|
@@ -447,7 +477,7 @@ _SpoSiteAddCommand_instances = new WeakSet(), _SpoSiteAddCommand_initTelemetry =
|
|
|
447
477
|
return 'Specify siteDesign or siteDesignId but not both';
|
|
448
478
|
}
|
|
449
479
|
if (args.options.timeZone || args.options.isPublic || args.options.removeDeletedSite || args.options.wait || args.options.alias || args.options.resourceQuota || args.options.resourceQuotaWarningLevel || args.options.storageQuota || args.options.storageQuotaWarningLevel || args.options.webTemplate) {
|
|
450
|
-
return "Type CommunicationSite supports only the parameters url, title, lcid, classification, siteDesign, shareByEmailEnabled, siteDesignId, owners, and
|
|
480
|
+
return "Type CommunicationSite supports only the parameters url, title, lcid, classification, siteDesign, shareByEmailEnabled, siteDesignId, owners, description, and force";
|
|
451
481
|
}
|
|
452
482
|
}
|
|
453
483
|
else {
|
|
@@ -500,7 +530,7 @@ _SpoSiteAddCommand_instances = new WeakSet(), _SpoSiteAddCommand_initTelemetry =
|
|
|
500
530
|
if (args.options.storageQuotaWarningLevel > args.options.storageQuota) {
|
|
501
531
|
return `storageQuotaWarningLevel cannot exceed storageQuota`;
|
|
502
532
|
}
|
|
503
|
-
if (args.options.classification || args.options.shareByEmailEnabled || args.options.siteDesignId || args.options.siteDesignId || args.options.alias || args.options.isPublic) {
|
|
533
|
+
if (args.options.classification || args.options.shareByEmailEnabled || args.options.siteDesignId || args.options.siteDesignId || args.options.alias || args.options.isPublic || args.options.force) {
|
|
504
534
|
return "Type ClassicSite supports only the parameters url, title, lcid, storageQuota, storageQuotaWarningLevel, resourceQuota, resourceQuotaWarningLevel, webTemplate, owners, and description";
|
|
505
535
|
}
|
|
506
536
|
}
|
|
@@ -34,7 +34,7 @@ class SpoSiteAppPermissionAddCommand extends GraphCommand {
|
|
|
34
34
|
displayName: args.options.appDisplayName
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
|
-
let endpoint
|
|
37
|
+
let endpoint;
|
|
38
38
|
if (args.options.appId) {
|
|
39
39
|
endpoint = `${this.resource}/v1.0/myorganization/servicePrincipals?$select=appId,displayName&$filter=appId eq '${formatting.encodeQueryParameter(args.options.appId)}'`;
|
|
40
40
|
}
|
|
@@ -340,7 +340,7 @@ class SpoSiteSetCommand extends SpoCommand {
|
|
|
340
340
|
}
|
|
341
341
|
if (args.options.noScriptSite !== undefined) {
|
|
342
342
|
const noScriptSite = args.options.noScriptSite ? 2 : 1;
|
|
343
|
-
payload.push(`<SetProperty Id="${propertyId
|
|
343
|
+
payload.push(`<SetProperty Id="${propertyId}" ObjectPathId="5" Name="DenyAddAndCustomizePages"><Parameter Type="Enum">${noScriptSite}</Parameter></SetProperty>`);
|
|
344
344
|
}
|
|
345
345
|
let response;
|
|
346
346
|
let sitePropertiesResponse;
|
|
@@ -26,7 +26,7 @@ class SpoSearchCommand extends SpoCommand {
|
|
|
26
26
|
__classPrivateFieldGet(this, _SpoSearchCommand_instances, "m", _SpoSearchCommand_initValidators).call(this);
|
|
27
27
|
}
|
|
28
28
|
async commandAction(logger, args) {
|
|
29
|
-
let webUrl
|
|
29
|
+
let webUrl;
|
|
30
30
|
try {
|
|
31
31
|
if (args.options.webUrl) {
|
|
32
32
|
webUrl = args.options.webUrl;
|
|
@@ -70,7 +70,7 @@ class SpoTenantCommandSetRemoveCommand extends SpoCommand {
|
|
|
70
70
|
if (this.verbose) {
|
|
71
71
|
await logger.logToStderr(`Getting the tenant command set ${args.options.id || args.options.title || args.options.clientSideComponentId}`);
|
|
72
72
|
}
|
|
73
|
-
let filter
|
|
73
|
+
let filter;
|
|
74
74
|
if (args.options.title) {
|
|
75
75
|
filter = `Title eq '${args.options.title}'`;
|
|
76
76
|
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { globalOptionsZod } from '../../../../Command.js';
|
|
3
|
+
import request from '../../../../request.js';
|
|
4
|
+
import { formatting } from '../../../../utils/formatting.js';
|
|
5
|
+
import { spo } from '../../../../utils/spo.js';
|
|
6
|
+
import { validation } from '../../../../utils/validation.js';
|
|
7
|
+
import SpoCommand from '../../../base/SpoCommand.js';
|
|
8
|
+
import commands from '../../commands.js';
|
|
9
|
+
import { cli } from '../../../../cli/cli.js';
|
|
10
|
+
export const options = z.strictObject({
|
|
11
|
+
...globalOptionsZod.shape,
|
|
12
|
+
id: z.uuid().optional().alias('i'),
|
|
13
|
+
title: z.string().optional().alias('t'),
|
|
14
|
+
url: z.string().refine(url => validation.isValidSharePointUrl(url) === true, {
|
|
15
|
+
message: 'Specify a valid SharePoint site URL'
|
|
16
|
+
}).optional().alias('u')
|
|
17
|
+
});
|
|
18
|
+
class SpoTenantSiteGetCommand extends SpoCommand {
|
|
19
|
+
get name() {
|
|
20
|
+
return commands.TENANT_SITE_GET;
|
|
21
|
+
}
|
|
22
|
+
get description() {
|
|
23
|
+
return 'Retrieves the tenant site information';
|
|
24
|
+
}
|
|
25
|
+
get schema() {
|
|
26
|
+
return options;
|
|
27
|
+
}
|
|
28
|
+
getRefinedSchema(schema) {
|
|
29
|
+
return schema.refine(o => [o.id, o.title, o.url].filter(v => v !== undefined).length === 1, {
|
|
30
|
+
error: `Specify exactly one of the following options: 'id', 'title', or 'url'.`
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
async commandAction(logger, args) {
|
|
34
|
+
if (this.verbose) {
|
|
35
|
+
await logger.logToStderr(`Retrieving tenant site information for site '${args.options.url || args.options.id || args.options.title}'...`);
|
|
36
|
+
}
|
|
37
|
+
try {
|
|
38
|
+
let siteUrl;
|
|
39
|
+
if (args.options.url) {
|
|
40
|
+
siteUrl = args.options.url;
|
|
41
|
+
}
|
|
42
|
+
else if (args.options.id) {
|
|
43
|
+
siteUrl = await this.getSiteUrlById(args.options.id, logger);
|
|
44
|
+
if (this.verbose) {
|
|
45
|
+
await logger.logToStderr(`Retrieved tenant site URL for site '${args.options.id}'...`);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
siteUrl = await this.getSiteUrlByTitle(args.options.title, logger);
|
|
50
|
+
if (this.verbose) {
|
|
51
|
+
await logger.logToStderr(`Retrieved tenant site URL for site '${args.options.title}'...`);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
const site = await spo.getSiteAdminPropertiesByUrl(siteUrl, false, logger, this.verbose);
|
|
55
|
+
await logger.log(site);
|
|
56
|
+
}
|
|
57
|
+
catch (err) {
|
|
58
|
+
this.handleRejectedODataJsonPromise(err);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
async getSiteUrlById(id, logger) {
|
|
62
|
+
if (this.verbose) {
|
|
63
|
+
await logger.logToStderr(`Retrieving tenant site URL for site '${id}'...`);
|
|
64
|
+
}
|
|
65
|
+
const adminUrl = await spo.getSpoAdminUrl(logger, this.debug);
|
|
66
|
+
const requestOptions = {
|
|
67
|
+
url: `${adminUrl}/_api/SPO.Tenant/sites('${id}')?$select=Url`,
|
|
68
|
+
headers: {
|
|
69
|
+
accept: 'application/json;odata=nometadata'
|
|
70
|
+
},
|
|
71
|
+
responseType: 'json'
|
|
72
|
+
};
|
|
73
|
+
const res = await request.get(requestOptions);
|
|
74
|
+
return res.Url;
|
|
75
|
+
}
|
|
76
|
+
async getSiteUrlByTitle(title, logger) {
|
|
77
|
+
if (this.verbose) {
|
|
78
|
+
await logger.logToStderr(`Retrieving tenant site URL for site '${title}'...`);
|
|
79
|
+
}
|
|
80
|
+
const adminUrl = await spo.getSpoAdminUrl(logger, this.debug);
|
|
81
|
+
const viewXml = `<View><Query><Where><And><IsNull><FieldRef Name="TimeDeleted"/></IsNull><Eq><FieldRef Name="Title"/><Value Type='Text'>${formatting.escapeXml(title)}</Value></Eq></And></Where></Query><ViewFields><FieldRef Name="Title"/><FieldRef Name="SiteUrl"/><FieldRef Name="SiteId"/></ViewFields></View>`;
|
|
82
|
+
const requestOptions = {
|
|
83
|
+
url: `${adminUrl}/_api/web/lists/GetByTitle('DO_NOT_DELETE_SPLIST_TENANTADMIN_AGGREGATED_SITECOLLECTIONS')/RenderListDataAsStream`,
|
|
84
|
+
headers: {
|
|
85
|
+
accept: 'application/json;odata=nometadata'
|
|
86
|
+
},
|
|
87
|
+
responseType: 'json',
|
|
88
|
+
data: {
|
|
89
|
+
parameters: {
|
|
90
|
+
ViewXml: viewXml,
|
|
91
|
+
DatesInUtc: true
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
};
|
|
95
|
+
const res = await request.post(requestOptions);
|
|
96
|
+
const rows = res.Row;
|
|
97
|
+
if (rows.length === 0) {
|
|
98
|
+
throw `The specified site '${title}' does not exist.`;
|
|
99
|
+
}
|
|
100
|
+
if (rows.length > 1) {
|
|
101
|
+
const resultAsKeyValuePair = rows.reduce((acc, cur) => {
|
|
102
|
+
acc[cur.SiteUrl] = { url: cur.SiteUrl };
|
|
103
|
+
return acc;
|
|
104
|
+
}, {});
|
|
105
|
+
const selection = await cli.handleMultipleResultsFound(`Multiple sites with title '${title}' found.`, resultAsKeyValuePair);
|
|
106
|
+
return selection.url;
|
|
107
|
+
}
|
|
108
|
+
return rows[0].SiteUrl;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
export default new SpoTenantSiteGetCommand();
|
|
112
|
+
//# sourceMappingURL=tenant-site-get.js.map
|
|
@@ -27,12 +27,11 @@ class SpoTermGroupAddCommand extends SpoCommand {
|
|
|
27
27
|
__classPrivateFieldGet(this, _SpoTermGroupAddCommand_instances, "m", _SpoTermGroupAddCommand_initValidators).call(this);
|
|
28
28
|
}
|
|
29
29
|
async commandAction(logger, args) {
|
|
30
|
-
let formDigest = '';
|
|
31
30
|
let termGroup;
|
|
32
31
|
try {
|
|
33
32
|
const webUrl = args.options.webUrl || await spo.getSpoAdminUrl(logger, this.debug);
|
|
34
33
|
const res = await spo.getRequestDigest(webUrl);
|
|
35
|
-
formDigest = res.FormDigestValue;
|
|
34
|
+
const formDigest = res.FormDigestValue;
|
|
36
35
|
if (this.verbose) {
|
|
37
36
|
await logger.logToStderr(`Getting taxonomy term store...`);
|
|
38
37
|
}
|
|
@@ -28,12 +28,11 @@ class SpoTermSetAddCommand extends SpoCommand {
|
|
|
28
28
|
__classPrivateFieldGet(this, _SpoTermSetAddCommand_instances, "m", _SpoTermSetAddCommand_initOptionSets).call(this);
|
|
29
29
|
}
|
|
30
30
|
async commandAction(logger, args) {
|
|
31
|
-
let formDigest = '';
|
|
32
31
|
let termSet;
|
|
33
32
|
try {
|
|
34
33
|
const spoWebUrl = args.options.webUrl ? args.options.webUrl : await spo.getSpoAdminUrl(logger, this.debug);
|
|
35
34
|
const res = await spo.getRequestDigest(spoWebUrl);
|
|
36
|
-
formDigest = res.FormDigestValue;
|
|
35
|
+
const formDigest = res.FormDigestValue;
|
|
37
36
|
if (this.verbose) {
|
|
38
37
|
await logger.logToStderr(`Adding taxonomy term set...`);
|
|
39
38
|
}
|
|
@@ -93,7 +93,7 @@ class SpoThemeApplyCommand extends SpoCommand {
|
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
getSharePointTheme(themeName) {
|
|
96
|
-
let palette
|
|
96
|
+
let palette;
|
|
97
97
|
switch (themeName) {
|
|
98
98
|
case SharePointThemes.Blue:
|
|
99
99
|
palette = "\"themePrimary\":{\"R\":0,\"G\":120,\"B\":212,\"A\":255},\"themeLighterAlt\":{\"R\":239,\"G\":246,\"B\":252,\"A\":255},\"themeLighter\":{\"R\":222,\"G\":236,\"B\":249,\"A\":255},\"themeLight\":{\"R\":199,\"G\":224,\"B\":244,\"A\":255},\"themeTertiary\":{\"R\":113,\"G\":175,\"B\":229,\"A\":255},\"themeSecondary\":{\"R\":43,\"G\":136,\"B\":216,\"A\":255},\"themeDarkAlt\":{\"R\":16,\"G\":110,\"B\":190,\"A\":255},\"themeDark\":{\"R\":0,\"G\":90,\"B\":158,\"A\":255},\"themeDarker\":{\"R\":0,\"G\":69,\"B\":120,\"A\":255},\"accent\":{\"R\":135,\"G\":100,\"B\":184,\"A\":255},\"neutralLighterAlt\":{\"R\":248,\"G\":248,\"B\":248,\"A\":255},\"neutralLighter\":{\"R\":244,\"G\":244,\"B\":244,\"A\":255},\"neutralLight\":{\"R\":234,\"G\":234,\"B\":234,\"A\":255},\"neutralQuaternaryAlt\":{\"R\":218,\"G\":218,\"B\":218,\"A\":255},\"neutralQuaternary\":{\"R\":208,\"G\":208,\"B\":208,\"A\":255},\"neutralTertiaryAlt\":{\"R\":200,\"G\":200,\"B\":200,\"A\":255},\"neutralTertiary\":{\"R\":166,\"G\":166,\"B\":166,\"A\":255},\"neutralSecondary\":{\"R\":102,\"G\":102,\"B\":102,\"A\":255},\"neutralPrimaryAlt\":{\"R\":60,\"G\":60,\"B\":60,\"A\":255},\"neutralPrimary\":{\"R\":51,\"G\":51,\"B\":51,\"A\":255},\"neutralDark\":{\"R\":33,\"G\":33,\"B\":33,\"A\":255},\"black\":{\"R\":0,\"G\":0,\"B\":0,\"A\":255},\"white\":{\"R\":255,\"G\":255,\"B\":255,\"A\":255},\"primaryBackground\":{\"R\":255,\"G\":255,\"B\":255,\"A\":255},\"primaryText\":{\"R\":51,\"G\":51,\"B\":51,\"A\":255}";
|
|
@@ -28,10 +28,8 @@ class SpoUserListCommand extends SpoCommand {
|
|
|
28
28
|
if (this.verbose) {
|
|
29
29
|
await logger.logToStderr(`Retrieving users from web ${args.options.webUrl}...`);
|
|
30
30
|
}
|
|
31
|
-
let requestUrl = '';
|
|
32
|
-
requestUrl = `${args.options.webUrl}/_api/web/siteusers`;
|
|
33
31
|
const requestOptions = {
|
|
34
|
-
url:
|
|
32
|
+
url: `${args.options.webUrl}/_api/web/siteusers`,
|
|
35
33
|
method: 'GET',
|
|
36
34
|
headers: {
|
|
37
35
|
'accept': 'application/json;odata=nometadata'
|
|
@@ -30,8 +30,6 @@ class SpoWebAddCommand extends SpoCommand {
|
|
|
30
30
|
return ['url'];
|
|
31
31
|
}
|
|
32
32
|
async commandAction(logger, args) {
|
|
33
|
-
let siteInfo = null;
|
|
34
|
-
let subsiteFullUrl = '';
|
|
35
33
|
try {
|
|
36
34
|
const res = await spo.getRequestDigest(args.options.parentWebUrl);
|
|
37
35
|
const requestOptionsPost = {
|
|
@@ -56,12 +54,12 @@ class SpoWebAddCommand extends SpoCommand {
|
|
|
56
54
|
if (this.verbose) {
|
|
57
55
|
await logger.logToStderr(`Creating subsite ${args.options.parentWebUrl}/${args.options.webUrl}...`);
|
|
58
56
|
}
|
|
59
|
-
siteInfo = await request.post(requestOptionsPost);
|
|
57
|
+
const siteInfo = await request.post(requestOptionsPost);
|
|
60
58
|
if (args.options.inheritNavigation) {
|
|
61
59
|
if (this.verbose) {
|
|
62
60
|
await logger.logToStderr("Setting inheriting navigation from the parent site...");
|
|
63
61
|
}
|
|
64
|
-
subsiteFullUrl = `${args.options.parentWebUrl}/${formatting.encodeQueryParameter(args.options.url)}`;
|
|
62
|
+
const subsiteFullUrl = `${args.options.parentWebUrl}/${formatting.encodeQueryParameter(args.options.url)}`;
|
|
65
63
|
const requestOptionsPer = {
|
|
66
64
|
url: `${subsiteFullUrl}/_api/web/effectivebasepermissions`,
|
|
67
65
|
headers: {
|
|
@@ -24,11 +24,10 @@ class SpoWebReindexCommand extends SpoCommand {
|
|
|
24
24
|
__classPrivateFieldGet(this, _SpoWebReindexCommand_instances, "m", _SpoWebReindexCommand_initValidators).call(this);
|
|
25
25
|
}
|
|
26
26
|
async commandAction(logger, args) {
|
|
27
|
-
let requestDigest = '';
|
|
28
27
|
let webIdentityResp;
|
|
29
28
|
try {
|
|
30
29
|
const res = await spo.getRequestDigest(args.options.url);
|
|
31
|
-
requestDigest = res.FormDigestValue;
|
|
30
|
+
const requestDigest = res.FormDigestValue;
|
|
32
31
|
if (this.debug) {
|
|
33
32
|
await logger.logToStderr(`Retrieved request digest. Retrieving web identity...`);
|
|
34
33
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
const prefix = 'spo';
|
|
2
2
|
export default {
|
|
3
|
+
AGENT_ADD: `${prefix} agent add`,
|
|
3
4
|
APP_ADD: `${prefix} app add`,
|
|
4
5
|
APP_DEPLOY: `${prefix} app deploy`,
|
|
5
6
|
APP_GET: `${prefix} app get`,
|
|
@@ -337,6 +338,7 @@ export default {
|
|
|
337
338
|
TENANT_RECYCLEBINITEM_RESTORE: `${prefix} tenant recyclebinitem restore`,
|
|
338
339
|
TENANT_SETTINGS_LIST: `${prefix} tenant settings list`,
|
|
339
340
|
TENANT_SETTINGS_SET: `${prefix} tenant settings set`,
|
|
341
|
+
TENANT_SITE_GET: `${prefix} tenant site get`,
|
|
340
342
|
TERM_ADD: `${prefix} term add`,
|
|
341
343
|
TERM_GET: `${prefix} term get`,
|
|
342
344
|
TERM_LIST: `${prefix} term list`,
|
|
@@ -110,7 +110,7 @@ class SppAutofillColumnSetCommand extends SpoCommand {
|
|
|
110
110
|
return request.get(requestOptions);
|
|
111
111
|
}
|
|
112
112
|
getColumn(siteUrl, options, listId) {
|
|
113
|
-
let fieldRestUrl
|
|
113
|
+
let fieldRestUrl;
|
|
114
114
|
if (options.columnId) {
|
|
115
115
|
fieldRestUrl = `/getbyid('${formatting.encodeQueryParameter(options.columnId)}')`;
|
|
116
116
|
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { cli } from '../../../../cli/cli.js';
|
|
3
|
+
import { globalOptionsZod } from '../../../../Command.js';
|
|
4
|
+
import GraphCommand from '../../../base/GraphCommand.js';
|
|
5
|
+
import commands from '../../commands.js';
|
|
6
|
+
import { vivaEngage } from '../../../../utils/vivaEngage.js';
|
|
7
|
+
import { entraUser } from '../../../../utils/entraUser.js';
|
|
8
|
+
import request from '../../../../request.js';
|
|
9
|
+
import { validation } from '../../../../utils/validation.js';
|
|
10
|
+
export const options = z.strictObject({
|
|
11
|
+
...globalOptionsZod.shape,
|
|
12
|
+
roleId: z.uuid().optional(),
|
|
13
|
+
roleName: z.string().optional(),
|
|
14
|
+
userId: z.uuid().optional(),
|
|
15
|
+
userName: z.string().refine(upn => validation.isValidUserPrincipalName(upn), {
|
|
16
|
+
error: e => `'${e.input}' is not a valid UPN.`
|
|
17
|
+
}).optional(),
|
|
18
|
+
force: z.boolean().optional().alias('f')
|
|
19
|
+
});
|
|
20
|
+
class VivaEngageRoleMemberRemoveCommand extends GraphCommand {
|
|
21
|
+
get name() {
|
|
22
|
+
return commands.ENGAGE_ROLE_MEMBER_REMOVE;
|
|
23
|
+
}
|
|
24
|
+
get description() {
|
|
25
|
+
return 'Removes a user from a Viva Engage role';
|
|
26
|
+
}
|
|
27
|
+
get schema() {
|
|
28
|
+
return options;
|
|
29
|
+
}
|
|
30
|
+
getRefinedSchema(schema) {
|
|
31
|
+
return schema
|
|
32
|
+
.refine(options => [options.roleId, options.roleName].filter(x => x !== undefined).length === 1, {
|
|
33
|
+
error: 'Specify either roleId, or roleName, but not both.'
|
|
34
|
+
})
|
|
35
|
+
.refine(options => [options.userId, options.userName].filter(x => x !== undefined).length === 1, {
|
|
36
|
+
error: 'Specify either userId, or userName, but not both.'
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
async commandAction(logger, args) {
|
|
40
|
+
const removeMember = async () => {
|
|
41
|
+
try {
|
|
42
|
+
let roleId = args.options.roleId;
|
|
43
|
+
let userId = args.options.userId;
|
|
44
|
+
if (args.options.roleName) {
|
|
45
|
+
if (this.verbose) {
|
|
46
|
+
await logger.logToStderr(`Retrieving Viva Engage role ID for role name '${args.options.roleName}'...`);
|
|
47
|
+
}
|
|
48
|
+
roleId = await vivaEngage.getRoleIdByName(args.options.roleName);
|
|
49
|
+
}
|
|
50
|
+
if (args.options.userName) {
|
|
51
|
+
if (this.verbose) {
|
|
52
|
+
await logger.logToStderr(`Retrieving Viva Engage user ID for user name '${args.options.userName}'...`);
|
|
53
|
+
}
|
|
54
|
+
userId = await entraUser.getUserIdByUpn(args.options.userName);
|
|
55
|
+
}
|
|
56
|
+
if (this.verbose) {
|
|
57
|
+
await logger.logToStderr(`Removing user ${userId} from a Viva Engage role ${roleId}...`);
|
|
58
|
+
}
|
|
59
|
+
const requestOptions = {
|
|
60
|
+
url: `${this.resource}/v1.0/employeeExperience/roles/${roleId}/members/${userId}`,
|
|
61
|
+
headers: {
|
|
62
|
+
accept: 'application/json;odata.metadata=none'
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
await request.delete(requestOptions);
|
|
66
|
+
}
|
|
67
|
+
catch (err) {
|
|
68
|
+
this.handleRejectedODataJsonPromise(err);
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
if (args.options.force) {
|
|
72
|
+
await removeMember();
|
|
73
|
+
}
|
|
74
|
+
else {
|
|
75
|
+
const result = await cli.promptForConfirmation({ message: `Are you sure you want to remove user '${args.options.userId || args.options.userName}' from role '${args.options.roleId || args.options.roleName}'?` });
|
|
76
|
+
if (result) {
|
|
77
|
+
await removeMember();
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
export default new VivaEngageRoleMemberRemoveCommand();
|
|
83
|
+
//# sourceMappingURL=engage-role-member-remove.js.map
|
|
@@ -85,7 +85,7 @@ class VivaEngageSearchCommand extends VivaEngageCommand {
|
|
|
85
85
|
resultGroups.length === 20 ||
|
|
86
86
|
resultTopics.length === 20;
|
|
87
87
|
if (continueProcessing) {
|
|
88
|
-
await this.getAllItems(logger, args,
|
|
88
|
+
await this.getAllItems(logger, args, page + 1);
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
async commandAction(logger, args) {
|
|
@@ -26,6 +26,7 @@ export default {
|
|
|
26
26
|
ENGAGE_REPORT_GROUPSACTIVITYGROUPCOUNTS: `${prefix} engage report groupsactivitygroupcounts`,
|
|
27
27
|
ENGAGE_ROLE_LIST: `${prefix} engage role list`,
|
|
28
28
|
ENGAGE_ROLE_MEMBER_LIST: `${prefix} engage role member list`,
|
|
29
|
+
ENGAGE_ROLE_MEMBER_REMOVE: `${prefix} engage role member remove`,
|
|
29
30
|
ENGAGE_SEARCH: `${prefix} engage search`,
|
|
30
31
|
ENGAGE_USER_GET: `${prefix} engage user get`,
|
|
31
32
|
ENGAGE_USER_LIST: `${prefix} engage user list`
|
|
@@ -87,6 +87,27 @@ export const accessToken = {
|
|
|
87
87
|
const payload = JSON.parse(payloadString);
|
|
88
88
|
return { header, payload };
|
|
89
89
|
},
|
|
90
|
+
getScopesFromAccessToken(accessToken) {
|
|
91
|
+
let scopes = [];
|
|
92
|
+
if (!accessToken || accessToken.length === 0) {
|
|
93
|
+
return scopes;
|
|
94
|
+
}
|
|
95
|
+
const chunks = accessToken.split('.');
|
|
96
|
+
if (chunks.length !== 3) {
|
|
97
|
+
return scopes;
|
|
98
|
+
}
|
|
99
|
+
const tokenString = Buffer.from(chunks[1], 'base64').toString();
|
|
100
|
+
try {
|
|
101
|
+
const token = JSON.parse(tokenString);
|
|
102
|
+
if (token.scp?.length > 0) {
|
|
103
|
+
scopes = token.scp.split(' ');
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
catch {
|
|
107
|
+
// Do nothing
|
|
108
|
+
}
|
|
109
|
+
return scopes;
|
|
110
|
+
},
|
|
90
111
|
/**
|
|
91
112
|
* Asserts the presence of a delegated or application-only access token.
|
|
92
113
|
* @throws {CommandError} Will throw an error if the access token is not available.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import request from '../request.js';
|
|
2
|
+
import { spo } from './spo.js';
|
|
3
|
+
export const brandCenter = {
|
|
4
|
+
/**
|
|
5
|
+
* Gets the brand center configuration for the specified site
|
|
6
|
+
* @param logger Logger instance for verbose output
|
|
7
|
+
* @param debug Debug flag for detailed logging
|
|
8
|
+
* @returns Promise<BrandCenterConfiguration> Brand center configuration object
|
|
9
|
+
*/
|
|
10
|
+
async getBrandCenterConfiguration(logger, debug = false) {
|
|
11
|
+
if (debug) {
|
|
12
|
+
await logger.logToStderr(`Retrieving brand center configuration...`);
|
|
13
|
+
}
|
|
14
|
+
const spoAdminUrl = await spo.getSpoAdminUrl(logger, debug);
|
|
15
|
+
const brandConfigRequestOptions = {
|
|
16
|
+
url: `${spoAdminUrl}/_api/SPO.Tenant/GetBrandCenterConfiguration`,
|
|
17
|
+
headers: {
|
|
18
|
+
'accept': 'application/json;odata=nometadata'
|
|
19
|
+
},
|
|
20
|
+
responseType: 'json'
|
|
21
|
+
};
|
|
22
|
+
const brandConfig = await request.get(brandConfigRequestOptions);
|
|
23
|
+
if (debug) {
|
|
24
|
+
await logger.logToStderr(`Successfully retrieved brand center configuration`);
|
|
25
|
+
}
|
|
26
|
+
return brandConfig;
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=brandCenter.js.map
|
package/dist/utils/odata.js
CHANGED
|
@@ -2,7 +2,6 @@ import request from "../request.js";
|
|
|
2
2
|
/* eslint-enable no-redeclare */
|
|
3
3
|
// eslint-disable-next-line no-redeclare
|
|
4
4
|
async function getAllItems(param1, metadata) {
|
|
5
|
-
let items = [];
|
|
6
5
|
const requestOptions = typeof param1 !== 'string' ? param1 : {
|
|
7
6
|
url: param1,
|
|
8
7
|
headers: {
|
|
@@ -12,7 +11,7 @@ async function getAllItems(param1, metadata) {
|
|
|
12
11
|
responseType: 'json'
|
|
13
12
|
};
|
|
14
13
|
const res = await request.get(requestOptions);
|
|
15
|
-
items = res.value;
|
|
14
|
+
let items = res.value;
|
|
16
15
|
const nextLink = res['@odata.nextLink'] ?? res.nextLink;
|
|
17
16
|
if (nextLink) {
|
|
18
17
|
const nextPageItems = await odata.getAllItems({ ...requestOptions, url: nextLink });
|
|
@@ -5,7 +5,7 @@ import { odata } from "./odata.js";
|
|
|
5
5
|
const powerPlatformResource = 'https://api.bap.microsoft.com';
|
|
6
6
|
export const powerPlatform = {
|
|
7
7
|
async getDynamicsInstanceApiUrl(environment, asAdmin) {
|
|
8
|
-
let url
|
|
8
|
+
let url;
|
|
9
9
|
if (asAdmin) {
|
|
10
10
|
url = `${powerPlatformResource}/providers/Microsoft.BusinessAppPlatform/scopes/admin/environments/${formatting.encodeQueryParameter(environment)}`;
|
|
11
11
|
}
|
package/dist/utils/spo.js
CHANGED
|
@@ -718,7 +718,7 @@ export const spo = {
|
|
|
718
718
|
if (verbose) {
|
|
719
719
|
await logger.logToStderr(`Creating new site...`);
|
|
720
720
|
}
|
|
721
|
-
let requestOptions
|
|
721
|
+
let requestOptions;
|
|
722
722
|
if (isTeamSite) {
|
|
723
723
|
requestOptions = {
|
|
724
724
|
url: `${spoUrl}/_api/GroupSiteManager/CreateGroupEx`,
|
|
@@ -1038,7 +1038,7 @@ export const spo = {
|
|
|
1038
1038
|
}
|
|
1039
1039
|
if (sharingCapability) {
|
|
1040
1040
|
const sharingCapabilityOption = SharingCapabilities[sharingCapability];
|
|
1041
|
-
payload.push(`<SetProperty Id="${propertyId
|
|
1041
|
+
payload.push(`<SetProperty Id="${propertyId}" ObjectPathId="5" Name="SharingCapability"><Parameter Type="Enum">${sharingCapabilityOption}</Parameter></SetProperty>`);
|
|
1042
1042
|
}
|
|
1043
1043
|
const pos = tenantId.indexOf('|') + 1;
|
|
1044
1044
|
const requestOptionsUpdateProperties = {
|
package/dist/utils/urlUtil.js
CHANGED
|
@@ -85,23 +85,13 @@ export const urlUtil = {
|
|
|
85
85
|
*/
|
|
86
86
|
getWebRelativePath(webUrl, folderUrl) {
|
|
87
87
|
let webRelativePath = this.getUrlRelativePath(webUrl);
|
|
88
|
-
let folderWebRelativePath
|
|
88
|
+
let folderWebRelativePath;
|
|
89
89
|
// will be used to remove relative path from the folderRelativePath
|
|
90
90
|
// in case the web relative url is included
|
|
91
91
|
let relativePathToRemove = webRelativePath;
|
|
92
|
-
|
|
93
|
-
if (webRelativePath[0] !== '/') {
|
|
94
|
-
webRelativePath = `/${webRelativePath}`;
|
|
95
|
-
}
|
|
96
|
-
else {
|
|
92
|
+
if (webRelativePath[0] === '/') {
|
|
97
93
|
relativePathToRemove = webRelativePath.substring(1);
|
|
98
94
|
}
|
|
99
|
-
// remove last '/' of webRelativePath
|
|
100
|
-
const webPathLastCharPos = webRelativePath.length - 1;
|
|
101
|
-
if (webRelativePath.length > 1 &&
|
|
102
|
-
webRelativePath[webPathLastCharPos] === '/') {
|
|
103
|
-
webRelativePath = webRelativePath.substring(0, webPathLastCharPos);
|
|
104
|
-
}
|
|
105
95
|
// remove the web relative path if it is contained in the folder relative path
|
|
106
96
|
const relativePathToRemoveIdx = folderUrl.toLowerCase().indexOf(relativePathToRemove.toLowerCase());
|
|
107
97
|
if (relativePathToRemoveIdx > -1) {
|