@pnp/cli-microsoft365 6.0.0-beta.b62b543 → 6.0.0-beta.ba3c436
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/cli/Cli.js +7 -10
- package/dist/m365/aad/commands/app/app-get.js +3 -2
- package/dist/m365/aad/commands/app/app-remove.js +3 -2
- package/dist/m365/aad/commands/app/app-role-add.js +3 -2
- package/dist/m365/aad/commands/app/app-role-list.js +3 -2
- package/dist/m365/aad/commands/app/app-role-remove.js +3 -2
- package/dist/m365/aad/commands/app/app-set.js +3 -2
- package/dist/m365/aad/commands/approleassignment/approleassignment-add.js +5 -4
- package/dist/m365/aad/commands/approleassignment/approleassignment-list.js +3 -2
- package/dist/m365/aad/commands/approleassignment/approleassignment-remove.js +5 -4
- package/dist/m365/aad/commands/o365group/o365group-conversation-post-list.js +2 -1
- package/dist/m365/aad/commands/o365group/o365group-list.js +3 -2
- package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-list.js +3 -2
- package/dist/m365/aad/commands/o365group/o365group-teamify.js +3 -2
- package/dist/m365/aad/commands/o365group/o365group-user-add.js +2 -1
- package/dist/m365/aad/commands/o365group/o365group-user-remove.js +2 -1
- package/dist/m365/aad/commands/oauth2grant/oauth2grant-list.js +2 -1
- package/dist/m365/aad/commands/oauth2grant/oauth2grant-remove.js +2 -1
- package/dist/m365/aad/commands/oauth2grant/oauth2grant-set.js +2 -1
- package/dist/m365/aad/commands/sp/sp-add.js +3 -2
- package/dist/m365/aad/commands/sp/sp-get.js +3 -2
- package/dist/m365/aad/commands/user/user-get.js +5 -4
- package/dist/m365/aad/commands/user/user-hibp.js +2 -1
- package/dist/m365/aad/commands/user/user-list.js +2 -1
- package/dist/m365/aad/commands/user/user-set.js +2 -1
- package/dist/m365/aad/commands/user/user-signin-list.js +5 -4
- package/dist/m365/base/DateAndPeriodBasedReport.js +3 -2
- package/dist/m365/base/PeriodBasedReport.js +2 -1
- package/dist/m365/booking/commands/business/business-get.js +2 -1
- package/dist/m365/cli/commands/config/config-set.js +1 -0
- package/dist/m365/commands/login.js +6 -1
- package/dist/m365/file/commands/file-list.js +2 -1
- package/dist/m365/flow/commands/environment/environment-get.js +2 -1
- package/dist/m365/flow/commands/flow-disable.js +2 -1
- package/dist/m365/flow/commands/flow-enable.js +2 -1
- package/dist/m365/flow/commands/flow-export.js +5 -4
- package/dist/m365/flow/commands/flow-get.js +2 -1
- package/dist/m365/flow/commands/flow-list.js +2 -1
- package/dist/m365/flow/commands/flow-remove.js +2 -1
- package/dist/m365/flow/commands/run/run-cancel.js +2 -1
- package/dist/m365/flow/commands/run/run-get.js +2 -1
- package/dist/m365/flow/commands/run/run-list.js +2 -1
- package/dist/m365/flow/commands/run/run-resubmit.js +3 -2
- package/dist/m365/outlook/commands/mail/mail-send.js +2 -1
- package/dist/m365/outlook/commands/message/message-list.js +2 -1
- package/dist/m365/outlook/commands/message/message-move.js +2 -1
- package/dist/m365/pa/commands/app/app-get.js +2 -1
- package/dist/m365/pa/commands/app/app-list.js +2 -1
- package/dist/m365/pa/commands/app/app-remove.js +2 -1
- package/dist/m365/pa/commands/connector/connector-export.js +2 -1
- package/dist/m365/pa/commands/connector/connector-list.js +2 -1
- package/dist/m365/pa/commands/environment/environment-get.js +2 -1
- package/dist/m365/planner/commands/task/task-add.js +1 -1
- package/dist/m365/planner/commands/task/task-checklistitem-add.js +3 -2
- package/dist/m365/planner/commands/task/task-checklistitem-list.js +2 -1
- package/dist/m365/planner/commands/task/task-checklistitem-remove.js +2 -1
- package/dist/m365/planner/commands/task/task-get.js +2 -1
- package/dist/m365/planner/commands/task/task-list.js +4 -3
- package/dist/m365/planner/commands/task/task-reference-add.js +2 -2
- package/dist/m365/planner/commands/task/task-reference-list.js +2 -1
- package/dist/m365/planner/commands/task/task-reference-remove.js +1 -1
- package/dist/m365/planner/commands/task/task-set.js +2 -2
- package/dist/m365/pp/commands/dataverse/dataverse-table-get.js +77 -0
- package/dist/m365/pp/commands/dataverse/dataverse-table-remove.js +95 -0
- package/dist/m365/pp/commands/gateway/gateway-get.js +2 -1
- package/dist/m365/pp/commands/managementapp/managementapp-add.js +3 -2
- package/dist/m365/pp/commands/solution/solution-list.js +5 -11
- package/dist/m365/pp/commands/solution/solution-publisher-get.js +107 -0
- package/dist/m365/pp/commands/solution/solution-publisher-list.js +78 -0
- package/dist/m365/pp/commands/solution/solution-publisher-remove.js +130 -0
- package/dist/m365/pp/commands.js +5 -0
- package/dist/m365/search/commands/externalconnection/externalconnection-get.js +3 -2
- package/dist/m365/search/commands/externalconnection/externalconnection-remove.js +3 -2
- 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-get.js +2 -1
- package/dist/m365/spo/commands/app/app-install.js +2 -1
- package/dist/m365/spo/commands/app/app-remove.js +2 -1
- package/dist/m365/spo/commands/app/app-retract.js +2 -1
- package/dist/m365/spo/commands/app/app-teamspackage-download.js +2 -1
- package/dist/m365/spo/commands/app/app-uninstall.js +2 -1
- package/dist/m365/spo/commands/app/app-upgrade.js +2 -1
- package/dist/m365/spo/commands/contenttype/contenttype-field-set.js +2 -2
- package/dist/m365/spo/commands/contenttype/contenttype-get.js +2 -2
- package/dist/m365/spo/commands/contenttype/contenttype-list.js +2 -1
- package/dist/m365/spo/commands/contenttype/contenttype-remove.js +3 -2
- package/dist/m365/spo/commands/customaction/customaction-get.js +3 -2
- package/dist/m365/spo/commands/customaction/customaction-remove.js +3 -2
- package/dist/m365/spo/commands/customaction/customaction-set.js +2 -1
- package/dist/m365/spo/commands/eventreceiver/eventreceiver-get.js +43 -27
- package/dist/m365/spo/commands/eventreceiver/eventreceiver-list.js +4 -3
- package/dist/m365/spo/commands/eventreceiver/eventreceiver-remove.js +43 -58
- package/dist/m365/spo/commands/file/file-add.js +14 -13
- package/dist/m365/spo/commands/file/file-checkin.js +4 -3
- package/dist/m365/spo/commands/file/file-checkout.js +3 -2
- package/dist/m365/spo/commands/file/file-copy.js +2 -1
- package/dist/m365/spo/commands/file/file-get.js +3 -2
- package/dist/m365/spo/commands/file/file-move.js +2 -1
- package/dist/m365/spo/commands/file/file-remove.js +3 -2
- package/dist/m365/spo/commands/file/file-rename.js +3 -2
- package/dist/m365/spo/commands/file/file-sharinginfo-get.js +1 -1
- package/dist/m365/spo/commands/file/file-version-clear.js +114 -0
- package/dist/m365/spo/commands/file/file-version-get.js +104 -0
- package/dist/m365/spo/commands/file/file-version-list.js +1 -1
- package/dist/m365/spo/commands/file/file-version-remove.js +119 -0
- package/dist/m365/spo/commands/file/file-version-restore.js +119 -0
- package/dist/m365/spo/commands/folder/folder-get.js +3 -2
- package/dist/m365/spo/commands/folder/folder-remove.js +2 -1
- package/dist/m365/spo/commands/folder/folder-roleassignment-add.js +215 -0
- package/dist/m365/spo/commands/folder/folder-roleassignment-remove.js +2 -1
- package/dist/m365/spo/commands/folder/folder-roleinheritance-break.js +1 -1
- package/dist/m365/spo/commands/folder/folder-roleinheritance-reset.js +1 -1
- package/dist/m365/spo/commands/group/group-get.js +3 -2
- package/dist/m365/spo/commands/group/{group-user-add.js → group-member-add.js} +17 -16
- package/dist/m365/spo/commands/group/{group-user-list.js → group-member-list.js} +19 -18
- package/dist/m365/spo/commands/group/{group-user-remove.js → group-member-remove.js} +18 -17
- package/dist/m365/spo/commands/list/list-contenttype-remove.js +1 -1
- package/dist/m365/spo/commands/list/list-get.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/listitem/listitem-get.js +1 -1
- package/dist/m365/spo/commands/listitem/listitem-list.js +3 -3
- package/dist/m365/spo/commands/page/Page.js +3 -2
- package/dist/m365/spo/commands/page/page-add.js +2 -1
- package/dist/m365/spo/commands/page/page-clientsidewebpart-add.js +4 -3
- package/dist/m365/spo/commands/page/page-control-get.js +2 -1
- package/dist/m365/spo/commands/page/page-control-list.js +2 -1
- package/dist/m365/spo/commands/page/page-control-set.js +3 -2
- package/dist/m365/spo/commands/page/page-get.js +2 -1
- package/dist/m365/spo/commands/page/page-header-set.js +6 -5
- package/dist/m365/spo/commands/page/page-section-add.js +4 -3
- package/dist/m365/spo/commands/page/page-set.js +2 -1
- package/dist/m365/spo/commands/site/site-apppermission-add.js +3 -2
- package/dist/m365/spo/commands/site/site-hubsite-connect.js +2 -1
- package/dist/m365/spo/commands/site/site-rename.js +2 -1
- package/dist/m365/spo/commands/site/site-set.js +1 -1
- package/dist/m365/spo/commands/sitescript/sitescript-add.js +2 -1
- package/dist/m365/spo/commands/spo-search.js +3 -2
- package/dist/m365/spo/commands/storageentity/storageentity-get.js +2 -1
- package/dist/m365/spo/commands/user/user-get.js +4 -3
- package/dist/m365/spo/commands/user/user-remove.js +2 -1
- package/dist/m365/spo/commands/userprofile/userprofile-get.js +2 -1
- package/dist/m365/spo/commands/web/web-add.js +2 -1
- package/dist/m365/spo/commands.js +8 -3
- package/dist/m365/teams/commands/app/app-install.js +3 -2
- package/dist/m365/teams/commands/app/app-list.js +2 -1
- package/dist/m365/teams/commands/app/app-publish.js +14 -15
- package/dist/m365/teams/commands/app/app-update.js +2 -1
- package/dist/m365/teams/commands/channel/channel-get.js +4 -3
- package/dist/m365/teams/commands/channel/channel-member-add.js +4 -3
- package/dist/m365/teams/commands/channel/channel-member-list.js +2 -1
- package/dist/m365/teams/commands/channel/channel-member-remove.js +2 -1
- package/dist/m365/teams/commands/channel/channel-member-set.js +2 -1
- package/dist/m365/teams/commands/channel/channel-remove.js +4 -3
- package/dist/m365/teams/commands/channel/channel-set.js +3 -2
- package/dist/m365/teams/commands/chat/chat-get.js +2 -1
- package/dist/m365/teams/commands/chat/chatUtil.js +2 -1
- package/dist/m365/teams/commands/funsettings/funsettings-list.js +2 -1
- package/dist/m365/teams/commands/funsettings/funsettings-set.js +2 -1
- package/dist/m365/teams/commands/guestsettings/guestsettings-list.js +2 -1
- package/dist/m365/teams/commands/guestsettings/guestsettings-set.js +2 -1
- package/dist/m365/teams/commands/membersettings/membersettings-list.js +2 -1
- package/dist/m365/teams/commands/membersettings/membersettings-set.js +2 -1
- package/dist/m365/teams/commands/messagingsettings/messagingsettings-list.js +2 -1
- package/dist/m365/teams/commands/messagingsettings/messagingsettings-set.js +2 -1
- package/dist/m365/teams/commands/report/report-directroutingcalls.js +3 -2
- package/dist/m365/teams/commands/report/report-pstncalls.js +3 -2
- package/dist/m365/teams/commands/tab/tab-add.js +2 -1
- package/dist/m365/teams/commands/tab/tab-get.js +4 -3
- package/dist/m365/teams/commands/tab/tab-list.js +2 -1
- package/dist/m365/teams/commands/tab/tab-remove.js +2 -1
- package/dist/m365/teams/commands/team/team-archive.js +2 -1
- package/dist/m365/teams/commands/team/team-clone.js +2 -1
- package/dist/m365/teams/commands/team/team-get.js +2 -1
- package/dist/m365/teams/commands/team/team-remove.js +2 -1
- package/dist/m365/teams/commands/team/team-set.js +2 -1
- package/dist/m365/teams/commands/team/team-unarchive.js +2 -1
- package/dist/m365/teams/commands/user/user-app-list.js +3 -2
- package/dist/m365/tenant/commands/security/security-alerts-list.js +2 -1
- package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-healthissue-get.js +2 -1
- package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-healthissue-list.js +2 -1
- package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-message-list.js +2 -1
- package/dist/m365/todo/commands/task/task-set.js +2 -1
- package/dist/m365/yammer/commands/group/group-list.js +12 -27
- package/dist/m365/yammer/commands/user/user-get.js +3 -2
- package/dist/m365/yammer/commands/yammer-search.js +6 -2
- package/dist/utils/aadGroup.js +2 -1
- package/dist/utils/powerPlatform.js +3 -2
- package/dist/utils/spo.js +3 -2
- package/docs/docs/cmd/flow/flow-get.md +1 -1
- package/docs/docs/cmd/pp/dataverse/dataverse-table-get.md +120 -0
- package/docs/docs/cmd/pp/dataverse/dataverse-table-remove.md +49 -0
- package/docs/docs/cmd/pp/solution/solution-publisher-get.md +83 -0
- package/docs/docs/cmd/pp/solution/solution-publisher-list.md +71 -0
- package/docs/docs/cmd/pp/solution/solution-publisher-remove.md +58 -0
- package/docs/docs/cmd/spfx/project/project-upgrade.md +1 -1
- package/docs/docs/cmd/spo/eventreceiver/eventreceiver-get.md +42 -2
- package/docs/docs/cmd/spo/eventreceiver/eventreceiver-remove.md +6 -1
- package/docs/docs/cmd/spo/file/file-version-clear.md +55 -0
- package/docs/docs/cmd/spo/file/file-version-get.md +76 -0
- package/docs/docs/cmd/spo/file/file-version-remove.md +58 -0
- package/docs/docs/cmd/spo/file/file-version-restore.md +58 -0
- package/docs/docs/cmd/spo/folder/folder-roleassignment-add.md +59 -0
- package/docs/docs/cmd/spo/group/{group-user-add.md → group-member-add.md} +11 -11
- package/docs/docs/cmd/spo/group/{group-user-list.md → group-member-list.md} +5 -5
- package/docs/docs/cmd/spo/group/group-member-remove.md +39 -0
- package/docs/docs/cmd/spo/hubsite/hubsite-data-get.md +0 -3
- package/docs/docs/cmd/spo/hubsite/hubsite-rights-grant.md +2 -5
- package/docs/docs/cmd/spo/hubsite/hubsite-rights-revoke.md +2 -5
- package/docs/docs/cmd/spo/hubsite/hubsite-set.md +2 -5
- package/docs/docs/cmd/spo/listitem/listitem-add.md +6 -0
- package/docs/docs/cmd/spo/listitem/listitem-set.md +6 -0
- package/docs/docs/cmd/spo/page/page-add.md +2 -2
- package/docs/docs/cmd/spo/page/page-set.md +2 -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/site/site-hubsite-connect.md +0 -3
- package/docs/docs/cmd/spo/site/site-hubsite-disconnect.md +0 -5
- package/docs/docs/cmd/spo/site/site-hubsite-theme-sync.md +0 -5
- package/docs/docs/cmd/spo/spo-get.md +23 -0
- package/docs/docs/cmd/spo/spo-search.md +29 -0
- package/docs/docs/cmd/spo/spo-set.md +4 -0
- package/docs/docs/cmd/spo/user/user-get.md +49 -2
- package/docs/docs/cmd/spo/user/user-list.md +41 -0
- package/docs/docs/cmd/spo/user/user-remove.md +4 -0
- package/docs/docs/cmd/spo/userprofile/userprofile-get.md +586 -0
- package/docs/docs/cmd/spo/userprofile/userprofile-set.md +4 -0
- package/docs/docs/cmd/spo/web/web-add.md +43 -0
- package/docs/docs/cmd/spo/web/web-clientsidewebpart-list.md +29 -0
- package/docs/docs/cmd/spo/web/web-get.md +127 -0
- package/docs/docs/cmd/spo/web/web-installedlanguage-list.md +29 -0
- package/docs/docs/cmd/spo/web/web-list.md +81 -0
- package/docs/docs/cmd/spo/web/web-reindex.md +4 -0
- package/docs/docs/cmd/spo/web/web-remove.md +4 -0
- package/docs/docs/cmd/spo/web/web-roleassignment-add.md +4 -0
- package/docs/docs/cmd/spo/web/web-roleassignment-remove.md +4 -0
- package/docs/docs/cmd/spo/web/web-roleinheritance-reset.md +4 -0
- package/docs/docs/cmd/spo/web/web-set.md +4 -0
- package/docs/docs/cmd/teams/app/app-install.md +4 -0
- package/docs/docs/cmd/teams/app/app-list.md +30 -0
- package/docs/docs/cmd/teams/app/app-publish.md +31 -1
- package/docs/docs/cmd/teams/app/app-remove.md +4 -0
- package/docs/docs/cmd/teams/app/app-uninstall.md +4 -0
- package/docs/docs/cmd/teams/app/app-update.md +4 -0
- package/docs/docs/cmd/teams/cache/cache-remove.md +4 -0
- package/docs/docs/cmd/teams/channel/channel-add.md +37 -0
- package/docs/docs/cmd/teams/channel/channel-get.md +39 -0
- package/docs/docs/cmd/teams/channel/channel-list.md +35 -0
- package/docs/docs/cmd/teams/channel/channel-member-add.md +4 -0
- package/docs/docs/cmd/teams/channel/channel-member-list.md +37 -0
- package/docs/docs/cmd/teams/channel/channel-member-remove.md +4 -0
- package/docs/docs/cmd/teams/channel/channel-member-set.md +35 -0
- package/docs/docs/cmd/teams/channel/channel-remove.md +4 -0
- package/docs/docs/cmd/teams/channel/channel-set.md +3 -0
- package/docs/docs/cmd/teams/chat/chat-get.md +42 -0
- package/docs/docs/cmd/teams/chat/chat-list.md +38 -0
- package/docs/docs/cmd/teams/chat/chat-member-list.md +35 -0
- package/docs/docs/cmd/teams/chat/chat-message-list.md +60 -0
- package/docs/docs/cmd/teams/chat/chat-message-send.md +4 -0
- package/docs/docs/cmd/teams/funsettings/funsettings-list.md +29 -0
- package/docs/docs/cmd/teams/funsettings/funsettings-set.md +4 -0
- package/docs/docs/cmd/teams/guestsettings/guestsettings-list.md +25 -0
- package/docs/docs/cmd/teams/guestsettings/guestsettings-set.md +4 -0
- package/docs/docs/cmd/teams/membersettings/membersettings-list.md +33 -0
- package/docs/docs/cmd/teams/membersettings/membersettings-set.md +4 -0
- package/docs/docs/cmd/yammer/group/group-list.md +65 -0
- package/docs/docs/cmd/yammer/group/group-user-add.md +4 -0
- package/docs/docs/cmd/yammer/group/group-user-remove.md +4 -0
- package/docs/docs/cmd/yammer/message/message-add.md +55 -0
- package/docs/docs/cmd/yammer/message/message-get.md +64 -0
- package/docs/docs/cmd/yammer/message/message-like-set.md +4 -0
- package/docs/docs/cmd/yammer/message/message-list.md +60 -0
- package/docs/docs/cmd/yammer/message/message-remove.md +4 -0
- package/docs/docs/cmd/yammer/network/network-list.md +96 -0
- package/docs/docs/cmd/yammer/report/report-activitycounts.md +31 -0
- package/docs/docs/cmd/yammer/report/report-activityusercounts.md +31 -0
- package/docs/docs/cmd/yammer/report/report-activityuserdetail.md +36 -0
- package/docs/docs/cmd/yammer/report/report-deviceusagedistributionusercounts.md +33 -0
- package/docs/docs/cmd/yammer/report/report-deviceusageusercounts.md +34 -0
- package/docs/docs/cmd/yammer/report/report-deviceusageuserdetail.md +38 -0
- package/docs/docs/cmd/yammer/report/report-groupsactivitycounts.md +31 -0
- package/docs/docs/cmd/yammer/report/report-groupsactivitydetail.md +37 -0
- package/docs/docs/cmd/yammer/report/report-groupsactivitygroupcounts.md +30 -0
- package/docs/docs/cmd/yammer/user/user-get.md +99 -0
- package/docs/docs/cmd/yammer/user/user-list.md +97 -0
- package/docs/docs/cmd/yammer/yammer-search.md +77 -0
- package/npm-shrinkwrap.json +235 -257
- package/package.json +15 -15
- package/docs/docs/cmd/spo/group/group-user-remove.md +0 -39
|
@@ -16,6 +16,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
16
16
|
var _YammerSearchCommand_instances, _YammerSearchCommand_initTelemetry, _YammerSearchCommand_initOptions, _YammerSearchCommand_initValidators;
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
18
|
const request_1 = require("../../../request");
|
|
19
|
+
const formatting_1 = require("../../../utils/formatting");
|
|
19
20
|
const YammerCommand_1 = require("../../base/YammerCommand");
|
|
20
21
|
const commands_1 = require("../commands");
|
|
21
22
|
class YammerSearchCommand extends YammerCommand_1.default {
|
|
@@ -44,10 +45,13 @@ class YammerSearchCommand extends YammerCommand_1.default {
|
|
|
44
45
|
}
|
|
45
46
|
getAllItems(logger, args, page) {
|
|
46
47
|
return new Promise((resolve, reject) => {
|
|
47
|
-
const endpoint = `${this.resource}/v1/search.json?search=${
|
|
48
|
+
const endpoint = `${this.resource}/v1/search.json?search=${formatting_1.formatting.encodeQueryParameter(args.options.queryText)}&page=${page}`;
|
|
48
49
|
const requestOptions = {
|
|
49
50
|
url: endpoint,
|
|
50
|
-
responseType: 'json'
|
|
51
|
+
responseType: 'json',
|
|
52
|
+
headers: {
|
|
53
|
+
accept: 'application/json;odata=nometadata'
|
|
54
|
+
}
|
|
51
55
|
};
|
|
52
56
|
request_1.default
|
|
53
57
|
.get(requestOptions)
|
package/dist/utils/aadGroup.js
CHANGED
|
@@ -11,6 +11,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.aadGroup = void 0;
|
|
13
13
|
const request_1 = require("../request");
|
|
14
|
+
const formatting_1 = require("./formatting");
|
|
14
15
|
const odata_1 = require("./odata");
|
|
15
16
|
const graphResource = 'https://graph.microsoft.com';
|
|
16
17
|
exports.aadGroup = {
|
|
@@ -33,7 +34,7 @@ exports.aadGroup = {
|
|
|
33
34
|
* @param displayName Group display name.
|
|
34
35
|
*/
|
|
35
36
|
getGroupsByDisplayName(displayName) {
|
|
36
|
-
return odata_1.odata.getAllItems(`${graphResource}/v1.0/groups?$filter=displayName eq '${
|
|
37
|
+
return odata_1.odata.getAllItems(`${graphResource}/v1.0/groups?$filter=displayName eq '${formatting_1.formatting.encodeQueryParameter(displayName)}'`);
|
|
37
38
|
},
|
|
38
39
|
/**
|
|
39
40
|
* Get a single group by its display name.
|
|
@@ -11,16 +11,17 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.powerPlatform = void 0;
|
|
13
13
|
const request_1 = require("../request");
|
|
14
|
+
const formatting_1 = require("./formatting");
|
|
14
15
|
const powerPlatformResource = 'https://api.bap.microsoft.com';
|
|
15
16
|
exports.powerPlatform = {
|
|
16
17
|
getDynamicsInstanceApiUrl(environment, asAdmin) {
|
|
17
18
|
return __awaiter(this, void 0, void 0, function* () {
|
|
18
19
|
let url = '';
|
|
19
20
|
if (asAdmin) {
|
|
20
|
-
url = `${powerPlatformResource}/providers/Microsoft.BusinessAppPlatform/scopes/admin/environments/${
|
|
21
|
+
url = `${powerPlatformResource}/providers/Microsoft.BusinessAppPlatform/scopes/admin/environments/${formatting_1.formatting.encodeQueryParameter(environment)}`;
|
|
21
22
|
}
|
|
22
23
|
else {
|
|
23
|
-
url = `${powerPlatformResource}/providers/Microsoft.BusinessAppPlatform/environments/${
|
|
24
|
+
url = `${powerPlatformResource}/providers/Microsoft.BusinessAppPlatform/environments/${formatting_1.formatting.encodeQueryParameter(environment)}`;
|
|
24
25
|
}
|
|
25
26
|
const requestOptions = {
|
|
26
27
|
url: `${url}?api-version=2020-10-01&$select=properties.linkedEnvironmentMetadata.instanceApiUrl`,
|
package/dist/utils/spo.js
CHANGED
|
@@ -8,6 +8,7 @@ const Auth_1 = require("../Auth");
|
|
|
8
8
|
const config_1 = require("../config");
|
|
9
9
|
const base_permissions_1 = require("../m365/spo/base-permissions");
|
|
10
10
|
const request_1 = require("../request");
|
|
11
|
+
const formatting_1 = require("./formatting");
|
|
11
12
|
exports.spo = {
|
|
12
13
|
getRequestDigest(siteUrl) {
|
|
13
14
|
const requestOptions = {
|
|
@@ -285,7 +286,7 @@ exports.spo = {
|
|
|
285
286
|
nextFolder += `/${folders[folderIndex]}`;
|
|
286
287
|
const folderServerRelativeUrl = urlUtil_1.urlUtil.getServerRelativePath(webFullUrl, nextFolder);
|
|
287
288
|
const requestOptions = {
|
|
288
|
-
url: `${webFullUrl}/_api/web/GetFolderByServerRelativeUrl('${
|
|
289
|
+
url: `${webFullUrl}/_api/web/GetFolderByServerRelativeUrl('${formatting_1.formatting.encodeQueryParameter(folderServerRelativeUrl)}')`,
|
|
289
290
|
headers: {
|
|
290
291
|
'accept': 'application/json;odata=nometadata'
|
|
291
292
|
}
|
|
@@ -299,7 +300,7 @@ exports.spo = {
|
|
|
299
300
|
.catch(() => {
|
|
300
301
|
const prevFolderServerRelativeUrl = urlUtil_1.urlUtil.getServerRelativePath(webFullUrl, prevFolder);
|
|
301
302
|
const requestOptions = {
|
|
302
|
-
url: `${webFullUrl}/_api/web/GetFolderByServerRelativePath(DecodedUrl=@a1)/AddSubFolderUsingPath(DecodedUrl=@a2)?@a1=%27${
|
|
303
|
+
url: `${webFullUrl}/_api/web/GetFolderByServerRelativePath(DecodedUrl=@a1)/AddSubFolderUsingPath(DecodedUrl=@a2)?@a1=%27${formatting_1.formatting.encodeQueryParameter(prevFolderServerRelativeUrl)}%27&@a2=%27${formatting_1.formatting.encodeQueryParameter(folders[folderIndex])}%27`,
|
|
303
304
|
headers: {
|
|
304
305
|
'accept': 'application/json;odata=nometadata'
|
|
305
306
|
},
|
|
@@ -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, --environmentName <environmentName>`
|
|
17
17
|
: The name of the environment for which to retrieve available flows
|
|
18
18
|
|
|
19
19
|
`--asAdmin`
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
# pp dataverse table get
|
|
2
|
+
|
|
3
|
+
List a dataverse table in a given environment
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
pp dataverse table get [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-e, --environment <environment>`
|
|
14
|
+
: The name of the environment to list a table for.
|
|
15
|
+
|
|
16
|
+
`-n, --name<name>`
|
|
17
|
+
: The name of the dataverse table to retrieve rows from.
|
|
18
|
+
|
|
19
|
+
`-a, --asAdmin`
|
|
20
|
+
: Set, to retrieve the dataverse table as admin for environments you are not a member of.
|
|
21
|
+
|
|
22
|
+
--8<-- "docs/cmd/_global.md"
|
|
23
|
+
|
|
24
|
+
## Examples
|
|
25
|
+
|
|
26
|
+
List a table for the given environment
|
|
27
|
+
|
|
28
|
+
```sh
|
|
29
|
+
m365 pp dataverse table get -e "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --name "aaduser"
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
List a table for the given environment as Admin
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
m365 pp dataverse table get -e "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --name "aaduser" --asAdmin
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Response
|
|
39
|
+
|
|
40
|
+
=== "JSON"
|
|
41
|
+
|
|
42
|
+
```json
|
|
43
|
+
{
|
|
44
|
+
"MetadataId": "84f4c125-474d-ed11-bba1-000d3a2caf7f",
|
|
45
|
+
"IsCustomEntity": true,
|
|
46
|
+
"IsManaged": false,
|
|
47
|
+
"SchemaName": "aaduser",
|
|
48
|
+
"IconVectorName": null,
|
|
49
|
+
"LogicalName": "aaduser",
|
|
50
|
+
"EntitySetName": "aadusers",
|
|
51
|
+
"IsActivity": false,
|
|
52
|
+
"DataProviderId": null,
|
|
53
|
+
"IsRenameable": {
|
|
54
|
+
"Value": true,
|
|
55
|
+
"CanBeChanged": true,
|
|
56
|
+
"ManagedPropertyLogicalName": "isrenameable"
|
|
57
|
+
},
|
|
58
|
+
"IsCustomizable": {
|
|
59
|
+
"Value": true,
|
|
60
|
+
"CanBeChanged": true,
|
|
61
|
+
"ManagedPropertyLogicalName": "iscustomizable"
|
|
62
|
+
},
|
|
63
|
+
"CanCreateForms": {
|
|
64
|
+
"Value": true,
|
|
65
|
+
"CanBeChanged": true,
|
|
66
|
+
"ManagedPropertyLogicalName": "cancreateforms"
|
|
67
|
+
},
|
|
68
|
+
"CanCreateViews": {
|
|
69
|
+
"Value": true,
|
|
70
|
+
"CanBeChanged": true,
|
|
71
|
+
"ManagedPropertyLogicalName": "cancreateviews"
|
|
72
|
+
},
|
|
73
|
+
"CanCreateCharts": {
|
|
74
|
+
"Value": true,
|
|
75
|
+
"CanBeChanged": true,
|
|
76
|
+
"ManagedPropertyLogicalName": "cancreatecharts"
|
|
77
|
+
},
|
|
78
|
+
"CanCreateAttributes": {
|
|
79
|
+
"Value": true,
|
|
80
|
+
"CanBeChanged": false,
|
|
81
|
+
"ManagedPropertyLogicalName": "cancreateattributes"
|
|
82
|
+
},
|
|
83
|
+
"CanChangeTrackingBeEnabled": {
|
|
84
|
+
"Value": true,
|
|
85
|
+
"CanBeChanged": true,
|
|
86
|
+
"ManagedPropertyLogicalName": "canchangetrackingbeenabled"
|
|
87
|
+
},
|
|
88
|
+
"CanModifyAdditionalSettings": {
|
|
89
|
+
"Value": true,
|
|
90
|
+
"CanBeChanged": true,
|
|
91
|
+
"ManagedPropertyLogicalName": "canmodifyadditionalsettings"
|
|
92
|
+
},
|
|
93
|
+
"CanChangeHierarchicalRelationship": {
|
|
94
|
+
"Value": true,
|
|
95
|
+
"CanBeChanged": true,
|
|
96
|
+
"ManagedPropertyLogicalName": "canchangehierarchicalrelationship"
|
|
97
|
+
},
|
|
98
|
+
"CanEnableSyncToExternalSearchIndex": {
|
|
99
|
+
"Value": true,
|
|
100
|
+
"CanBeChanged": true,
|
|
101
|
+
"ManagedPropertyLogicalName": "canenablesynctoexternalsearchindex"
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
=== "Text"
|
|
107
|
+
|
|
108
|
+
```text
|
|
109
|
+
EntitySetName: aadusers
|
|
110
|
+
IsManaged : false
|
|
111
|
+
LogicalName : aaduser
|
|
112
|
+
SchemaName : aaduser
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
=== "CSV"
|
|
116
|
+
|
|
117
|
+
```csv
|
|
118
|
+
SchemaName,EntitySetName,LogicalName,IsManaged
|
|
119
|
+
aaduser,aadusers,aaduser,
|
|
120
|
+
```
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# pp dataverse table remove
|
|
2
|
+
|
|
3
|
+
Removes a dataverse table in a given environment
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
pp dataverse table remove [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-e, --environment <environment>`
|
|
14
|
+
: The name of the environment to remove a table from.
|
|
15
|
+
|
|
16
|
+
`-n, --name<name>`
|
|
17
|
+
: The name of the dataverse table to remove.
|
|
18
|
+
|
|
19
|
+
`--confirm`
|
|
20
|
+
: Don't prompt for confirmation
|
|
21
|
+
|
|
22
|
+
`-a, --asAdmin`
|
|
23
|
+
: Set, to remove the dataverse table as admin for environments you are not a member of.
|
|
24
|
+
|
|
25
|
+
--8<-- "docs/cmd/_global.md"
|
|
26
|
+
|
|
27
|
+
## Examples
|
|
28
|
+
|
|
29
|
+
Removes a dataverse table in a given environment
|
|
30
|
+
|
|
31
|
+
```sh
|
|
32
|
+
m365 pp dataverse table remove -e "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --name "aaduser"
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Removes a dataverse table in a given environment as Admin
|
|
36
|
+
|
|
37
|
+
```sh
|
|
38
|
+
m365 pp dataverse table remove -e "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --name "aaduser" --asAdmin
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Removes a dataverse table in a given environment without prompting for confirmation
|
|
42
|
+
|
|
43
|
+
```sh
|
|
44
|
+
m365 pp dataverse table remove -e "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --name "aaduser" --confirm
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Response
|
|
48
|
+
|
|
49
|
+
The command won't return a response on success.
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
# pp solution publisher get
|
|
2
|
+
|
|
3
|
+
Get information about the specified publisher in a given environment.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 pp solution publisher get [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-e, --environment <environment>`
|
|
14
|
+
: The name of the environment.
|
|
15
|
+
|
|
16
|
+
`-i --id [id]`
|
|
17
|
+
: The ID of the solution. Specify either `id` or `name` but not both.
|
|
18
|
+
|
|
19
|
+
`-n, --name [name]`
|
|
20
|
+
: The unique name (not the display name) of the solution. Specify either `id` or `name` but not both.
|
|
21
|
+
|
|
22
|
+
`-a, --asAdmin`
|
|
23
|
+
: Run the command as admin for environments you do not have explicitly assigned permissions to.
|
|
24
|
+
|
|
25
|
+
--8<-- "docs/cmd/_global.md"
|
|
26
|
+
|
|
27
|
+
## Examples
|
|
28
|
+
|
|
29
|
+
Gets a specific publisher in a specific environment based on name
|
|
30
|
+
|
|
31
|
+
```sh
|
|
32
|
+
m365 pp solution publisher get --environment "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --name "MicrosoftCorporation"
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Gets a specific publisher in a specific environment based on name as Admin
|
|
36
|
+
|
|
37
|
+
```sh
|
|
38
|
+
m365 pp solution publisher get --environment "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --name "MicrosoftCorporation" --asAdmin
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Gets a specific publisher in a specific environment based on id
|
|
42
|
+
|
|
43
|
+
```sh
|
|
44
|
+
m365 pp solution publisher get --environment "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --id "ee62fd63-e49e-4c09-80de-8fae1b9a427e"
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Gets a specific publisher in a specific environment based on id as Admin
|
|
48
|
+
|
|
49
|
+
```sh
|
|
50
|
+
m365 pp solution publisher get --environment "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --id "ee62fd63-e49e-4c09-80de-8fae1b9a427e" --asAdmin
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## Response
|
|
54
|
+
|
|
55
|
+
=== "JSON"
|
|
56
|
+
|
|
57
|
+
```json
|
|
58
|
+
{
|
|
59
|
+
"publisherid": "d21aab70-79e7-11dd-8874-00188b01e34f",
|
|
60
|
+
"uniquename": "MicrosoftCorporation",
|
|
61
|
+
"friendlyname": "MicrosoftCorporation",
|
|
62
|
+
"versionnumber": 1226559,
|
|
63
|
+
"isreadonly": false,
|
|
64
|
+
"description": "Uitgever van Microsoft-oplossingen",
|
|
65
|
+
"customizationprefix": "",
|
|
66
|
+
"customizationoptionvalueprefix": 0
|
|
67
|
+
}
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
=== "Text"
|
|
71
|
+
|
|
72
|
+
```text
|
|
73
|
+
friendlyname: MicrosoftCorporation
|
|
74
|
+
publisherid : d21aab70-79e7-11dd-8874-00188b01e34f
|
|
75
|
+
uniquename : MicrosoftCorporation
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
=== "CSV"
|
|
79
|
+
|
|
80
|
+
```csv
|
|
81
|
+
publisherid,uniquename,friendlyname
|
|
82
|
+
d21aab70-79e7-11dd-8874-00188b01e34f,MicrosoftCorporation,MicrosoftCorporation
|
|
83
|
+
```
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
# pp solution publisher list
|
|
2
|
+
|
|
3
|
+
Lists publishers in a given environment.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 pp solution publisher list [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-e, --environment <environment>`
|
|
14
|
+
: The name of the environment
|
|
15
|
+
|
|
16
|
+
`--includeMicrosoftPublishers`
|
|
17
|
+
: Include the Microsoft Publishers
|
|
18
|
+
|
|
19
|
+
`-a, --asAdmin`
|
|
20
|
+
: Run the command as admin for environments you do not have explicitly assigned permissions to.
|
|
21
|
+
|
|
22
|
+
--8<-- "docs/cmd/_global.md"
|
|
23
|
+
|
|
24
|
+
## Examples
|
|
25
|
+
|
|
26
|
+
List all publishers in a specific environment
|
|
27
|
+
|
|
28
|
+
```sh
|
|
29
|
+
m365 pp solution publisher list --environment "Default-2ca3eaa5-140f-4175-8261-3272edf9f339"
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
List all publishers in a specific environment as Admin
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
m365 pp solution publisher list --environment "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --asAdmin
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Response
|
|
39
|
+
|
|
40
|
+
=== "JSON"
|
|
41
|
+
|
|
42
|
+
```json
|
|
43
|
+
[
|
|
44
|
+
{
|
|
45
|
+
"publisherid": "00000001-0000-0000-0000-00000000005a",
|
|
46
|
+
"uniquename": "Cree38e",
|
|
47
|
+
"friendlyname": "CDS Default Publisher",
|
|
48
|
+
"versionnumber": 1074060,
|
|
49
|
+
"isreadonly": false,
|
|
50
|
+
"description": null,
|
|
51
|
+
"customizationprefix": "cr6c3",
|
|
52
|
+
"customizationoptionvalueprefix": 43186
|
|
53
|
+
}
|
|
54
|
+
]
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
=== "Text"
|
|
58
|
+
|
|
59
|
+
```text
|
|
60
|
+
publisherid uniquename friendlyname
|
|
61
|
+
------------------------------------ ----------------------------- ----------------------------------
|
|
62
|
+
00000001-0000-0000-0000-00000000005a Cree38e CDS Default Publisher
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
=== "CSV"
|
|
66
|
+
|
|
67
|
+
```csv
|
|
68
|
+
publisherid,uniquename,friendlyname
|
|
69
|
+
00000001-0000-0000-0000-00000000005a,Cree38e,CDS Default Publisher
|
|
70
|
+
```
|
|
71
|
+
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# solution remove
|
|
2
|
+
|
|
3
|
+
Removes the specified publisher in the specified Power Platform environment
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 pp solution publisher remove [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-e, --environment <environment>`
|
|
14
|
+
: The name of the environment.
|
|
15
|
+
|
|
16
|
+
`-i, --id [id]`
|
|
17
|
+
: The id of the solution. Specify either `id` or `name` but not both.
|
|
18
|
+
|
|
19
|
+
`-n, --name [name]`
|
|
20
|
+
: The name of the solution. Specify either `id` or `name` but not both.
|
|
21
|
+
|
|
22
|
+
`--asAdmin`
|
|
23
|
+
: Run the command as admin for environments you do not have explicitly assigned permissions to.
|
|
24
|
+
|
|
25
|
+
`--confirm`
|
|
26
|
+
: Don't prompt for confirmation
|
|
27
|
+
|
|
28
|
+
--8<-- "docs/cmd/_global.md"
|
|
29
|
+
|
|
30
|
+
## Examples
|
|
31
|
+
|
|
32
|
+
Removes the specified publisher based on the name parameter
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
m365 pp solution publisher remove --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name "Publisher Name"
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Removes the specified publisher based on the name parameter without confirmation
|
|
39
|
+
|
|
40
|
+
```sh
|
|
41
|
+
m365 pp solution publisher remove --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name "Publisher Name" --confirm
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
Removes the specified publisher based on the name parameter as admin
|
|
45
|
+
|
|
46
|
+
```sh
|
|
47
|
+
m365 pp solution publisher remove --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name "Publisher Name" --asAdmin
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Removes the specified publisher owned by the currently signed-in user based on the id parameter
|
|
51
|
+
|
|
52
|
+
```sh
|
|
53
|
+
m365 pp solution publisher remove --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --id 00000001-0000-0000-0001-00000000009b
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## Response
|
|
57
|
+
|
|
58
|
+
The command won't return a response on success.
|
|
@@ -32,7 +32,7 @@ m365 spfx project upgrade [options]
|
|
|
32
32
|
|
|
33
33
|
## Remarks
|
|
34
34
|
|
|
35
|
-
The `spfx project upgrade` command helps you upgrade your SharePoint Framework project to the specified version. If no version is specified, the command will upgrade to the latest version of the SharePoint Framework it supports (v1.16.0
|
|
35
|
+
The `spfx project upgrade` command helps you upgrade your SharePoint Framework project to the specified version. If no version is specified, the command will upgrade to the latest version of the SharePoint Framework it supports (v1.16.0).
|
|
36
36
|
|
|
37
37
|
This command doesn't change your project files. Instead, it gives you a report with all steps necessary to upgrade your project to the specified version of the SharePoint Framework. Changing project files is error-prone, especially when it comes to updating your solution's code. This is why at this moment, this command produces a report that you can use yourself to perform the necessary updates and verify that everything is working as expected.
|
|
38
38
|
|
|
@@ -32,8 +32,7 @@ Specify either `listTitle`, `listId` or `listUrl`.
|
|
|
32
32
|
: The id of the event receiver to retrieve. Specify either `name` or `id` but not both.
|
|
33
33
|
|
|
34
34
|
`-s, --scope [scope]`
|
|
35
|
-
: The scope of which to retrieve the
|
|
36
|
-
Can be either "site" or "web". Defaults to "web". Only applicable when not specifying any of the list properties.
|
|
35
|
+
: The scope of which to retrieve the event receivers. Can be either `site` or `web`. Defaults to `web`. Only applicable when not specifying any of the list properties.
|
|
37
36
|
|
|
38
37
|
--8<-- "docs/cmd/_global.md"
|
|
39
38
|
|
|
@@ -68,3 +67,44 @@ Retrieve event receivers for list with url _/sites/contoso-sales/lists/Events_ i
|
|
|
68
67
|
```sh
|
|
69
68
|
m365 spo eventreceiver list --webUrl https://contoso.sharepoint.com/sites/contoso-sales --listUrl '/sites/contoso-sales/lists/Events' --name 'PnP Test Receiver'
|
|
70
69
|
```
|
|
70
|
+
|
|
71
|
+
## Response
|
|
72
|
+
|
|
73
|
+
=== "JSON"
|
|
74
|
+
|
|
75
|
+
```json
|
|
76
|
+
{
|
|
77
|
+
"ReceiverAssembly": "Microsoft.Office.Server.UserProfiles, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c",
|
|
78
|
+
"ReceiverClass": "Microsoft.Office.Server.UserProfiles.ContentFollowingWebEventReceiver",
|
|
79
|
+
"ReceiverId": "c5a6444a-9c7f-4a0d-9e29-fc6fe30e34ec",
|
|
80
|
+
"ReceiverName": "PnP Test Receiver",
|
|
81
|
+
"SequenceNumber": 10000,
|
|
82
|
+
"Synchronization": 2,
|
|
83
|
+
"EventType": 10204,
|
|
84
|
+
"ReceiverUrl": "https://northeurope1-0.pushnp.svc.ms/notifications?token=b4c0def2-a5ea-490a-bb85-c2e423b1384b"
|
|
85
|
+
}
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
=== "Text"
|
|
89
|
+
|
|
90
|
+
```text
|
|
91
|
+
EventType : 10204
|
|
92
|
+
ReceiverAssembly: Microsoft.Office.Server.UserProfiles, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c
|
|
93
|
+
ReceiverClass : Microsoft.Office.Server.UserProfiles.ContentFollowingWebEventReceiver
|
|
94
|
+
ReceiverId : c5a6444a-9c7f-4a0d-9e29-fc6fe30e34ec
|
|
95
|
+
ReceiverName : PnP Test Receiver
|
|
96
|
+
ReceiverUrl : https://northeurope1-0.pushnp.svc.ms/notifications?token=b4c0def2-a5ea-490a-bb85-c2e423b1384b
|
|
97
|
+
SequenceNumber : 10000
|
|
98
|
+
Synchronization : 2
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
=== "CSV"
|
|
102
|
+
|
|
103
|
+
```csv
|
|
104
|
+
ReceiverAssembly,ReceiverClass,ReceiverId,ReceiverName,SequenceNumber,Synchronization,EventType,ReceiverUrl
|
|
105
|
+
"Microsoft.Office.Server.UserProfiles, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c",Microsoft.Office.Server.UserProfiles.ContentFollowingWebEventReceiver,c5a6444a-9c7f-4a0d-9e29-fc6fe30e34ec,PnP Test Receiver,10000,2,10204,https://northeurope1-0.pushnp.svc.ms/notifications?token=b4c0def2-a5ea-490a-bb85-c2e423b1384b
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
@@ -32,10 +32,15 @@ m365 spo eventreceiver remove [options]
|
|
|
32
32
|
: The scope. Can be either "site" or "web". Defaults to "web". Only applicable when not specifying any of the list properties.
|
|
33
33
|
|
|
34
34
|
`--confirm`
|
|
35
|
-
: Don't prompt for
|
|
35
|
+
: Don't prompt for confirmation.
|
|
36
36
|
|
|
37
37
|
--8<-- "docs/cmd/_global.md"
|
|
38
38
|
|
|
39
|
+
## Remarks
|
|
40
|
+
|
|
41
|
+
!!! attention
|
|
42
|
+
You can only remove an event receiver if it has been registered by an app with the same ID.
|
|
43
|
+
|
|
39
44
|
## Examples
|
|
40
45
|
|
|
41
46
|
Remove event receiver in a specific web by name.
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# spo file version clear
|
|
2
|
+
|
|
3
|
+
Removes all version history of a specified file
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 spo file version clear [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-w, --webUrl <webUrl>`
|
|
14
|
+
: The URL of the site where the file is located
|
|
15
|
+
|
|
16
|
+
`-u, --fileUrl [fileUrl]`
|
|
17
|
+
: The server-relative URL of the file to retrieve. Specify either `fileUrl` or `fileId` but not both
|
|
18
|
+
|
|
19
|
+
`-i, --fileId [fileId]`
|
|
20
|
+
: The UniqueId (GUID) of the file to retrieve. Specify either `fileUrl` or `fileId` but not both
|
|
21
|
+
|
|
22
|
+
`--confirm [confirm]`
|
|
23
|
+
: Don't prompt for confirmation.
|
|
24
|
+
|
|
25
|
+
--8<-- "docs/cmd/_global.md"
|
|
26
|
+
|
|
27
|
+
## Examples
|
|
28
|
+
|
|
29
|
+
Removes all file version history in a specific site based on fileId and prompts for confirmation
|
|
30
|
+
|
|
31
|
+
```sh
|
|
32
|
+
m365 spo file version clear --webUrl https://contoso.sharepoint.com --fileId 'b2307a39-e878-458b-bc90-03bc578531d6'
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Removes all file version history in a specific site based on fileUrl and prompts for confirmation
|
|
36
|
+
|
|
37
|
+
```sh
|
|
38
|
+
m365 spo file version clear --webUrl https://contoso.sharepoint.com --fileUrl '/Shared Documents/Document.docx'
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Removes all file version history in a specific site based on fileId without prompting for confirmation
|
|
42
|
+
|
|
43
|
+
```sh
|
|
44
|
+
m365 spo file version clear --webUrl https://contoso.sharepoint.com --fileId 'b2307a39-e878-458b-bc90-03bc578531d6' --confirm
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Removes all file version history in a specific site based on fileUrl without prompting for confirmation
|
|
48
|
+
|
|
49
|
+
```sh
|
|
50
|
+
m365 spo file version clear --webUrl https://contoso.sharepoint.com --fileUrl '/Shared Documents/Document.docx' --confirm
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## Response
|
|
54
|
+
|
|
55
|
+
The command won't return a response on success.
|