@pnp/cli-microsoft365 5.9.0 → 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/dist/Auth.js +1 -2
- package/dist/m365/aad/commands/app/app-add.js +4 -5
- 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/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 +0 -3
- 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 +4 -11
- 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/spfx/commands/package/package-generate.js +2 -2
- 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-field-set.js +13 -13
- 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/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-get.js +1 -7
- package/dist/m365/spo/commands/field/field-remove.js +1 -7
- package/dist/m365/spo/commands/field/field-set.js +1 -8
- 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-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-roleinheritance-break.js +11 -1
- package/dist/m365/spo/commands/folder/folder-roleinheritance-reset.js +12 -1
- 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 +4 -4
- package/dist/m365/spo/commands/list/list-contenttype-remove.js +5 -5
- package/dist/m365/spo/commands/list/list-list.js +3 -13
- package/dist/m365/spo/commands/list/list-roleinheritance-break.js +50 -29
- package/dist/m365/spo/commands/list/list-roleinheritance-reset.js +46 -25
- 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-list.js +4 -28
- package/dist/m365/spo/commands/listitem/listitem-list.js +3 -28
- package/dist/m365/spo/commands/listitem/listitem-record-declare.js +4 -4
- package/dist/m365/spo/commands/listitem/listitem-record-undeclare.js +4 -4
- package/dist/m365/spo/commands/listitem/listitem-roleinheritance-break.js +50 -29
- package/dist/m365/spo/commands/listitem/listitem-roleinheritance-reset.js +48 -24
- 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-roleinheritance-reset.js +41 -15
- package/dist/m365/spo/commands/web/web-set.js +4 -4
- package/dist/m365/spo/commands.js +3 -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-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/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/docs/docs/_clisettings.md +1 -2
- 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 +0 -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 +0 -3
- package/docs/docs/cmd/planner/bucket/bucket-get.md +0 -3
- package/docs/docs/cmd/planner/bucket/bucket-list.md +0 -3
- package/docs/docs/cmd/planner/bucket/bucket-remove.md +0 -3
- package/docs/docs/cmd/planner/bucket/bucket-set.md +0 -3
- package/docs/docs/cmd/planner/plan/plan-get.md +0 -12
- 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/spfx/package/package-generate.md +2 -2
- 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-field-set.md +4 -4
- 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/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-get.md +0 -3
- package/docs/docs/cmd/spo/field/field-remove.md +0 -3
- package/docs/docs/cmd/spo/field/field-set.md +4 -4
- 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-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-roleinheritance-break.md +6 -0
- package/docs/docs/cmd/spo/folder/folder-roleinheritance-reset.md +6 -0
- 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 +4 -4
- package/docs/docs/cmd/spo/list/list-contenttype-remove.md +4 -4
- package/docs/docs/cmd/spo/list/list-list.md +0 -3
- package/docs/docs/cmd/spo/list/list-roleinheritance-break.md +9 -0
- package/docs/docs/cmd/spo/list/list-roleinheritance-reset.md +9 -0
- 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-list.md +3 -9
- package/docs/docs/cmd/spo/listitem/listitem-list.md +0 -6
- package/docs/docs/cmd/spo/listitem/listitem-record-declare.md +5 -5
- package/docs/docs/cmd/spo/listitem/listitem-record-undeclare.md +3 -3
- package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-break.md +9 -0
- package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-reset.md +5 -2
- 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/{hubsite/hubsite-disconnect.md → site/site-hubsite-disconnect.md} +8 -8
- 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-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-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/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 +1 -1
- 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/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
|
@@ -13,10 +13,10 @@ m365 aad approleassignment add [options]
|
|
|
13
13
|
`--appId [appId]`
|
|
14
14
|
: Application appId also known as clientId of the App Registration to which the configured scopes (app roles) should be applied
|
|
15
15
|
|
|
16
|
-
`--
|
|
16
|
+
`--appObjectId [appObjectId]`
|
|
17
17
|
: Application objectId of the App Registration to which the configured scopes (app roles) should be applied
|
|
18
18
|
|
|
19
|
-
`--
|
|
19
|
+
`--appDisplayName [appDisplayName]`
|
|
20
20
|
: Application name of the App Registration to which the configured scopes (app roles) should be applied
|
|
21
21
|
|
|
22
22
|
`-r, --resource <resource>`
|
|
@@ -31,7 +31,7 @@ m365 aad approleassignment add [options]
|
|
|
31
31
|
|
|
32
32
|
This command requires tenant administrator permissions.
|
|
33
33
|
|
|
34
|
-
Specify either the `appId`, `
|
|
34
|
+
Specify either the `appId`, `appObjectId` or `appDisplayName` but not multiple. If you specify more than one option value, the command will fail with an error.
|
|
35
35
|
|
|
36
36
|
Autocomplete values for the `resource` option do not mean allowed values. The autocomplete will just suggest some known names, but that doesn't restrict you to use name of your own custom application or other application within your tenant.
|
|
37
37
|
|
|
@@ -48,13 +48,13 @@ m365 aad approleassignment add --appId "57907bf8-73fa-43a6-89a5-1f603e29e451" --
|
|
|
48
48
|
Adds multiple Microsoft Graph application permissions to an Azure AD application with name _MyAppName_
|
|
49
49
|
|
|
50
50
|
```sh
|
|
51
|
-
m365 aad approleassignment add --
|
|
51
|
+
m365 aad approleassignment add --appDisplayName "MyAppName" --resource "Microsoft Graph" --scope "Mail.Read,Mail.Send"
|
|
52
52
|
```
|
|
53
53
|
|
|
54
54
|
Adds Microsoft Graph _Mail.Read_ application permissions to a system managed identity app with objectId _57907bf8-73fa-43a6-89a5-1f603e29e451_
|
|
55
55
|
|
|
56
56
|
```sh
|
|
57
|
-
m365 aad approleassignment add --
|
|
57
|
+
m365 aad approleassignment add --appObjectId "57907bf8-73fa-43a6-89a5-1f603e29e451" --resource "Microsoft Graph" --scope "Mail.Read"
|
|
58
58
|
```
|
|
59
59
|
|
|
60
60
|
## More information
|
|
@@ -13,17 +13,17 @@ m365 aad approleassignment list [options]
|
|
|
13
13
|
`-i, --appId [appId]`
|
|
14
14
|
: Application (client) Id of the App Registration for which the configured app roles should be retrieved
|
|
15
15
|
|
|
16
|
-
`-n, --
|
|
16
|
+
`-n, --appDisplayName [appDisplayName]`
|
|
17
17
|
: Display name of the application for which the configured app roles should be retrieved
|
|
18
18
|
|
|
19
|
-
`--
|
|
19
|
+
`--appObjectId [appObjectId]`
|
|
20
20
|
: ObjectId of the application for which the configured app roles 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 approleassignment list --appId b2307a39-e878-458b-bc90-03bc578531d6
|
|
|
36
36
|
List app roles assigned to service principal with Application display name _MyAppName_.
|
|
37
37
|
|
|
38
38
|
```sh
|
|
39
|
-
m365 aad approleassignment list --
|
|
39
|
+
m365 aad approleassignment list --appDisplayName 'MyAppName'
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
List app roles assigned to service principal with ObjectId _b2307a39-e878-458b-bc90-03bc578531dd_.
|
|
43
43
|
|
|
44
44
|
```sh
|
|
45
|
-
m365 aad approleassignment list --
|
|
45
|
+
m365 aad approleassignment list --appObjectId b2307a39-e878-458b-bc90-03bc578531dd
|
|
46
46
|
```
|
|
47
47
|
|
|
48
48
|
## More information
|
|
@@ -13,10 +13,10 @@ m365 aad approleassignment remove [options]
|
|
|
13
13
|
`--appId [appId]`
|
|
14
14
|
: Application appId also known as clientId of the App Registration for which the configured scopes (app roles) should be deleted
|
|
15
15
|
|
|
16
|
-
`--
|
|
16
|
+
`--appObjectId [appObjectId]`
|
|
17
17
|
: Application objectId of the App Registration for which the configured scopes (app roles) should be deleted
|
|
18
18
|
|
|
19
|
-
`--
|
|
19
|
+
`--appDisplayName [appDisplayName]`
|
|
20
20
|
: Application name of the App Registration for which the configured scopes (app roles) should be deleted
|
|
21
21
|
|
|
22
22
|
`-r, --resource <resource>`
|
|
@@ -34,7 +34,7 @@ m365 aad approleassignment remove [options]
|
|
|
34
34
|
|
|
35
35
|
This command requires tenant administrator permissions.
|
|
36
36
|
|
|
37
|
-
Specify either the `appId`, `
|
|
37
|
+
Specify either the `appId`, `appObjectId` or `appDisplayName` but not multiple. If you specify more than one option value, the command will fail with an error.
|
|
38
38
|
|
|
39
39
|
Autocomplete values for the `resource` option do not mean allowed values. The autocomplete will just suggest some known names, but that doesn't restrict you to use name of your own custom application or other application within your tenant.
|
|
40
40
|
|
|
@@ -51,13 +51,13 @@ m365 aad approleassignment remove --appId "57907bf8-73fa-43a6-89a5-1f603e29e451"
|
|
|
51
51
|
Deletes multiple Microsoft Graph application permissions from an Azure AD application with name _MyAppName_
|
|
52
52
|
|
|
53
53
|
```sh
|
|
54
|
-
m365 aad approleassignment remove --
|
|
54
|
+
m365 aad approleassignment remove --appDisplayName "MyAppName" --resource "Microsoft Graph" --scope "Mail.Read,Mail.Send"
|
|
55
55
|
```
|
|
56
56
|
|
|
57
57
|
Deletes Microsoft Graph _Mail.Read_ application permissions from a system managed identity app with objectId _57907bf8-73fa-43a6-89a5-1f603e29e451_
|
|
58
58
|
|
|
59
59
|
```sh
|
|
60
|
-
m365 aad approleassignment remove --
|
|
60
|
+
m365 aad approleassignment remove --appObjectId "57907bf8-73fa-43a6-89a5-1f603e29e451" --resource "Microsoft Graph" --scope "Mail.Read"
|
|
61
61
|
```
|
|
62
62
|
|
|
63
63
|
## More information
|
|
@@ -25,8 +25,8 @@ m365 aad o365group add [options]
|
|
|
25
25
|
`--members [members]`
|
|
26
26
|
: Comma-separated list of Microsoft 365 Group members
|
|
27
27
|
|
|
28
|
-
`--isPrivate
|
|
29
|
-
:
|
|
28
|
+
`--isPrivate`
|
|
29
|
+
: Specify, if the Microsoft 365 Group should be private. If not specified, will create a public group (default)
|
|
30
30
|
|
|
31
31
|
`--allowMembersToPost [allowMembersToPost]`
|
|
32
32
|
: Set if only group members should be able to post conversations to the group
|
|
@@ -61,7 +61,7 @@ m365 aad o365group add --displayName Finance --description "This is the Contoso
|
|
|
61
61
|
Create a private Microsoft 365 Group
|
|
62
62
|
|
|
63
63
|
```sh
|
|
64
|
-
m365 aad o365group add --displayName Finance --description "This is the Contoso Finance Group. Please come here and check out the latest news, posts, files, and more." --mailNickname finance --isPrivate
|
|
64
|
+
m365 aad o365group add --displayName Finance --description "This is the Contoso Finance Group. Please come here and check out the latest news, posts, files, and more." --mailNickname finance --isPrivate
|
|
65
65
|
```
|
|
66
66
|
|
|
67
67
|
Create a public Microsoft 365 Group and set specified users as its owners
|
|
@@ -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
|
```
|