@pnp/cli-microsoft365 6.0.0-beta.dc71aa3 → 6.0.0-beta.dc8d53d
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/LICENSE +1 -3
- package/dist/Command.js +8 -6
- package/dist/cli/Cli.js +64 -6
- package/dist/m365/aad/commands/app/app-add.js +1 -1
- package/dist/m365/aad/commands/app/app-get.js +1 -1
- package/dist/m365/aad/commands/app/app-remove.js +1 -1
- package/dist/m365/aad/commands/app/app-role-add.js +1 -1
- package/dist/m365/aad/commands/app/app-role-list.js +1 -1
- package/dist/m365/aad/commands/app/app-role-remove.js +1 -1
- package/dist/m365/aad/commands/app/app-set.js +1 -1
- package/dist/m365/aad/commands/approleassignment/approleassignment-add.js +1 -1
- package/dist/m365/aad/commands/approleassignment/approleassignment-list.js +1 -1
- package/dist/m365/aad/commands/approleassignment/approleassignment-remove.js +1 -1
- package/dist/m365/aad/commands/groupsettingtemplate/groupsettingtemplate-get.js +1 -1
- package/dist/m365/aad/commands/o365group/o365group-conversation-post-list.js +1 -1
- package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-remove.js +1 -1
- package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-restore.js +1 -1
- package/dist/m365/aad/commands/o365group/o365group-teamify.js +1 -1
- package/dist/m365/aad/commands/o365group/o365group-user-add.js +1 -1
- package/dist/m365/aad/commands/o365group/o365group-user-remove.js +1 -1
- package/dist/m365/aad/commands/o365group/o365group-user-set.js +1 -1
- package/dist/m365/aad/commands/sp/sp-add.js +1 -1
- package/dist/m365/aad/commands/sp/sp-get.js +1 -1
- package/dist/m365/aad/commands/user/user-get.js +1 -1
- package/dist/m365/aad/commands/user/user-set.js +1 -1
- package/dist/m365/adaptivecard/commands/adaptivecard-send.js +1 -1
- package/dist/m365/booking/commands/business/business-get.js +1 -1
- package/dist/m365/cli/commands/config/config-set.js +4 -0
- package/dist/m365/commands/login.js +6 -1
- package/dist/m365/outlook/commands/message/message-list.js +1 -1
- package/dist/m365/outlook/commands/message/message-move.js +1 -1
- package/dist/m365/pa/commands/app/app-get.js +1 -1
- package/dist/m365/planner/commands/bucket/bucket-add.js +1 -1
- package/dist/m365/planner/commands/bucket/bucket-get.js +1 -1
- package/dist/m365/planner/commands/bucket/bucket-list.js +1 -1
- package/dist/m365/planner/commands/bucket/bucket-remove.js +1 -1
- package/dist/m365/planner/commands/bucket/bucket-set.js +1 -1
- package/dist/m365/planner/commands/plan/plan-add.js +1 -1
- package/dist/m365/planner/commands/plan/plan-get.js +1 -1
- package/dist/m365/planner/commands/plan/plan-list.js +1 -1
- package/dist/m365/planner/commands/plan/plan-remove.js +1 -1
- package/dist/m365/planner/commands/task/task-add.js +1 -1
- package/dist/m365/planner/commands/task/task-get.js +1 -1
- package/dist/m365/planner/commands/task/task-reference-remove.js +1 -1
- package/dist/m365/planner/commands/task/task-remove.js +1 -1
- package/dist/m365/pp/commands/card/card-clone.js +2 -2
- package/dist/m365/pp/commands/card/card-get.js +2 -2
- package/dist/m365/pp/commands/card/card-list.js +1 -1
- package/dist/m365/pp/commands/card/card-remove.js +2 -2
- package/dist/m365/pp/commands/dataverse/dataverse-table-get.js +1 -1
- package/dist/m365/pp/commands/dataverse/dataverse-table-list.js +1 -1
- package/dist/m365/pp/commands/dataverse/dataverse-table-remove.js +1 -1
- package/dist/m365/pp/commands/environment/environment-get.js +1 -1
- package/dist/m365/pp/commands/environment/environment-list.js +1 -1
- package/dist/m365/pp/commands/managementapp/managementapp-add.js +1 -1
- package/dist/m365/pp/commands/solution/solution-get.js +2 -2
- package/dist/m365/pp/commands/solution/solution-list.js +1 -1
- package/dist/m365/pp/commands/solution/solution-publisher-get.js +2 -2
- package/dist/m365/pp/commands/solution/solution-publisher-list.js +1 -1
- package/dist/m365/pp/commands/solution/solution-publisher-remove.js +2 -2
- package/dist/m365/pp/commands/solution/solution-remove.js +2 -2
- package/dist/m365/search/commands/externalconnection/externalconnection-get.js +1 -1
- package/dist/m365/search/commands/externalconnection/externalconnection-remove.js +1 -1
- package/dist/m365/spfx/commands/project/project-doctor/{doctor-1.16.0-rc.0.js → doctor-1.16.0.js} +1 -1
- package/dist/m365/spfx/commands/project/project-doctor.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/{upgrade-1.16.0-rc.0.js → upgrade-1.16.0.js} +26 -26
- package/dist/m365/spfx/commands/project/project-upgrade.js +13 -15
- package/dist/m365/spfx/commands/spfx-doctor.js +1 -1
- package/dist/m365/spo/commands/app/app-deploy.js +1 -1
- package/dist/m365/spo/commands/app/app-get.js +1 -1
- package/dist/m365/spo/commands/app/app-list.js +4 -11
- package/dist/m365/spo/commands/contenttype/contenttype-get.js +1 -1
- package/dist/m365/spo/commands/contenttype/contenttype-list.js +3 -10
- package/dist/m365/spo/commands/contenttype/contenttype-remove.js +1 -1
- package/dist/m365/spo/commands/contenttype/contenttype-set.js +1 -1
- package/dist/m365/spo/commands/customaction/customaction-get.js +1 -1
- package/dist/m365/spo/commands/customaction/customaction-list.js +4 -17
- package/dist/m365/spo/commands/customaction/customaction-remove.js +1 -1
- package/dist/m365/spo/commands/eventreceiver/eventreceiver-get.js +44 -28
- package/dist/m365/spo/commands/eventreceiver/eventreceiver-list.js +3 -10
- package/dist/m365/spo/commands/eventreceiver/eventreceiver-remove.js +3 -9
- package/dist/m365/spo/commands/feature/feature-list.js +4 -11
- package/dist/m365/spo/commands/field/field-get.js +1 -1
- package/dist/m365/spo/commands/field/field-list.js +3 -10
- package/dist/m365/spo/commands/field/field-remove.js +1 -1
- package/dist/m365/spo/commands/field/field-set.js +1 -1
- package/dist/m365/spo/commands/file/file-checkin.js +1 -1
- package/dist/m365/spo/commands/file/file-checkout.js +1 -1
- package/dist/m365/spo/commands/file/file-get.js +28 -2
- package/dist/m365/spo/commands/file/file-remove.js +1 -1
- package/dist/m365/spo/commands/file/file-roleassignment-add.js +1 -1
- package/dist/m365/spo/commands/file/file-roleassignment-remove.js +1 -1
- package/dist/m365/spo/commands/file/file-roleinheritance-break.js +1 -1
- package/dist/m365/spo/commands/file/file-roleinheritance-reset.js +1 -1
- package/dist/m365/spo/commands/file/file-sharinginfo-get.js +1 -1
- package/dist/m365/spo/commands/file/file-version-clear.js +1 -1
- package/dist/m365/spo/commands/file/file-version-get.js +1 -1
- package/dist/m365/spo/commands/file/file-version-list.js +7 -11
- package/dist/m365/spo/commands/file/file-version-remove.js +1 -1
- package/dist/m365/spo/commands/file/file-version-restore.js +1 -1
- package/dist/m365/spo/commands/folder/folder-get.js +30 -5
- package/dist/m365/spo/commands/folder/folder-list.js +4 -11
- package/dist/m365/spo/commands/group/group-add.js +1 -1
- package/dist/m365/spo/commands/group/group-get.js +1 -1
- package/dist/m365/spo/commands/group/group-list.js +4 -9
- package/dist/m365/spo/commands/group/group-member-add.js +1 -1
- package/dist/m365/spo/commands/group/group-member-list.js +4 -11
- package/dist/m365/spo/commands/group/group-member-remove.js +1 -1
- package/dist/m365/spo/commands/group/group-remove.js +1 -1
- package/dist/m365/spo/commands/group/group-set.js +1 -1
- package/dist/m365/spo/commands/hubsite/hubsite-connect.js +1 -1
- package/dist/m365/spo/commands/hubsite/hubsite-disconnect.js +1 -1
- package/dist/m365/spo/commands/hubsite/hubsite-get.js +1 -1
- package/dist/m365/spo/commands/hubsite/hubsite-list.js +4 -10
- package/dist/m365/spo/commands/list/list-contenttype-add.js +1 -1
- package/dist/m365/spo/commands/list/list-contenttype-default-set.js +1 -1
- package/dist/m365/spo/commands/list/list-contenttype-list.js +4 -12
- package/dist/m365/spo/commands/list/list-contenttype-remove.js +1 -1
- package/dist/m365/spo/commands/list/list-get.js +13 -5
- package/dist/m365/spo/commands/list/list-label-get.js +34 -22
- package/dist/m365/spo/commands/list/list-label-set.js +1 -1
- package/dist/m365/spo/commands/list/list-list.js +4 -12
- package/dist/m365/spo/commands/list/list-remove.js +1 -1
- package/dist/m365/spo/commands/list/list-roleassignment-add.js +1 -1
- package/dist/m365/spo/commands/list/list-roleassignment-remove.js +1 -1
- package/dist/m365/spo/commands/list/list-roleinheritance-break.js +1 -1
- package/dist/m365/spo/commands/list/list-roleinheritance-reset.js +1 -1
- package/dist/m365/spo/commands/list/list-set.js +1 -1
- package/dist/m365/spo/commands/list/list-sitescript-get.js +35 -24
- package/dist/m365/spo/commands/list/list-view-add.js +1 -1
- package/dist/m365/spo/commands/list/list-view-field-add.js +1 -1
- package/dist/m365/spo/commands/list/list-view-field-remove.js +1 -1
- package/dist/m365/spo/commands/list/list-view-field-set.js +1 -1
- package/dist/m365/spo/commands/list/list-view-get.js +1 -1
- package/dist/m365/spo/commands/list/list-view-list.js +4 -11
- package/dist/m365/spo/commands/list/list-view-remove.js +1 -1
- package/dist/m365/spo/commands/list/list-view-set.js +1 -1
- package/dist/m365/spo/commands/list/list-webhook-add.js +1 -1
- package/dist/m365/spo/commands/list/list-webhook-get.js +1 -1
- package/dist/m365/spo/commands/list/list-webhook-list.js +6 -14
- package/dist/m365/spo/commands/list/list-webhook-remove.js +1 -1
- package/dist/m365/spo/commands/list/list-webhook-set.js +1 -1
- package/dist/m365/spo/commands/listitem/listitem-add.js +1 -1
- package/dist/m365/spo/commands/listitem/listitem-attachment-list.js +1 -1
- package/dist/m365/spo/commands/listitem/listitem-batch-add.js +202 -0
- package/dist/m365/spo/commands/listitem/listitem-get.js +28 -5
- package/dist/m365/spo/commands/listitem/listitem-isrecord.js +1 -1
- package/dist/m365/spo/commands/listitem/listitem-list.js +1 -1
- package/dist/m365/spo/commands/listitem/listitem-record-declare.js +1 -1
- package/dist/m365/spo/commands/listitem/listitem-record-undeclare.js +1 -1
- package/dist/m365/spo/commands/listitem/listitem-remove.js +1 -1
- package/dist/m365/spo/commands/listitem/listitem-roleassignment-remove.js +1 -1
- package/dist/m365/spo/commands/listitem/listitem-roleinheritance-break.js +1 -1
- package/dist/m365/spo/commands/listitem/listitem-roleinheritance-reset.js +1 -1
- package/dist/m365/spo/commands/listitem/listitem-set.js +1 -1
- package/dist/m365/spo/commands/navigation/navigation-node-list.js +3 -10
- package/dist/m365/spo/commands/page/page-clientsidewebpart-add.js +1 -1
- package/dist/m365/spo/commands/page/page-list.js +7 -21
- package/dist/m365/spo/commands/page/page-set.js +36 -3
- package/dist/m365/spo/commands/page/page-template-list.js +4 -11
- package/dist/m365/spo/commands/roledefinition/roledefinition-list.js +3 -10
- package/dist/m365/spo/commands/site/site-apppermission-add.js +1 -1
- package/dist/m365/spo/commands/site/site-apppermission-remove.js +1 -1
- package/dist/m365/spo/commands/site/site-apppermission-set.js +1 -1
- package/dist/m365/spo/commands/sitedesign/sitedesign-get.js +1 -1
- package/dist/m365/spo/commands/term/term-add.js +1 -1
- package/dist/m365/spo/commands/term/term-get.js +1 -1
- package/dist/m365/spo/commands/term/term-group-get.js +1 -1
- package/dist/m365/spo/commands/term/term-list.js +1 -1
- package/dist/m365/spo/commands/term/term-set-add.js +1 -1
- package/dist/m365/spo/commands/term/term-set-get.js +1 -1
- package/dist/m365/spo/commands/term/term-set-list.js +1 -1
- package/dist/m365/spo/commands/user/user-get.js +1 -1
- package/dist/m365/spo/commands/user/user-remove.js +1 -1
- package/dist/m365/spo/commands/web/web-get.js +24 -1
- package/dist/m365/spo/commands/web/web-list.js +3 -10
- package/dist/m365/spo/commands/web/web-roleassignment-add.js +1 -1
- package/dist/m365/spo/commands/web/web-roleassignment-remove.js +1 -1
- package/dist/m365/spo/commands.js +1 -0
- package/dist/m365/teams/commands/app/app-install.js +1 -1
- package/dist/m365/teams/commands/app/app-update.js +1 -1
- package/dist/m365/teams/commands/cache/cache-remove.js +41 -10
- package/dist/m365/teams/commands/channel/channel-add.js +1 -1
- package/dist/m365/teams/commands/channel/channel-get.js +1 -1
- package/dist/m365/teams/commands/channel/channel-list.js +1 -1
- package/dist/m365/teams/commands/channel/channel-member-add.js +1 -1
- package/dist/m365/teams/commands/channel/channel-member-list.js +1 -1
- package/dist/m365/teams/commands/channel/channel-member-remove.js +1 -1
- package/dist/m365/teams/commands/channel/channel-member-set.js +1 -1
- package/dist/m365/teams/commands/channel/channel-remove.js +1 -1
- package/dist/m365/teams/commands/channel/channel-set.js +1 -1
- package/dist/m365/teams/commands/chat/chat-get.js +1 -1
- package/dist/m365/teams/commands/chat/chat-message-send.js +1 -1
- package/dist/m365/teams/commands/meeting/meeting-get.js +134 -0
- package/dist/m365/teams/commands/tab/tab-get.js +1 -1
- package/dist/m365/teams/commands/team/team-archive.js +1 -1
- package/dist/m365/teams/commands/team/team-clone.js +1 -1
- package/dist/m365/teams/commands/team/team-get.js +1 -1
- package/dist/m365/teams/commands/team/team-remove.js +1 -1
- package/dist/m365/teams/commands/team/team-unarchive.js +1 -1
- package/dist/m365/teams/commands/user/user-app-list.js +1 -1
- package/dist/m365/teams/commands.js +1 -0
- package/dist/m365/todo/commands/list/list-get.js +1 -1
- package/dist/m365/todo/commands/list/list-remove.js +1 -1
- package/dist/m365/todo/commands/list/list-set.js +1 -1
- package/dist/m365/todo/commands/task/task-add.js +1 -1
- package/dist/m365/todo/commands/task/task-get.js +1 -1
- package/dist/m365/todo/commands/task/task-list.js +1 -1
- package/dist/m365/todo/commands/task/task-remove.js +1 -1
- package/dist/m365/todo/commands/task/task-set.js +1 -1
- package/dist/settingsNames.js +1 -0
- package/dist/utils/formatting.js +15 -15
- package/dist/utils/odata.js +2 -1
- package/docs/docs/_clisettings.md +1 -0
- package/docs/docs/cmd/_global.md +2 -2
- package/docs/docs/cmd/aad/user/user-guest-add.md +1 -1
- package/docs/docs/cmd/app/app-open.md +1 -1
- package/docs/docs/cmd/flow/environment/environment-get.md +100 -0
- package/docs/docs/cmd/flow/environment/environment-list.md +97 -0
- package/docs/docs/cmd/flow/flow-disable.md +7 -3
- package/docs/docs/cmd/flow/flow-enable.md +4 -0
- package/docs/docs/cmd/flow/flow-export.md +20 -0
- package/docs/docs/cmd/flow/flow-get.md +372 -0
- package/docs/docs/cmd/flow/flow-list.md +107 -0
- package/docs/docs/cmd/flow/flow-remove.md +4 -0
- package/docs/docs/cmd/flow/run/run-cancel.md +4 -0
- package/docs/docs/cmd/flow/run/run-get.md +72 -0
- package/docs/docs/cmd/flow/run/run-list.md +68 -0
- package/docs/docs/cmd/flow/run/run-resubmit.md +4 -0
- package/docs/docs/cmd/pp/card/card-clone.md +1 -1
- package/docs/docs/cmd/pp/card/card-get.md +1 -1
- package/docs/docs/cmd/pp/card/card-list.md +1 -1
- package/docs/docs/cmd/pp/dataverse/dataverse-table-get.md +1 -1
- package/docs/docs/cmd/pp/dataverse/dataverse-table-list.md +1 -1
- package/docs/docs/cmd/pp/dataverse/dataverse-table-remove.md +1 -1
- package/docs/docs/cmd/pp/environment/environment-get.md +1 -1
- package/docs/docs/cmd/pp/environment/environment-list.md +1 -1
- package/docs/docs/cmd/pp/solution/solution-get.md +1 -1
- package/docs/docs/cmd/pp/solution/solution-list.md +1 -1
- package/docs/docs/cmd/pp/solution/solution-publisher-get.md +1 -1
- package/docs/docs/cmd/pp/solution/solution-publisher-list.md +1 -1
- package/docs/docs/cmd/spfx/package/package-generate.md +4 -0
- package/docs/docs/cmd/spfx/project/project-doctor.md +92 -0
- package/docs/docs/cmd/spfx/project/project-externalize.md +116 -0
- package/docs/docs/cmd/spfx/project/project-rename.md +6 -2
- package/docs/docs/cmd/spfx/project/project-upgrade.md +101 -1
- package/docs/docs/cmd/spfx/spfx-doctor.md +38 -0
- package/docs/docs/cmd/spo/eventreceiver/eventreceiver-get.md +42 -2
- package/docs/docs/cmd/spo/file/file-get.md +219 -8
- package/docs/docs/cmd/spo/file/file-version-list.md +5 -5
- package/docs/docs/cmd/spo/folder/folder-get.md +11 -0
- package/docs/docs/cmd/spo/homesite/homesite-get.md +31 -0
- package/docs/docs/cmd/spo/homesite/homesite-remove.md +20 -0
- package/docs/docs/cmd/spo/homesite/homesite-set.md +20 -0
- package/docs/docs/cmd/spo/hubsite/hubsite-data-get.md +57 -0
- package/docs/docs/cmd/spo/hubsite/hubsite-get.md +89 -0
- package/docs/docs/cmd/spo/hubsite/hubsite-list.md +94 -0
- package/docs/docs/cmd/spo/hubsite/hubsite-register.md +53 -0
- package/docs/docs/cmd/spo/hubsite/hubsite-rights-grant.md +4 -0
- package/docs/docs/cmd/spo/hubsite/hubsite-rights-revoke.md +4 -0
- package/docs/docs/cmd/spo/hubsite/hubsite-set.md +45 -0
- package/docs/docs/cmd/spo/hubsite/hubsite-unregister.md +4 -0
- package/docs/docs/cmd/spo/knowledgehub/knowledgehub-get.md +20 -0
- package/docs/docs/cmd/spo/knowledgehub/knowledgehub-remove.md +20 -0
- package/docs/docs/cmd/spo/knowledgehub/knowledgehub-set.md +20 -0
- package/docs/docs/cmd/spo/list/list-add.md +133 -0
- package/docs/docs/cmd/spo/list/list-contenttype-add.md +88 -1
- package/docs/docs/cmd/spo/list/list-contenttype-default-set.md +4 -0
- package/docs/docs/cmd/spo/list/list-contenttype-list.md +60 -0
- package/docs/docs/cmd/spo/list/list-contenttype-remove.md +4 -0
- package/docs/docs/cmd/spo/list/list-get.md +154 -6
- package/docs/docs/cmd/spo/list/list-label-get.md +83 -7
- package/docs/docs/cmd/spo/list/list-label-set.md +4 -0
- package/docs/docs/cmd/spo/list/list-list.md +89 -0
- package/docs/docs/cmd/spo/list/list-remove.md +4 -0
- package/docs/docs/cmd/spo/list/list-roleassignment-add.md +4 -0
- package/docs/docs/cmd/spo/list/list-roleassignment-remove.md +4 -0
- package/docs/docs/cmd/spo/list/list-roleinheritance-break.md +4 -0
- package/docs/docs/cmd/spo/list/list-roleinheritance-reset.md +4 -0
- package/docs/docs/cmd/spo/list/list-set.md +4 -0
- package/docs/docs/cmd/spo/list/list-sitescript-get.md +94 -8
- package/docs/docs/cmd/spo/list/list-view-add.md +121 -0
- package/docs/docs/cmd/spo/list/list-view-field-add.md +3 -0
- package/docs/docs/cmd/spo/list/list-view-field-remove.md +4 -0
- package/docs/docs/cmd/spo/list/list-view-field-set.md +3 -0
- package/docs/docs/cmd/spo/list/list-view-get.md +121 -0
- package/docs/docs/cmd/spo/list/list-view-list.md +78 -0
- package/docs/docs/cmd/spo/list/list-view-remove.md +4 -0
- package/docs/docs/cmd/spo/list/list-view-set.md +4 -0
- package/docs/docs/cmd/spo/list/list-webhook-add.md +33 -0
- package/docs/docs/cmd/spo/list/list-webhook-get.md +33 -0
- package/docs/docs/cmd/spo/list/list-webhook-list.md +32 -0
- package/docs/docs/cmd/spo/list/list-webhook-remove.md +4 -0
- package/docs/docs/cmd/spo/listitem/listitem-add.md +59 -0
- package/docs/docs/cmd/spo/listitem/listitem-attachment-list.md +34 -0
- package/docs/docs/cmd/spo/listitem/listitem-batch-add.md +61 -0
- package/docs/docs/cmd/spo/listitem/listitem-get.md +188 -4
- package/docs/docs/cmd/spo/listitem/listitem-isrecord.md +19 -0
- package/docs/docs/cmd/spo/listitem/listitem-list.md +41 -0
- package/docs/docs/cmd/spo/listitem/listitem-record-declare.md +29 -0
- package/docs/docs/cmd/spo/listitem/listitem-record-undeclare.md +4 -0
- package/docs/docs/cmd/spo/listitem/listitem-remove.md +4 -0
- package/docs/docs/cmd/spo/listitem/listitem-roleassignment-add.md +5 -1
- package/docs/docs/cmd/spo/listitem/listitem-roleassignment-remove.md +4 -0
- package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-break.md +5 -1
- package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-reset.md +4 -0
- package/docs/docs/cmd/spo/listitem/listitem-set.md +59 -0
- package/docs/docs/cmd/spo/mail/mail-send.md +4 -0
- package/docs/docs/cmd/spo/navigation/navigation-node-add.md +39 -0
- package/docs/docs/cmd/spo/navigation/navigation-node-list.md +29 -0
- package/docs/docs/cmd/spo/navigation/navigation-node-remove.md +4 -0
- package/docs/docs/cmd/spo/page/page-add.md +2 -2
- package/docs/docs/cmd/spo/page/page-set.md +15 -2
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-add.md +3 -1
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-list.md +3 -1
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-revoke.md +3 -3
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-approve.md +3 -3
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-deny.md +3 -3
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-list.md +3 -1
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-set.md +3 -3
- package/docs/docs/cmd/spo/web/web-get.md +258 -2
- package/docs/docs/cmd/teams/meeting/meeting-get.md +159 -0
- package/package.json +2 -1
- package/dist/m365/spo/commands/group/GroupPropertiesCollection.js +0 -3
- package/dist/m365/spo/commands/list/ListInstanceCollection.js +0 -3
- package/dist/m365/spo/commands/page/PageTemplateResponse.js +0 -3
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
12
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
13
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
14
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
15
|
+
};
|
|
16
|
+
var _TeamsMeetingGetCommand_instances, _TeamsMeetingGetCommand_initTelemetry, _TeamsMeetingGetCommand_initOptions, _TeamsMeetingGetCommand_initValidators;
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
const Auth_1 = require("../../../../Auth");
|
|
19
|
+
const Cli_1 = require("../../../../cli/Cli");
|
|
20
|
+
const request_1 = require("../../../../request");
|
|
21
|
+
const GraphCommand_1 = require("../../../base/GraphCommand");
|
|
22
|
+
const commands_1 = require("../../commands");
|
|
23
|
+
const validation_1 = require("../../../../utils/validation");
|
|
24
|
+
const accessToken_1 = require("../../../../utils/accessToken");
|
|
25
|
+
const AadUserGetCommand = require("../../../aad/commands/user/user-get");
|
|
26
|
+
class TeamsMeetingGetCommand extends GraphCommand_1.default {
|
|
27
|
+
constructor() {
|
|
28
|
+
super();
|
|
29
|
+
_TeamsMeetingGetCommand_instances.add(this);
|
|
30
|
+
__classPrivateFieldGet(this, _TeamsMeetingGetCommand_instances, "m", _TeamsMeetingGetCommand_initTelemetry).call(this);
|
|
31
|
+
__classPrivateFieldGet(this, _TeamsMeetingGetCommand_instances, "m", _TeamsMeetingGetCommand_initOptions).call(this);
|
|
32
|
+
__classPrivateFieldGet(this, _TeamsMeetingGetCommand_instances, "m", _TeamsMeetingGetCommand_initValidators).call(this);
|
|
33
|
+
}
|
|
34
|
+
get name() {
|
|
35
|
+
return commands_1.default.MEETING_GET;
|
|
36
|
+
}
|
|
37
|
+
get description() {
|
|
38
|
+
return 'Get specified meeting details';
|
|
39
|
+
}
|
|
40
|
+
getUserId(options) {
|
|
41
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
42
|
+
const commandOptions = {
|
|
43
|
+
email: options.email,
|
|
44
|
+
userName: options.userName,
|
|
45
|
+
output: 'json',
|
|
46
|
+
debug: this.debug,
|
|
47
|
+
verbose: this.verbose
|
|
48
|
+
};
|
|
49
|
+
const output = yield Cli_1.Cli.executeCommandWithOutput(AadUserGetCommand, { options: Object.assign(Object.assign({}, commandOptions), { _: [] }) });
|
|
50
|
+
const getUserOutput = JSON.parse(output.stdout);
|
|
51
|
+
return getUserOutput.id;
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
commandAction(logger, args) {
|
|
55
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
56
|
+
const isAppOnlyAuth = accessToken_1.accessToken.isAppOnlyAccessToken(Auth_1.default.service.accessTokens[this.resource].accessToken);
|
|
57
|
+
if (isAppOnlyAuth) {
|
|
58
|
+
if (!args.options.userId && !args.options.userName && !args.options.email) {
|
|
59
|
+
this.handleError(`The option 'userId', 'userName' or 'email' is required when retrieving meetings using app only permissions`);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
else {
|
|
63
|
+
if (!isAppOnlyAuth && (args.options.userId || args.options.userName || args.options.email)) {
|
|
64
|
+
this.handleError(`The options 'userId', 'userName' and 'email' cannot be used when retrieving meetings using delegated permissions`);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
if (this.verbose) {
|
|
68
|
+
logger.logToStderr(`Retrieving meeting for ${isAppOnlyAuth ? 'specific user' : 'currently logged in user'}`);
|
|
69
|
+
}
|
|
70
|
+
try {
|
|
71
|
+
let requestUrl = `${this.resource}/v1.0/`;
|
|
72
|
+
if (isAppOnlyAuth) {
|
|
73
|
+
requestUrl += 'users/';
|
|
74
|
+
if (args.options.userId) {
|
|
75
|
+
requestUrl += args.options.userId;
|
|
76
|
+
}
|
|
77
|
+
else {
|
|
78
|
+
const userId = yield this.getUserId(args.options);
|
|
79
|
+
requestUrl += userId;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
else {
|
|
83
|
+
requestUrl += `me`;
|
|
84
|
+
}
|
|
85
|
+
requestUrl += `/onlineMeetings?$filter=JoinWebUrl eq '${encodeURIComponent(args.options.joinUrl)}'`;
|
|
86
|
+
const requestOptions = {
|
|
87
|
+
url: requestUrl,
|
|
88
|
+
headers: {
|
|
89
|
+
accept: 'application/json;odata.metadata=none'
|
|
90
|
+
},
|
|
91
|
+
responseType: 'json'
|
|
92
|
+
};
|
|
93
|
+
const res = yield request_1.default.get(requestOptions);
|
|
94
|
+
if (res.value.length > 0) {
|
|
95
|
+
logger.log(res.value[0]);
|
|
96
|
+
}
|
|
97
|
+
else {
|
|
98
|
+
throw `The specified meeting was not found`;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
catch (err) {
|
|
102
|
+
this.handleRejectedODataJsonPromise(err);
|
|
103
|
+
}
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
_TeamsMeetingGetCommand_instances = new WeakSet(), _TeamsMeetingGetCommand_initTelemetry = function _TeamsMeetingGetCommand_initTelemetry() {
|
|
108
|
+
this.telemetry.push((args) => {
|
|
109
|
+
Object.assign(this.telemetryProperties, {
|
|
110
|
+
userId: typeof args.options.userId !== 'undefined',
|
|
111
|
+
userName: typeof args.options.userName !== 'undefined',
|
|
112
|
+
email: typeof args.options.email !== 'undefined'
|
|
113
|
+
});
|
|
114
|
+
});
|
|
115
|
+
}, _TeamsMeetingGetCommand_initOptions = function _TeamsMeetingGetCommand_initOptions() {
|
|
116
|
+
this.options.unshift({
|
|
117
|
+
option: '-u, --userId [userId]'
|
|
118
|
+
}, {
|
|
119
|
+
option: '-n, --userName [userName]'
|
|
120
|
+
}, {
|
|
121
|
+
option: '--email [email]'
|
|
122
|
+
}, {
|
|
123
|
+
option: '-j, --joinUrl <joinUrl>'
|
|
124
|
+
});
|
|
125
|
+
}, _TeamsMeetingGetCommand_initValidators = function _TeamsMeetingGetCommand_initValidators() {
|
|
126
|
+
this.validators.push((args) => __awaiter(this, void 0, void 0, function* () {
|
|
127
|
+
if (args.options.userId && !validation_1.validation.isValidGuid(args.options.userId)) {
|
|
128
|
+
return `${args.options.userId} is not a valid Guid`;
|
|
129
|
+
}
|
|
130
|
+
return true;
|
|
131
|
+
}));
|
|
132
|
+
};
|
|
133
|
+
module.exports = new TeamsMeetingGetCommand();
|
|
134
|
+
//# sourceMappingURL=meeting-get.js.map
|
|
@@ -155,7 +155,7 @@ _TeamsTabGetCommand_instances = new WeakSet(), _TeamsTabGetCommand_initTelemetry
|
|
|
155
155
|
return true;
|
|
156
156
|
}));
|
|
157
157
|
}, _TeamsTabGetCommand_initOptionSets = function _TeamsTabGetCommand_initOptionSets() {
|
|
158
|
-
this.optionSets.push(['teamId', 'teamName'], ['channelId', 'channelName'], ['id', 'name']);
|
|
158
|
+
this.optionSets.push({ options: ['teamId', 'teamName'] }, { options: ['channelId', 'channelName'] }, { options: ['id', 'name'] });
|
|
159
159
|
};
|
|
160
160
|
module.exports = new TeamsTabGetCommand();
|
|
161
161
|
//# sourceMappingURL=tab-get.js.map
|
|
@@ -97,7 +97,7 @@ _TeamsTeamArchiveCommand_instances = new WeakSet(), _TeamsTeamArchiveCommand_ini
|
|
|
97
97
|
return true;
|
|
98
98
|
}));
|
|
99
99
|
}, _TeamsTeamArchiveCommand_initOptionSets = function _TeamsTeamArchiveCommand_initOptionSets() {
|
|
100
|
-
this.optionSets.push(['id', 'name']);
|
|
100
|
+
this.optionSets.push({ options: ['id', 'name'] });
|
|
101
101
|
};
|
|
102
102
|
module.exports = new TeamsTeamArchiveCommand();
|
|
103
103
|
//# sourceMappingURL=team-archive.js.map
|
|
@@ -135,7 +135,7 @@ _TeamsTeamCloneCommand_instances = new WeakSet(), _TeamsTeamCloneCommand_initTel
|
|
|
135
135
|
return true;
|
|
136
136
|
}));
|
|
137
137
|
}, _TeamsTeamCloneCommand_initOptionSets = function _TeamsTeamCloneCommand_initOptionSets() {
|
|
138
|
-
this.optionSets.push(['id', 'name']);
|
|
138
|
+
this.optionSets.push({ options: ['id', 'name'] });
|
|
139
139
|
};
|
|
140
140
|
module.exports = new TeamsTeamCloneCommand();
|
|
141
141
|
//# sourceMappingURL=team-clone.js.map
|
|
@@ -90,7 +90,7 @@ _TeamsTeamGetCommand_instances = new WeakSet(), _TeamsTeamGetCommand_initTelemet
|
|
|
90
90
|
return true;
|
|
91
91
|
}));
|
|
92
92
|
}, _TeamsTeamGetCommand_initOptionSets = function _TeamsTeamGetCommand_initOptionSets() {
|
|
93
|
-
this.optionSets.push(['id', 'name']);
|
|
93
|
+
this.optionSets.push({ options: ['id', 'name'] });
|
|
94
94
|
};
|
|
95
95
|
module.exports = new TeamsTeamGetCommand();
|
|
96
96
|
//# sourceMappingURL=team-get.js.map
|
|
@@ -107,7 +107,7 @@ _TeamsTeamRemoveCommand_instances = new WeakSet(), _TeamsTeamRemoveCommand_initT
|
|
|
107
107
|
return true;
|
|
108
108
|
}));
|
|
109
109
|
}, _TeamsTeamRemoveCommand_initOptionSets = function _TeamsTeamRemoveCommand_initOptionSets() {
|
|
110
|
-
this.optionSets.push(['id', 'name']);
|
|
110
|
+
this.optionSets.push({ options: ['id', 'name'] });
|
|
111
111
|
};
|
|
112
112
|
module.exports = new TeamsTeamRemoveCommand();
|
|
113
113
|
//# sourceMappingURL=team-remove.js.map
|
|
@@ -83,7 +83,7 @@ _TeamsTeamUnarchiveCommand_instances = new WeakSet(), _TeamsTeamUnarchiveCommand
|
|
|
83
83
|
return true;
|
|
84
84
|
}));
|
|
85
85
|
}, _TeamsTeamUnarchiveCommand_initOptionSets = function _TeamsTeamUnarchiveCommand_initOptionSets() {
|
|
86
|
-
this.optionSets.push(['id', 'name']);
|
|
86
|
+
this.optionSets.push({ options: ['id', 'name'] });
|
|
87
87
|
};
|
|
88
88
|
module.exports = new TeamsTeamUnarchiveCommand();
|
|
89
89
|
//# sourceMappingURL=team-unarchive.js.map
|
|
@@ -104,7 +104,7 @@ _TeamsUserAppListCommand_instances = new WeakSet(), _TeamsUserAppListCommand_ini
|
|
|
104
104
|
return true;
|
|
105
105
|
}));
|
|
106
106
|
}, _TeamsUserAppListCommand_initOptionSets = function _TeamsUserAppListCommand_initOptionSets() {
|
|
107
|
-
this.optionSets.push(['userId', 'userName']);
|
|
107
|
+
this.optionSets.push({ options: ['userId', 'userName'] });
|
|
108
108
|
};
|
|
109
109
|
module.exports = new TeamsUserAppListCommand();
|
|
110
110
|
//# sourceMappingURL=user-app-list.js.map
|
|
@@ -27,6 +27,7 @@ exports.default = {
|
|
|
27
27
|
FUNSETTINGS_SET: `${prefix} funsettings set`,
|
|
28
28
|
GUESTSETTINGS_LIST: `${prefix} guestsettings list`,
|
|
29
29
|
GUESTSETTINGS_SET: `${prefix} guestsettings set`,
|
|
30
|
+
MEETING_GET: `${prefix} meeting get`,
|
|
30
31
|
MEETING_LIST: `${prefix} meeting list`,
|
|
31
32
|
MEMBERSETTINGS_LIST: `${prefix} membersettings list`,
|
|
32
33
|
MEMBERSETTINGS_SET: `${prefix} membersettings set`,
|
|
@@ -83,7 +83,7 @@ _TodoListGetCommand_instances = new WeakSet(), _TodoListGetCommand_initTelemetry
|
|
|
83
83
|
option: '-n, --name [name]'
|
|
84
84
|
});
|
|
85
85
|
}, _TodoListGetCommand_initOptionSets = function _TodoListGetCommand_initOptionSets() {
|
|
86
|
-
this.optionSets.push(['id', 'name']);
|
|
86
|
+
this.optionSets.push({ options: ['id', 'name'] });
|
|
87
87
|
};
|
|
88
88
|
module.exports = new TodoListGetCommand();
|
|
89
89
|
//# sourceMappingURL=list-get.js.map
|
|
@@ -103,7 +103,7 @@ _TodoListRemoveCommand_instances = new WeakSet(), _TodoListRemoveCommand_initTel
|
|
|
103
103
|
option: '--confirm'
|
|
104
104
|
});
|
|
105
105
|
}, _TodoListRemoveCommand_initOptionSets = function _TodoListRemoveCommand_initOptionSets() {
|
|
106
|
-
this.optionSets.push(['name', 'id']);
|
|
106
|
+
this.optionSets.push({ options: ['name', 'id'] });
|
|
107
107
|
};
|
|
108
108
|
module.exports = new TodoListRemoveCommand();
|
|
109
109
|
//# sourceMappingURL=list-remove.js.map
|
|
@@ -92,7 +92,7 @@ _TodoListSetCommand_instances = new WeakSet(), _TodoListSetCommand_initTelemetry
|
|
|
92
92
|
option: '--newName <newName>'
|
|
93
93
|
});
|
|
94
94
|
}, _TodoListSetCommand_initOptionSets = function _TodoListSetCommand_initOptionSets() {
|
|
95
|
-
this.optionSets.push(['name', 'id']);
|
|
95
|
+
this.optionSets.push({ options: ['name', 'id'] });
|
|
96
96
|
};
|
|
97
97
|
module.exports = new TodoListSetCommand();
|
|
98
98
|
//# sourceMappingURL=list-set.js.map
|
|
@@ -145,7 +145,7 @@ _TodoTaskAddCommand_instances = new WeakSet(), _TodoTaskAddCommand_initTelemetry
|
|
|
145
145
|
return true;
|
|
146
146
|
}));
|
|
147
147
|
}, _TodoTaskAddCommand_initOptionSets = function _TodoTaskAddCommand_initOptionSets() {
|
|
148
|
-
this.optionSets.push(['listId', 'listName']);
|
|
148
|
+
this.optionSets.push({ options: ['listId', 'listName'] });
|
|
149
149
|
};
|
|
150
150
|
module.exports = new TodoTaskAddCommand();
|
|
151
151
|
//# sourceMappingURL=task-add.js.map
|
|
@@ -102,7 +102,7 @@ _TodoTaskGetCommand_instances = new WeakSet(), _TodoTaskGetCommand_initTelemetry
|
|
|
102
102
|
option: '--listId [listId]'
|
|
103
103
|
});
|
|
104
104
|
}, _TodoTaskGetCommand_initOptionSets = function _TodoTaskGetCommand_initOptionSets() {
|
|
105
|
-
this.optionSets.push(['listId', 'listName']);
|
|
105
|
+
this.optionSets.push({ options: ['listId', 'listName'] });
|
|
106
106
|
};
|
|
107
107
|
module.exports = new TodoTaskGetCommand();
|
|
108
108
|
//# sourceMappingURL=task-get.js.map
|
|
@@ -97,7 +97,7 @@ _TodoTaskListCommand_instances = new WeakSet(), _TodoTaskListCommand_initTelemet
|
|
|
97
97
|
option: '--listId [listId]'
|
|
98
98
|
});
|
|
99
99
|
}, _TodoTaskListCommand_initOptionSets = function _TodoTaskListCommand_initOptionSets() {
|
|
100
|
-
this.optionSets.push(['listId', 'listName']);
|
|
100
|
+
this.optionSets.push({ options: ['listId', 'listName'] });
|
|
101
101
|
};
|
|
102
102
|
module.exports = new TodoTaskListCommand();
|
|
103
103
|
//# sourceMappingURL=task-list.js.map
|
|
@@ -105,7 +105,7 @@ _TodoTaskRemoveCommand_instances = new WeakSet(), _TodoTaskRemoveCommand_initTel
|
|
|
105
105
|
option: '--confirm'
|
|
106
106
|
});
|
|
107
107
|
}, _TodoTaskRemoveCommand_initOptionSets = function _TodoTaskRemoveCommand_initOptionSets() {
|
|
108
|
-
this.optionSets.push(['listName', 'listId']);
|
|
108
|
+
this.optionSets.push({ options: ['listName', 'listId'] });
|
|
109
109
|
};
|
|
110
110
|
module.exports = new TodoTaskRemoveCommand();
|
|
111
111
|
//# sourceMappingURL=task-remove.js.map
|
|
@@ -175,7 +175,7 @@ _TodoTaskSetCommand_instances = new WeakSet(), _TodoTaskSetCommand_initTelemetry
|
|
|
175
175
|
return true;
|
|
176
176
|
}));
|
|
177
177
|
}, _TodoTaskSetCommand_initOptionSets = function _TodoTaskSetCommand_initOptionSets() {
|
|
178
|
-
this.optionSets.push(['listId', 'listName']);
|
|
178
|
+
this.optionSets.push({ options: ['listId', 'listName'] });
|
|
179
179
|
};
|
|
180
180
|
module.exports = new TodoTaskSetCommand();
|
|
181
181
|
//# sourceMappingURL=task-set.js.map
|
package/dist/settingsNames.js
CHANGED
package/dist/utils/formatting.js
CHANGED
|
@@ -38,21 +38,21 @@ exports.formatting = {
|
|
|
38
38
|
return filtered;
|
|
39
39
|
}, {});
|
|
40
40
|
},
|
|
41
|
-
parseCsvToJson(s) {
|
|
42
|
-
const
|
|
43
|
-
const
|
|
44
|
-
const
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
const
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
41
|
+
parseCsvToJson(s, quoteChar = '"', delimiter = ',') {
|
|
42
|
+
const regex = new RegExp(`\\s*(${quoteChar})?(.*?)\\1\\s*(?:${delimiter}|$)`, 'gs');
|
|
43
|
+
const lines = s.split('\n');
|
|
44
|
+
const match = (line) => [...line.matchAll(regex)]
|
|
45
|
+
.map(m => m[2]) // we only want the second capture group
|
|
46
|
+
.slice(0, -1); // cut off blank match at the end
|
|
47
|
+
const heads = match(lines[0]);
|
|
48
|
+
return lines.slice(1).map(line => {
|
|
49
|
+
return match(line).reduce((acc, cur, i) => {
|
|
50
|
+
const val = cur;
|
|
51
|
+
const numValue = parseInt(val);
|
|
52
|
+
const key = heads[i];
|
|
53
|
+
return Object.assign(Object.assign({}, acc), { [key]: isNaN(numValue) || numValue.toString() !== val ? val : numValue });
|
|
54
|
+
}, {});
|
|
55
|
+
});
|
|
56
56
|
},
|
|
57
57
|
encodeQueryParameter(value) {
|
|
58
58
|
if (!value) {
|
package/dist/utils/odata.js
CHANGED
|
@@ -19,7 +19,8 @@ exports.odata = {
|
|
|
19
19
|
const requestOptions = {
|
|
20
20
|
url: url,
|
|
21
21
|
headers: {
|
|
22
|
-
accept: `application/json;odata.metadata=${metadata !== null && metadata !== void 0 ? metadata : 'none'}
|
|
22
|
+
accept: `application/json;odata.metadata=${metadata !== null && metadata !== void 0 ? metadata : 'none'}`,
|
|
23
|
+
'odata-version': '4.0'
|
|
23
24
|
},
|
|
24
25
|
responseType: 'json'
|
|
25
26
|
};
|
|
@@ -12,6 +12,7 @@ Setting name|Definition|Default value
|
|
|
12
12
|
`csvQuoted`|Quote all the non-empty fields even if not required|`false`
|
|
13
13
|
`csvQuotedEmpty`|Quote empty strings and overrides quoted_string on empty strings when defined|`false`
|
|
14
14
|
`errorOutput`|Defines if errors should be written to `stdout` or `stderr`|`stderr`
|
|
15
|
+
`helpMode`|Defines what part of command's help to display. Allowed values are `options`, `examples`, `remarks`, `response`, `full`|`full`
|
|
15
16
|
`output`|Defines the default output when issuing a command|`json`
|
|
16
17
|
`printErrorsAsPlainText`|When output mode is set to `json`, print error messages as plain-text rather than JSON|`true`
|
|
17
18
|
`prompt`|Prompts for missing values in required options|`false`
|
package/docs/docs/cmd/_global.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
`-h, --help`
|
|
2
|
-
:
|
|
1
|
+
`-h, --help [help]`
|
|
2
|
+
: Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are `options`, `examples`, `remarks`, `response`, `full`. Default is `full`.
|
|
3
3
|
|
|
4
4
|
`--query [query]`
|
|
5
5
|
: JMESPath query string. See [http://jmespath.org/](http://jmespath.org/) for more information and examples
|
|
@@ -44,7 +44,7 @@ m365 aad user guest add --emailAddress john.doe@contoso.com --displayName "John
|
|
|
44
44
|
Invite a user with a custom email and custom redirect url
|
|
45
45
|
|
|
46
46
|
```sh
|
|
47
|
-
m365 aad user guest add --emailAddress john.doe@contoso.com --welcomeMessage "Hi John, welcome to the organization!" --sendInvitationMessage
|
|
47
|
+
m365 aad user guest add --emailAddress john.doe@contoso.com --welcomeMessage "Hi John, welcome to the organization!" --inviteRedirectUrl https://contoso.sharepoint.com --sendInvitationMessage
|
|
48
48
|
```
|
|
49
49
|
|
|
50
50
|
Invite a user and send an invitation mail in Dutch
|
|
@@ -29,3 +29,103 @@ Get information about the Microsoft Flow environment named _Default-d87a7535-dd3
|
|
|
29
29
|
```sh
|
|
30
30
|
m365 flow environment get --name Default-d87a7535-dd31-4437-bfe1-95340acd55c5
|
|
31
31
|
```
|
|
32
|
+
|
|
33
|
+
## Response
|
|
34
|
+
|
|
35
|
+
### Standard response
|
|
36
|
+
|
|
37
|
+
=== "JSON"
|
|
38
|
+
|
|
39
|
+
```json
|
|
40
|
+
{
|
|
41
|
+
"name": "Default-d87a7535-dd31-4437-bfe1-95340acd55c5",
|
|
42
|
+
"location": "india",
|
|
43
|
+
"type": "Microsoft.ProcessSimple/environments",
|
|
44
|
+
"id": "/providers/Microsoft.ProcessSimple/environments/Default-d87a7535-dd31-4437-bfe1-95340acd55c5",
|
|
45
|
+
"properties": {
|
|
46
|
+
"displayName": "contoso (default)",
|
|
47
|
+
"createdTime": "2019-12-21T18:32:11.8708704Z",
|
|
48
|
+
"createdBy": {
|
|
49
|
+
"id": "SYSTEM",
|
|
50
|
+
"displayName": "SYSTEM",
|
|
51
|
+
"type": "NotSpecified"
|
|
52
|
+
},
|
|
53
|
+
"provisioningState": "Succeeded",
|
|
54
|
+
"creationType": "DefaultTenant",
|
|
55
|
+
"environmentSku": "Default",
|
|
56
|
+
"environmentType": "NotSpecified",
|
|
57
|
+
"states": {
|
|
58
|
+
"management": {
|
|
59
|
+
"id": "NotSpecified"
|
|
60
|
+
},
|
|
61
|
+
"runtime": {
|
|
62
|
+
"runtimeReasonCode": "NotSpecified",
|
|
63
|
+
"requestedBy": {
|
|
64
|
+
"displayName": "SYSTEM",
|
|
65
|
+
"type": "NotSpecified"
|
|
66
|
+
},
|
|
67
|
+
"id": "Enabled"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"isDefault": true,
|
|
71
|
+
"isPayAsYouGoEnabled": false,
|
|
72
|
+
"azureRegionHint": "centralindia",
|
|
73
|
+
"runtimeEndpoints": {
|
|
74
|
+
"microsoft.BusinessAppPlatform": "https://india.api.bap.microsoft.com",
|
|
75
|
+
"microsoft.CommonDataModel": "https://india.api.cds.microsoft.com",
|
|
76
|
+
"microsoft.PowerApps": "https://india.api.powerapps.com",
|
|
77
|
+
"microsoft.PowerAppsAdvisor": "https://india.api.advisor.powerapps.com",
|
|
78
|
+
"microsoft.PowerVirtualAgents": "https://powervamg.in-il101.gateway.prod.island.powerapps.com",
|
|
79
|
+
"microsoft.ApiManagement": "https://management.INDIA.azure-apihub.net",
|
|
80
|
+
"microsoft.Flow": "https://india.api.flow.microsoft.com"
|
|
81
|
+
},
|
|
82
|
+
"linkedEnvironmentMetadata": {
|
|
83
|
+
"type": "NotSpecified",
|
|
84
|
+
"resourceId": "3aa550bf-52ac-42fc-98f7-5d1833c1501c",
|
|
85
|
+
"friendlyName": "contoso (default)",
|
|
86
|
+
"uniqueName": "orgfc80770f",
|
|
87
|
+
"domainName": "orgfc80770f",
|
|
88
|
+
"version": "9.2.22105.00154",
|
|
89
|
+
"instanceUrl": "https://orgfc80770f.crm8.dynamics.com/",
|
|
90
|
+
"instanceApiUrl": "https://orgfc80770f.api.crm8.dynamics.com",
|
|
91
|
+
"baseLanguage": 1033,
|
|
92
|
+
"instanceState": "Ready",
|
|
93
|
+
"createdTime": "2019-12-25T15:46:14.433Z"
|
|
94
|
+
},
|
|
95
|
+
"environmentFeatures": {
|
|
96
|
+
"isOpenApiEnabled": false
|
|
97
|
+
},
|
|
98
|
+
"cluster": {
|
|
99
|
+
"category": "Prod",
|
|
100
|
+
"number": "101",
|
|
101
|
+
"uriSuffix": "in-il101.gateway.prod.island",
|
|
102
|
+
"geoShortName": "IN",
|
|
103
|
+
"environment": "Prod"
|
|
104
|
+
},
|
|
105
|
+
"governanceConfiguration": {
|
|
106
|
+
"protectionLevel": "Basic"
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"displayName": "contoso (default)"
|
|
110
|
+
}
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
=== "Text"
|
|
114
|
+
|
|
115
|
+
```text
|
|
116
|
+
azureRegionHint : centralindia
|
|
117
|
+
displayName : contoso (default)
|
|
118
|
+
environmentSku : Default
|
|
119
|
+
id : /providers/Microsoft.ProcessSimple/environments/Default-d87a7535-dd31-4437-bfe1-95340acd55c5
|
|
120
|
+
isDefault : true
|
|
121
|
+
location : india
|
|
122
|
+
name : Default-d87a7535-dd31-4437-bfe1-95340acd55c5
|
|
123
|
+
provisioningState: Succeeded
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
=== "CSV"
|
|
127
|
+
|
|
128
|
+
```csv
|
|
129
|
+
name,id,location,displayName,provisioningState,environmentSku,azureRegionHint,isDefault
|
|
130
|
+
Default-d87a7535-dd31-4437-bfe1-95340acd55c5,/providers/Microsoft.ProcessSimple/environments/Default-d87a7535-dd31-4437-bfe1-95340acd55c5,india,contoso (default),Succeeded,Default,centralindia,1
|
|
131
|
+
```
|
|
@@ -24,3 +24,100 @@ List Microsoft Flow environments in the current tenant
|
|
|
24
24
|
```sh
|
|
25
25
|
m365 flow environment list
|
|
26
26
|
```
|
|
27
|
+
|
|
28
|
+
## Response
|
|
29
|
+
|
|
30
|
+
### Standard response
|
|
31
|
+
|
|
32
|
+
=== "JSON"
|
|
33
|
+
|
|
34
|
+
```json
|
|
35
|
+
[
|
|
36
|
+
{
|
|
37
|
+
"name": "d87a7535-dd31-4437-bfe1-95340acd55c5",
|
|
38
|
+
"location": "india",
|
|
39
|
+
"type": "Microsoft.ProcessSimple/environments",
|
|
40
|
+
"id": "/providers/Microsoft.ProcessSimple/environments/d87a7535-dd31-4437-bfe1-95340acd55c5",
|
|
41
|
+
"properties": {
|
|
42
|
+
"displayName": "Contoso Environment",
|
|
43
|
+
"createdTime": "2021-07-28T15:36:00.9624176Z",
|
|
44
|
+
"createdBy": {
|
|
45
|
+
"id": "SYSTEM",
|
|
46
|
+
"displayName": "SYSTEM",
|
|
47
|
+
"type": "NotSpecified"
|
|
48
|
+
},
|
|
49
|
+
"provisioningState": "Succeeded",
|
|
50
|
+
"creationType": "Developer",
|
|
51
|
+
"environmentSku": "Developer",
|
|
52
|
+
"environmentType": "NotSpecified",
|
|
53
|
+
"states": {
|
|
54
|
+
"management": {
|
|
55
|
+
"id": "NotSpecified"
|
|
56
|
+
},
|
|
57
|
+
"runtime": {
|
|
58
|
+
"runtimeReasonCode": "NotSpecified",
|
|
59
|
+
"requestedBy": {
|
|
60
|
+
"displayName": "SYSTEM",
|
|
61
|
+
"type": "NotSpecified"
|
|
62
|
+
},
|
|
63
|
+
"id": "Enabled"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"isDefault": false,
|
|
67
|
+
"isPayAsYouGoEnabled": false,
|
|
68
|
+
"azureRegionHint": "centralindia",
|
|
69
|
+
"runtimeEndpoints": {
|
|
70
|
+
"microsoft.BusinessAppPlatform": "https://india.api.bap.microsoft.com",
|
|
71
|
+
"microsoft.CommonDataModel": "https://india.api.cds.microsoft.com",
|
|
72
|
+
"microsoft.PowerApps": "https://india.api.powerapps.com",
|
|
73
|
+
"microsoft.PowerAppsAdvisor": "https://india.api.advisor.powerapps.com",
|
|
74
|
+
"microsoft.PowerVirtualAgents": "https://powervamg.in-il101.gateway.prod.island.powerapps.com",
|
|
75
|
+
"microsoft.ApiManagement": "https://management.INDIA.azure-apihub.net",
|
|
76
|
+
"microsoft.Flow": "https://india.api.flow.microsoft.com"
|
|
77
|
+
},
|
|
78
|
+
"linkedEnvironmentMetadata": {
|
|
79
|
+
"type": "NotSpecified",
|
|
80
|
+
"resourceId": "03ebcb5d-f16a-45ad-b326-ed1b5df98bc8",
|
|
81
|
+
"friendlyName": "Contoso Environment",
|
|
82
|
+
"uniqueName": "unq03ebcb5df16a45adb326ed1b5df98",
|
|
83
|
+
"domainName": "orgfc80770f",
|
|
84
|
+
"version": "9.2.22105.00154",
|
|
85
|
+
"instanceUrl": "https://orgfc80770f.crm8.dynamics.com/",
|
|
86
|
+
"instanceApiUrl": "https://orgfc80770f.api.crm8.dynamics.com",
|
|
87
|
+
"baseLanguage": 1033,
|
|
88
|
+
"instanceState": "Ready",
|
|
89
|
+
"createdTime": "2021-07-28T15:36:08.093Z"
|
|
90
|
+
},
|
|
91
|
+
"environmentFeatures": {
|
|
92
|
+
"isOpenApiEnabled": false
|
|
93
|
+
},
|
|
94
|
+
"cluster": {
|
|
95
|
+
"category": "Prod",
|
|
96
|
+
"number": "101",
|
|
97
|
+
"uriSuffix": "in-il101.gateway.prod.island",
|
|
98
|
+
"geoShortName": "IN",
|
|
99
|
+
"environment": "Prod"
|
|
100
|
+
},
|
|
101
|
+
"governanceConfiguration": {
|
|
102
|
+
"protectionLevel": "Basic"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"displayName": "Contoso Environment"
|
|
106
|
+
}
|
|
107
|
+
]
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
=== "Text"
|
|
111
|
+
|
|
112
|
+
```text
|
|
113
|
+
name displayName
|
|
114
|
+
-------------------------------------------- -------------------------------
|
|
115
|
+
d87a7535-dd31-4437-bfe1-95340acd55c5 Contoso Environment
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
=== "CSV"
|
|
119
|
+
|
|
120
|
+
```csv
|
|
121
|
+
name,displayName
|
|
122
|
+
d87a7535-dd31-4437-bfe1-95340acd55c5,Contoso Environment
|
|
123
|
+
```
|
|
@@ -11,13 +11,13 @@ m365 flow disable [options]
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
13
|
`-n, --name <name>`
|
|
14
|
-
: The name of the Power Automate flow to disable
|
|
14
|
+
: The name of the Power Automate flow to disable.
|
|
15
15
|
|
|
16
16
|
`-e, --environmentName <environmentName>`
|
|
17
|
-
: The name of the environment for which to disable Power Automate flow
|
|
17
|
+
: The name of the environment for which to disable Power Automate flow.
|
|
18
18
|
|
|
19
19
|
`--asAdmin`
|
|
20
|
-
: Set, to disable the flow as admin
|
|
20
|
+
: Set, to disable the flow as admin.
|
|
21
21
|
|
|
22
22
|
--8<-- "docs/cmd/_global.md"
|
|
23
23
|
|
|
@@ -45,3 +45,7 @@ Disables Power Automate flow owned by another user
|
|
|
45
45
|
```sh
|
|
46
46
|
m365 flow disable --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d --asAdmin
|
|
47
47
|
```
|
|
48
|
+
|
|
49
|
+
## Response
|
|
50
|
+
|
|
51
|
+
The command won't return a response on success.
|
|
@@ -45,3 +45,7 @@ Enables Power Automate flow owned by another user
|
|
|
45
45
|
```sh
|
|
46
46
|
m365 flow enable --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d --asAdmin
|
|
47
47
|
```
|
|
48
|
+
|
|
49
|
+
## Response
|
|
50
|
+
|
|
51
|
+
The command won't return a response on success.
|