@pnp/cli-microsoft365 5.9.0-beta.fd6d022 → 6.0.0-beta.01ba480
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +17 -2
- package/README.md +5 -0
- package/dist/Auth.js +1 -2
- package/dist/Command.js +16 -2
- package/dist/appInsights.js +2 -0
- package/dist/m365/aad/commands/app/app-add.js +40 -17
- package/dist/m365/aad/commands/app/app-remove.js +0 -4
- package/dist/m365/aad/commands/app/app-role-remove.js +0 -4
- package/dist/m365/aad/commands/approleassignment/approleassignment-add.js +11 -11
- package/dist/m365/aad/commands/approleassignment/approleassignment-list.js +10 -10
- package/dist/m365/aad/commands/approleassignment/approleassignment-remove.js +10 -10
- package/dist/m365/aad/commands/o365group/o365group-add.js +2 -7
- package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-list.js +6 -6
- package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-restore.js +0 -3
- package/dist/m365/aad/commands/o365group/o365group-teamify.js +7 -7
- package/dist/m365/aad/commands/policy/policy-list.js +6 -6
- package/dist/m365/aad/commands/sp/sp-get.js +12 -12
- package/dist/m365/aad/commands/user/user-guest-add.js +103 -0
- package/dist/m365/aad/commands.js +1 -3
- package/dist/m365/cli/commands/config/config-set.js +0 -1
- package/dist/m365/commands/status.js +6 -1
- package/dist/m365/flow/commands/flow-disable.js +2 -2
- package/dist/m365/flow/commands/flow-enable.js +2 -2
- package/dist/m365/flow/commands/flow-export.js +5 -5
- package/dist/m365/flow/commands/flow-get.js +2 -2
- package/dist/m365/flow/commands/flow-list.js +2 -2
- package/dist/m365/flow/commands/flow-remove.js +3 -3
- package/dist/m365/flow/commands/run/run-cancel.js +6 -6
- package/dist/m365/flow/commands/run/run-get.js +4 -4
- package/dist/m365/flow/commands/run/run-list.js +4 -4
- package/dist/m365/flow/commands/run/run-resubmit.js +7 -7
- package/dist/m365/outlook/commands/mail/mail-send.js +55 -34
- package/dist/m365/outlook/commands/message/message-get.js +97 -0
- package/dist/m365/outlook/commands/message/message-move.js +2 -2
- package/dist/m365/outlook/commands.js +2 -2
- package/dist/m365/pa/commands/connector/connector-export.js +3 -3
- package/dist/m365/pa/commands/connector/connector-list.js +2 -2
- package/dist/m365/pa/commands/solution/solution-reference-add.js +7 -7
- package/dist/m365/planner/commands/bucket/bucket-add.js +2 -9
- package/dist/m365/planner/commands/bucket/bucket-get.js +5 -12
- package/dist/m365/planner/commands/bucket/bucket-list.js +2 -9
- package/dist/m365/planner/commands/bucket/bucket-remove.js +4 -11
- package/dist/m365/planner/commands/bucket/bucket-set.js +4 -11
- package/dist/m365/planner/commands/plan/plan-get.js +5 -24
- package/dist/m365/planner/commands/task/task-add.js +3 -8
- package/dist/m365/planner/commands/task/task-get.js +5 -19
- package/dist/m365/planner/commands/task/task-list.js +4 -11
- package/dist/m365/planner/commands/task/task-set.js +5 -10
- package/dist/m365/planner/commands.js +0 -2
- package/dist/m365/pp/commands/Environment.js +3 -0
- package/dist/m365/pp/commands/card/card-get.js +110 -0
- package/dist/m365/pp/commands/card/card-list.js +68 -0
- package/dist/m365/pp/commands/dataverse/dataverse-table-list.js +69 -0
- package/dist/m365/pp/commands/environment/environment-get.js +75 -0
- package/dist/m365/pp/commands/gateway/gateway-get.js +70 -0
- package/dist/m365/pp/commands/solution/Solution.js +3 -0
- package/dist/m365/pp/commands/solution/solution-get.js +117 -0
- package/dist/m365/pp/commands/solution/solution-list.js +87 -0
- package/dist/m365/pp/commands/tenant/tenant-settings-list.js +45 -0
- package/dist/m365/pp/commands.js +9 -1
- package/dist/m365/spfx/commands/package/package-generate.js +2 -2
- package/dist/m365/spfx/commands/project/project-doctor.js +4 -1
- package/dist/m365/spfx/commands/project/project-externalize.js +4 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010001_YORC_version.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010002_YORC_isCreatingSolution.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010003_YORC_packageManager.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010004_YORC_componentType.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010005_YORC_environment.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010006_YORC_framework.js +3 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010007_YORC_isDomainIsolated.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010008_YORC_nodeVersion.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010009_YORC_sdkVersions_microsoft_graph_client.js +56 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010010_YORC_sdkVersions_teams_js.js +56 -0
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.14.0.js +0 -2
- package/dist/m365/spfx/commands/project/project-upgrade/{upgrade-1.16.0-beta.1.js → upgrade-1.16.0-beta.2.js} +44 -28
- package/dist/m365/spfx/commands/project/project-upgrade.js +1 -1
- package/dist/m365/spfx/commands/spfx-doctor.js +54 -9
- package/dist/m365/spo/commands/app/SpoAppBaseCommand.js +1 -1
- package/dist/m365/spo/commands/app/app-add.js +7 -7
- package/dist/m365/spo/commands/app/app-deploy.js +7 -7
- package/dist/m365/spo/commands/app/app-get.js +7 -7
- package/dist/m365/spo/commands/app/app-install.js +6 -6
- package/dist/m365/spo/commands/app/app-list.js +7 -7
- package/dist/m365/spo/commands/app/app-remove.js +7 -7
- package/dist/m365/spo/commands/app/app-retract.js +7 -7
- package/dist/m365/spo/commands/app/app-uninstall.js +6 -6
- package/dist/m365/spo/commands/app/app-upgrade.js +6 -6
- package/dist/m365/spo/commands/apppage/apppage-set.js +2 -2
- package/dist/m365/spo/commands/cdn/cdn-policy-list.js +7 -7
- package/dist/m365/spo/commands/cdn/cdn-policy-set.js +7 -7
- package/dist/m365/spo/commands/contenttype/contenttype-add.js +82 -43
- package/dist/m365/spo/commands/contenttype/contenttype-field-remove.js +53 -21
- package/dist/m365/spo/commands/contenttype/contenttype-field-set.js +13 -13
- package/dist/m365/spo/commands/contenttype/contenttype-get.js +35 -14
- package/dist/m365/spo/commands/customaction/customaction-add.js +3 -3
- package/dist/m365/spo/commands/customaction/customaction-clear.js +3 -3
- package/dist/m365/spo/commands/customaction/customaction-get.js +5 -4
- package/dist/m365/spo/commands/customaction/customaction-list.js +5 -4
- package/dist/m365/spo/commands/customaction/customaction-remove.js +6 -5
- package/dist/m365/spo/commands/customaction/customaction-set.js +3 -3
- package/dist/m365/spo/commands/eventreceiver/EventReceiver.js +3 -0
- package/dist/m365/spo/commands/eventreceiver/eventreceiver-remove.js +182 -0
- package/dist/m365/spo/commands/feature/feature-disable.js +4 -4
- package/dist/m365/spo/commands/feature/feature-enable.js +5 -5
- package/dist/m365/spo/commands/feature/feature-list.js +3 -3
- package/dist/m365/spo/commands/field/field-add.js +26 -1
- package/dist/m365/spo/commands/field/field-get.js +1 -7
- package/dist/m365/spo/commands/field/field-remove.js +1 -7
- package/dist/m365/spo/commands/field/field-set.js +24 -21
- package/dist/m365/spo/commands/file/file-checkin.js +5 -5
- package/dist/m365/spo/commands/file/file-checkout.js +5 -5
- package/dist/m365/spo/commands/file/file-copy.js +25 -39
- package/dist/m365/spo/commands/file/file-move.js +24 -37
- package/dist/m365/spo/commands/file/file-rename.js +19 -16
- package/dist/m365/spo/commands/file/file-roleassignment-add.js +231 -0
- package/dist/m365/spo/commands/file/file-roleassignment-remove.js +180 -0
- package/dist/m365/spo/commands/file/file-roleinheritance-break.js +129 -0
- package/dist/m365/spo/commands/file/file-roleinheritance-reset.js +1 -1
- package/dist/m365/spo/commands/file/file-sharinginfo-get.js +13 -13
- package/dist/m365/spo/commands/folder/folder-get.js +6 -6
- package/dist/m365/spo/commands/folder/folder-remove.js +3 -3
- package/dist/m365/spo/commands/folder/folder-rename.js +4 -4
- package/dist/m365/spo/commands/folder/folder-roleassignment-remove.js +168 -0
- package/dist/m365/spo/commands/folder/folder-roleinheritance-break.js +104 -0
- package/dist/m365/spo/commands/folder/folder-roleinheritance-reset.js +13 -2
- package/dist/m365/spo/commands/group/AssociatedGroupPropertiesCollection.js +3 -0
- package/dist/m365/spo/commands/group/group-list.js +49 -10
- package/dist/m365/spo/commands/hubsite/hubsite-register.js +4 -4
- package/dist/m365/spo/commands/hubsite/hubsite-rights-grant.js +4 -4
- package/dist/m365/spo/commands/hubsite/hubsite-rights-revoke.js +5 -5
- package/dist/m365/spo/commands/knowledgehub/knowledgehub-set.js +4 -4
- package/dist/m365/spo/commands/list/list-contenttype-add.js +24 -21
- package/dist/m365/spo/commands/list/list-contenttype-default-set.js +59 -47
- package/dist/m365/spo/commands/list/list-contenttype-list.js +16 -8
- package/dist/m365/spo/commands/list/list-contenttype-remove.js +19 -11
- package/dist/m365/spo/commands/list/list-list.js +3 -13
- package/dist/m365/spo/commands/list/list-roleassignment-add.js +10 -10
- package/dist/m365/spo/commands/list/list-roleassignment-remove.js +8 -8
- package/dist/m365/spo/commands/list/list-roleinheritance-break.js +54 -25
- package/dist/m365/spo/commands/list/list-roleinheritance-reset.js +50 -21
- package/dist/m365/spo/commands/list/list-view-field-add.js +20 -20
- package/dist/m365/spo/commands/list/list-view-field-remove.js +11 -11
- package/dist/m365/spo/commands/list/list-view-field-set.js +15 -15
- package/dist/m365/spo/commands/list/list-view-get.js +9 -9
- package/dist/m365/spo/commands/list/list-view-remove.js +11 -11
- package/dist/m365/spo/commands/list/list-view-set.js +11 -11
- package/dist/m365/spo/commands/list/list-webhook-add.js +19 -11
- package/dist/m365/spo/commands/list/list-webhook-get.js +17 -10
- package/dist/m365/spo/commands/list/list-webhook-list.js +17 -42
- package/dist/m365/spo/commands/list/list-webhook-remove.js +19 -11
- package/dist/m365/spo/commands/list/list-webhook-set.js +18 -10
- package/dist/m365/spo/commands/listitem/listitem-add.js +24 -14
- package/dist/m365/spo/commands/listitem/listitem-attachment-list.js +18 -8
- package/dist/m365/spo/commands/listitem/listitem-get.js +18 -8
- package/dist/m365/spo/commands/listitem/listitem-isrecord.js +20 -10
- package/dist/m365/spo/commands/listitem/listitem-list.js +20 -29
- package/dist/m365/spo/commands/listitem/listitem-record-declare.js +23 -16
- package/dist/m365/spo/commands/listitem/listitem-record-undeclare.js +27 -24
- package/dist/m365/spo/commands/listitem/listitem-remove.js +19 -11
- package/dist/m365/spo/commands/listitem/listitem-roleassignment-add.js +239 -0
- package/dist/m365/spo/commands/listitem/listitem-roleassignment-remove.js +8 -8
- package/dist/m365/spo/commands/listitem/listitem-roleinheritance-break.js +54 -25
- package/dist/m365/spo/commands/listitem/listitem-roleinheritance-reset.js +53 -21
- package/dist/m365/spo/commands/listitem/listitem-set.js +52 -44
- package/dist/m365/spo/commands/page/page-column-get.js +2 -2
- package/dist/m365/spo/commands/page/page-column-list.js +2 -2
- package/dist/m365/spo/commands/page/page-control-get.js +4 -4
- package/dist/m365/spo/commands/page/page-control-list.js +3 -3
- package/dist/m365/spo/commands/page/page-control-set.js +3 -3
- package/dist/m365/spo/commands/page/page-section-add.js +2 -2
- package/dist/m365/spo/commands/page/page-section-get.js +2 -2
- package/dist/m365/spo/commands/page/page-section-list.js +2 -2
- package/dist/m365/spo/commands/roledefinition/roledefinition-list.js +15 -2
- package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-grant-revoke.js +2 -2
- package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-permissionrequest-approve.js +4 -4
- package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-permissionrequest-deny.js +4 -4
- package/dist/m365/spo/commands/site/site-add.js +4 -11
- package/dist/m365/spo/commands/site/site-appcatalog-add.js +3 -3
- package/dist/m365/spo/commands/site/site-appcatalog-remove.js +3 -3
- package/dist/m365/spo/commands/site/site-apppermission-get.js +2 -2
- package/dist/m365/spo/commands/site/site-apppermission-remove.js +5 -5
- package/dist/m365/spo/commands/site/site-apppermission-set.js +5 -5
- package/dist/m365/spo/commands/site/site-chrome-set.js +3 -3
- package/dist/m365/spo/commands/site/site-ensure.js +1 -1
- package/dist/m365/spo/commands/site/site-groupify.js +3 -3
- package/dist/m365/spo/commands/{hubsite/hubsite-connect.js → site/site-hubsite-connect.js} +17 -17
- package/dist/m365/spo/commands/{hubsite/hubsite-disconnect.js → site/site-hubsite-disconnect.js} +18 -18
- package/dist/m365/spo/commands/{hubsite/hubsite-theme-sync.js → site/site-hubsite-theme-sync.js} +11 -11
- package/dist/m365/spo/commands/site/site-list.js +6 -17
- package/dist/m365/spo/commands/site/site-rename.js +9 -9
- package/dist/m365/spo/commands/sitedesign/sitedesign-rights-grant.js +4 -4
- package/dist/m365/spo/commands/sitedesign/sitedesign-rights-list.js +4 -4
- package/dist/m365/spo/commands/sitedesign/sitedesign-rights-revoke.js +5 -5
- package/dist/m365/spo/commands/sitedesign/sitedesign-task-get.js +4 -4
- package/dist/m365/spo/commands/sitedesign/sitedesign-task-remove.js +5 -5
- package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-remove.js +5 -5
- package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-restore.js +3 -3
- package/dist/m365/spo/commands/web/web-add.js +4 -4
- package/dist/m365/spo/commands/web/web-get.js +3 -3
- package/dist/m365/spo/commands/web/web-list.js +4 -4
- package/dist/m365/spo/commands/web/web-reindex.js +8 -8
- package/dist/m365/spo/commands/web/web-remove.js +5 -5
- package/dist/m365/spo/commands/web/web-roleassignment-add.js +10 -10
- package/dist/m365/spo/commands/web/web-roleassignment-remove.js +8 -8
- package/dist/m365/spo/commands/web/web-roleinheritance-break.js +100 -0
- package/dist/m365/spo/commands/web/web-roleinheritance-reset.js +41 -15
- package/dist/m365/spo/commands/web/web-set.js +4 -4
- package/dist/m365/spo/commands.js +11 -6
- package/dist/m365/teams/commands/app/app-install.js +4 -4
- package/dist/m365/teams/commands/app/app-uninstall.js +3 -3
- package/dist/m365/teams/commands/channel/channel-add.js +9 -9
- package/dist/m365/teams/commands/channel/channel-get.js +10 -10
- package/dist/m365/teams/commands/channel/channel-member-add.js +0 -4
- package/dist/m365/teams/commands/channel/channel-member-list.js +0 -4
- package/dist/m365/teams/commands/channel/channel-member-remove.js +0 -4
- package/dist/m365/teams/commands/channel/channel-remove.js +16 -16
- package/dist/m365/teams/commands/channel/channel-set.js +7 -7
- package/dist/m365/teams/commands/message/message-get.js +3 -3
- package/dist/m365/teams/commands/tab/tab-get.js +10 -10
- package/dist/m365/teams/commands/tab/tab-remove.js +6 -6
- package/dist/m365/teams/commands/team/team-archive.js +3 -13
- package/dist/m365/teams/commands/team/team-clone.js +3 -20
- package/dist/m365/teams/commands/team/team-remove.js +5 -17
- package/dist/m365/teams/commands/team/team-set.js +1 -20
- package/dist/m365/teams/commands/team/team-unarchive.js +4 -16
- package/dist/m365/teams/commands/user/user-app-add.js +4 -4
- package/dist/m365/teams/commands/user/user-app-remove.js +3 -3
- package/dist/m365/teams/commands.js +0 -3
- package/dist/m365/todo/commands/list/list-get.js +89 -0
- package/dist/m365/todo/commands/task/task-add.js +55 -3
- package/dist/m365/todo/commands/task/task-get.js +108 -0
- package/dist/m365/todo/commands/task/task-set.js +53 -1
- package/dist/m365/todo/commands.js +2 -0
- package/dist/m365/viva/commands/connections/connections-app-create.js +9 -9
- package/dist/m365/yammer/commands/group/group-user-add.js +8 -8
- package/dist/m365/yammer/commands/group/group-user-remove.js +11 -11
- package/dist/m365/yammer/commands/message/message-like-set.js +5 -5
- package/dist/m365/yammer/commands/user/user-get.js +5 -5
- package/dist/settingsNames.js +0 -1
- package/dist/utils/cache.js +81 -0
- package/dist/utils/pid.js +57 -0
- package/dist/utils/powerPlatform.js +42 -0
- package/docs/docs/_clisettings.md +18 -0
- package/docs/docs/cmd/aad/app/app-remove.md +0 -6
- package/docs/docs/cmd/aad/app/app-role-remove.md +0 -6
- package/docs/docs/cmd/aad/approleassignment/approleassignment-add.md +5 -5
- package/docs/docs/cmd/aad/approleassignment/approleassignment-list.md +5 -5
- package/docs/docs/cmd/aad/approleassignment/approleassignment-remove.md +5 -5
- package/docs/docs/cmd/aad/o365group/o365group-add.md +3 -3
- package/docs/docs/cmd/aad/o365group/o365group-recyclebinitem-list.md +7 -7
- package/docs/docs/cmd/aad/o365group/o365group-recyclebinitem-restore.md +0 -6
- package/docs/docs/cmd/aad/o365group/o365group-teamify.md +4 -4
- package/docs/docs/cmd/aad/policy/policy-list.md +2 -2
- package/docs/docs/cmd/aad/sp/sp-get.md +5 -5
- package/docs/docs/cmd/aad/user/user-guest-add.md +107 -0
- package/docs/docs/cmd/adaptivecard/adaptivecard-send.md +3 -0
- package/docs/docs/cmd/flow/flow-disable.md +3 -3
- package/docs/docs/cmd/flow/flow-enable.md +1 -1
- package/docs/docs/cmd/flow/flow-export.md +5 -5
- package/docs/docs/cmd/flow/flow-get.md +3 -3
- package/docs/docs/cmd/flow/flow-list.md +3 -3
- package/docs/docs/cmd/flow/flow-remove.md +5 -5
- package/docs/docs/cmd/flow/run/run-cancel.md +3 -3
- package/docs/docs/cmd/flow/run/run-get.md +3 -3
- package/docs/docs/cmd/flow/run/run-list.md +3 -3
- package/docs/docs/cmd/flow/run/run-resubmit.md +4 -4
- package/docs/docs/cmd/graph/schemaextension/schemaextension-add.md +4 -11
- package/docs/docs/cmd/graph/schemaextension/schemaextension-set.md +4 -10
- package/docs/docs/cmd/outlook/mail/mail-send.md +13 -6
- package/docs/docs/cmd/outlook/message/message-get.md +48 -0
- package/docs/docs/cmd/outlook/message/message-move.md +4 -4
- package/docs/docs/cmd/pa/connector/connector-export.md +3 -3
- package/docs/docs/cmd/pa/connector/connector-list.md +2 -2
- package/docs/docs/cmd/pa/solution/solution-reference-add.md +2 -2
- package/docs/docs/cmd/planner/bucket/bucket-add.md +29 -3
- package/docs/docs/cmd/planner/bucket/bucket-get.md +29 -3
- package/docs/docs/cmd/planner/bucket/bucket-list.md +30 -3
- package/docs/docs/cmd/planner/bucket/bucket-remove.md +4 -3
- package/docs/docs/cmd/planner/bucket/bucket-set.md +4 -3
- package/docs/docs/cmd/planner/plan/plan-add.md +123 -0
- package/docs/docs/cmd/planner/plan/plan-get.md +75 -12
- package/docs/docs/cmd/planner/plan/plan-list.md +45 -0
- package/docs/docs/cmd/planner/plan/plan-remove.md +4 -0
- package/docs/docs/cmd/planner/task/task-add.md +0 -3
- package/docs/docs/cmd/planner/task/task-get.md +0 -6
- package/docs/docs/cmd/planner/task/task-list.md +0 -3
- package/docs/docs/cmd/planner/task/task-set.md +0 -3
- package/docs/docs/cmd/pp/card/card-get.md +51 -0
- package/docs/docs/cmd/pp/card/card-list.md +33 -0
- package/docs/docs/cmd/pp/dataverse/dataverse-table-list.md +33 -0
- package/docs/docs/cmd/pp/environment/environment-get.md +38 -0
- package/docs/docs/cmd/pp/environment/environment-list.md +1 -1
- package/docs/docs/cmd/pp/gateway/gateway-get.md +24 -0
- package/docs/docs/cmd/pp/solution/solution-get.md +51 -0
- package/docs/docs/cmd/pp/solution/solution-list.md +33 -0
- package/docs/docs/cmd/pp/tenant/tenant-settings-list.md +26 -0
- package/docs/docs/cmd/spfx/package/package-generate.md +2 -2
- package/docs/docs/cmd/spfx/project/project-rename.md +1 -14
- package/docs/docs/cmd/spfx/project/project-upgrade.md +1 -1
- package/docs/docs/cmd/spfx/spfx-doctor.md +10 -1
- package/docs/docs/cmd/spo/app/app-add.md +2 -2
- package/docs/docs/cmd/spo/app/app-deploy.md +2 -2
- package/docs/docs/cmd/spo/app/app-get.md +2 -2
- package/docs/docs/cmd/spo/app/app-install.md +2 -2
- package/docs/docs/cmd/spo/app/app-list.md +2 -2
- package/docs/docs/cmd/spo/app/app-remove.md +2 -2
- package/docs/docs/cmd/spo/app/app-retract.md +2 -2
- package/docs/docs/cmd/spo/app/app-uninstall.md +2 -2
- package/docs/docs/cmd/spo/app/app-upgrade.md +2 -2
- package/docs/docs/cmd/spo/apppage/apppage-set.md +2 -2
- package/docs/docs/cmd/spo/cdn/cdn-policy-list.md +3 -3
- package/docs/docs/cmd/spo/cdn/cdn-policy-set.md +3 -3
- package/docs/docs/cmd/spo/contenttype/contenttype-add.md +20 -2
- package/docs/docs/cmd/spo/contenttype/contenttype-field-remove.md +22 -4
- package/docs/docs/cmd/spo/contenttype/contenttype-field-set.md +4 -4
- package/docs/docs/cmd/spo/contenttype/contenttype-get.md +21 -3
- package/docs/docs/cmd/spo/customaction/customaction-add.md +13 -10
- package/docs/docs/cmd/spo/customaction/customaction-clear.md +4 -4
- package/docs/docs/cmd/spo/customaction/customaction-get.md +5 -5
- package/docs/docs/cmd/spo/customaction/customaction-list.md +4 -4
- package/docs/docs/cmd/spo/customaction/customaction-remove.md +9 -9
- package/docs/docs/cmd/spo/customaction/customaction-set.md +10 -9
- package/docs/docs/cmd/spo/eventreceiver/eventreceiver-get.md +2 -2
- package/docs/docs/cmd/spo/eventreceiver/eventreceiver-remove.md +69 -0
- package/docs/docs/cmd/spo/feature/feature-disable.md +4 -4
- package/docs/docs/cmd/spo/feature/feature-enable.md +2 -2
- package/docs/docs/cmd/spo/feature/feature-list.md +3 -3
- package/docs/docs/cmd/spo/field/field-add.md +20 -2
- package/docs/docs/cmd/spo/field/field-get.md +0 -3
- package/docs/docs/cmd/spo/field/field-remove.md +0 -3
- package/docs/docs/cmd/spo/field/field-set.md +15 -6
- package/docs/docs/cmd/spo/file/file-checkin.md +6 -6
- package/docs/docs/cmd/spo/file/file-checkout.md +4 -4
- package/docs/docs/cmd/spo/file/file-roleassignment-add.md +57 -0
- package/docs/docs/cmd/spo/file/file-roleassignment-remove.md +54 -0
- package/docs/docs/cmd/spo/file/file-roleinheritance-break.md +54 -0
- package/docs/docs/cmd/spo/file/file-sharinginfo-get.md +7 -7
- package/docs/docs/cmd/spo/folder/folder-get.md +3 -3
- package/docs/docs/cmd/spo/folder/folder-remove.md +3 -3
- package/docs/docs/cmd/spo/folder/folder-rename.md +2 -2
- package/docs/docs/cmd/spo/folder/folder-roleassignment-remove.md +57 -0
- package/docs/docs/cmd/spo/folder/folder-roleinheritance-break.md +45 -0
- package/docs/docs/cmd/spo/folder/folder-roleinheritance-reset.md +8 -2
- package/docs/docs/cmd/spo/group/group-list.md +10 -1
- package/docs/docs/cmd/spo/hubsite/hubsite-get.md +3 -3
- package/docs/docs/cmd/spo/hubsite/hubsite-register.md +2 -2
- package/docs/docs/cmd/spo/hubsite/hubsite-rights-grant.md +4 -4
- package/docs/docs/cmd/spo/hubsite/hubsite-rights-revoke.md +3 -3
- package/docs/docs/cmd/spo/knowledgehub/knowledgehub-set.md +2 -2
- package/docs/docs/cmd/spo/list/list-contenttype-add.md +18 -9
- package/docs/docs/cmd/spo/list/list-contenttype-default-set.md +16 -7
- package/docs/docs/cmd/spo/list/list-contenttype-list.md +15 -6
- package/docs/docs/cmd/spo/list/list-contenttype-remove.md +19 -10
- package/docs/docs/cmd/spo/list/list-list.md +0 -3
- package/docs/docs/cmd/spo/list/list-roleinheritance-break.md +20 -8
- package/docs/docs/cmd/spo/list/list-roleinheritance-reset.md +23 -5
- package/docs/docs/cmd/spo/list/list-view-field-add.md +8 -8
- package/docs/docs/cmd/spo/list/list-view-field-remove.md +6 -6
- package/docs/docs/cmd/spo/list/list-view-field-set.md +7 -7
- package/docs/docs/cmd/spo/list/list-view-get.md +7 -7
- package/docs/docs/cmd/spo/list/list-view-remove.md +8 -8
- package/docs/docs/cmd/spo/list/list-view-set.md +20 -9
- package/docs/docs/cmd/spo/list/list-webhook-add.md +15 -16
- package/docs/docs/cmd/spo/list/list-webhook-get.md +16 -7
- package/docs/docs/cmd/spo/list/list-webhook-list.md +13 -10
- package/docs/docs/cmd/spo/list/list-webhook-remove.md +12 -10
- package/docs/docs/cmd/spo/list/list-webhook-set.md +14 -12
- package/docs/docs/cmd/spo/listitem/listitem-add.md +11 -2
- package/docs/docs/cmd/spo/listitem/listitem-attachment-list.md +11 -2
- package/docs/docs/cmd/spo/listitem/listitem-get.md +11 -2
- package/docs/docs/cmd/spo/listitem/listitem-isrecord.md +12 -2
- package/docs/docs/cmd/spo/listitem/listitem-list.md +9 -6
- package/docs/docs/cmd/spo/listitem/listitem-record-declare.md +11 -8
- package/docs/docs/cmd/spo/listitem/listitem-record-undeclare.md +14 -5
- package/docs/docs/cmd/spo/listitem/listitem-remove.md +11 -2
- package/docs/docs/cmd/spo/listitem/listitem-roleassignment-add.md +81 -0
- package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-break.md +16 -4
- package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-reset.md +14 -2
- package/docs/docs/cmd/spo/listitem/listitem-set.md +7 -4
- package/docs/docs/cmd/spo/page/page-clientsidewebpart-add.md +5 -10
- package/docs/docs/cmd/spo/page/page-column-get.md +3 -3
- package/docs/docs/cmd/spo/page/page-column-list.md +3 -3
- package/docs/docs/cmd/spo/page/page-control-get.md +3 -3
- package/docs/docs/cmd/spo/page/page-control-list.md +3 -3
- package/docs/docs/cmd/spo/page/page-control-set.md +6 -5
- package/docs/docs/cmd/spo/page/page-section-add.md +3 -3
- package/docs/docs/cmd/spo/page/page-section-get.md +3 -3
- package/docs/docs/cmd/spo/page/page-section-list.md +3 -3
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-revoke.md +2 -2
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-approve.md +2 -2
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-deny.md +2 -2
- package/docs/docs/cmd/spo/site/site-add.md +2 -5
- package/docs/docs/cmd/spo/site/site-appcatalog-add.md +2 -2
- package/docs/docs/cmd/spo/site/site-appcatalog-remove.md +2 -2
- package/docs/docs/cmd/spo/site/site-apppermission-get.md +2 -2
- package/docs/docs/cmd/spo/site/site-apppermission-remove.md +2 -2
- package/docs/docs/cmd/spo/site/site-apppermission-set.md +5 -5
- package/docs/docs/cmd/spo/site/site-chrome-set.md +4 -4
- package/docs/docs/cmd/spo/site/site-groupify.md +5 -11
- package/docs/docs/cmd/spo/{hubsite/hubsite-connect.md → site/site-hubsite-connect.md} +7 -7
- package/docs/docs/cmd/spo/site/site-hubsite-disconnect.md +42 -0
- package/docs/docs/cmd/spo/{hubsite/hubsite-theme-sync.md → site/site-hubsite-theme-sync.md} +5 -5
- package/docs/docs/cmd/spo/site/site-list.md +6 -6
- package/docs/docs/cmd/spo/site/site-rename.md +6 -6
- package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-grant.md +4 -4
- package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-list.md +3 -3
- package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-revoke.md +3 -3
- package/docs/docs/cmd/spo/sitedesign/sitedesign-task-get.md +2 -2
- package/docs/docs/cmd/spo/sitedesign/sitedesign-task-remove.md +5 -5
- package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-remove.md +3 -3
- package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-restore.md +6 -3
- package/docs/docs/cmd/spo/term/term-add.md +5 -0
- package/docs/docs/cmd/spo/term/term-set-add.md +6 -1
- package/docs/docs/cmd/spo/web/web-add.md +4 -4
- package/docs/docs/cmd/spo/web/web-get.md +3 -3
- package/docs/docs/cmd/spo/web/web-list.md +2 -2
- package/docs/docs/cmd/spo/web/web-reindex.md +2 -2
- package/docs/docs/cmd/spo/web/web-remove.md +2 -2
- package/docs/docs/cmd/spo/web/web-roleinheritance-break.md +44 -0
- package/docs/docs/cmd/spo/web/web-roleinheritance-reset.md +9 -0
- package/docs/docs/cmd/spo/web/web-set.md +9 -9
- package/docs/docs/cmd/teams/app/app-install.md +5 -5
- package/docs/docs/cmd/teams/app/app-uninstall.md +3 -3
- package/docs/docs/cmd/teams/channel/channel-add.md +4 -4
- package/docs/docs/cmd/teams/channel/channel-get.md +7 -7
- package/docs/docs/cmd/teams/channel/channel-member-add.md +0 -6
- package/docs/docs/cmd/teams/channel/channel-member-list.md +0 -6
- package/docs/docs/cmd/teams/channel/channel-member-remove.md +0 -6
- package/docs/docs/cmd/teams/channel/channel-remove.md +7 -7
- package/docs/docs/cmd/teams/channel/channel-set.md +4 -4
- package/docs/docs/cmd/teams/message/message-get.md +3 -3
- package/docs/docs/cmd/teams/tab/tab-get.md +6 -6
- package/docs/docs/cmd/teams/tab/tab-remove.md +4 -4
- package/docs/docs/cmd/teams/team/team-archive.md +0 -3
- package/docs/docs/cmd/teams/team/team-clone.md +0 -6
- package/docs/docs/cmd/teams/team/team-remove.md +0 -3
- package/docs/docs/cmd/teams/team/team-set.md +0 -6
- package/docs/docs/cmd/teams/team/team-unarchive.md +0 -3
- package/docs/docs/cmd/teams/user/user-app-add.md +3 -3
- package/docs/docs/cmd/teams/user/user-app-remove.md +3 -3
- package/docs/docs/cmd/tenant/id/id-get.md +20 -0
- package/docs/docs/cmd/tenant/report/report-activeusercounts.md +35 -0
- package/docs/docs/cmd/tenant/report/report-activeuserdetail.md +49 -0
- package/docs/docs/cmd/tenant/report/report-office365activationcounts.md +32 -0
- package/docs/docs/cmd/tenant/report/report-office365activationsusercounts.md +30 -0
- package/docs/docs/cmd/tenant/report/report-office365activationsuserdetail.md +36 -0
- package/docs/docs/cmd/tenant/report/report-servicesusercounts.md +41 -0
- package/docs/docs/cmd/tenant/security/security-alerts-list.md +105 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-health-get.md +87 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-health-list.md +91 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-healthissue-get.md +62 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-healthissue-list.md +51 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-get.md +64 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-list.md +52 -0
- package/docs/docs/cmd/todo/list/list-get.md +61 -0
- package/docs/docs/cmd/todo/task/task-add.md +32 -5
- package/docs/docs/cmd/todo/task/task-get.md +75 -0
- package/docs/docs/cmd/todo/task/task-set.md +29 -2
- package/docs/docs/cmd/viva/connections/connections-app-create.md +2 -2
- package/docs/docs/cmd/yammer/group/group-user-add.md +5 -5
- package/docs/docs/cmd/yammer/group/group-user-remove.md +5 -5
- package/docs/docs/cmd/yammer/message/message-like-set.md +4 -4
- package/docs/docs/cmd/yammer/user/user-get.md +2 -2
- package/npm-shrinkwrap.json +2 -2
- package/package.json +13 -3
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN006006_CFG_PS_features.js +0 -60
- package/dist/m365/spo/commands/site/site-classic-add.js +0 -328
- package/dist/m365/spo/commands/site/site-classic-list.js +0 -115
- package/dist/m365/spo/commands/site/site-classic-set.js +0 -351
- package/docs/docs/cmd/spo/hubsite/hubsite-disconnect.md +0 -42
- package/docs/docs/cmd/spo/site/site-classic-add.md +0 -93
- package/docs/docs/cmd/spo/site/site-classic-list.md +0 -68
- package/docs/docs/cmd/spo/site/site-classic-set.md +0 -102
|
@@ -10,11 +10,11 @@ m365 aad o365group recyclebinitem list [options]
|
|
|
10
10
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
|
-
`-d, --
|
|
14
|
-
: Lists groups with
|
|
13
|
+
`-d, --groupDisplayName [groupDisplayName]`
|
|
14
|
+
: Lists groups with DisplayName starting with the specified value
|
|
15
15
|
|
|
16
|
-
`-m, --
|
|
17
|
-
: Lists groups with
|
|
16
|
+
`-m, --groupMailNickname [groupMailNickname]`
|
|
17
|
+
: Lists groups with MailNickname starting with the specified value
|
|
18
18
|
|
|
19
19
|
--8<-- "docs/cmd/_global.md"
|
|
20
20
|
|
|
@@ -29,17 +29,17 @@ m365 aad o365group recyclebinitem list
|
|
|
29
29
|
List deleted Microsoft 365 Groups with display name starting with _Project_
|
|
30
30
|
|
|
31
31
|
```sh
|
|
32
|
-
m365 aad o365group recyclebinitem list --
|
|
32
|
+
m365 aad o365group recyclebinitem list --groupDisplayName Project
|
|
33
33
|
```
|
|
34
34
|
|
|
35
35
|
List deleted Microsoft 365 Groups mail nick name starting with _team_
|
|
36
36
|
|
|
37
37
|
```sh
|
|
38
|
-
m365 aad o365group recyclebinitem list --
|
|
38
|
+
m365 aad o365group recyclebinitem list --groupMailNickname team
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
List deleted Microsoft 365 Groups mail nick name starting with _team_ and with display name starting with _Project_
|
|
42
42
|
|
|
43
43
|
```sh
|
|
44
|
-
m365 aad o365group recyclebinitem list --
|
|
44
|
+
m365 aad o365group recyclebinitem list --groupMailNickname team --groupDisplayName Project
|
|
45
45
|
```
|
|
@@ -10,11 +10,11 @@ m365 aad o365group teamify [options]
|
|
|
10
10
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
|
-
`-i, --
|
|
14
|
-
: The ID of the Microsoft 365 Group to connect to Microsoft Teams. Specify either
|
|
13
|
+
`-i, --id [id]`
|
|
14
|
+
: The ID of the Microsoft 365 Group to connect to Microsoft Teams. Specify either id or mailNickname but not both
|
|
15
15
|
|
|
16
16
|
`--mailNickname [mailNickname]`
|
|
17
|
-
: The mail alias of the Microsoft 365 Group to connect to Microsoft Teams. Specify either
|
|
17
|
+
: The mail alias of the Microsoft 365 Group to connect to Microsoft Teams. Specify either id or mailNickname but not both
|
|
18
18
|
|
|
19
19
|
--8<-- "docs/cmd/_global.md"
|
|
20
20
|
|
|
@@ -23,7 +23,7 @@ m365 aad o365group teamify [options]
|
|
|
23
23
|
Creates a new Microsoft Teams team under existing Microsoft 365 group with id _e3f60f99-0bad-481f-9e9f-ff0f572fbd03_
|
|
24
24
|
|
|
25
25
|
```sh
|
|
26
|
-
m365 aad o365group teamify --
|
|
26
|
+
m365 aad o365group teamify --id e3f60f99-0bad-481f-9e9f-ff0f572fbd03
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
Creates a new Microsoft Teams team under existing Microsoft 365 group with mailNickname _GroupName_
|
|
@@ -10,7 +10,7 @@ m365 aad policy list [options]
|
|
|
10
10
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
|
-
`-
|
|
13
|
+
`-t, --type [type]`
|
|
14
14
|
: The type of policies to return. Allowed values `activityBasedTimeout`,`authorization`,`claimsMapping`,`homeRealmDiscovery`,`identitySecurityDefaultsEnforcement`,`tokenIssuance`,`tokenLifetime`. If omitted, all policies are returned
|
|
15
15
|
|
|
16
16
|
--8<-- "docs/cmd/_global.md"
|
|
@@ -26,7 +26,7 @@ m365 aad policy list
|
|
|
26
26
|
Returns claim-mapping policies from Azure AD
|
|
27
27
|
|
|
28
28
|
```sh
|
|
29
|
-
m365 aad policy list --
|
|
29
|
+
m365 aad policy list --type "claimsMapping"
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
## More information
|
|
@@ -13,17 +13,17 @@ m365 aad sp get [options]
|
|
|
13
13
|
`-i, --appId [appId]`
|
|
14
14
|
: ID of the application for which the service principal should be retrieved
|
|
15
15
|
|
|
16
|
-
`-n, --
|
|
16
|
+
`-n, --appDisplayName [appDisplayName]`
|
|
17
17
|
: Display name of the application for which the service principal should be retrieved
|
|
18
18
|
|
|
19
|
-
`--
|
|
19
|
+
`--appObjectId [appObjectId]`
|
|
20
20
|
: ObjectId of the application for which the service principal should be retrieved
|
|
21
21
|
|
|
22
22
|
--8<-- "docs/cmd/_global.md"
|
|
23
23
|
|
|
24
24
|
## Remarks
|
|
25
25
|
|
|
26
|
-
Specify either the `appId`, `
|
|
26
|
+
Specify either the `appId`, `appObjectId` or `appDisplayName`. If you specify more than one option value, the command will fail with an error.
|
|
27
27
|
|
|
28
28
|
## Examples
|
|
29
29
|
|
|
@@ -36,13 +36,13 @@ m365 aad sp get --appId b2307a39-e878-458b-bc90-03bc578531d6
|
|
|
36
36
|
Return details about the _Microsoft Graph_ service principal.
|
|
37
37
|
|
|
38
38
|
```sh
|
|
39
|
-
m365 aad sp get --
|
|
39
|
+
m365 aad sp get --appDisplayName "Microsoft Graph"
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
Return details about the service principal with ObjectId _b2307a39-e878-458b-bc90-03bc578531dd_.
|
|
43
43
|
|
|
44
44
|
```sh
|
|
45
|
-
m365 aad sp get --
|
|
45
|
+
m365 aad sp get --appObjectId b2307a39-e878-458b-bc90-03bc578531dd
|
|
46
46
|
```
|
|
47
47
|
|
|
48
48
|
## More information
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
# aad user guest add
|
|
2
|
+
|
|
3
|
+
Invite an external user to the organization
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 aad user guest add [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`--emailAddress <emailAddress>`
|
|
14
|
+
: The email address of the user.
|
|
15
|
+
|
|
16
|
+
`--displayName [displayName]`
|
|
17
|
+
: The display name of the user.
|
|
18
|
+
|
|
19
|
+
`--inviteRedirectUrl [inviteRedirectUrl]`
|
|
20
|
+
: The URL the user should be redirected to once the invitation is redeemed. If not specified, default URL https://myapplications.microsoft.com will be set.
|
|
21
|
+
|
|
22
|
+
`--welcomeMessage [welcomeMessage]`
|
|
23
|
+
: Personal welcome message which will be added to the email along with the default email.
|
|
24
|
+
|
|
25
|
+
`--ccRecipients [ccRecipients]`
|
|
26
|
+
: Additional recipients the invitation message should be sent to. Currently only 1 additional recipient is supported.
|
|
27
|
+
|
|
28
|
+
`--messageLanguage [messageLanguage]`
|
|
29
|
+
: The language you want to send the default message in. The language format should be in [ISO 639](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-oi29500/ed06cf15-306c-43be-9053-ca81ca51e656). The default is `en-US`.
|
|
30
|
+
|
|
31
|
+
`--sendInvitationMessage`
|
|
32
|
+
: Indicates whether an email should be sent to the user.
|
|
33
|
+
|
|
34
|
+
--8<-- "docs/cmd/_global.md"
|
|
35
|
+
|
|
36
|
+
## Examples
|
|
37
|
+
|
|
38
|
+
Invite a user via email and set the display name
|
|
39
|
+
|
|
40
|
+
```sh
|
|
41
|
+
m365 aad user guest add --emailAddress john.doe@contoso.com --displayName "John Doe" --sendInvitationMessage
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
Invite a user with a custom email and custom redirect url
|
|
45
|
+
|
|
46
|
+
```sh
|
|
47
|
+
m365 aad user guest add --emailAddress john.doe@contoso.com --welcomeMessage "Hi John, welcome to the organization!" --sendInvitationMessage
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Invite a user and send an invitation mail in Dutch
|
|
51
|
+
|
|
52
|
+
```sh
|
|
53
|
+
m365 aad user guest add --emailAddress john.doe@contoso.com --messageLanguage nl-BE --sendInvitationMessage
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## Response
|
|
57
|
+
|
|
58
|
+
=== "JSON"
|
|
59
|
+
|
|
60
|
+
```json
|
|
61
|
+
{
|
|
62
|
+
"id": "35f7f726-c541-4aef-a64e-a7b6868fe47f",
|
|
63
|
+
"inviteRedeemUrl": "https://login.microsoftonline.com/redeem?rd=https%3a%2f%2finvitations.microsoft.com%2fredeem%2f%3ftenant%3db373bc30-03b3-49bc-be72-9dd3e9027da8%26user%3d35f7f726-c541-4aef-a64e-a7b6868fe47f%26ticket%3dCjO3u3ZpQF2uthfZETfZ8gURzod5egvYI0uhaSN1Loo%25253d%26ver%3d2.0",
|
|
64
|
+
"invitedUserDisplayName": "John Doe",
|
|
65
|
+
"invitedUserType": "Guest",
|
|
66
|
+
"invitedUserEmailAddress": "john.doe@contoso.com",
|
|
67
|
+
"sendInvitationMessage": true,
|
|
68
|
+
"resetRedemption": false,
|
|
69
|
+
"inviteRedirectUrl": "https://myapplications.microsoft.com/",
|
|
70
|
+
"status": "PendingAcceptance",
|
|
71
|
+
"invitedUserMessageInfo": {
|
|
72
|
+
"messageLanguage": "en-US",
|
|
73
|
+
"customizedMessageBody": "Hi John, welcome to the organization!",
|
|
74
|
+
"ccRecipients": [
|
|
75
|
+
{
|
|
76
|
+
"emailAddress": {
|
|
77
|
+
"name": null,
|
|
78
|
+
"address": "maria.jones@contoso.com"
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
]
|
|
82
|
+
},
|
|
83
|
+
"invitedUser": {
|
|
84
|
+
"id": "5257b5b2-4056-4a45-a05e-df5c92d53e6e"
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
=== "Text"
|
|
90
|
+
|
|
91
|
+
```text
|
|
92
|
+
id : 35f7f726-c541-4aef-a64e-a7b6868fe47f
|
|
93
|
+
inviteRedeemUrl : https://login.microsoftonline.com/redeem?rd=https%3a%2f%2finvitations.microsoft.com%2fredeem%2f%3ftenant%3db373bc30-03b3-49bc-be72-9dd3e9027da8%26user%3d35f7f726-c541-4aef-a64e-a7b6868fe47f%26ticket%3dCjO3u3ZpQF2uthfZETfZ8gURzod5egvYI0uhaSN1Loo%25253d%26ver%3d2.0
|
|
94
|
+
invitedUserDisplayName : John Doe
|
|
95
|
+
invitedUserEmailAddress: liwidit556@adroh.com
|
|
96
|
+
invitedUserType : Guest
|
|
97
|
+
resetRedemption : false
|
|
98
|
+
sendInvitationMessage : true
|
|
99
|
+
status : PendingAcceptance
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
=== "CSV"
|
|
103
|
+
|
|
104
|
+
```csv
|
|
105
|
+
id,inviteRedeemUrl,invitedUserDisplayName,invitedUserEmailAddress,invitedUserType,resetRedemption,sendInvitationMessage,status
|
|
106
|
+
35f7f726-c541-4aef-a64e-a7b6868fe47f,https://login.microsoftonline.com/redeem?rd=https%3a%2f%2finvitations.microsoft.com%2fredeem%2f%3ftenant%3db373bc30-03b3-49bc-be72-9dd3e9027da8%26user%3d35f7f726-c541-4aef-a64e-a7b6868fe47f%26ticket%3dCjO3u3ZpQF2uthfZETfZ8gURzod5egvYI0uhaSN1Loo%25253d%26ver%3d2.0,John Doe,liwidit556@adroh.com,Guest,,1,PendingAcceptance
|
|
107
|
+
```
|
|
@@ -43,6 +43,9 @@ The predefined card is automatically adjusted based on which options have been s
|
|
|
43
43
|
|
|
44
44
|
If your custom card is a card template (card with placeholders like `${title}`), you can fill it with data either by specifying the complete data object using the `cardData` option, or by passing any number of arbitrary options that will be mapped onto the card. The arbitrary properties should not match any of the global options like `output`, `query`, `debug`, etc. Data options like `title`, `description`, `imageUrl` and `actionUrl` will be mapped onto the card as well.
|
|
45
45
|
|
|
46
|
+
!!! warning "Escaping JSON in PowerShell"
|
|
47
|
+
When using the `--card` and `--cardData` options it's possible to enter a JSON string. In PowerShell 5 to 7.2 [specific escaping rules](./../../user-guide/using-cli.md#escaping-double-quotes-in-powershell) apply due to an issue. Remember that you can also use [file tokens](./../../user-guide/using-cli.md#passing-complex-content-into-cli-options) instead.
|
|
48
|
+
|
|
46
49
|
## Examples
|
|
47
50
|
|
|
48
51
|
Send a predefined adaptive card with just title
|
|
@@ -13,7 +13,7 @@ m365 flow disable [options]
|
|
|
13
13
|
`-n, --name <name>`
|
|
14
14
|
: The name of the Power Automate flow to disable
|
|
15
15
|
|
|
16
|
-
`-e, --
|
|
16
|
+
`-e, --environmentName <environmentName>`
|
|
17
17
|
: The name of the environment for which to disable Power Automate flow
|
|
18
18
|
|
|
19
19
|
`--asAdmin`
|
|
@@ -37,11 +37,11 @@ If the Power Automate flow with the name you specified doesn't exist, you will g
|
|
|
37
37
|
Disables Power Automate flow owned by the currently signed-in user
|
|
38
38
|
|
|
39
39
|
```sh
|
|
40
|
-
m365 flow disable --
|
|
40
|
+
m365 flow disable --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
Disables Power Automate flow owned by another user
|
|
44
44
|
|
|
45
45
|
```sh
|
|
46
|
-
m365 flow disable --
|
|
46
|
+
m365 flow disable --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d --asAdmin
|
|
47
47
|
```
|
|
@@ -13,7 +13,7 @@ m365 flow enable [options]
|
|
|
13
13
|
`-n, --name <name>`
|
|
14
14
|
: The name of the Power Automate flow to enable
|
|
15
15
|
|
|
16
|
-
`-e, --
|
|
16
|
+
`-e, --environmentName <environmentName>`
|
|
17
17
|
: The name of the environment for which to enable Power Automate
|
|
18
18
|
|
|
19
19
|
`--asAdmin`
|
|
@@ -13,7 +13,7 @@ m365 flow export [options]
|
|
|
13
13
|
`-i, --id <id>`
|
|
14
14
|
: The id of the Power Automate flow to export
|
|
15
15
|
|
|
16
|
-
`-e, --
|
|
16
|
+
`-e, --environmentNameName <environmentName>`
|
|
17
17
|
: The name of the environment for which to export the flow
|
|
18
18
|
|
|
19
19
|
`-n, --packageDisplayName [packageDisplayName]`
|
|
@@ -50,23 +50,23 @@ If the Power Automate flow with the id you specified doesn't exist, you will get
|
|
|
50
50
|
Export the specified Power Automate flow as a ZIP file
|
|
51
51
|
|
|
52
52
|
```sh
|
|
53
|
-
m365 flow export --
|
|
53
|
+
m365 flow export --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --id 3989cb59-ce1a-4a5c-bb78-257c5c39381d
|
|
54
54
|
```
|
|
55
55
|
|
|
56
56
|
Export the specified Power Automate flow as a JSON file
|
|
57
57
|
|
|
58
58
|
```sh
|
|
59
|
-
m365 flow export --
|
|
59
|
+
m365 flow export --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --id 3989cb59-ce1a-4a5c-bb78-257c5c39381d --format json
|
|
60
60
|
```
|
|
61
61
|
|
|
62
62
|
Export the specified Power Automate flow as a ZIP file, specifying a Display Name of 'My flow name' to be embedded into the package
|
|
63
63
|
|
|
64
64
|
```sh
|
|
65
|
-
m365 flow export --
|
|
65
|
+
m365 flow export --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --id 3989cb59-ce1a-4a5c-bb78-257c5c39381d --packageDisplayName 'My flow name'
|
|
66
66
|
```
|
|
67
67
|
|
|
68
68
|
Export the specified Power Automate flow as a ZIP file with the filename 'MyFlow.zip' saved to the current directory
|
|
69
69
|
|
|
70
70
|
```sh
|
|
71
|
-
m365 flow export --
|
|
71
|
+
m365 flow export --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --id 3989cb59-ce1a-4a5c-bb78-257c5c39381d --path './MyFlow.zip'
|
|
72
72
|
```
|
|
@@ -13,7 +13,7 @@ m365 flow get [options]
|
|
|
13
13
|
`-n, --name <name>`
|
|
14
14
|
: The name of the Power Automate flow to get information about
|
|
15
15
|
|
|
16
|
-
`-e, --
|
|
16
|
+
`-e, --environmentNameName <environmentName>`
|
|
17
17
|
: The name of the environment for which to retrieve available flows
|
|
18
18
|
|
|
19
19
|
`--asAdmin`
|
|
@@ -37,11 +37,11 @@ If the Power Automate flow with the name you specified doesn't exist, you will g
|
|
|
37
37
|
Get information about the specified Power Automate flow owned by the currently signed-in user
|
|
38
38
|
|
|
39
39
|
```sh
|
|
40
|
-
m365 flow get --
|
|
40
|
+
m365 flow get --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
Get information about the specified Power Automate flow owned by another user
|
|
44
44
|
|
|
45
45
|
```sh
|
|
46
|
-
m365 flow get --
|
|
46
|
+
m365 flow get --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d --asAdmin
|
|
47
47
|
```
|
|
@@ -10,7 +10,7 @@ m365 flow list [options]
|
|
|
10
10
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
|
-
`-e, --
|
|
13
|
+
`-e, --environmentName <environmentName>`
|
|
14
14
|
: The name of the environment for which to retrieve available flows
|
|
15
15
|
|
|
16
16
|
`--asAdmin`
|
|
@@ -32,11 +32,11 @@ By default, the `flow list` command returns only your flows. To list all flows,
|
|
|
32
32
|
List all your flows in the given environment
|
|
33
33
|
|
|
34
34
|
```sh
|
|
35
|
-
m365 flow list --
|
|
35
|
+
m365 flow list --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
List all flows in the given environment
|
|
39
39
|
|
|
40
40
|
```sh
|
|
41
|
-
m365 flow list --
|
|
41
|
+
m365 flow list --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --asAdmin
|
|
42
42
|
```
|
|
@@ -13,7 +13,7 @@ m365 flow remove [options]
|
|
|
13
13
|
`-n, --name <name>`
|
|
14
14
|
: The name of the Power Automate flow to remove
|
|
15
15
|
|
|
16
|
-
`-e, --
|
|
16
|
+
`-e, --environmentName <environmentName>`
|
|
17
17
|
: The name of the environment to which the flow belongs
|
|
18
18
|
|
|
19
19
|
`--asAdmin`
|
|
@@ -37,23 +37,23 @@ If the Power Automate flow with the name you specified doesn't exist, you will g
|
|
|
37
37
|
Removes the specified Power Automate flow owned by the currently signed-in user
|
|
38
38
|
|
|
39
39
|
```sh
|
|
40
|
-
m365 flow remove --
|
|
40
|
+
m365 flow remove --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
Removes the specified Power Automate flow owned by the currently signed-in user without confirmation
|
|
44
44
|
|
|
45
45
|
```sh
|
|
46
|
-
m365 flow remove --
|
|
46
|
+
m365 flow remove --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d --confirm
|
|
47
47
|
```
|
|
48
48
|
|
|
49
49
|
Removes the specified Power Automate flow owned by another user
|
|
50
50
|
|
|
51
51
|
```sh
|
|
52
|
-
m365 flow remove --
|
|
52
|
+
m365 flow remove --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d --asAdmin
|
|
53
53
|
```
|
|
54
54
|
|
|
55
55
|
Removes the specified Power Automate flow owned by another user without confirmation
|
|
56
56
|
|
|
57
57
|
```sh
|
|
58
|
-
m365 flow remove --
|
|
58
|
+
m365 flow remove --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d --asAdmin --confirm
|
|
59
59
|
```
|
|
@@ -13,10 +13,10 @@ m365 flow run cancel [options]
|
|
|
13
13
|
`-n, --name <name>`
|
|
14
14
|
: The name of the run to cancel
|
|
15
15
|
|
|
16
|
-
`-f, --
|
|
16
|
+
`-f, --flowName <flowName>`
|
|
17
17
|
: The name of the flow to cancel the run for
|
|
18
18
|
|
|
19
|
-
`-e, --
|
|
19
|
+
`-e, --environmentName <environmentName>`
|
|
20
20
|
: The name of the environment where the flow is located
|
|
21
21
|
|
|
22
22
|
--8<-- "docs/cmd/_global.md"
|
|
@@ -37,5 +37,5 @@ If the run with the name you specified doesn't exist, you will get the `The work
|
|
|
37
37
|
Cancel the given run of the specified flow
|
|
38
38
|
|
|
39
39
|
```sh
|
|
40
|
-
m365 flow run cancel --
|
|
40
|
+
m365 flow run cancel --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --flowName 5923cb07-ce1a-4a5c-ab81-257ce820109a --name 08586653536760200319026785874CU62
|
|
41
41
|
```
|
|
@@ -13,10 +13,10 @@ m365 flow run get [options]
|
|
|
13
13
|
`-n, --name <name>`
|
|
14
14
|
: The name of the run to get information about
|
|
15
15
|
|
|
16
|
-
`-f, --
|
|
16
|
+
`-f, --flowName <flowName>`
|
|
17
17
|
: The name of the Power Automate flow for which to retrieve information
|
|
18
18
|
|
|
19
|
-
`-e, --
|
|
19
|
+
`-e, --environmentName <environmentName>`
|
|
20
20
|
: The name of the environment where the flow is located
|
|
21
21
|
|
|
22
22
|
--8<-- "docs/cmd/_global.md"
|
|
@@ -37,5 +37,5 @@ If the run with the name you specified doesn't exist, you will get the `The prov
|
|
|
37
37
|
Get information about the given run of the specified Power Automate flow
|
|
38
38
|
|
|
39
39
|
```sh
|
|
40
|
-
m365 flow run get --
|
|
40
|
+
m365 flow run get --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --flowName 5923cb07-ce1a-4a5c-ab81-257ce820109a --name 08586653536760200319026785874CU62
|
|
41
41
|
```
|
|
@@ -10,10 +10,10 @@ m365 flow run list [options]
|
|
|
10
10
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
|
-
`-f, --
|
|
13
|
+
`-f, --flowName <flowName>`
|
|
14
14
|
: The name of the Microsoft Flow to retrieve the runs for
|
|
15
15
|
|
|
16
|
-
`-e, --
|
|
16
|
+
`-e, --environmentName <environmentName>`
|
|
17
17
|
: The name of the environment to which the flow belongs
|
|
18
18
|
|
|
19
19
|
--8<-- "docs/cmd/_global.md"
|
|
@@ -32,5 +32,5 @@ If the Microsoft Flow with the name you specified doesn't exist, you will get th
|
|
|
32
32
|
List runs of the specified Microsoft Flow
|
|
33
33
|
|
|
34
34
|
```sh
|
|
35
|
-
m365 flow run list --
|
|
35
|
+
m365 flow run list --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --flowName 5923cb07-ce1a-4a5c-ab81-257ce820109a
|
|
36
36
|
```
|
|
@@ -13,10 +13,10 @@ m365 flow run resubmit [options]
|
|
|
13
13
|
`-n, --name <name>`
|
|
14
14
|
: The name of the run to resubmit
|
|
15
15
|
|
|
16
|
-
`-f, --
|
|
16
|
+
`-f, --flowName <flowName>`
|
|
17
17
|
: The name of the flow to resubmit the run for
|
|
18
18
|
|
|
19
|
-
`-e, --
|
|
19
|
+
`-e, --environmentName <environmentName>`
|
|
20
20
|
: The name of the environment where the Flow is located
|
|
21
21
|
|
|
22
22
|
`--confirm`
|
|
@@ -40,11 +40,11 @@ If the run with the name you specified doesn't exist, you will get the `The work
|
|
|
40
40
|
Resubmits a specific flow run for the specified Microsoft Flow
|
|
41
41
|
|
|
42
42
|
```sh
|
|
43
|
-
m365 flow run resubmit --
|
|
43
|
+
m365 flow run resubmit --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --flowName 5923cb07-ce1a-4a5c-ab81-257ce820109a --name 08586653536760200319026785874CU62
|
|
44
44
|
```
|
|
45
45
|
|
|
46
46
|
Resubmits a specific flow run for the specified Microsoft Flow without prompting for confirmation
|
|
47
47
|
|
|
48
48
|
```sh
|
|
49
|
-
m365 flow run resubmit --
|
|
49
|
+
m365 flow run resubmit --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --flowName 5923cb07-ce1a-4a5c-ab81-257ce820109a --name 08586653536760200319026785874CU62 --confirm
|
|
50
50
|
```
|
|
@@ -43,26 +43,19 @@ The schema extension owner is the ID of the Azure AD application that is the own
|
|
|
43
43
|
|
|
44
44
|
The target types are the set of Microsoft Graph resource types (that support schema extensions) that this schema extension definition can be applied to. This option is specified as a comma-separated list
|
|
45
45
|
|
|
46
|
-
|
|
47
|
-
you
|
|
48
|
-
In addition, when using PowerShell, you should use the `--%` argument.
|
|
46
|
+
!!! warning "Escaping JSON in PowerShell"
|
|
47
|
+
When using the `--properties` option it's possible to enter a JSON string. In PowerShell 5 to 7.2 [specific escaping rules](./../../user-guide/using-cli.md#escaping-double-quotes-in-powershell) apply due to an issue. Remember that you can also use [file tokens](./../../user-guide/using-cli.md#passing-complex-content-into-cli-options) instead.
|
|
49
48
|
|
|
50
49
|
## Examples
|
|
51
50
|
|
|
52
51
|
Create a schema extension
|
|
53
52
|
|
|
54
53
|
```sh
|
|
55
|
-
m365 graph schemaextension add --id MySchemaExtension --description "My Schema Extension" --targetTypes Group --owner 62375ab9-6b52-47ed-826b-58e47e0e304b --properties
|
|
54
|
+
m365 graph schemaextension add --id MySchemaExtension --description "My Schema Extension" --targetTypes Group --owner 62375ab9-6b52-47ed-826b-58e47e0e304b --properties '[{"name":"myProp1","type":"Integer"},{"name":"myProp2","type":"String"}]'
|
|
56
55
|
```
|
|
57
56
|
|
|
58
57
|
Create a schema extension with a verified domain
|
|
59
58
|
|
|
60
59
|
```sh
|
|
61
|
-
m365 graph schemaextension add --id contoso_MySchemaExtension --description "My Schema Extension" --targetTypes Group --owner 62375ab9-6b52-47ed-826b-58e47e0e304b --properties
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
Create a schema extension in PowerShell
|
|
65
|
-
|
|
66
|
-
```PowerShell
|
|
67
|
-
graph schemaextension add --id contoso_MySchemaExtension --description "My Schema Extension" --targetTypes Group --owner "62375ab9-6b52-47ed-826b-58e47e0e304b" --properties --% \`"[{""name"":""myProp1"",""type"":""Integer""},{""name"":""myProp2"",""type"":""String""}]\`
|
|
60
|
+
m365 graph schemaextension add --id contoso_MySchemaExtension --description "My Schema Extension" --targetTypes Group --owner 62375ab9-6b52-47ed-826b-58e47e0e304b --properties '[{"name":"myProp1","type":"Integer"},{"name":"myProp2","type":"String"}]'
|
|
68
61
|
```
|
|
@@ -35,9 +35,9 @@ m365 graph schemaextension set [options]
|
|
|
35
35
|
The lifecycle state of the schema extension. The initial state upon creation is `InDevelopment`.
|
|
36
36
|
Possible states transitions are from `InDevelopment` to `Available` and `Available` to `Deprecated`.
|
|
37
37
|
The target types are the set of Microsoft Graph resource types (that support schema extensions) that this schema extension definition can be applied to. This option is specified as a comma-separated list.
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
In
|
|
38
|
+
|
|
39
|
+
!!! warning "Escaping JSON in PowerShell"
|
|
40
|
+
When using the `--properties` option it's possible to enter a JSON string. In PowerShell 5 to 7.2 [specific escaping rules](./../../user-guide/using-cli.md#escaping-double-quotes-in-powershell) apply due to an issue. Remember that you can also use [file tokens](./../../user-guide/using-cli.md#passing-complex-content-into-cli-options) instead.
|
|
41
41
|
|
|
42
42
|
## Examples
|
|
43
43
|
|
|
@@ -50,13 +50,7 @@ m365 graph schemaextension set --id MySchemaExtension --owner 62375ab9-6b52-47ed
|
|
|
50
50
|
Update the target types and properties of a schema extension
|
|
51
51
|
|
|
52
52
|
```sh
|
|
53
|
-
m365 graph schemaextension set --id contoso_MySchemaExtension --owner 62375ab9-6b52-47ed-826b-58e47e0e304b --targetTypes "Group,User" --properties
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
Update the properties of a schema extension in PowerShell
|
|
57
|
-
|
|
58
|
-
```PowerShell
|
|
59
|
-
graph schemaextension set --id contoso_MySchemaExtension --owner 62375ab9-6b52-47ed-826b-58e47e0e304b --properties --% \`"[{""name"":""myProp1"",""type"":""Integer""},{""name"":""myProp2"",""type"":""String""}]\`
|
|
53
|
+
m365 graph schemaextension set --id contoso_MySchemaExtension --owner 62375ab9-6b52-47ed-826b-58e47e0e304b --targetTypes "Group,User" --properties '[{"name":"myProp1","type":"Integer"},{"name":"myProp2","type":"String"}]'
|
|
60
54
|
```
|
|
61
55
|
|
|
62
56
|
Change the status of a schema extension to 'Available'
|
|
@@ -8,12 +8,6 @@ Sends an email
|
|
|
8
8
|
m365 outlook mail send [options]
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
## Alias
|
|
12
|
-
|
|
13
|
-
```sh
|
|
14
|
-
m365 outlook sendmail [options]
|
|
15
|
-
```
|
|
16
|
-
|
|
17
11
|
## Options
|
|
18
12
|
|
|
19
13
|
`-s, --subject <subject>`
|
|
@@ -43,6 +37,9 @@ m365 outlook sendmail [options]
|
|
|
43
37
|
`--importance [importance]`
|
|
44
38
|
: The importance of the message. Available options: `low`, `normal` or `high`. Default is `normal`.
|
|
45
39
|
|
|
40
|
+
`--attachment [attachment]`
|
|
41
|
+
: Path to the file that will be added as attachment to the email. This option can be used multiple times to attach multiple attachments.
|
|
42
|
+
|
|
46
43
|
`--saveToSentItems [saveToSentItems]`
|
|
47
44
|
: Save email in the sent items folder. Default `true`.
|
|
48
45
|
|
|
@@ -50,6 +47,10 @@ m365 outlook sendmail [options]
|
|
|
50
47
|
|
|
51
48
|
## Remarks
|
|
52
49
|
|
|
50
|
+
### Attachments
|
|
51
|
+
|
|
52
|
+
When using the `attachment` option, note that the total size of all attachment files cannot exceed 3 MB.
|
|
53
|
+
|
|
53
54
|
### If you are connected using app only authentication
|
|
54
55
|
|
|
55
56
|
- Always specify a user id or upn in the `--sender` option. The email will be sent as if it came from the specified user, and can optionally be saved in the sent folder of that user account.
|
|
@@ -116,3 +117,9 @@ Send an email with cc and bcc recipients marked as important
|
|
|
116
117
|
```sh
|
|
117
118
|
m365 outlook mail send --to chris@contoso.com --cc claire@contoso.com --bcc randy@contoso.com --subject "DG2000 Data Sheets" --bodyContents "The latest data sheets are in the team site" --importance high
|
|
118
119
|
```
|
|
120
|
+
|
|
121
|
+
Send an email with multiple attachments
|
|
122
|
+
|
|
123
|
+
```sh
|
|
124
|
+
m365 outlook mail send --to chris@contoso.com --subject "Monthly reports" --bodyContents "Here are the reports of this month." --attachment "C:/Reports/File1.jpg" --attachment "C:/Reports/File2.docx" --attachment "C:/Reports/File3.xlsx"
|
|
125
|
+
```
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# outlook message get
|
|
2
|
+
|
|
3
|
+
Retrieves specified message
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 outlook message get [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-i, --id <id>`
|
|
14
|
+
: ID of the message
|
|
15
|
+
|
|
16
|
+
`--userId [userId]`
|
|
17
|
+
: ID of the user from which to retrieve the message. Specify either `userId` or `userPrincipalName`, but not both. This option is required when using application permissions.
|
|
18
|
+
|
|
19
|
+
`--userPrincipalName [userPrincipalName]`
|
|
20
|
+
: UPN of the user from which to retrieve the message Specify either `userId` or `userPrincipalName`, but not both. This option is required when using application permissions.
|
|
21
|
+
|
|
22
|
+
--8<-- "docs/cmd/_global.md"
|
|
23
|
+
|
|
24
|
+
## Examples
|
|
25
|
+
|
|
26
|
+
Get a specific message using delegated permissions
|
|
27
|
+
|
|
28
|
+
```sh
|
|
29
|
+
m365 outlook message get --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAEMAAAiIsqMbYjsT5e-T7KzowPTAALvuv07AAA=
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Get a specific message using delegated permissions from a shared mailbox
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
m365 outlook message get --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAEMAAAiIsqMbYjsT5e-T7KzowPTAALvuv07AAA= --userPrincipalName sharedmailbox@tenant.com
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Get a specific message from a specific user retrieved by user ID using application permissions
|
|
39
|
+
|
|
40
|
+
```sh
|
|
41
|
+
m365 outlook message get --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAEMAAAiIsqMbYjsT5e-T7KzowPTAALvuv07AAA= --userId 6799fd1a-723b-4eb7-8e52-41ae530274ca
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
Get a specific message from a specific user retrieved by user principal name using application permissions
|
|
45
|
+
|
|
46
|
+
```sh
|
|
47
|
+
m365 outlook message get --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAEMAAAiIsqMbYjsT5e-T7KzowPTAALvuv07AAA= --userPrincipalName user@tenant.com
|
|
48
|
+
```
|