@pnp/cli-microsoft365 12.0.0-beta.feb621e → 12.1.0-beta.79db3d9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/Auth.js +19 -2
- package/dist/Command.js +11 -8
- package/dist/cli/cli.js +34 -18
- package/dist/config.js +2 -0
- package/dist/m365/cli/commands/cli-consent.js +9 -2
- package/dist/m365/entra/commands/agent/agent-blueprint-list.js +52 -0
- package/dist/m365/entra/commands/agent/agent-blueprintprincipal-list.js +56 -0
- package/dist/m365/entra/commands/m365group/m365group-add.js +52 -97
- package/dist/m365/entra/commands/m365group/m365group-conversation-list.js +20 -33
- package/dist/m365/entra/commands/m365group/m365group-conversation-post-list.js +20 -39
- package/dist/m365/entra/commands/m365group/m365group-get.js +20 -41
- package/dist/m365/entra/commands/m365group/m365group-list.js +11 -31
- package/dist/m365/entra/commands/m365group/m365group-recyclebinitem-clear.js +8 -22
- package/dist/m365/entra/commands/m365group/m365group-recyclebinitem-list.js +9 -25
- package/dist/m365/entra/commands/m365group/m365group-recyclebinitem-remove.js +21 -43
- package/dist/m365/entra/commands/m365group/m365group-recyclebinitem-restore.js +21 -41
- package/dist/m365/entra/commands/m365group/m365group-remove.js +25 -46
- package/dist/m365/entra/commands/m365group/m365group-renew.js +19 -32
- package/dist/m365/entra/commands/m365group/m365group-set.js +86 -141
- package/dist/m365/entra/commands/m365group/m365group-teamify.js +20 -43
- package/dist/m365/entra/commands/m365group/m365group-user-add.js +44 -77
- package/dist/m365/entra/commands/m365group/m365group-user-list.js +28 -55
- package/dist/m365/entra/commands/m365group/m365group-user-remove.js +37 -74
- package/dist/m365/entra/commands/m365group/m365group-user-set.js +45 -77
- package/dist/m365/entra/commands.js +2 -0
- package/dist/m365/graph/commands/schemaextension/schemaextension-list.js +14 -16
- package/dist/m365/outlook/commands/calendargroup/calendargroup-add.js +97 -0
- package/dist/m365/outlook/commands/event/event-add.js +324 -0
- package/dist/m365/outlook/commands.js +2 -0
- package/dist/m365/spe/commands/container/container-activate.js +8 -16
- package/dist/m365/spe/commands/container/container-list.js +21 -42
- package/dist/m365/spe/commands/container/container-permission-add.js +114 -0
- package/dist/m365/spe/commands/container/container-permission-remove.js +94 -0
- package/dist/m365/spe/commands/container/container-permission-set.js +90 -0
- package/dist/m365/spe/commands/containertype/containertype-list.js +5 -0
- package/dist/m365/spe/commands.js +3 -0
- package/dist/m365/spfx/commands/SpfxCompatibilityMatrix.js +16 -1
- package/dist/m365/spfx/commands/project/project-doctor/{doctor-1.24.0-rc.0.js → doctor-1.24.0.js} +1 -1
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.24.1.js +19 -0
- package/dist/m365/spfx/commands/project/project-doctor.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN027004_OVERRIDES_serialize_javascript.js +34 -0
- package/dist/m365/spfx/commands/project/project-upgrade/{upgrade-1.24.0-rc.0.js → upgrade-1.24.0.js} +27 -27
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.24.1.js +57 -0
- package/dist/m365/spfx/commands/project/project-upgrade.js +12 -11
- package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-add.js +38 -71
- package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-get.js +25 -59
- package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-list.js +11 -34
- package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-remove.js +25 -54
- package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-set.js +52 -83
- package/dist/m365/spo/commands/apppage/apppage-add.js +21 -39
- package/dist/m365/spo/commands/apppage/apppage-set.js +20 -30
- package/dist/m365/spo/commands/commandset/commandset-add.js +17 -59
- package/dist/m365/spo/commands/commandset/commandset-get.js +24 -62
- package/dist/m365/spo/commands/commandset/commandset-list.js +11 -34
- package/dist/m365/spo/commands/commandset/commandset-remove.js +21 -54
- package/dist/m365/spo/commands/commandset/commandset-set.js +30 -83
- package/dist/m365/spo/commands/contenttype/contenttype-add.js +22 -51
- package/dist/m365/spo/commands/contenttype/contenttype-field-list.js +38 -62
- package/dist/m365/spo/commands/contenttype/contenttype-field-remove.js +25 -54
- package/dist/m365/spo/commands/contenttype/contenttype-field-set.js +20 -43
- package/dist/m365/spo/commands/contenttype/contenttype-get.js +29 -54
- package/dist/m365/spo/commands/contenttype/contenttype-list.js +13 -30
- package/dist/m365/spo/commands/contenttype/contenttype-remove.js +24 -39
- package/dist/m365/spo/commands/contenttype/contenttype-set.js +42 -63
- package/dist/m365/spo/commands/contenttype/contenttype-sync.js +37 -59
- package/dist/m365/spo/commands/contenttypehub/contenttypehub-get.js +5 -0
- package/dist/m365/spo/commands/customaction/customaction-add.js +124 -145
- package/dist/m365/spo/commands/customaction/customaction-clear.js +12 -43
- package/dist/m365/spo/commands/customaction/customaction-get.js +28 -59
- package/dist/m365/spo/commands/customaction/customaction-list.js +12 -42
- package/dist/m365/spo/commands/customaction/customaction-remove.js +26 -54
- package/dist/m365/spo/commands/customaction/customaction-set.js +75 -132
- package/dist/m365/spo/commands/eventreceiver/eventreceiver-get.js +39 -65
- package/dist/m365/spo/commands/eventreceiver/eventreceiver-list.js +28 -56
- package/dist/m365/spo/commands/eventreceiver/eventreceiver-remove.js +40 -68
- package/dist/m365/spo/commands/externaluser/externaluser-list.js +29 -80
- package/dist/m365/spo/commands/group/group-add.js +19 -60
- package/dist/m365/spo/commands/group/group-get.js +32 -45
- package/dist/m365/spo/commands/group/group-list.js +13 -27
- package/dist/m365/spo/commands/group/group-member-add.js +52 -84
- package/dist/m365/spo/commands/group/group-member-list.js +24 -38
- package/dist/m365/spo/commands/group/group-member-remove.js +49 -68
- package/dist/m365/spo/commands/group/group-remove.js +25 -45
- package/dist/m365/spo/commands/group/group-set.js +36 -79
- package/dist/m365/spo/commands/knowledgehub/knowledgehub-get.js +5 -0
- package/dist/m365/spo/commands/knowledgehub/knowledgehub-remove.js +8 -22
- package/dist/m365/spo/commands/knowledgehub/knowledgehub-set.js +10 -18
- package/dist/m365/spo/commands/listitem/listitem-add.js +27 -55
- package/dist/m365/spo/commands/listitem/listitem-attachment-add.js +30 -58
- package/dist/m365/spo/commands/listitem/listitem-attachment-get.js +27 -52
- package/dist/m365/spo/commands/listitem/listitem-attachment-list.js +26 -50
- package/dist/m365/spo/commands/listitem/listitem-attachment-remove.js +28 -55
- package/dist/m365/spo/commands/listitem/listitem-attachment-set.js +30 -57
- package/dist/m365/spo/commands/listitem/listitem-batch-add.js +36 -58
- package/dist/m365/spo/commands/listitem/listitem-batch-remove.js +68 -92
- package/dist/m365/spo/commands/listitem/listitem-batch-set.js +37 -57
- package/dist/m365/spo/commands/listitem/listitem-get.js +45 -68
- package/dist/m365/spo/commands/listitem/listitem-isrecord.js +31 -55
- package/dist/m365/spo/commands/listitem/listitem-list.js +47 -81
- package/dist/m365/spo/commands/listitem/listitem-record-declare.js +37 -60
- package/dist/m365/spo/commands/listitem/listitem-record-lock.js +30 -52
- package/dist/m365/spo/commands/listitem/listitem-record-undeclare.js +31 -52
- package/dist/m365/spo/commands/listitem/listitem-record-unlock.js +30 -52
- package/dist/m365/spo/commands/listitem/listitem-remove.js +33 -61
- package/dist/m365/spo/commands/listitem/listitem-retentionlabel-ensure.js +46 -67
- package/dist/m365/spo/commands/listitem/listitem-retentionlabel-remove.js +33 -56
- package/dist/m365/spo/commands/listitem/listitem-roleassignment-add.js +55 -98
- package/dist/m365/spo/commands/listitem/listitem-roleassignment-remove.js +48 -74
- package/dist/m365/spo/commands/listitem/listitem-roleinheritance-break.js +33 -56
- package/dist/m365/spo/commands/listitem/listitem-roleinheritance-reset.js +31 -53
- package/dist/m365/spo/commands/listitem/listitem-set.js +33 -58
- package/dist/m365/spo/commands/navigation/navigation-node-add.js +74 -120
- package/dist/m365/spo/commands/navigation/navigation-node-get.js +4 -13
- package/dist/m365/spo/commands/navigation/navigation-node-list.js +1 -1
- package/dist/m365/spo/commands/navigation/navigation-node-remove.js +13 -47
- package/dist/m365/spo/commands/navigation/navigation-node-set.js +53 -114
- package/dist/m365/spo/commands/orgassetslibrary/orgassetslibrary-add.js +15 -49
- package/dist/m365/spo/commands/orgassetslibrary/orgassetslibrary-list.js +6 -1
- package/dist/m365/spo/commands/orgassetslibrary/orgassetslibrary-remove.js +9 -17
- package/dist/m365/spo/commands/orgnewssite/orgnewssite-list.js +5 -0
- package/dist/m365/spo/commands/orgnewssite/orgnewssite-remove.js +11 -27
- package/dist/m365/spo/commands/orgnewssite/orgnewssite-set.js +10 -18
- package/dist/m365/spo/commands/page/page-column-list.js +7 -8
- package/dist/m365/spo/commands/page/page-section-list.js +15 -17
- package/dist/m365/spo/commands/page/page-unpublish.js +53 -0
- package/dist/m365/spo/commands/propertybag/propertybag-get.js +14 -29
- package/dist/m365/spo/commands/propertybag/propertybag-list.js +13 -27
- package/dist/m365/spo/commands/propertybag/propertybag-remove.js +15 -32
- package/dist/m365/spo/commands/propertybag/propertybag-set.js +15 -31
- package/dist/m365/spo/commands/roledefinition/roledefinition-add.js +45 -44
- package/dist/m365/spo/commands/roledefinition/roledefinition-get.js +14 -25
- package/dist/m365/spo/commands/roledefinition/roledefinition-list.js +12 -18
- package/dist/m365/spo/commands/roledefinition/roledefinition-remove.js +15 -35
- package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-grant-add.js +9 -17
- package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-grant-list.js +5 -0
- package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-grant-revoke.js +9 -17
- package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-permissionrequest-approve.js +29 -39
- package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-permissionrequest-deny.js +10 -23
- package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-permissionrequest-list.js +5 -0
- package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-set.js +19 -28
- package/dist/m365/spo/commands/sitedesign/sitedesign-add.js +24 -59
- package/dist/m365/spo/commands/sitedesign/sitedesign-apply.js +10 -34
- package/dist/m365/spo/commands/sitedesign/sitedesign-get.js +19 -36
- package/dist/m365/spo/commands/sitedesign/sitedesign-list.js +8 -0
- package/dist/m365/spo/commands/sitedesign/sitedesign-remove.js +9 -32
- package/dist/m365/spo/commands/sitedesign/sitedesign-rights-grant.js +10 -31
- package/dist/m365/spo/commands/sitedesign/sitedesign-rights-list.js +8 -23
- package/dist/m365/spo/commands/sitedesign/sitedesign-rights-revoke.js +10 -34
- package/dist/m365/spo/commands/sitedesign/sitedesign-run-list.js +9 -38
- package/dist/m365/spo/commands/sitedesign/sitedesign-run-status-get.js +9 -29
- package/dist/m365/spo/commands/sitedesign/sitedesign-set.js +27 -80
- package/dist/m365/spo/commands/sitedesign/sitedesign-task-get.js +8 -23
- package/dist/m365/spo/commands/sitedesign/sitedesign-task-list.js +8 -18
- package/dist/m365/spo/commands/sitedesign/sitedesign-task-remove.js +9 -32
- package/dist/m365/spo/commands/sitescript/sitescript-add.js +22 -37
- package/dist/m365/spo/commands/sitescript/sitescript-get.js +9 -26
- package/dist/m365/spo/commands/sitescript/sitescript-list.js +5 -0
- package/dist/m365/spo/commands/sitescript/sitescript-remove.js +9 -33
- package/dist/m365/spo/commands/sitescript/sitescript-set.js +29 -56
- package/dist/m365/spo/commands/spo-search.js +43 -116
- package/dist/m365/spo/commands/tenant/tenant-appcatalog-add.js +15 -46
- package/dist/m365/spo/commands/tenant/tenant-appcatalogurl-get.js +5 -0
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-add.js +20 -57
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-get.js +25 -49
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-list.js +5 -1
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-remove.js +25 -49
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-set.js +47 -79
- package/dist/m365/spo/commands/tenant/tenant-commandset-add.js +23 -54
- package/dist/m365/spo/commands/tenant/tenant-commandset-get.js +25 -50
- package/dist/m365/spo/commands/tenant/tenant-commandset-list.js +5 -1
- package/dist/m365/spo/commands/tenant/tenant-commandset-remove.js +25 -49
- package/dist/m365/spo/commands/tenant/tenant-commandset-set.js +41 -65
- package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-list.js +5 -0
- package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-remove.js +10 -30
- package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-restore.js +8 -21
- package/dist/m365/spo/commands/tenant/tenant-settings-list.js +5 -0
- package/dist/m365/spo/commands/tenant/tenant-settings-set.js +104 -386
- package/dist/m365/spo/commands/term/term-add.js +95 -110
- package/dist/m365/spo/commands/term/term-get.js +63 -75
- package/dist/m365/spo/commands/term/term-group-add.js +11 -41
- package/dist/m365/spo/commands/term/term-group-get.js +16 -47
- package/dist/m365/spo/commands/term/term-group-list.js +16 -42
- package/dist/m365/spo/commands/term/term-list.js +42 -57
- package/dist/m365/spo/commands/term/term-set-add.js +50 -71
- package/dist/m365/spo/commands/term/term-set-get.js +41 -58
- package/dist/m365/spo/commands/term/term-set-list.js +22 -56
- package/dist/m365/spo/commands/theme/theme-apply.js +27 -43
- package/dist/m365/spo/commands/theme/theme-get.js +8 -15
- package/dist/m365/spo/commands/theme/theme-list.js +5 -0
- package/dist/m365/spo/commands/theme/theme-remove.js +9 -24
- package/dist/m365/spo/commands/theme/theme-set.js +12 -34
- package/dist/m365/spo/commands.js +1 -0
- package/dist/m365/spp/commands/contentcenter/contentcenter-list.js +5 -0
- package/dist/m365/spp/commands/model/model-get.js +25 -45
- package/dist/m365/spp/commands/model/model-list.js +12 -23
- package/dist/m365/spp/commands/model/model-remove.js +25 -45
- package/dist/m365/teams/commands/app/app-install.js +35 -44
- package/dist/m365/teams/commands/app/app-list.js +8 -33
- package/dist/m365/teams/commands/app/app-publish.js +21 -27
- package/dist/m365/teams/commands/app/app-remove.js +22 -39
- package/dist/m365/teams/commands/app/app-uninstall.js +12 -34
- package/dist/m365/teams/commands/app/app-update.js +35 -45
- package/dist/m365/teams/commands/funsettings/funsettings-list.js +12 -23
- package/dist/m365/teams/commands/funsettings/funsettings-set.js +18 -54
- package/dist/m365/teams/commands/guestsettings/guestsettings-list.js +12 -23
- package/dist/m365/teams/commands/guestsettings/guestsettings-set.js +15 -40
- package/dist/m365/teams/commands/meeting/meeting-add.js +57 -68
- package/dist/m365/teams/commands/meeting/meeting-attendancereport-get.js +33 -58
- package/dist/m365/teams/commands/meeting/meeting-attendancereport-list.js +14 -38
- package/dist/m365/teams/commands/meeting/meeting-get.js +14 -38
- package/dist/m365/teams/commands/meeting/meeting-list.js +34 -59
- package/dist/m365/teams/commands/meeting/meeting-transcript-get.js +34 -58
- package/dist/m365/teams/commands/meeting/meeting-transcript-list.js +29 -50
- package/dist/m365/teams/commands/membersettings/membersettings-list.js +12 -23
- package/dist/m365/teams/commands/membersettings/membersettings-set.js +18 -49
- package/dist/m365/teams/commands/message/message-get.js +19 -30
- package/dist/m365/teams/commands/message/message-list.js +26 -43
- package/dist/m365/teams/commands/message/message-remove.js +43 -58
- package/dist/m365/teams/commands/message/message-reply-list.js +19 -30
- package/dist/m365/teams/commands/message/message-restore.js +40 -50
- package/dist/m365/teams/commands/message/message-send.js +19 -30
- package/dist/m365/teams/commands/messagingsettings/messagingsettings-list.js +12 -23
- package/dist/m365/teams/commands/messagingsettings/messagingsettings-set.js +18 -60
- package/dist/m365/teams/commands/report/report-deviceusagedistributionusercounts.js +10 -0
- package/dist/m365/teams/commands/report/report-deviceusageusercounts.js +10 -0
- package/dist/m365/teams/commands/report/report-deviceusageuserdetail.js +22 -0
- package/dist/m365/teams/commands/report/report-directroutingcalls.js +19 -39
- package/dist/m365/teams/commands/report/report-pstncalls.js +19 -39
- package/dist/m365/teams/commands/report/report-useractivitycounts.js +10 -0
- package/dist/m365/teams/commands/report/report-useractivityusercounts.js +10 -0
- package/dist/m365/teams/commands/report/report-useractivityuserdetail.js +22 -0
- package/dist/m365/teams/commands/tab/tab-add.js +23 -49
- package/dist/m365/teams/commands/tab/tab-get.js +55 -56
- package/dist/m365/teams/commands/tab/tab-list.js +17 -28
- package/dist/m365/teams/commands/tab/tab-remove.js +23 -42
- package/dist/m365/teams/commands/team/team-add.js +76 -114
- package/dist/m365/teams/commands/team/team-app-list.js +23 -36
- package/dist/m365/teams/commands/team/team-archive.js +24 -39
- package/dist/m365/teams/commands/team/team-clone.js +28 -62
- package/dist/m365/teams/commands/team/team-get.js +23 -36
- package/dist/m365/teams/commands/team/team-list.js +43 -57
- package/dist/m365/teams/commands/team/team-remove.js +24 -37
- package/dist/m365/teams/commands/team/team-set.js +23 -52
- package/dist/m365/teams/commands/team/team-unarchive.js +23 -28
- package/dist/m365/teams/commands/user/user-app-add.js +40 -49
- package/dist/m365/teams/commands/user/user-app-list.js +26 -39
- package/dist/m365/teams/commands/user/user-app-remove.js +37 -49
- package/dist/m365/teams/commands/user/user-app-upgrade.js +36 -52
- package/dist/m365/teams/commands/user/user-list.js +17 -39
- package/dist/m365/tenant/commands/id/id-get.js +8 -22
- package/dist/m365/tenant/commands/info/info-get.js +23 -36
- package/dist/m365/tenant/commands/people/people-profilecardproperty-add.js +67 -55
- package/dist/m365/tenant/commands/people/people-profilecardproperty-get.js +11 -24
- package/dist/m365/tenant/commands/people/people-profilecardproperty-list.js +5 -0
- package/dist/m365/tenant/commands/people/people-profilecardproperty-remove.js +12 -33
- package/dist/m365/tenant/commands/people/people-profilecardproperty-set.js +31 -51
- package/dist/m365/tenant/commands/people/people-pronouns-get.js +5 -0
- package/dist/m365/tenant/commands/people/profileCardProperties.js +10 -7
- package/dist/m365/tenant/commands/report/report-activeusercounts.js +2 -1
- package/dist/m365/tenant/commands/report/report-activeuserdetail.js +2 -1
- package/dist/m365/tenant/commands/report/report-office365activationcounts.js +9 -0
- package/dist/m365/tenant/commands/report/report-office365activationsusercounts.js +9 -0
- package/dist/m365/tenant/commands/report/report-office365activationsuserdetail.js +9 -0
- package/dist/m365/tenant/commands/report/report-servicesusercounts.js +2 -1
- package/dist/m365/tenant/commands/report/report-settings-get.js +5 -0
- package/dist/m365/tenant/commands/security/security-alerts-list.js +8 -20
- package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-health-get.js +9 -20
- package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-health-list.js +8 -20
- package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-healthissue-get.js +8 -15
- package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-healthissue-list.js +8 -15
- package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-message-get.js +12 -26
- package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-message-list.js +8 -22
- package/dist/utils/calendar.js +1 -1
- package/dist/utils/formatting.js +16 -0
- package/dist/utils/pid.js +7 -16
- package/dist/utils/spe.js +1 -1
- package/dist/utils/spo.js +39 -0
- package/dist/utils/validation.js +36 -0
- package/dist/utils/zod.js +18 -7
- package/docs/docs/cmd/entra/agent/agent-blueprint-list.mdx +175 -0
- package/docs/docs/cmd/entra/agent/agent-blueprintprincipal-list.mdx +156 -0
- package/docs/docs/cmd/login.mdx +15 -2
- package/docs/docs/cmd/outlook/calendargroup/calendargroup-add.mdx +126 -0
- package/docs/docs/cmd/outlook/event/event-add.mdx +390 -0
- package/docs/docs/cmd/spe/container/container-add.mdx +0 -8
- package/docs/docs/cmd/spe/container/container-list.mdx +0 -8
- package/docs/docs/cmd/spe/container/container-permission-add.mdx +140 -0
- package/docs/docs/cmd/spe/container/container-permission-remove.mdx +78 -0
- package/docs/docs/cmd/spe/container/container-permission-set.mdx +78 -0
- package/docs/docs/cmd/spe/container/container-recyclebinitem-list.mdx +0 -8
- package/docs/docs/cmd/spe/container/container-recyclebinitem-restore.mdx +0 -8
- package/docs/docs/cmd/spe/container/container-remove.mdx +0 -8
- package/docs/docs/cmd/spe/containertype/containertype-add.mdx +1 -1
- package/docs/docs/cmd/spfx/project/project-upgrade.mdx +1 -1
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-set.mdx +1 -1
- package/docs/docs/cmd/spo/externaluser/externaluser-list.mdx +17 -30
- package/docs/docs/cmd/spo/navigation/navigation-node-add.mdx +45 -30
- package/docs/docs/cmd/spo/navigation/navigation-node-get.mdx +64 -42
- package/docs/docs/cmd/spo/navigation/navigation-node-set.mdx +10 -8
- package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-list.mdx +0 -21
- package/docs/docs/cmd/spo/page/page-unpublish.mdx +63 -0
- package/docs/docs/cmd/teams/tab/tab-add.mdx +19 -0
- package/docs/docs/cmd/teams/tab/tab-get.mdx +19 -0
- package/docs/docs/cmd/teams/tab/tab-list.mdx +19 -0
- package/docs/docs/cmd/teams/tab/tab-remove.mdx +21 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +3 -1
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import Global from '../../_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# spe container permission set
|
|
6
|
+
|
|
7
|
+
Updates SharePoint Embedded Container permission
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 spe container permission set [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`-i, --id <id>`
|
|
19
|
+
: ID of the permission which will be modified.
|
|
20
|
+
|
|
21
|
+
`--containerId [containerId]`
|
|
22
|
+
: ID of a SharePoint Embedded container. Specify either `containerId` or `containerName` but not both.
|
|
23
|
+
|
|
24
|
+
`-n, --containerName [containerName]`
|
|
25
|
+
: Display name of the Container. Specify either `containerId` or `containerName` but not both.
|
|
26
|
+
|
|
27
|
+
`--containerTypeId [containerTypeId]`
|
|
28
|
+
: The ID of the container type. Specify either `containerTypeId` or `containerTypeName` when using `containerName` but not both.
|
|
29
|
+
|
|
30
|
+
`--containerTypeName [containerTypeName]`
|
|
31
|
+
: The name of the container type. Specify either `containerTypeId` or `containerTypeName` when using `containerName` but not both.
|
|
32
|
+
|
|
33
|
+
`-r, --roles <roles>`
|
|
34
|
+
: Comma separated list of permissions. Possible values are `reader`, `writer`, `manager`, `owner`.
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
<Global />
|
|
38
|
+
|
|
39
|
+
## Permissions
|
|
40
|
+
|
|
41
|
+
<Tabs>
|
|
42
|
+
<TabItem value="Delegated">
|
|
43
|
+
|
|
44
|
+
| Resource | Permissions |
|
|
45
|
+
|-----------------|--------------------------------------------------------------------|
|
|
46
|
+
| Microsoft Graph | FileStorageContainer.Selected, FileStorageContainerType.Manage.All |
|
|
47
|
+
|
|
48
|
+
`FileStorageContainerType.Manage.All` is required only when using `containerTypeName`.
|
|
49
|
+
|
|
50
|
+
</TabItem>
|
|
51
|
+
<TabItem value="Application">
|
|
52
|
+
|
|
53
|
+
This command only supports application permissions when **not** using the `containerTypeName` option.
|
|
54
|
+
|
|
55
|
+
| Resource | Permissions |
|
|
56
|
+
|-----------------|-------------------------------|
|
|
57
|
+
| Microsoft Graph | FileStorageContainer.Selected |
|
|
58
|
+
|
|
59
|
+
</TabItem>
|
|
60
|
+
</Tabs>
|
|
61
|
+
|
|
62
|
+
## Examples
|
|
63
|
+
|
|
64
|
+
Updates role for the specified container
|
|
65
|
+
|
|
66
|
+
```sh
|
|
67
|
+
m365 spe container permission set --containerId "b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_5Z" --id "cmVhZGVyX2k6MCMuZnxtZW1iZXJzaGlwfHJvcnlicjExMUBvdXRsb29rLmNvbQ" --roles "reader"
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
Updates multiple roles for the specified container
|
|
71
|
+
|
|
72
|
+
```sh
|
|
73
|
+
m365 spe container permission set --containerId "b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_5Z" --id "cmVhZGVyX2k6MCMuZnxtZW1iZXJzaGlwfHJvcnlicjExMUBvdXRsb29rLmNvbQ" --roles "reader,writer"
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
## Response
|
|
77
|
+
|
|
78
|
+
The command won't return a response on success.
|
|
@@ -24,14 +24,6 @@ m365 spe container recyclebinitem list [options]
|
|
|
24
24
|
|
|
25
25
|
<Global />
|
|
26
26
|
|
|
27
|
-
## Remarks
|
|
28
|
-
|
|
29
|
-
:::warning
|
|
30
|
-
|
|
31
|
-
The command is based on an API that is currently in preview and is subject to change once the API reached general availability.
|
|
32
|
-
|
|
33
|
-
:::
|
|
34
|
-
|
|
35
27
|
## Permissions
|
|
36
28
|
|
|
37
29
|
<Tabs>
|
|
@@ -30,14 +30,6 @@ m365 spe container recyclebinitem restore [options]
|
|
|
30
30
|
|
|
31
31
|
<Global />
|
|
32
32
|
|
|
33
|
-
## Remarks
|
|
34
|
-
|
|
35
|
-
:::warning
|
|
36
|
-
|
|
37
|
-
The command is based on an API that is currently in preview and is subject to change once the API reached general availability.
|
|
38
|
-
|
|
39
|
-
:::
|
|
40
|
-
|
|
41
33
|
## Permissions
|
|
42
34
|
|
|
43
35
|
<Tabs>
|
|
@@ -36,14 +36,6 @@ m365 spe container remove [options]
|
|
|
36
36
|
|
|
37
37
|
<Global />
|
|
38
38
|
|
|
39
|
-
## Remarks
|
|
40
|
-
|
|
41
|
-
:::warning
|
|
42
|
-
|
|
43
|
-
The command is based on an API that is currently in preview and is subject to change once the API reached general availability.
|
|
44
|
-
|
|
45
|
-
:::
|
|
46
|
-
|
|
47
39
|
## Permissions
|
|
48
40
|
|
|
49
41
|
<Tabs>
|
|
@@ -104,7 +104,7 @@ The registration of a container type in a newly created tenant can fail if the t
|
|
|
104
104
|
Adds a new trial container type.
|
|
105
105
|
|
|
106
106
|
```sh
|
|
107
|
-
m365 spe containertype add --name 'trial container' --
|
|
107
|
+
m365 spe containertype add --name 'trial container' --appId '1b3b8660-9a44-4a7c-9c02-657f3ff5d5ac' --billingType trial
|
|
108
108
|
```
|
|
109
109
|
|
|
110
110
|
Adds a new container type using a standard billing type for the current application.
|
|
@@ -45,7 +45,7 @@ m365 spfx project upgrade [options]
|
|
|
45
45
|
|
|
46
46
|
## Remarks
|
|
47
47
|
|
|
48
|
-
The `spfx project upgrade` command helps you upgrade your SharePoint Framework project to the specified version. If no version is specified, the command will upgrade to the latest version of the SharePoint Framework it supports (v1.
|
|
48
|
+
The `spfx project upgrade` command helps you upgrade your SharePoint Framework project to the specified version. If no version is specified, the command will upgrade to the latest version of the SharePoint Framework it supports (v1.24.1).
|
|
49
49
|
|
|
50
50
|
This command doesn't change your project files. Instead, it gives you a report with all steps necessary to upgrade your project to the specified version of the SharePoint Framework. Changing project files is error-prone, especially when it comes to updating your solution's code. This is why at this moment, this command produces a report that you can use yourself to perform the necessary updates and verify that everything is working as expected.
|
|
51
51
|
|
|
@@ -28,7 +28,7 @@ m365 spo applicationcustomizer set [options]
|
|
|
28
28
|
: The Client Side Component Id (GUID) of the Application Customizer to update. Specify either `title`, `id` or `clientSideComponentId`.
|
|
29
29
|
|
|
30
30
|
`--newTitle [newTitle]`
|
|
31
|
-
: The new title of the Application Customizer.
|
|
31
|
+
: The new title of the Application Customizer. Specify an empty string to clear.
|
|
32
32
|
|
|
33
33
|
`--description [description]`
|
|
34
34
|
: Description of the Application Customizer. Specify an empty string to clear.
|
|
@@ -76,18 +76,12 @@ m365 spo externaluser list --pageSize 50 --position 0 --sortOrder desc
|
|
|
76
76
|
```json
|
|
77
77
|
[
|
|
78
78
|
{
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"Expiration": "",
|
|
86
|
-
"IsEmailAuthenticationGuestUser": false,
|
|
87
|
-
"IsShareByEmailGuestUser": true,
|
|
88
|
-
"IsSiteAdmin": false,
|
|
89
|
-
"UserId": null,
|
|
90
|
-
"UserPrincipalName": "user_domain.nl#ext#@tenant.onmicrosoft.com"
|
|
79
|
+
"DisplayName": "John Doe (External)",
|
|
80
|
+
"InvitedAs": "john.doe@contoso.com",
|
|
81
|
+
"UniqueId": "1003200012345678",
|
|
82
|
+
"AcceptedAs": "john.doe@contoso.com",
|
|
83
|
+
"WhenCreated": "2025-11-18T07:57:58.913Z",
|
|
84
|
+
"InvitedBy": null
|
|
91
85
|
}
|
|
92
86
|
]
|
|
93
87
|
```
|
|
@@ -96,17 +90,17 @@ m365 spo externaluser list --pageSize 50 --position 0 --sortOrder desc
|
|
|
96
90
|
<TabItem value="Text">
|
|
97
91
|
|
|
98
92
|
```text
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
93
|
+
AcceptedAs DisplayName InvitedAs InvitedBy UniqueId WhenCreated
|
|
94
|
+
-------------------- ------------------- -------------------- --------- ---------------- ------------------------
|
|
95
|
+
john.doe@contoso.com John Doe (External) john.doe@contoso.com null 1003200012345678 2025-11-18T07:57:58.913Z
|
|
102
96
|
```
|
|
103
97
|
|
|
104
98
|
</TabItem>
|
|
105
99
|
<TabItem value="CSV">
|
|
106
100
|
|
|
107
101
|
```csv
|
|
108
|
-
|
|
109
|
-
|
|
102
|
+
DisplayName,InvitedAs,UniqueId,AcceptedAs,WhenCreated,InvitedBy
|
|
103
|
+
John Doe (External),john.doe@contoso.com,1003200012345678,john.doe@contoso.com,2025-11-18T07:57:58.913Z,
|
|
110
104
|
```
|
|
111
105
|
|
|
112
106
|
</TabItem>
|
|
@@ -117,22 +111,15 @@ m365 spo externaluser list --pageSize 50 --position 0 --sortOrder desc
|
|
|
117
111
|
|
|
118
112
|
Date: 10/3/2023
|
|
119
113
|
|
|
120
|
-
##
|
|
114
|
+
## John Doe (External) (1003200012345678)
|
|
121
115
|
|
|
122
116
|
Property | Value
|
|
123
117
|
---------|-------
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
Email | user@domain.nl
|
|
130
|
-
Expiration |
|
|
131
|
-
IsEmailAuthenticationGuestUser | false
|
|
132
|
-
IsShareByEmailGuestUser | true
|
|
133
|
-
IsSiteAdmin | false
|
|
134
|
-
UserId | null
|
|
135
|
-
UserPrincipalName | user_domain.nl#ext#@tenant.onmicrosoft.com
|
|
118
|
+
DisplayName | John Doe (External)
|
|
119
|
+
InvitedAs | john.doe@contoso.com
|
|
120
|
+
UniqueId | 1003200012345678
|
|
121
|
+
AcceptedAs | john.doe@contoso.com
|
|
122
|
+
WhenCreated | 2025-11-18T07:57:58.913Z
|
|
136
123
|
```
|
|
137
124
|
|
|
138
125
|
</TabItem>
|
|
@@ -30,9 +30,6 @@ m365 spo navigation node add [options]
|
|
|
30
30
|
`--parentNodeId [parentNodeId]`
|
|
31
31
|
: ID of the node below which the node should be added. Specify either `location` or `parentNodeId` but not both.
|
|
32
32
|
|
|
33
|
-
`--isExternal`
|
|
34
|
-
: Set, if the navigation node points to an external URL.
|
|
35
|
-
|
|
36
33
|
`--audienceIds [audienceIds]`
|
|
37
34
|
: Comma-separated list of group IDs that will be used for audience targeting. The limit is 10 ids per navigation node.
|
|
38
35
|
|
|
@@ -57,7 +54,7 @@ m365 spo navigation node add --webUrl https://contoso.sharepoint.com/sites/team-
|
|
|
57
54
|
Add a navigation node pointing to an external page to the quick launch.
|
|
58
55
|
|
|
59
56
|
```sh
|
|
60
|
-
m365 spo navigation node add --webUrl https://contoso.sharepoint.com/sites/team-a --location QuickLaunch --title "About us" --url https://contoso.com/about-us
|
|
57
|
+
m365 spo navigation node add --webUrl https://contoso.sharepoint.com/sites/team-a --location QuickLaunch --title "About us" --url https://contoso.com/about-us
|
|
61
58
|
```
|
|
62
59
|
|
|
63
60
|
Add a navigation node below an existing node and opens it in a new window.
|
|
@@ -72,6 +69,12 @@ Add a navigation node to the top navigation which is audience targetted and open
|
|
|
72
69
|
m365 spo navigation node add --webUrl https://contoso.sharepoint.com/sites/team-a --location TopNavigationBar --title About --url /sites/team-s/sitepages/about.aspx --audienceIds "7aa4a1ca-4035-4f2f-bac7-7beada59b5ba,4bbf236f-a131-4019-b4a2-315902fcfa3a" --openInNewWindow
|
|
73
70
|
```
|
|
74
71
|
|
|
72
|
+
Add a linkless label to the quick launch.
|
|
73
|
+
|
|
74
|
+
```sh
|
|
75
|
+
m365 spo navigation node add --webUrl https://contoso.sharepoint.com/sites/team-a --location QuickLaunch --title Resources
|
|
76
|
+
```
|
|
77
|
+
|
|
75
78
|
## Response
|
|
76
79
|
|
|
77
80
|
<Tabs>
|
|
@@ -83,13 +86,18 @@ m365 spo navigation node add --webUrl https://contoso.sharepoint.com/sites/team-
|
|
|
83
86
|
"7aa4a1ca-4035-4f2f-bac7-7beada59b5ba"
|
|
84
87
|
],
|
|
85
88
|
"CurrentLCID": 1033,
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"
|
|
89
|
+
"CustomProperties": [],
|
|
90
|
+
"FriendlyUrlSegment": "",
|
|
91
|
+
"IsDeleted": false,
|
|
92
|
+
"IsHidden": false,
|
|
93
|
+
"IsTitleForExistingLanguage": false,
|
|
94
|
+
"Key": "2030",
|
|
95
|
+
"Nodes": [],
|
|
96
|
+
"NodeType": 0,
|
|
97
|
+
"OpenInNewWindow": true,
|
|
98
|
+
"SimpleUrl": "https://contoso.sharepoint.com",
|
|
91
99
|
"Title": "Navigation Link",
|
|
92
|
-
"
|
|
100
|
+
"Translations": []
|
|
93
101
|
}
|
|
94
102
|
```
|
|
95
103
|
|
|
@@ -97,45 +105,52 @@ m365 spo navigation node add --webUrl https://contoso.sharepoint.com/sites/team-
|
|
|
97
105
|
<TabItem value="Text">
|
|
98
106
|
|
|
99
107
|
```text
|
|
100
|
-
AudienceIds
|
|
101
|
-
CurrentLCID
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
108
|
+
AudienceIds : ["7aa4a1ca-4035-4f2f-bac7-7beada59b5ba"]
|
|
109
|
+
CurrentLCID : 1033
|
|
110
|
+
CustomProperties : []
|
|
111
|
+
FriendlyUrlSegment :
|
|
112
|
+
IsDeleted : false
|
|
113
|
+
IsHidden : false
|
|
114
|
+
IsTitleForExistingLanguage: false
|
|
115
|
+
Key : 2030
|
|
116
|
+
NodeType : 0
|
|
117
|
+
Nodes : []
|
|
118
|
+
OpenInNewWindow : true
|
|
119
|
+
SimpleUrl : https://contoso.sharepoint.com
|
|
120
|
+
Title : Navigation Link
|
|
121
|
+
Translations : []
|
|
109
122
|
```
|
|
110
123
|
|
|
111
124
|
</TabItem>
|
|
112
125
|
<TabItem value="CSV">
|
|
113
126
|
|
|
114
127
|
```csv
|
|
115
|
-
|
|
116
|
-
|
|
128
|
+
CurrentLCID,FriendlyUrlSegment,IsDeleted,IsHidden,IsTitleForExistingLanguage,Key,NodeType,OpenInNewWindow,SimpleUrl,Title
|
|
129
|
+
1033,,0,0,0,2030,0,1,https://contoso.sharepoint.com,Navigation Link
|
|
117
130
|
```
|
|
118
131
|
|
|
119
132
|
</TabItem>
|
|
120
133
|
<TabItem value="Markdown">
|
|
121
134
|
|
|
122
135
|
```md
|
|
123
|
-
# spo navigation node
|
|
136
|
+
# spo navigation node add --webUrl "https://contoso.sharepoint.com/sites/team-a" --location "TopNavigationBar" --title "Navigation Link" --url "https://contoso.sharepoint.com" --openInNewWindow "true"
|
|
124
137
|
|
|
125
|
-
Date:
|
|
138
|
+
Date: 10/7/2026
|
|
126
139
|
|
|
127
|
-
## Navigation Link
|
|
140
|
+
## Navigation Link
|
|
128
141
|
|
|
129
142
|
Property | Value
|
|
130
143
|
---------|-------
|
|
131
144
|
CurrentLCID | 1033
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
145
|
+
FriendlyUrlSegment |
|
|
146
|
+
IsDeleted | false
|
|
147
|
+
IsHidden | false
|
|
148
|
+
IsTitleForExistingLanguage | false
|
|
149
|
+
Key | 2030
|
|
150
|
+
NodeType | 0
|
|
151
|
+
OpenInNewWindow | true
|
|
152
|
+
SimpleUrl | https://contoso.sharepoint.com
|
|
137
153
|
Title | Navigation Link
|
|
138
|
-
Url | https://contoso.sharepoint.com
|
|
139
154
|
```
|
|
140
155
|
|
|
141
156
|
</TabItem>
|
|
@@ -18,6 +18,9 @@ m365 spo navigation node get [options]
|
|
|
18
18
|
`-u, --webUrl <webUrl>`
|
|
19
19
|
: Absolute URL of the site.
|
|
20
20
|
|
|
21
|
+
`-l, --location <location>`
|
|
22
|
+
: Navigation type where the node is located. Available options: `QuickLaunch`, `TopNavigationBar`.
|
|
23
|
+
|
|
21
24
|
`--id <id>`
|
|
22
25
|
: Id of the navigation node.
|
|
23
26
|
```
|
|
@@ -45,10 +48,16 @@ m365 spo navigation node get [options]
|
|
|
45
48
|
|
|
46
49
|
## Examples
|
|
47
50
|
|
|
48
|
-
Retrieve information for a specific navigation node.
|
|
51
|
+
Retrieve information for a specific navigation node from the quick launch.
|
|
49
52
|
|
|
50
53
|
```sh
|
|
51
|
-
m365 spo navigation node get --webUrl https://contoso.sharepoint.com/sites/Marketing --id 2209
|
|
54
|
+
m365 spo navigation node get --webUrl https://contoso.sharepoint.com/sites/Marketing --location QuickLaunch --id 2209
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
Retrieve information for a specific navigation node from the top navigation.
|
|
58
|
+
|
|
59
|
+
```sh
|
|
60
|
+
m365 spo navigation node get --webUrl https://contoso.sharepoint.com/sites/Marketing --location TopNavigationBar --id 2209
|
|
52
61
|
```
|
|
53
62
|
|
|
54
63
|
## Response
|
|
@@ -58,31 +67,39 @@ m365 spo navigation node get --webUrl https://contoso.sharepoint.com/sites/Marke
|
|
|
58
67
|
|
|
59
68
|
```json
|
|
60
69
|
{
|
|
61
|
-
"
|
|
70
|
+
"AudienceIds": [
|
|
71
|
+
"0d718612-8407-4d6b-833c-6891a553354f"
|
|
72
|
+
],
|
|
73
|
+
"CurrentLCID": 1033,
|
|
74
|
+
"CustomProperties": [],
|
|
75
|
+
"FriendlyUrlSegment": "",
|
|
76
|
+
"IsDeleted": false,
|
|
77
|
+
"IsHidden": false,
|
|
78
|
+
"IsTitleForExistingLanguage": false,
|
|
79
|
+
"Key": "2209",
|
|
80
|
+
"Nodes": [
|
|
62
81
|
{
|
|
63
|
-
"AudienceIds":
|
|
82
|
+
"AudienceIds": [],
|
|
64
83
|
"CurrentLCID": 1033,
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
84
|
+
"CustomProperties": [],
|
|
85
|
+
"FriendlyUrlSegment": "",
|
|
86
|
+
"IsDeleted": false,
|
|
87
|
+
"IsHidden": false,
|
|
88
|
+
"IsTitleForExistingLanguage": false,
|
|
89
|
+
"Key": "2210",
|
|
90
|
+
"Nodes": [],
|
|
91
|
+
"NodeType": 0,
|
|
92
|
+
"OpenInNewWindow": true,
|
|
93
|
+
"SimpleUrl": "https://microsoft365.com",
|
|
70
94
|
"Title": "Microsoft 365",
|
|
71
|
-
"
|
|
72
|
-
"Children": []
|
|
95
|
+
"Translations": []
|
|
73
96
|
}
|
|
74
97
|
],
|
|
75
|
-
"
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
"CurrentLCID": 1033,
|
|
79
|
-
"Id": 2209,
|
|
80
|
-
"IsDocLib": true,
|
|
81
|
-
"IsExternal": false,
|
|
82
|
-
"IsVisible": true,
|
|
83
|
-
"ListTemplateType": 100,
|
|
98
|
+
"NodeType": 0,
|
|
99
|
+
"OpenInNewWindow": null,
|
|
100
|
+
"SimpleUrl": "/sites/Marketing/Lists/Work Status/AllItems.aspx",
|
|
84
101
|
"Title": "Work Status",
|
|
85
|
-
"
|
|
102
|
+
"Translations": []
|
|
86
103
|
}
|
|
87
104
|
```
|
|
88
105
|
|
|
@@ -90,46 +107,51 @@ m365 spo navigation node get --webUrl https://contoso.sharepoint.com/sites/Marke
|
|
|
90
107
|
<TabItem value="Text">
|
|
91
108
|
|
|
92
109
|
```text
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
110
|
+
AudienceIds : ["0d718612-8407-4d6b-833c-6891a553354f"]
|
|
111
|
+
CurrentLCID : 1033
|
|
112
|
+
CustomProperties : []
|
|
113
|
+
FriendlyUrlSegment :
|
|
114
|
+
IsDeleted : false
|
|
115
|
+
IsHidden : false
|
|
116
|
+
IsTitleForExistingLanguage: false
|
|
117
|
+
Key : 2209
|
|
118
|
+
NodeType : 0
|
|
119
|
+
Nodes : [{"AudienceIds":[],"CurrentLCID":1033,"CustomProperties":[],"FriendlyUrlSegment":"","IsDeleted":false,"IsHidden":false,"IsTitleForExistingLanguage":false,"Key":"2210","Nodes":[],"NodeType":0,"OpenInNewWindow":true,"SimpleUrl":"https://microsoft365.com","Title":"Microsoft 365","Translations":[]}]
|
|
120
|
+
OpenInNewWindow : null
|
|
121
|
+
SimpleUrl : /sites/Marketing/Lists/Work Status/AllItems.aspx
|
|
122
|
+
Title : Work Status
|
|
123
|
+
Translations : []
|
|
103
124
|
```
|
|
104
125
|
|
|
105
126
|
</TabItem>
|
|
106
127
|
<TabItem value="CSV">
|
|
107
128
|
|
|
108
129
|
```csv
|
|
109
|
-
CurrentLCID,
|
|
110
|
-
1033,
|
|
130
|
+
CurrentLCID,FriendlyUrlSegment,IsDeleted,IsHidden,IsTitleForExistingLanguage,Key,NodeType,OpenInNewWindow,SimpleUrl,Title
|
|
131
|
+
1033,,0,0,0,2209,0,,/sites/Marketing/Lists/Work Status/AllItems.aspx,Work Status
|
|
111
132
|
```
|
|
112
133
|
|
|
113
134
|
</TabItem>
|
|
114
135
|
<TabItem value="Markdown">
|
|
115
136
|
|
|
116
137
|
```md
|
|
117
|
-
# spo navigation node get --webUrl "https://contoso.sharepoint.com/sites/Marketing" --id "2209"
|
|
138
|
+
# spo navigation node get --webUrl "https://contoso.sharepoint.com/sites/Marketing" --location "QuickLaunch" --id "2209"
|
|
118
139
|
|
|
119
|
-
Date:
|
|
140
|
+
Date: 10/7/2026
|
|
120
141
|
|
|
121
|
-
## Work Status
|
|
142
|
+
## Work Status
|
|
122
143
|
|
|
123
144
|
Property | Value
|
|
124
145
|
---------|-------
|
|
125
146
|
CurrentLCID | 1033
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
147
|
+
FriendlyUrlSegment |
|
|
148
|
+
IsDeleted | false
|
|
149
|
+
IsHidden | false
|
|
150
|
+
IsTitleForExistingLanguage | false
|
|
151
|
+
Key | 2209
|
|
152
|
+
NodeType | 0
|
|
153
|
+
SimpleUrl | /sites/Marketing/Lists/Work Status/AllItems.aspx
|
|
131
154
|
Title | Work Status
|
|
132
|
-
Url | /sites/Marketing/Lists/Work Status/AllItems.aspx
|
|
133
155
|
```
|
|
134
156
|
|
|
135
157
|
</TabItem>
|
|
@@ -16,6 +16,9 @@ m365 spo navigation node set [options]
|
|
|
16
16
|
`-u, --webUrl <webUrl>`
|
|
17
17
|
: Absolute URL of the site.
|
|
18
18
|
|
|
19
|
+
`-l, --location <location>`
|
|
20
|
+
: Navigation type where the node is located. Available options: `QuickLaunch`, `TopNavigationBar`.
|
|
21
|
+
|
|
19
22
|
`--id <id>`
|
|
20
23
|
: Id of the navigation node.
|
|
21
24
|
|
|
@@ -26,10 +29,7 @@ m365 spo navigation node set [options]
|
|
|
26
29
|
: New URL of the navigation node. Specify an empty string `""` to update the navigation label to a linkless label.
|
|
27
30
|
|
|
28
31
|
`--audienceIds [audienceIds]`
|
|
29
|
-
: Comma-separated list of group IDs that will be used for audience targeting.
|
|
30
|
-
|
|
31
|
-
`--isExternal [isExternal]`
|
|
32
|
-
: Whether the navigation node points to an external URL. Valid values: `true` or `false`.
|
|
32
|
+
: Comma-separated list of group IDs that will be used for audience targeting. Specify an empty string `""` to clear this value. The limit is 10 ids per navigation node.
|
|
33
33
|
|
|
34
34
|
`--openInNewWindow [openInNewWindow]`
|
|
35
35
|
: Open the URL in a new window. Valid values: `true` or `false`.
|
|
@@ -41,30 +41,32 @@ m365 spo navigation node set [options]
|
|
|
41
41
|
|
|
42
42
|
To enable/disable audience targeting for the navigation bar, use the [`spo web set`](../web/web-set.mdx) command.
|
|
43
43
|
|
|
44
|
+
SharePoint doesn't allow changing the URL of a navigation node pointing to a page in the current site into an external URL. In that case, the URL isn't updated and no error is returned. To point such a node to an external URL, remove the node using [`spo navigation node remove`](./navigation-node-remove.mdx) and add it again using [`spo navigation node add`](./navigation-node-add.mdx).
|
|
45
|
+
|
|
44
46
|
## Examples
|
|
45
47
|
|
|
46
48
|
Updates the title of a navigation node
|
|
47
49
|
|
|
48
50
|
```sh
|
|
49
|
-
m365 spo navigation node set --webUrl https://contoso.sharepoint.com/sites/marketing --id 2209 --title "Pictures"
|
|
51
|
+
m365 spo navigation node set --webUrl https://contoso.sharepoint.com/sites/marketing --location TopNavigationBar --id 2209 --title "Pictures"
|
|
50
52
|
```
|
|
51
53
|
|
|
52
54
|
Updates the URL of a navigation node
|
|
53
55
|
|
|
54
56
|
```sh
|
|
55
|
-
m365 spo navigation node set --webUrl https://contoso.sharepoint.com/sites/marketing --id 2209 --url "https://www.microsoft.com"
|
|
57
|
+
m365 spo navigation node set --webUrl https://contoso.sharepoint.com/sites/marketing --location QuickLaunch --id 2209 --url "https://www.microsoft.com"
|
|
56
58
|
```
|
|
57
59
|
|
|
58
60
|
Updates audience targeting of a navigation node with 3 groups
|
|
59
61
|
|
|
60
62
|
```sh
|
|
61
|
-
m365 spo navigation node set --webUrl https://contoso.sharepoint.com/sites/marketing --id 2209 --audienceIds "61f78c73-f71a-471e-a3b9-15daa936e200,9524e6b4-e663-44fe-b179-210c963e37e7,c42b8756-494d-4141-a575-45f01320e26a"
|
|
63
|
+
m365 spo navigation node set --webUrl https://contoso.sharepoint.com/sites/marketing --location QuickLaunch --id 2209 --audienceIds "61f78c73-f71a-471e-a3b9-15daa936e200,9524e6b4-e663-44fe-b179-210c963e37e7,c42b8756-494d-4141-a575-45f01320e26a"
|
|
62
64
|
```
|
|
63
65
|
|
|
64
66
|
Updates the navigation node so that it opens in a new window
|
|
65
67
|
|
|
66
68
|
```sh
|
|
67
|
-
m365 spo navigation node set --webUrl https://contoso.sharepoint.com/sites/marketing --id 2209 --openInNewWindow true
|
|
69
|
+
m365 spo navigation node set --webUrl https://contoso.sharepoint.com/sites/marketing --location QuickLaunch --id 2209 --openInNewWindow true
|
|
68
70
|
```
|
|
69
71
|
|
|
70
72
|
## Response
|
|
@@ -34,8 +34,6 @@ m365 spo orgassetslibrary list
|
|
|
34
34
|
|
|
35
35
|
## Response
|
|
36
36
|
|
|
37
|
-
### Standard response
|
|
38
|
-
|
|
39
37
|
<Tabs>
|
|
40
38
|
<TabItem value="JSON">
|
|
41
39
|
|
|
@@ -86,22 +84,3 @@ m365 spo orgassetslibrary list
|
|
|
86
84
|
|
|
87
85
|
</TabItem>
|
|
88
86
|
</Tabs>
|
|
89
|
-
|
|
90
|
-
### Response when no library is assigned as asset library
|
|
91
|
-
|
|
92
|
-
<Tabs>
|
|
93
|
-
<TabItem value="Text">
|
|
94
|
-
|
|
95
|
-
```text
|
|
96
|
-
No libraries in Organization Assets
|
|
97
|
-
```
|
|
98
|
-
|
|
99
|
-
</TabItem>
|
|
100
|
-
<TabItem value="Markdown">
|
|
101
|
-
|
|
102
|
-
```md
|
|
103
|
-
No libraries in Organization Assets
|
|
104
|
-
```
|
|
105
|
-
|
|
106
|
-
</TabItem>
|
|
107
|
-
</Tabs>
|