@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,390 @@
|
|
|
1
|
+
import Global from '../../_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# outlook event add
|
|
6
|
+
|
|
7
|
+
Create an event in the default calendar or a specific calendar of a user
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 outlook event add [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`--subject <subject>`
|
|
19
|
+
: Subject of the event.
|
|
20
|
+
|
|
21
|
+
`--start <start>`
|
|
22
|
+
: Start date and time in format `{date}T{time}` (for example `2026-02-10T09:00:00`).
|
|
23
|
+
|
|
24
|
+
`--end <end>`
|
|
25
|
+
: End date and time in format `{date}T{time}` (for example `2026-02-10T09:30:00`).
|
|
26
|
+
|
|
27
|
+
`--userId [userId]`
|
|
28
|
+
: ID of the user. Specify either `userId` or `userName`, but not both.
|
|
29
|
+
|
|
30
|
+
`--userName [userName]`
|
|
31
|
+
: UPN of the user. Specify either `userId` or `userName`, but not both.
|
|
32
|
+
|
|
33
|
+
`--calendarId [calendarId]`
|
|
34
|
+
: ID of the calendar. Specify either `calendarId` or `calendarName`, but not both.
|
|
35
|
+
|
|
36
|
+
`--calendarName [calendarName]`
|
|
37
|
+
: Name of the calendar. Specify either `calendarId` or `calendarName`, but not both.
|
|
38
|
+
|
|
39
|
+
`--allowNewTimeProposals [allowNewTimeProposals]`
|
|
40
|
+
: `true` if the organizer allows invitees to propose a new time when responding; otherwise, `false`. Default is `true`.
|
|
41
|
+
|
|
42
|
+
`--bodyContents [bodyContents]`
|
|
43
|
+
: Body content of the event. You can also load from a file using `@filePath`.
|
|
44
|
+
|
|
45
|
+
`--bodyContentType [bodyContentType]`
|
|
46
|
+
: Type of the body content. Available options: `Text`, `HTML`. Default is `HTML`.
|
|
47
|
+
|
|
48
|
+
`--categories [categories]`
|
|
49
|
+
: Comma-separated list of categories.
|
|
50
|
+
|
|
51
|
+
`--hideAttendees [hideAttendees]`
|
|
52
|
+
: When set to `true`, each attendee only sees themselves in the meeting request and meeting tracking list. Default is `false`.
|
|
53
|
+
|
|
54
|
+
`--importance [importance]`
|
|
55
|
+
: Importance of the event. Available options: `low`, `normal`, `high`.
|
|
56
|
+
|
|
57
|
+
`--isAllDay [isAllDay]`
|
|
58
|
+
: Set to `true` if the event lasts all day.
|
|
59
|
+
|
|
60
|
+
`--isOnlineMeeting [isOnlineMeeting]`
|
|
61
|
+
: Set to `true` to create the event as an online meeting. Default is `false`.
|
|
62
|
+
|
|
63
|
+
`--isReminderOn [isReminderOn]`
|
|
64
|
+
: Set to `false` if an alert is set to not remind the user of the event. Default is `true`.
|
|
65
|
+
|
|
66
|
+
`--location [location]`
|
|
67
|
+
: Location display name of the event (maps to `location.displayName`). Specify either `location` or `locations`, but not both.
|
|
68
|
+
|
|
69
|
+
`--locationEmailAddress [locationEmailAddress]`
|
|
70
|
+
: Optional email address of the location (maps to `location.locationEmailAddress`). Requires `location`.
|
|
71
|
+
|
|
72
|
+
`--locations [locations]`
|
|
73
|
+
: Comma-separated list of location display names (maps to `locations[].displayName`). Specify either `location` or `locations`, but not both.
|
|
74
|
+
|
|
75
|
+
`--onlineMeetingProvider [onlineMeetingProvider]`
|
|
76
|
+
: Online meeting provider. Available options: `teamsForBusiness`, `skypeForBusiness`, `skypeForConsumer`, `unknown`. Default is `unknown`.
|
|
77
|
+
|
|
78
|
+
`--optionalAttendees [optionalAttendees]`
|
|
79
|
+
: Comma-separated list of optional attendee email addresses.
|
|
80
|
+
|
|
81
|
+
`--recurrence [recurrence]`
|
|
82
|
+
: Recurrence definition as JSON string. You can also load from a file using `@filePath`.
|
|
83
|
+
|
|
84
|
+
`--reminderMinutesBeforeStart [reminderMinutesBeforeStart]`
|
|
85
|
+
: The number of minutes before the event start time that the reminder alert occurs.
|
|
86
|
+
|
|
87
|
+
`--requiredAttendees [requiredAttendees]`
|
|
88
|
+
: Comma-separated list of required attendee email addresses.
|
|
89
|
+
|
|
90
|
+
`--resources [resources]`
|
|
91
|
+
: Comma-separated list of resource attendee email addresses (added as `resource` attendees).
|
|
92
|
+
|
|
93
|
+
`--responseRequested [responseRequested]`
|
|
94
|
+
: Default is true, which represents the organizer would like an invitee to send a response to the event.
|
|
95
|
+
|
|
96
|
+
`--sensitivity [sensitivity]`
|
|
97
|
+
: Sensitivity of the event. Available options: `normal`, `personal`, `private`, `confidential`.
|
|
98
|
+
|
|
99
|
+
`--showAs [showAs]`
|
|
100
|
+
: Status to show. Available options: `free`, `tentative`, `busy`, `oof`, `workingElsewhere`, `unknown`. Default is `busy`.
|
|
101
|
+
|
|
102
|
+
`--timeZone [timeZone]`
|
|
103
|
+
: Time zone used for the event start and end. If not specified, the start and end times are in UTC.
|
|
104
|
+
|
|
105
|
+
`--transactionId [transactionId]`
|
|
106
|
+
: Custom identifier to help avoid redundant POST operations in case of client retries.
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
<Global />
|
|
110
|
+
|
|
111
|
+
## Permissions
|
|
112
|
+
|
|
113
|
+
<Tabs>
|
|
114
|
+
<TabItem value="Delegated">
|
|
115
|
+
|
|
116
|
+
| Resource | Permissions |
|
|
117
|
+
|-----------------|---------------------|
|
|
118
|
+
| Microsoft Graph | Calendars.ReadWrite |
|
|
119
|
+
|
|
120
|
+
</TabItem>
|
|
121
|
+
<TabItem value="Application">
|
|
122
|
+
|
|
123
|
+
| Resource | Permissions |
|
|
124
|
+
|-----------------|---------------------|
|
|
125
|
+
| Microsoft Graph | Calendars.ReadWrite |
|
|
126
|
+
|
|
127
|
+
</TabItem>
|
|
128
|
+
</Tabs>
|
|
129
|
+
|
|
130
|
+
:::note
|
|
131
|
+
|
|
132
|
+
- `--timeZone` is used to set the `start.timeZone` and `end.timeZone` values in the request. If you pass only `start` and `end` without `timeZone`, the default is UTC.
|
|
133
|
+
- For `--isAllDay true`, set `start` and `end` to midnight values and keep them in the same time zone.
|
|
134
|
+
- When using application permissions, specify either `--userId` or `--userName`.
|
|
135
|
+
- After creating an online meeting by setting `isOnlineMeeting` and `onlineMeetingProvider`, you can’t change those values later.
|
|
136
|
+
:::
|
|
137
|
+
|
|
138
|
+
## Examples
|
|
139
|
+
|
|
140
|
+
Create an event in the default calendar of the current signed-in user.
|
|
141
|
+
|
|
142
|
+
```sh
|
|
143
|
+
m365 outlook event add --subject "Weekly sync" --start "2026-02-10T09:00:00" --end "2026-02-10T09:30:00"
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
Create an event for a specific user using their UPN.
|
|
147
|
+
|
|
148
|
+
```sh
|
|
149
|
+
m365 outlook event add --userName "john.doe@contoso.com" --subject "Sprint review" --start "2026-02-10T14:00:00" --end "2026-02-10T15:00:00" --timeZone "Pacific Standard Time"
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
Create an event in a specific calendar of a user.
|
|
153
|
+
|
|
154
|
+
```sh
|
|
155
|
+
m365 outlook event add --userName "john.doe@contoso.com" --calendarId "AAMkAGRkZ" --subject "Release planning" --start "2026-02-12T10:00:00" --end "2026-02-12T11:30:00"
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
Create an event with required and optional attendees, categories, and a reminder.
|
|
159
|
+
|
|
160
|
+
```sh
|
|
161
|
+
m365 outlook event add --subject "Project kickoff" --start "2026-02-15T09:00:00" --end "2026-02-15T10:00:00" --requiredAttendees "alex@contoso.com,dana@contoso.com" --optionalAttendees "sam@contoso.com" --categories "Preset0,Preset6" --isReminderOn true --reminderMinutesBeforeStart 15
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
Create an all-day event with a physical location.
|
|
165
|
+
|
|
166
|
+
```sh
|
|
167
|
+
m365 outlook event add --subject "Company offsite" --start "2026-02-20T00:00:00" --end "2026-02-21T00:00:00" --isAllDay true --location "Head Office"
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
Create an online meeting using Microsoft Teams and disallow new time proposals.
|
|
171
|
+
|
|
172
|
+
```sh
|
|
173
|
+
m365 outlook event add --subject "Customer demo" --start "2026-02-18T13:00:00" --end "2026-02-18T14:00:00" --isOnlineMeeting true --onlineMeetingProvider teamsForBusiness --allowNewTimeProposals false
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
Create a recurring weekly event using a recurrence definition loaded from file.
|
|
177
|
+
|
|
178
|
+
```sh
|
|
179
|
+
m365 outlook event add --subject "Weekly status meeting" --start "2026-02-16T10:00:00" --end "2026-02-16T10:30:00" --recurrence @recurrence.json
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
Create an event with HTML body content loaded from a file and a custom transaction ID.
|
|
183
|
+
|
|
184
|
+
```sh
|
|
185
|
+
m365 outlook event add --subject "Town hall" --start "2026-02-25T16:00:00" --end "2026-02-25T17:30:00" --bodyContents @invite.html --bodyContentType HTML --transactionId "townhall-2026-02"
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
## Response
|
|
189
|
+
|
|
190
|
+
<Tabs>
|
|
191
|
+
<TabItem value="JSON">
|
|
192
|
+
|
|
193
|
+
```json
|
|
194
|
+
{
|
|
195
|
+
"id": "AQMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM5MABGAAADMN-7V4K8g0q_adetip1DygcAxMBBaLl1lk_dAn8KkjfXKQAAAgENAAAAxMBBaLl1lk_dAn8KkjfXKQAGMVCCQQAAAA==",
|
|
196
|
+
"createdDateTime": "2026-04-04T11:03:22.881996Z",
|
|
197
|
+
"lastModifiedDateTime": "2026-04-04T11:05:26.2216557Z",
|
|
198
|
+
"changeKey": "xMBBaLl1lk+dAn8KkjfXKQAGLmp8jA==",
|
|
199
|
+
"categories": [],
|
|
200
|
+
"transactionId": "localevent:93639269-b1b2-d604-5170-283b0e470da5",
|
|
201
|
+
"originalStartTimeZone": "UTC",
|
|
202
|
+
"originalEndTimeZone": "UTC",
|
|
203
|
+
"iCalUId": "040000008200E00074C5B7101A82E0080000000051EE49A722C4DC0100000000000000001000000065853ABD35D4FE438112E0B9CF451ABF",
|
|
204
|
+
"uid": "040000008200E00074C5B7101A82E0080000000051EE49A722C4DC0100000000000000001000000065853ABD35D4FE438112E0B9CF451ABF",
|
|
205
|
+
"reminderMinutesBeforeStart": 15,
|
|
206
|
+
"isReminderOn": true,
|
|
207
|
+
"hasAttachments": false,
|
|
208
|
+
"subject": "New Product Regulations Touchpoint",
|
|
209
|
+
"bodyPreview": "New Product Regulations Strategy Online Touchpoint Meeting\r\\\n\r\\\nYou're receiving this message because you're a member of the Engineering group. If you don't want to receive any messages or events from this group, stop following it in your inbox.\r\\\n\r\\\n________",
|
|
210
|
+
"importance": "normal",
|
|
211
|
+
"sensitivity": "normal",
|
|
212
|
+
"isAllDay": false,
|
|
213
|
+
"isCancelled": false,
|
|
214
|
+
"isOrganizer": true,
|
|
215
|
+
"responseRequested": true,
|
|
216
|
+
"seriesMasterId": null,
|
|
217
|
+
"showAs": "busy",
|
|
218
|
+
"type": "singleInstance",
|
|
219
|
+
"webLink": "https://outlook.office365.com/owa/?itemid=AQMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM5MABGAAADMN%2F7V4K8g0q%2Badetip1DygcAxMBBaLl1lk%2BdAn8KkjfXKQAAAgENAAAAxMBBaLl1lk%2BdAn8KkjfXKQAGMVCCQQAAAA%3D%3D&exvsurl=1&path=/calendar/item",
|
|
220
|
+
"onlineMeetingUrl": null,
|
|
221
|
+
"isOnlineMeeting": true,
|
|
222
|
+
"onlineMeetingProvider": "teamsForBusiness",
|
|
223
|
+
"allowNewTimeProposals": true,
|
|
224
|
+
"occurrenceId": null,
|
|
225
|
+
"isDraft": false,
|
|
226
|
+
"hideAttendees": false,
|
|
227
|
+
"responseStatus": {
|
|
228
|
+
"response": "organizer",
|
|
229
|
+
"time": "0001-01-01T00:00:00Z"
|
|
230
|
+
},
|
|
231
|
+
"body": {
|
|
232
|
+
"contentType": "html",
|
|
233
|
+
"content": "<html>\r\\\n<head>\r\\\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">\r\\\n</head>\r\\\n<body>\r\\\n<div style=\"font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)\">\r\\\nNew Product Regulations Strategy Online Touchpoint Meeting</div>\r\\\n<div style=\"font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)\">\r\\\n<br>\r\\\n</div>\r\\\n<div style=\"font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)\">\r\\\nYou're receiving this message because you're a member of the Engineering group. If you don't want to receive any messages or events from this group, stop following it in your inbox.</div>\r\\\n<br>\r\\\n<div class=\"me-email-text\" lang=\"en-US\" style=\"max-width:1024px; color:#242424; font-family:'Segoe UI','Helvetica Neue',Helvetica,Arial,sans-serif\">\r\\\n<div aria-hidden=\"true\" style=\"margin-bottom:24px; overflow:hidden; white-space:nowrap\">\r\\\n________________________________________________________________________________</div>\r\\\n<div style=\"margin-bottom:12px\"><span class=\"me-email-text\" style=\"font-size:20px; color:#242424; font-weight:600\">Microsoft Teams meeting</span>\r\\\n</div>\r\\\n<div style=\"margin-bottom:6px\"><span class=\"me-email-text\" style=\"font-size:20px; color:#242424; font-weight:600\">Join:\r\\\n</span><a href=\"https://teams.microsoft.com/meet/48803137263631?p=YXe9K6OhVD94VIC23M\" id=\"meet_invite_block.action.join_link\" title=\"Meeting join\" aria-label=\"Meeting join\" class=\"me-email-link\" style=\"font-size:20px; text-decoration:underline; color:#5B5FC7\">https://teams.microsoft.com/meet/48803137263631?p=YXe9K6OhVD94VIC23M</a>\r\\\n</div>\r\\\n<div style=\"margin-bottom:6px\"><span class=\"me-email-text-secondary\" style=\"font-size:14px; color:#616161\">Meeting ID:\r\\\n</span><span class=\"me-email-text\" style=\"font-size:14px; color:#242424\">488 031 372 636 31</span>\r\\\n</div>\r\\\n<div style=\"margin-bottom:32px\"><span class=\"me-email-text-secondary\" style=\"font-size:14px; color:#616161\">Passcode:\r\\\n</span><span class=\"me-email-text\" style=\"font-size:14px; color:#242424\">uN2Np6PN</span>\r\\\n</div>\r\\\n<div style=\"margin-bottom:12px; max-width:1024px\">\r\\\n<hr style=\"border:0; background:#616161; height:1px\">\r\\\n</div>\r\\\n<div style=\"margin-bottom:24px\"><a href=\"https://aka.ms/JoinTeamsMeeting?omkt=en-US\" id=\"meet_invite_block.action.help\" class=\"me-email-link\" style=\"font-size:14px; text-decoration:underline; color:#5B5FC7\">Need help?</a>\r\\\n<span style=\"color:#616161\">|</span> <a href=\"https://teams.microsoft.com/l/meetup-join/19%3ameeting_ZjE4ZGNmODktODg3ZS00MTRjLTg4ZmMtZWMzMjBkZTE5YjBl%40thread.v2/0?context=%7b%22Tid%22%3a%22f2c94a41-d33d-4b60-bb3d-0bed4cdf9855%22%2c%22Oid%22%3a%229bd29c6c-181e-41f5-a1b6-bc30bbf652d3%22%7d\" id=\"meet_invite_block.action.join_link_compatibility\" class=\"me-email-link\" style=\"font-size:14px; text-decoration:underline; color:#5B5FC7\">\r\\\nSystem reference</a> </div>\r\\\n<div><span class=\"me-email-text-secondary\" style=\"font-size:14px; color:#616161\">For organizers:\r\\\n</span><a href=\"https://teams.microsoft.com/meetingOptions/?organizerId=9bd29c6c-181e-41f5-a1b6-bc30bbf652d3&tenantId=f2c94a41-d33d-4b60-bb3d-0bed4cdf9855&threadId=19_meeting_ZjE4ZGNmODktODg3ZS00MTRjLTg4ZmMtZWMzMjBkZTE5YjBl@thread.v2&messageId=0&language=en-US\" id=\"meet_invite_block.action.organizer_meet_options\" class=\"me-email-link\" style=\"font-size:14px; text-decoration:underline; color:#5B5FC7\">Meeting\r\\\n options</a> </div>\r\\\n<div style=\"margin-top:24px; margin-bottom:6px\"></div>\r\\\n<div style=\"margin-bottom:24px\"></div>\r\\\n<div aria-hidden=\"true\" style=\"margin-bottom:24px; overflow:hidden; white-space:nowrap\">\r\\\n________________________________________________________________________________</div>\r\\\n</div>\r\\\n</body>\r\\\n</html>\r\\\n"
|
|
234
|
+
},
|
|
235
|
+
"start": {
|
|
236
|
+
"dateTime": "2026-04-04T11:30:00.0000000",
|
|
237
|
+
"timeZone": "UTC"
|
|
238
|
+
},
|
|
239
|
+
"end": {
|
|
240
|
+
"dateTime": "2026-04-04T12:00:00.0000000",
|
|
241
|
+
"timeZone": "UTC"
|
|
242
|
+
},
|
|
243
|
+
"location": {
|
|
244
|
+
"displayName": "Microsoft Teams Meeting",
|
|
245
|
+
"locationType": "default",
|
|
246
|
+
"uniqueId": "Microsoft Teams Meeting",
|
|
247
|
+
"uniqueIdType": "private"
|
|
248
|
+
},
|
|
249
|
+
"locations": [
|
|
250
|
+
{
|
|
251
|
+
"displayName": "Microsoft Teams Meeting",
|
|
252
|
+
"locationType": "default",
|
|
253
|
+
"uniqueId": "Microsoft Teams Meeting",
|
|
254
|
+
"uniqueIdType": "private"
|
|
255
|
+
}
|
|
256
|
+
],
|
|
257
|
+
"recurrence": null,
|
|
258
|
+
"attendees": [
|
|
259
|
+
{
|
|
260
|
+
"type": "required",
|
|
261
|
+
"status": {
|
|
262
|
+
"response": "none",
|
|
263
|
+
"time": "0001-01-01T00:00:00Z"
|
|
264
|
+
},
|
|
265
|
+
"emailAddress": {
|
|
266
|
+
"name": "Debra Berger",
|
|
267
|
+
"address": "debraB@contoso.com"
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
],
|
|
271
|
+
"organizer": {
|
|
272
|
+
"emailAddress": {
|
|
273
|
+
"name": "John Doe",
|
|
274
|
+
"address": "john.doe@contoso.com"
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
"onlineMeeting": {
|
|
278
|
+
"joinUrl": "https://teams.microsoft.com/l/meetup-join/19%3ameeting_ZjE4ZGNmODktODg3ZS00MTRjLTg4ZmMtZWMzMjBkZTE5YjBl%40thread.v2/0?context=%7b%22Tid%22%3a%22f2c94a41-d33d-4b60-bb3d-0bed4cdf9855%22%2c%22Oid%22%3a%229bd29c6c-181e-41f5-a1b6-bc30bbf652d3%22%7d"
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
```
|
|
282
|
+
|
|
283
|
+
</TabItem>
|
|
284
|
+
<TabItem value="Text">
|
|
285
|
+
|
|
286
|
+
```text
|
|
287
|
+
allowNewTimeProposals : true
|
|
288
|
+
attendees : [{"type":"required","status":{"response":"none","time":"0001-01-01T00:00:00Z"},"emailAddress":{"name":"Debra Berger","address":"debraB@contoso.com"}}]
|
|
289
|
+
body : {"contentType":"html","content":"<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">\r\n</head>\r\n<body>\r\n<div style=\"font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)\">\r\nNew Product Regulations Strategy Online Touchpoint Meeting</div>\r\n<div style=\"font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)\">\r\n<br>\r\n</div>\r\n<div style=\"font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)\">\r\nYou're receiving this message because you're a member of the Engineering group. If you don't want to receive any messages or events from this group, stop following it in your inbox.</div>\r\n<br>\r\n<div class=\"me-email-text\" lang=\"en-US\" style=\"max-width:1024px; color:#242424; font-family:'Segoe UI','Helvetica Neue',Helvetica,Arial,sans-serif\">\r\n<div aria-hidden=\"true\" style=\"margin-bottom:24px; overflow:hidden; white-space:nowrap\">\r\n________________________________________________________________________________</div>\r\n<div style=\"margin-bottom:12px\"><span class=\"me-email-text\" style=\"font-size:20px; color:#242424; font-weight:600\">Microsoft Teams meeting</span>\r\n</div>\r\n<div style=\"margin-bottom:6px\"><span class=\"me-email-text\" style=\"font-size:20px; color:#242424; font-weight:600\">Join:\r\n</span><a href=\"https://teams.microsoft.com/meet/48803137263631?p=YXe9K6OhVD94VIC23M\" id=\"meet_invite_block.action.join_link\" title=\"Meeting join\" aria-label=\"Meeting join\" class=\"me-email-link\" style=\"font-size:20px; text-decoration:underline; color:#5B5FC7\">https://teams.microsoft.com/meet/48803137263631?p=YXe9K6OhVD94VIC23M</a>\r\n</div>\r\n<div style=\"margin-bottom:6px\"><span class=\"me-email-text-secondary\" style=\"font-size:14px; color:#616161\">Meeting ID:\r\n</span><span class=\"me-email-text\" style=\"font-size:14px; color:#242424\">488 031 372 636 31</span>\r\n</div>\r\n<div style=\"margin-bottom:32px\"><span class=\"me-email-text-secondary\" style=\"font-size:14px; color:#616161\">Passcode:\r\n</span><span class=\"me-email-text\" style=\"font-size:14px; color:#242424\">uN2Np6PN</span>\r\n</div>\r\n<div style=\"margin-bottom:12px; max-width:1024px\">\r\n<hr style=\"border:0; background:#616161; height:1px\">\r\n</div>\r\n<div style=\"margin-bottom:24px\"><a href=\"https://aka.ms/JoinTeamsMeeting?omkt=en-US\" id=\"meet_invite_block.action.help\" class=\"me-email-link\" style=\"font-size:14px; text-decoration:underline; color:#5B5FC7\">Need help?</a>\r\n<span style=\"color:#616161\">|</span> <a href=\"https://teams.microsoft.com/l/meetup-join/19%3ameeting_ZjE4ZGNmODktODg3ZS00MTRjLTg4ZmMtZWMzMjBkZTE5YjBl%40thread.v2/0?context=%7b%22Tid%22%3a%22f2c94a41-d33d-4b60-bb3d-0bed4cdf9855%22%2c%22Oid%22%3a%229bd29c6c-181e-41f5-a1b6-bc30bbf652d3%22%7d\" id=\"meet_invite_block.action.join_link_compatibility\" class=\"me-email-link\" style=\"font-size:14px; text-decoration:underline; color:#5B5FC7\">\r\nSystem reference</a> </div>\r\n<div><span class=\"me-email-text-secondary\" style=\"font-size:14px; color:#616161\">For organizers:\r\n</span><a href=\"https://teams.microsoft.com/meetingOptions/?organizerId=9bd29c6c-181e-41f5-a1b6-bc30bbf652d3&tenantId=f2c94a41-d33d-4b60-bb3d-0bed4cdf9855&threadId=19_meeting_ZjE4ZGNmODktODg3ZS00MTRjLTg4ZmMtZWMzMjBkZTE5YjBl@thread.v2&messageId=0&language=en-US\" id=\"meet_invite_block.action.organizer_meet_options\" class=\"me-email-link\" style=\"font-size:14px; text-decoration:underline; color:#5B5FC7\">Meeting\r\n options</a> </div>\r\n<div style=\"margin-top:24px; margin-bottom:6px\"></div>\r\n<div style=\"margin-bottom:24px\"></div>\r\n<div aria-hidden=\"true\" style=\"margin-bottom:24px; overflow:hidden; white-space:nowrap\">\r\n________________________________________________________________________________</div>\r\n</div>\r\n</body>\r\n</html>\r\n"}
|
|
290
|
+
bodyPreview : New Product Regulations Strategy Online Touchpoint Meeting
|
|
291
|
+
|
|
292
|
+
You're receiving this message because you're a member of the Engineering group. If you don't want to receive any messages or events from this group, stop following it in your inbox.
|
|
293
|
+
|
|
294
|
+
________
|
|
295
|
+
categories : []
|
|
296
|
+
changeKey : xMBBaLl1lk+dAn8KkjfXKQAGLmp8jA==
|
|
297
|
+
createdDateTime : 2026-04-04T11:03:22.881996Z
|
|
298
|
+
end : {"dateTime":"2026-04-04T12:00:00.0000000","timeZone":"UTC"}
|
|
299
|
+
hasAttachments : false
|
|
300
|
+
hideAttendees : false
|
|
301
|
+
iCalUId : 040000008200E00074C5B7101A82E0080000000051EE49A722C4DC0100000000000000001000000065853ABD35D4FE438112E0B9CF451ABF
|
|
302
|
+
id : AQMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM5MABGAAADMN-7V4K8g0q_adetip1DygcAxMBBaLl1lk_dAn8KkjfXKQAAAgENAAAAxMBBaLl1lk_dAn8KkjfXKQAGMVCCQQAAAA==
|
|
303
|
+
importance : normal
|
|
304
|
+
isAllDay : false
|
|
305
|
+
isCancelled : false
|
|
306
|
+
isDraft : false
|
|
307
|
+
isOnlineMeeting : true
|
|
308
|
+
isOrganizer : true
|
|
309
|
+
isReminderOn : true
|
|
310
|
+
lastModifiedDateTime : 2026-04-04T11:05:26.2216557Z
|
|
311
|
+
location : {"displayName":"Microsoft Teams Meeting","locationType":"default","uniqueId":"Microsoft Teams Meeting","uniqueIdType":"private"}
|
|
312
|
+
locations : [{"displayName":"Microsoft Teams Meeting","locationType":"default","uniqueId":"Microsoft Teams Meeting","uniqueIdType":"private"}]
|
|
313
|
+
occurrenceId : null
|
|
314
|
+
onlineMeeting : {"joinUrl":"https://teams.microsoft.com/l/meetup-join/19%3ameeting_ZjE4ZGNmODktODg3ZS00MTRjLTg4ZmMtZWMzMjBkZTE5YjBl%40thread.v2/0?context=%7b%22Tid%22%3a%22f2c94a41-d33d-4b60-bb3d-0bed4cdf9855%22%2c%22Oid%22%3a%229bd29c6c-181e-41f5-a1b6-bc30bbf652d3%22%7d"}
|
|
315
|
+
onlineMeetingProvider : teamsForBusiness
|
|
316
|
+
onlineMeetingUrl : null
|
|
317
|
+
organizer : {"emailAddress":{"name":"John Doe","address":"john.doe@contoso.com"}}
|
|
318
|
+
originalEndTimeZone : UTC
|
|
319
|
+
originalStartTimeZone : UTC
|
|
320
|
+
recurrence : null
|
|
321
|
+
reminderMinutesBeforeStart: 15
|
|
322
|
+
responseRequested : true
|
|
323
|
+
responseStatus : {"response":"organizer","time":"0001-01-01T00:00:00Z"}
|
|
324
|
+
sensitivity : normal
|
|
325
|
+
seriesMasterId : null
|
|
326
|
+
showAs : busy
|
|
327
|
+
start : {"dateTime":"2026-04-04T11:30:00.0000000","timeZone":"UTC"}
|
|
328
|
+
subject : New Product Regulations Touchpoint
|
|
329
|
+
transactionId : localevent:93639269-b1b2-d604-5170-283b0e470da5
|
|
330
|
+
type : singleInstance
|
|
331
|
+
uid : 040000008200E00074C5B7101A82E0080000000051EE49A722C4DC0100000000000000001000000065853ABD35D4FE438112E0B9CF451ABF
|
|
332
|
+
webLink : https://outlook.office365.com/owa/?itemid=AQMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM5MABGAAADMN%2F7V4K8g0q%2Badetip1DygcAxMBBaLl1lk%2BdAn8KkjfXKQAAAgENAAAAxMBBaLl1lk%2BdAn8KkjfXKQAGMVCCQQAAAA%3D%3D&exvsurl=1&path=/calendar/item
|
|
333
|
+
```
|
|
334
|
+
|
|
335
|
+
</TabItem>
|
|
336
|
+
<TabItem value="CSV">
|
|
337
|
+
|
|
338
|
+
```csv
|
|
339
|
+
id,createdDateTime,lastModifiedDateTime,changeKey,transactionId,originalStartTimeZone,originalEndTimeZone,iCalUId,uid,reminderMinutesBeforeStart,isReminderOn,hasAttachments,subject,bodyPreview,importance,sensitivity,isAllDay,isCancelled,isOrganizer,responseRequested,seriesMasterId,showAs,type,webLink,onlineMeetingUrl,isOnlineMeeting,onlineMeetingProvider,allowNewTimeProposals,occurrenceId,isDraft,hideAttendees,recurrence
|
|
340
|
+
AQMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM5MABGAAADMN-7V4K8g0q_adetip1DygcAxMBBaLl1lk_dAn8KkjfXKQAAAgENAAAAxMBBaLl1lk_dAn8KkjfXKQAGMVCCQQAAAA==,2026-04-04T11:03:22.881996Z,2026-04-04T11:05:26.2216557Z,xMBBaLl1lk+dAn8KkjfXKQAGLmp8jA==,localevent:93639269-b1b2-d604-5170-283b0e470da5,UTC,UTC,040000008200E00074C5B7101A82E0080000000051EE49A722C4DC0100000000000000001000000065853ABD35D4FE438112E0B9CF451ABF,040000008200E00074C5B7101A82E0080000000051EE49A722C4DC0100000000000000001000000065853ABD35D4FE438112E0B9CF451ABF,15,1,0,New Product Regulations Touchpoint,"New Product Regulations Strategy Online Touchpoint Meeting
|
|
341
|
+
|
|
342
|
+
You're receiving this message because you're a member of the Engineering group. If you don't want to receive any messages or events from this group, stop following it in your inbox.
|
|
343
|
+
|
|
344
|
+
________",normal,normal,0,0,1,1,,busy,singleInstance,https://outlook.office365.com/owa/?itemid=AQMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM5MABGAAADMN%2F7V4K8g0q%2Badetip1DygcAxMBBaLl1lk%2BdAn8KkjfXKQAAAgENAAAAxMBBaLl1lk%2BdAn8KkjfXKQAGMVCCQQAAAA%3D%3D&exvsurl=1&path=/calendar/item,,1,teamsForBusiness,1,,0,0,
|
|
345
|
+
```
|
|
346
|
+
|
|
347
|
+
</TabItem>
|
|
348
|
+
<TabItem value="Markdown">
|
|
349
|
+
|
|
350
|
+
```md
|
|
351
|
+
# outlook event add --debug "false" --verbose "false" --subject "New Product Regulations Touchpoint" --start "2026-04-04T11:30:00" --end "2026-04-04T12:00:00" --userId "9bd29c6c-181e-41f5-a1b6-bc30bbf652d3" --calendarName "Calendar"
|
|
352
|
+
|
|
353
|
+
Date: 4/4/2026
|
|
354
|
+
|
|
355
|
+
## AQMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM5MABGAAADMN-7V4K8g0q_adetip1DygcAxMBBaLl1lk_dAn8KkjfXKQAAAgENAAAAxMBBaLl1lk_dAn8KkjfXKQAGMVCCQQAAAA==
|
|
356
|
+
|
|
357
|
+
Property | Value
|
|
358
|
+
---------|-------
|
|
359
|
+
id | AQMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM5MABGAAADMN-7V4K8g0q\_adetip1DygcAxMBBaLl1lk\_dAn8KkjfXKQAAAgENAAAAxMBBaLl1lk\_dAn8KkjfXKQAGMVCCQQAAAA==
|
|
360
|
+
createdDateTime | 2026-04-04T11:03:22.881996Z
|
|
361
|
+
lastModifiedDateTime | 2026-04-04T11:05:26.2216557Z
|
|
362
|
+
changeKey | xMBBaLl1lk+dAn8KkjfXKQAGLmp8jA==
|
|
363
|
+
transactionId | localevent:93639269-b1b2-d604-5170-283b0e470da5
|
|
364
|
+
originalStartTimeZone | UTC
|
|
365
|
+
originalEndTimeZone | UTC
|
|
366
|
+
iCalUId | 040000008200E00074C5B7101A82E0080000000051EE49A722C4DC0100000000000000001000000065853ABD35D4FE438112E0B9CF451ABF
|
|
367
|
+
uid | 040000008200E00074C5B7101A82E0080000000051EE49A722C4DC0100000000000000001000000065853ABD35D4FE438112E0B9CF451ABF
|
|
368
|
+
reminderMinutesBeforeStart | 15
|
|
369
|
+
isReminderOn | true
|
|
370
|
+
hasAttachments | false
|
|
371
|
+
subject | New Product Regulations Touchpoint
|
|
372
|
+
<br>You're receiving this message because you're a member of the Engineering group. If you don't want to receive any messages or events from thi<br>\_\_\_\_\_\_\_\_ing it in your inbox.
|
|
373
|
+
importance | normal
|
|
374
|
+
sensitivity | normal
|
|
375
|
+
isAllDay | false
|
|
376
|
+
isCancelled | false
|
|
377
|
+
isOrganizer | true
|
|
378
|
+
responseRequested | true
|
|
379
|
+
showAs | busy
|
|
380
|
+
type | singleInstance
|
|
381
|
+
webLink | https://outlook.office365.com/owa/?itemid=AQMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM5MABGAAADMN%2F7V4K8g0q%2Badetip1DygcAxMBBaLl1lk%2BdAn8KkjfXKQAAAgENAAAAxMBBaLl1lk%2BdAn8KkjfXKQAGMVCCQQAAAA%3D%3D&exvsurl=1&path=/calendar/item
|
|
382
|
+
isOnlineMeeting | true
|
|
383
|
+
onlineMeetingProvider | teamsForBusiness
|
|
384
|
+
allowNewTimeProposals | true
|
|
385
|
+
isDraft | false
|
|
386
|
+
hideAttendees | false
|
|
387
|
+
```
|
|
388
|
+
|
|
389
|
+
</TabItem>
|
|
390
|
+
</Tabs>
|
|
@@ -39,14 +39,6 @@ m365 spe container add [options]
|
|
|
39
39
|
|
|
40
40
|
<Global />
|
|
41
41
|
|
|
42
|
-
## Remarks
|
|
43
|
-
|
|
44
|
-
:::warning
|
|
45
|
-
|
|
46
|
-
The command is based on an API that is currently in preview and is subject to change once the API reached general availability.
|
|
47
|
-
|
|
48
|
-
:::
|
|
49
|
-
|
|
50
42
|
## Permissions
|
|
51
43
|
|
|
52
44
|
<Tabs>
|
|
@@ -24,14 +24,6 @@ m365 spe container 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>
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import Global from '../../_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# spe container permission add
|
|
6
|
+
|
|
7
|
+
Adds permission to SharePoint Embedded container for a specified user
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 spe container permission add [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`-i, --containerId [containerId]`
|
|
19
|
+
: ID of a SharePoint Embedded container. Specify either `containerId` or `containerName` but not both.
|
|
20
|
+
|
|
21
|
+
`-n, --containerName [containerName]`
|
|
22
|
+
: Display name of the Container. Specify either `containerId` or `containerName` but not both.
|
|
23
|
+
|
|
24
|
+
`--containerTypeId [containerTypeId]`
|
|
25
|
+
: The ID of the container type. Specify either `containerTypeId` or `containerTypeName` when using `containerName` but not both.
|
|
26
|
+
|
|
27
|
+
`--containerTypeName [containerTypeName]`
|
|
28
|
+
: The name of the container type. Specify either `containerTypeId` or `containerTypeName` when using `containerName` but not both.
|
|
29
|
+
|
|
30
|
+
`-r, --roles <roles>`
|
|
31
|
+
: Comma-separated list of roles. Possible values are `reader`, `writer`, `manager`, `owner`.
|
|
32
|
+
|
|
33
|
+
`--userId [userId]`
|
|
34
|
+
: The ID of the user to assign the role to. Use either `userId` or `userName` but not both.
|
|
35
|
+
|
|
36
|
+
`--userName [userName]`
|
|
37
|
+
: The UPN of user to assign the role to. Use either `userId` or `userName` but not both.
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
<Global />
|
|
41
|
+
|
|
42
|
+
## Permissions
|
|
43
|
+
|
|
44
|
+
<Tabs>
|
|
45
|
+
<TabItem value="Delegated">
|
|
46
|
+
|
|
47
|
+
| Resource | Permissions |
|
|
48
|
+
|-----------------|-------------------------------|
|
|
49
|
+
| Microsoft Graph | FileStorageContainer.Selected |
|
|
50
|
+
|
|
51
|
+
</TabItem>
|
|
52
|
+
<TabItem value="Application">
|
|
53
|
+
|
|
54
|
+
| Resource | Permissions |
|
|
55
|
+
|-----------------|-------------------------------|
|
|
56
|
+
| Microsoft Graph | FileStorageContainer.Selected |
|
|
57
|
+
|
|
58
|
+
</TabItem>
|
|
59
|
+
</Tabs>
|
|
60
|
+
|
|
61
|
+
:::note
|
|
62
|
+
|
|
63
|
+
When using `--userId`, Microsoft Graph also requires `User.ReadBasic.All` for delegated authentication or `User.Read.All` for application authentication to resolve the user's principal name.
|
|
64
|
+
|
|
65
|
+
:::
|
|
66
|
+
|
|
67
|
+
:::note
|
|
68
|
+
|
|
69
|
+
When using `--containerTypeName`, resolving the container type requires delegated authentication, the `FileStorageContainerType.Manage.All` permission, and the **SharePoint Administrator** or **Global Administrator** role. For application authentication, use `--containerId`, or `--containerName` with `--containerTypeId`, instead.
|
|
70
|
+
|
|
71
|
+
:::
|
|
72
|
+
|
|
73
|
+
## Examples
|
|
74
|
+
|
|
75
|
+
Adds a reader role for the specified user to the container
|
|
76
|
+
|
|
77
|
+
```sh
|
|
78
|
+
m365 spe container permission add --containerId "b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_5Z" --roles "reader" --userName "jacob@fabrikam.com"
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
Adds multiple roles for the specified user to the container
|
|
82
|
+
|
|
83
|
+
```sh
|
|
84
|
+
m365 spe container permission add --containerId "b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_5Z" --roles "reader,writer" --userName "jacob@fabrikam.com"
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
## Response
|
|
88
|
+
|
|
89
|
+
<Tabs>
|
|
90
|
+
<TabItem value="JSON">
|
|
91
|
+
|
|
92
|
+
```json
|
|
93
|
+
{
|
|
94
|
+
"id": "cJpbmNpcGFsT3duZAJfaLowIy5mfG1lbWJliZXJzaGlwfHJvcnlicjExMUBvdXRsb29rLmNvbQ",
|
|
95
|
+
"roles": ["reader"],
|
|
96
|
+
"grantedToV2": {
|
|
97
|
+
"user": {
|
|
98
|
+
"id": "89ea5c94-7736-4e25-95ad-3fa95f62b66e",
|
|
99
|
+
"userPrincipalName": "john.doe@contoso.com",
|
|
100
|
+
"displayName": "John Doe",
|
|
101
|
+
"email": "john.doe@contoso.com"
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
</TabItem>
|
|
108
|
+
<TabItem value="Text">
|
|
109
|
+
|
|
110
|
+
```text
|
|
111
|
+
grantedToV2: {"user":{"id":"89ea5c94-7736-4e25-95ad-3fa95f62b66e","userPrincipalName":"john.doe@contoso.com","displayName":"John Doe","email":"john.doe@contoso.com"}}
|
|
112
|
+
id : cJpbmNpcGFsT3duZAJfaLowIy5mfG1lbWJliZXJzaGlwfHJvcnlicjExMUBvdXRsb29rLmNvbQ
|
|
113
|
+
roles : ["reader"]
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
</TabItem>
|
|
117
|
+
<TabItem value="CSV">
|
|
118
|
+
|
|
119
|
+
```csv
|
|
120
|
+
id
|
|
121
|
+
cJpbmNpcGFsT3duZAJfaLowIy5mfG1lbWJliZXJzaGlwfHJvcnlicjExMUBvdXRsb29rLmNvbQ
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
</TabItem>
|
|
125
|
+
<TabItem value="Markdown">
|
|
126
|
+
|
|
127
|
+
```md
|
|
128
|
+
# spe container permission add --containerId "b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_5Z" --userId "89ea5c94-7736-4e25-95ad-3fa95f62b66e" --roles "reader"
|
|
129
|
+
|
|
130
|
+
Date: 8/5/2025
|
|
131
|
+
|
|
132
|
+
## cJpbmNpcGFsT3duZAJfaLowIy5mfG1lbWJliZXJzaGlwfHJvcnlicjExMUBvdXRsb29rLmNvbQ
|
|
133
|
+
|
|
134
|
+
Property | Value
|
|
135
|
+
---------|-------
|
|
136
|
+
id | cJpbmNpcGFsT3duZAJfaLowIy5mfG1lbWJliZXJzaGlwfHJvcnlicjExMUBvdXRsb29rLmNvbQ
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
</TabItem>
|
|
140
|
+
</Tabs>
|
|
@@ -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 remove
|
|
6
|
+
|
|
7
|
+
Removes permissions from a SharePoint Embedded Container
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 spe container permission remove [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`-i, --id <id>`
|
|
19
|
+
: ID of the permission to remove.
|
|
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
|
+
`-f, --force [force]`
|
|
34
|
+
: Don't prompt for confirmation.
|
|
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
|
+
Removes the specified permission from a container
|
|
65
|
+
|
|
66
|
+
```sh
|
|
67
|
+
m365 spe container permission remove --containerId "b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_5Z" --id "cmVhZGVyX2k6MCMuZnxtZW1iZXJzaGlwfHJvcnlicjExMUBvdXRsb29rLmNvbQ"
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
Removes the specified permission from a container and doesn't prompt for confirmation
|
|
71
|
+
|
|
72
|
+
```sh
|
|
73
|
+
m365 spe container permission remove --containerId "b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_5Z" --id "cmVhZGVyX2k6MCMuZnxtZW1iZXJzaGlwfHJvcnlicjExMUBvdXRsb29rLmNvbQ" --force
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
## Response
|
|
77
|
+
|
|
78
|
+
The command won't return a response on success.
|