@pnp/cli-microsoft365 6.3.0-beta.fee5cdb → 6.4.0-beta.006c079
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/.devcontainer/Dockerfile +5 -2
- package/.eslintrc.js +4 -0
- package/Dockerfile +6 -3
- package/README.md +12 -1
- package/dist/Command.js +1 -0
- package/dist/appInsights.js +2 -1
- package/dist/cli/Cli.js +70 -2
- package/dist/m365/aad/commands/license/license-list.js +41 -0
- package/dist/m365/aad/commands/user/user-add.js +223 -0
- package/dist/m365/aad/commands/user/user-get.js +3 -0
- package/dist/m365/aad/commands/user/user-license-add.js +88 -0
- package/dist/m365/aad/commands/user/user-license-list.js +99 -0
- package/dist/m365/aad/commands/user/user-license-remove.js +115 -0
- package/dist/m365/aad/commands/user/user-recyclebinitem-clear.js +1 -1
- package/dist/m365/aad/commands/user/user-recyclebinitem-list.js +41 -0
- package/dist/m365/aad/commands/user/user-recyclebinitem-remove.js +92 -0
- package/dist/m365/aad/commands/user/user-recyclebinitem-restore.js +70 -0
- package/dist/m365/aad/commands/user/user-remove.js +107 -0
- package/dist/m365/aad/commands/user/user-set.js +3 -0
- package/dist/m365/aad/commands/user/user-signin-list.js +3 -0
- package/dist/m365/aad/commands.js +9 -0
- package/dist/m365/file/commands/file-list.js +5 -1
- package/dist/m365/flow/commands/environment/FlowEnvironmentDetails.js +3 -0
- package/dist/m365/flow/commands/environment/environment-get.js +26 -11
- package/dist/m365/flow/commands/flow-disable.js +9 -2
- package/dist/m365/flow/commands/flow-enable.js +9 -2
- package/dist/m365/flow/commands/flow-get.js +9 -2
- package/dist/m365/flow/commands/flow-list.js +1 -1
- package/dist/m365/flow/commands/flow-remove.js +2 -2
- package/dist/m365/flow/commands/owner/owner-ensure.js +147 -0
- package/dist/m365/flow/commands/owner/owner-list.js +89 -0
- package/dist/m365/flow/commands/owner/owner-remove.js +147 -0
- package/dist/m365/flow/commands/run/run-cancel.js +9 -2
- package/dist/m365/flow/commands/run/run-list.js +5 -2
- package/dist/m365/flow/commands.js +3 -0
- package/dist/m365/planner/commands/roster/roster-member-add.js +3 -0
- package/dist/m365/planner/commands/roster/roster-member-get.js +98 -0
- package/dist/m365/planner/commands.js +1 -0
- package/dist/m365/pp/commands/environment/environment-get.js +18 -9
- package/dist/m365/purview/commands/retentionevent/retentionevent-add.js +138 -0
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-add.js +48 -14
- package/dist/m365/purview/commands.js +1 -0
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.17.0-beta.1.js +59 -0
- package/dist/m365/spfx/commands/project/project-upgrade.js +16 -13
- package/dist/m365/spfx/commands/spfx-doctor.js +43 -29
- package/dist/m365/spo/commands/commandset/commandset-add.js +138 -0
- package/dist/m365/spo/commands/commandset/commandset-get.js +128 -0
- package/dist/m365/spo/commands/commandset/commandset-list.js +77 -0
- package/dist/m365/spo/commands/commandset/commandset-remove.js +146 -0
- package/dist/m365/spo/commands/commandset/commandset-set.js +182 -0
- package/dist/m365/spo/commands/customaction/customaction-get.js +27 -7
- package/dist/m365/spo/commands/file/file-move.js +1 -3
- package/dist/m365/spo/commands/folder/folder-copy.js +0 -2
- package/dist/m365/spo/commands/folder/folder-move.js +0 -2
- package/dist/m365/spo/commands/group/group-member-add.js +54 -95
- package/dist/m365/spo/commands/list/list-add.js +11 -8
- package/dist/m365/spo/commands/list/list-set.js +3 -3
- package/dist/m365/spo/commands/navigation/navigation-node-add.js +5 -4
- package/dist/m365/spo/commands/navigation/navigation-node-set.js +5 -1
- package/dist/m365/spo/commands/site/site-add.js +0 -3
- package/dist/m365/spo/commands/site/site-remove.js +0 -3
- package/dist/m365/spo/commands/site/site-set.js +0 -2
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-get.js +118 -0
- package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-remove.js +0 -1
- package/dist/m365/spo/commands/term/term-get.js +68 -48
- package/dist/m365/spo/commands/user/user-ensure.js +105 -0
- package/dist/m365/spo/commands.js +7 -0
- package/dist/m365/teams/commands/team/team-add.js +3 -8
- package/dist/m365/todo/commands/task/task-add.js +35 -3
- package/dist/utils/aadGroup.js +18 -0
- package/dist/utils/aadUser.js +37 -0
- package/dist/utils/md.js +7 -0
- package/dist/utils/session.js +18 -0
- package/dist/utils/spo.js +35 -12
- package/docs/docs/cmd/aad/app/app-add.md +3 -3
- package/docs/docs/cmd/aad/approleassignment/approleassignment-add.md +5 -5
- package/docs/docs/cmd/aad/approleassignment/approleassignment-remove.md +3 -3
- package/docs/docs/cmd/aad/license/license-list.md +87 -0
- package/docs/docs/cmd/aad/user/user-add.md +168 -0
- package/docs/docs/cmd/aad/user/user-license-add.md +108 -0
- package/docs/docs/cmd/aad/user/user-license-list.md +98 -0
- package/docs/docs/cmd/aad/user/user-license-remove.md +43 -0
- package/docs/docs/cmd/aad/user/user-recyclebinitem-clear.md +1 -1
- package/docs/docs/cmd/aad/user/user-recyclebinitem-list.md +82 -0
- package/docs/docs/cmd/aad/user/user-recyclebinitem-remove.md +45 -0
- package/docs/docs/cmd/aad/user/user-recyclebinitem-restore.md +99 -0
- package/docs/docs/cmd/aad/user/user-remove.md +51 -0
- package/docs/docs/cmd/aad/user/user-set.md +1 -1
- package/docs/docs/cmd/cli/completion/completion-clink-update.md +4 -4
- package/docs/docs/cmd/flow/environment/environment-get.md +31 -3
- package/docs/docs/cmd/flow/owner/owner-ensure.md +61 -0
- package/docs/docs/cmd/flow/owner/owner-list.md +90 -0
- package/docs/docs/cmd/flow/owner/owner-remove.md +67 -0
- package/docs/docs/cmd/flow/run/run-list.md +28 -0
- package/docs/docs/cmd/onenote/page/page-list.md +1 -1
- package/docs/docs/cmd/outlook/mail/mail-send.md +7 -3
- package/docs/docs/cmd/outlook/message/message-get.md +143 -0
- package/docs/docs/cmd/outlook/message/message-list.md +119 -0
- package/docs/docs/cmd/outlook/message/message-move.md +4 -0
- package/docs/docs/cmd/outlook/report/report-mailactivitycounts.md +40 -0
- package/docs/docs/cmd/outlook/report/report-mailactivityusercounts.md +40 -0
- package/docs/docs/cmd/outlook/report/report-mailactivityuserdetail.md +45 -0
- package/docs/docs/cmd/outlook/report/report-mailappusageappsusercounts.md +43 -0
- package/docs/docs/cmd/outlook/report/report-mailappusageusercounts.md +44 -0
- package/docs/docs/cmd/outlook/report/report-mailappusageuserdetail.md +48 -0
- package/docs/docs/cmd/outlook/report/report-mailappusageversionsusercounts.md +41 -0
- package/docs/docs/cmd/outlook/report/report-mailboxusagedetail.md +49 -0
- package/docs/docs/cmd/outlook/report/report-mailboxusagemailboxcount.md +37 -0
- package/docs/docs/cmd/outlook/report/report-mailboxusagequotastatusmailboxcounts.md +40 -0
- package/docs/docs/cmd/outlook/report/report-mailboxusagestorage.md +36 -0
- package/docs/docs/cmd/outlook/room/room-list.md +81 -0
- package/docs/docs/cmd/outlook/roomlist/roomlist-list.md +58 -0
- package/docs/docs/cmd/planner/plan/plan-add.md +3 -3
- package/docs/docs/cmd/planner/plan/plan-set.md +73 -7
- package/docs/docs/cmd/planner/roster/roster-add.md +16 -1
- package/docs/docs/cmd/planner/roster/roster-member-get.md +87 -0
- package/docs/docs/cmd/planner/task/task-add.md +230 -0
- package/docs/docs/cmd/planner/task/task-checklistitem-add.md +55 -0
- package/docs/docs/cmd/planner/task/task-checklistitem-list.md +55 -0
- package/docs/docs/cmd/planner/task/task-checklistitem-remove.md +4 -0
- package/docs/docs/cmd/planner/task/task-get.md +131 -0
- package/docs/docs/cmd/planner/task/task-list.md +92 -0
- package/docs/docs/cmd/planner/task/task-reference-add.md +46 -0
- package/docs/docs/cmd/planner/task/task-reference-list.md +46 -0
- package/docs/docs/cmd/planner/task/task-reference-remove.md +4 -0
- package/docs/docs/cmd/planner/task/task-remove.md +4 -0
- package/docs/docs/cmd/planner/task/task-set.md +230 -0
- package/docs/docs/cmd/planner/tenant/tenant-settings-list.md +55 -0
- package/docs/docs/cmd/planner/tenant/tenant-settings-set.md +55 -0
- package/docs/docs/cmd/pp/card/card-get.md +2 -2
- package/docs/docs/cmd/pp/card/card-list.md +2 -2
- package/docs/docs/cmd/purview/retentionevent/retentionevent-add.md +149 -0
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-add.md +7 -7
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-add.md +12 -0
- package/docs/docs/cmd/skype/report/report-activitycounts.md +38 -0
- package/docs/docs/cmd/skype/report/report-activityusercounts.md +38 -0
- package/docs/docs/cmd/skype/report/report-activityuserdetail.md +67 -0
- package/docs/docs/cmd/spfx/project/project-doctor.md +3 -3
- package/docs/docs/cmd/spfx/project/project-externalize.md +3 -3
- package/docs/docs/cmd/spfx/project/project-permissions-grant.md +21 -0
- package/docs/docs/cmd/spfx/project/project-upgrade.md +3 -3
- package/docs/docs/cmd/spfx/spfx-doctor.md +3 -3
- package/docs/docs/cmd/spo/cdn/cdn-get.md +6 -6
- package/docs/docs/cmd/spo/cdn/cdn-origin-add.md +3 -3
- package/docs/docs/cmd/spo/cdn/cdn-origin-list.md +3 -3
- package/docs/docs/cmd/spo/cdn/cdn-origin-remove.md +3 -3
- package/docs/docs/cmd/spo/cdn/cdn-policy-list.md +3 -3
- package/docs/docs/cmd/spo/cdn/cdn-policy-set.md +3 -3
- package/docs/docs/cmd/spo/cdn/cdn-set.md +3 -3
- package/docs/docs/cmd/spo/commandset/commandset-add.md +159 -0
- package/docs/docs/cmd/spo/commandset/commandset-get.md +149 -0
- package/docs/docs/cmd/spo/commandset/commandset-list.md +109 -0
- package/docs/docs/cmd/spo/commandset/commandset-remove.md +55 -0
- package/docs/docs/cmd/spo/commandset/commandset-set.md +71 -0
- package/docs/docs/cmd/spo/customaction/customaction-get.md +113 -11
- package/docs/docs/cmd/spo/externaluser/externaluser-list.md +2 -0
- package/docs/docs/cmd/spo/group/group-member-add.md +26 -4
- package/docs/docs/cmd/spo/hidedefaultthemes/hidedefaultthemes-get.md +2 -0
- package/docs/docs/cmd/spo/hidedefaultthemes/hidedefaultthemes-set.md +2 -0
- package/docs/docs/cmd/spo/homesite/homesite-get.md +20 -1
- package/docs/docs/cmd/spo/homesite/homesite-remove.md +10 -2
- package/docs/docs/cmd/spo/homesite/homesite-set.md +10 -2
- package/docs/docs/cmd/spo/hubsite/hubsite-connect.md +9 -9
- package/docs/docs/cmd/spo/hubsite/hubsite-data-get.md +34 -5
- package/docs/docs/cmd/spo/hubsite/hubsite-disconnect.md +6 -6
- package/docs/docs/cmd/spo/hubsite/hubsite-get.md +36 -19
- package/docs/docs/cmd/spo/hubsite/hubsite-list.md +59 -1
- package/docs/docs/cmd/spo/hubsite/hubsite-register.md +30 -1
- package/docs/docs/cmd/spo/hubsite/hubsite-rights-grant.md +6 -6
- package/docs/docs/cmd/spo/hubsite/hubsite-rights-revoke.md +4 -4
- package/docs/docs/cmd/spo/hubsite/hubsite-set.md +40 -15
- package/docs/docs/cmd/spo/hubsite/hubsite-unregister.md +4 -4
- package/docs/docs/cmd/spo/knowledgehub/knowledgehub-get.md +9 -1
- package/docs/docs/cmd/spo/knowledgehub/knowledgehub-remove.md +11 -3
- package/docs/docs/cmd/spo/knowledgehub/knowledgehub-set.md +11 -5
- package/docs/docs/cmd/spo/list/list-add.md +124 -58
- package/docs/docs/cmd/spo/list/list-contenttype-add.md +50 -5
- package/docs/docs/cmd/spo/list/list-contenttype-default-set.md +4 -4
- package/docs/docs/cmd/spo/list/list-contenttype-list.md +49 -4
- package/docs/docs/cmd/spo/list/list-contenttype-remove.md +6 -6
- package/docs/docs/cmd/spo/list/list-get.md +70 -4
- package/docs/docs/cmd/spo/list/list-list.md +70 -2
- package/docs/docs/cmd/spo/list/list-remove.md +6 -6
- package/docs/docs/cmd/spo/list/list-retentionlabel-ensure.md +2 -2
- package/docs/docs/cmd/spo/list/list-retentionlabel-get.md +36 -3
- package/docs/docs/cmd/spo/list/list-retentionlabel-remove.md +3 -3
- package/docs/docs/cmd/spo/list/list-roleassignment-add.md +6 -6
- package/docs/docs/cmd/spo/list/list-roleassignment-remove.md +3 -3
- package/docs/docs/cmd/spo/list/list-roleinheritance-break.md +9 -9
- package/docs/docs/cmd/spo/list/list-roleinheritance-reset.md +7 -7
- package/docs/docs/cmd/spo/list/list-set.md +61 -61
- package/docs/docs/cmd/spo/list/list-sitescript-get.md +35 -3
- package/docs/docs/cmd/spo/list/list-view-add.md +66 -5
- package/docs/docs/cmd/spo/list/list-view-field-add.md +10 -10
- package/docs/docs/cmd/spo/list/list-view-get.md +61 -0
- package/docs/docs/cmd/spo/list/list-view-list.md +61 -0
- package/docs/docs/cmd/spo/list/list-view-set.md +1 -1
- package/docs/docs/cmd/spo/list/list-webhook-add.md +19 -0
- package/docs/docs/cmd/spo/list/list-webhook-get.md +19 -0
- package/docs/docs/cmd/spo/list/list-webhook-list.md +19 -0
- package/docs/docs/cmd/spo/listitem/listitem-add.md +30 -1
- package/docs/docs/cmd/spo/listitem/listitem-attachment-list.md +17 -2
- package/docs/docs/cmd/spo/listitem/listitem-batch-add.md +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-get.md +57 -0
- package/docs/docs/cmd/spo/listitem/listitem-isrecord.md +6 -0
- package/docs/docs/cmd/spo/listitem/listitem-list.md +28 -0
- package/docs/docs/cmd/spo/listitem/listitem-record-declare.md +15 -0
- package/docs/docs/cmd/spo/listitem/listitem-set.md +31 -1
- package/docs/docs/cmd/spo/navigation/navigation-node-add.md +25 -3
- package/docs/docs/cmd/spo/navigation/navigation-node-set.md +2 -2
- package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-add.md +2 -0
- package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-list.md +2 -0
- package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-remove.md +2 -0
- package/docs/docs/cmd/spo/orgnewssite/orgnewssite-list.md +2 -0
- package/docs/docs/cmd/spo/orgnewssite/orgnewssite-remove.md +2 -0
- package/docs/docs/cmd/spo/orgnewssite/orgnewssite-set.md +3 -3
- package/docs/docs/cmd/spo/site/site-appcatalog-add.md +2 -0
- package/docs/docs/cmd/spo/site/site-appcatalog-remove.md +3 -3
- package/docs/docs/cmd/spo/site/site-commsite-enable.md +2 -0
- package/docs/docs/cmd/spo/site/site-list.md +3 -3
- package/docs/docs/cmd/spo/site/site-remove.md +3 -3
- package/docs/docs/cmd/spo/site/site-rename.md +3 -3
- package/docs/docs/cmd/spo/site/site-set.md +5 -5
- package/docs/docs/cmd/spo/storageentity/storageentity-remove.md +3 -3
- package/docs/docs/cmd/spo/storageentity/storageentity-set.md +3 -3
- package/docs/docs/cmd/spo/tenant/tenant-appcatalog-add.md +3 -3
- package/docs/docs/cmd/spo/tenant/tenant-appcatalogurl-get.md +2 -0
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-add.md +3 -3
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-get.md +142 -0
- package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-list.md +2 -0
- package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-remove.md +3 -3
- package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-restore.md +3 -3
- package/docs/docs/cmd/spo/tenant/tenant-settings-list.md +2 -0
- package/docs/docs/cmd/spo/tenant/tenant-settings-set.md +28 -26
- package/docs/docs/cmd/spo/term/term-add.md +3 -3
- package/docs/docs/cmd/spo/term/term-get.md +3 -3
- package/docs/docs/cmd/spo/term/term-group-add.md +2 -0
- package/docs/docs/cmd/spo/term/term-group-get.md +2 -0
- package/docs/docs/cmd/spo/term/term-group-list.md +2 -0
- package/docs/docs/cmd/spo/term/term-list.md +3 -1
- package/docs/docs/cmd/spo/term/term-set-add.md +3 -3
- package/docs/docs/cmd/spo/term/term-set-get.md +2 -0
- package/docs/docs/cmd/spo/term/term-set-list.md +2 -0
- package/docs/docs/cmd/spo/theme/theme-apply.md +3 -3
- package/docs/docs/cmd/spo/theme/theme-get.md +2 -0
- package/docs/docs/cmd/spo/theme/theme-list.md +2 -0
- package/docs/docs/cmd/spo/theme/theme-remove.md +2 -0
- package/docs/docs/cmd/spo/theme/theme-set.md +3 -3
- package/docs/docs/cmd/spo/user/user-ensure.md +109 -0
- package/docs/docs/cmd/teams/channel/channel-get.md +1 -1
- package/docs/docs/cmd/teams/channel/channel-member-add.md +2 -2
- package/docs/docs/cmd/teams/message/message-get.md +39 -4
- package/docs/docs/cmd/teams/message/message-list.md +41 -6
- package/docs/docs/cmd/teams/message/message-reply-list.md +39 -4
- package/docs/docs/cmd/teams/messagingsettings/messagingsettings-list.md +20 -2
- package/docs/docs/cmd/teams/messagingsettings/messagingsettings-set.md +8 -8
- package/docs/docs/cmd/teams/report/report-deviceusagedistributionusercounts.md +12 -5
- package/docs/docs/cmd/teams/report/report-deviceusageusercounts.md +13 -6
- package/docs/docs/cmd/teams/report/report-deviceusageuserdetail.md +14 -7
- package/docs/docs/cmd/teams/report/report-directroutingcalls.md +13 -6
- package/docs/docs/cmd/teams/report/report-pstncalls.md +13 -6
- package/docs/docs/cmd/teams/report/report-useractivitycounts.md +13 -6
- package/docs/docs/cmd/teams/report/report-useractivityusercounts.md +13 -6
- package/docs/docs/cmd/teams/report/report-useractivityuserdetail.md +13 -6
- package/docs/docs/cmd/teams/tab/tab-add.md +16 -0
- package/docs/docs/cmd/teams/tab/tab-get.md +17 -0
- package/docs/docs/cmd/teams/tab/tab-list.md +19 -0
- package/docs/docs/cmd/teams/team/team-add.md +77 -8
- package/docs/docs/cmd/teams/team/team-app-list.md +18 -2
- package/docs/docs/cmd/teams/team/team-archive.md +2 -2
- package/docs/docs/cmd/teams/team/team-clone.md +8 -8
- package/docs/docs/cmd/teams/team/team-get.md +34 -4
- package/docs/docs/cmd/teams/team/team-list.md +34 -3
- package/docs/docs/cmd/teams/team/team-remove.md +3 -3
- package/docs/docs/cmd/teams/team/team-set.md +8 -8
- package/docs/docs/cmd/teams/team/team-unarchive.md +3 -2
- package/docs/docs/cmd/teams/user/user-app-add.md +3 -3
- package/docs/docs/cmd/teams/user/user-app-list.md +18 -2
- package/docs/docs/cmd/teams/user/user-app-remove.md +4 -4
- package/docs/docs/cmd/teams/user/user-list.md +21 -4
- package/docs/docs/cmd/todo/task/task-add.md +47 -2
- package/npm-shrinkwrap.json +280 -194
- package/package.json +15 -13
|
@@ -43,3 +43,49 @@ Add a new reference with the url _https://www.microsoft.com_ and with the type E
|
|
|
43
43
|
```sh
|
|
44
44
|
m365 planner task reference add --taskId "2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2" --url "https://www.microsoft.com" --type "Excel"
|
|
45
45
|
```
|
|
46
|
+
|
|
47
|
+
## Response
|
|
48
|
+
|
|
49
|
+
=== "JSON"
|
|
50
|
+
|
|
51
|
+
```json
|
|
52
|
+
{
|
|
53
|
+
"https%3A//microsoft%2Ecom": {
|
|
54
|
+
"alias": null,
|
|
55
|
+
"type": null,
|
|
56
|
+
"previewPriority": "8585269190192498871PB",
|
|
57
|
+
"lastModifiedDateTime": "2023-01-25T23:05:26.24332Z",
|
|
58
|
+
"lastModifiedBy": {
|
|
59
|
+
"user": {
|
|
60
|
+
"displayName": null,
|
|
61
|
+
"id": "b2091e18-7882-4efe-b7d1-90703f5a5c65"
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
=== "Text"
|
|
69
|
+
|
|
70
|
+
```txt
|
|
71
|
+
https%3A//microsoft%2Ecom: {"alias":null,"type":null,"previewPriority":"8585269190192498871PB","lastModifiedDateTime":"2023-01-25T23:05:26.24332Z","lastModifiedBy":{"user":{"displayName":null,"id":"b2091e18-7882-4efe-b7d1-90703f5a5c65"}}}
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
=== "CSV"
|
|
75
|
+
|
|
76
|
+
```csv
|
|
77
|
+
https%3A//microsoft%2Ecom
|
|
78
|
+
"{""alias"":null,""type"":null,""previewPriority"":""8585269190192498871PB"",""lastModifiedDateTime"":""2023-01-25T23:05:26.24332Z"",""lastModifiedBy"":{""user"":{""displayName"":null,""id"":""b2091e18-7882-4efe-b7d1-90703f5a5c65""}}}"
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
=== "Markdown"
|
|
82
|
+
|
|
83
|
+
```md
|
|
84
|
+
# planner task reference add --taskId "OopX1ANphEu7Lm4-0tVtl5cAFRGQ" --url "https://microsoft.com"
|
|
85
|
+
|
|
86
|
+
Date: 4/2/2023
|
|
87
|
+
|
|
88
|
+
Property | Value
|
|
89
|
+
---------|-------
|
|
90
|
+
https%3A//microsoft%2Ecom | {"alias":null,"type":null,"previewPriority":"8585269190192498871PB;","lastModifiedDateTime":"2023-01-25T23:05:26.24332Z","lastModifiedBy":{"user":{"displayName":null,"id":"b2091e18-7882-4efe-b7d1-90703f5a5c65"}}}
|
|
91
|
+
```
|
|
@@ -22,3 +22,49 @@ Retrieve the references of the specified planner task
|
|
|
22
22
|
```sh
|
|
23
23
|
m365 planner task reference list --taskId uBk5fK_MHkeyuPYlCo4OFpcAM
|
|
24
24
|
```
|
|
25
|
+
|
|
26
|
+
## Response
|
|
27
|
+
|
|
28
|
+
=== "JSON"
|
|
29
|
+
|
|
30
|
+
```json
|
|
31
|
+
{
|
|
32
|
+
"https%3A//microsoft%2Ecom": {
|
|
33
|
+
"alias": null,
|
|
34
|
+
"type": null,
|
|
35
|
+
"previewPriority": "8585269191724168649Pp",
|
|
36
|
+
"lastModifiedDateTime": "2023-01-25T23:02:53.107589Z",
|
|
37
|
+
"lastModifiedBy": {
|
|
38
|
+
"user": {
|
|
39
|
+
"displayName": null,
|
|
40
|
+
"id": "b2091e18-7882-4efe-b7d1-90703f5a5c65"
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
=== "Text"
|
|
48
|
+
|
|
49
|
+
```txt
|
|
50
|
+
https%3A//microsoft%2Ecom: {"alias":null,"type":null,"previewPriority":"8585269191724168649Pp","lastModifiedDateTime":"2023-01-25T23:02:53.107589Z","lastModifiedBy":{"user":{"displayName":null,"id":"b2091e18-7882-4efe-b7d1-90703f5a5c65"}}}
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
=== "CSV"
|
|
54
|
+
|
|
55
|
+
```csv
|
|
56
|
+
https%3A//microsoft%2Ecom
|
|
57
|
+
"{""alias"":null,""type"":null,""previewPriority"":""8585269191724168649Pp"",""lastModifiedDateTime"":""2023-01-25T23:02:53.107589Z"",""lastModifiedBy"":{""user"":{""displayName"":null,""id"":""b2091e18-7882-4efe-b7d1-90703f5a5c65""}}}"
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
=== "Markdown"
|
|
61
|
+
|
|
62
|
+
```md
|
|
63
|
+
# planner task reference list --taskId "OopX1ANphEu7Lm4-0tVtl5cAFRGQ"
|
|
64
|
+
|
|
65
|
+
Date: 4/2/2023
|
|
66
|
+
|
|
67
|
+
Property | Value
|
|
68
|
+
---------|-------
|
|
69
|
+
https%3A//microsoft%2Ecom | {"alias":null,"type":null,"previewPriority":"8585269191724168649Pp;","lastModifiedDateTime":"2023-01-25T23:02:53.107589Z","lastModifiedBy":{"user":{"displayName":null,"id":"b2091e18-7882-4efe-b7d1-90703f5a5c65"}}}
|
|
70
|
+
```
|
|
@@ -76,3 +76,7 @@ Removes the Microsoft Planner task with title _My Task_ in the bucket with name
|
|
|
76
76
|
```sh
|
|
77
77
|
m365 planner task remove --title "My Task" --bucketName "My Bucket" --planTitle "My Plan" --ownerGroupId "00000000-0000-0000-0000-000000000000"
|
|
78
78
|
```
|
|
79
|
+
|
|
80
|
+
## Response
|
|
81
|
+
|
|
82
|
+
The command won't return a response on success.
|
|
@@ -103,6 +103,236 @@ Marks a Microsoft Planner task with the ID _Z-RLQGfppU6H3663DBzfs5gAMD3o_ as 50%
|
|
|
103
103
|
m365 planner task set --id "2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2" --percentComplete 50 --appliedCategories "category1,category3"
|
|
104
104
|
```
|
|
105
105
|
|
|
106
|
+
## Response
|
|
107
|
+
|
|
108
|
+
### Standard response
|
|
109
|
+
|
|
110
|
+
=== "JSON"
|
|
111
|
+
|
|
112
|
+
```json
|
|
113
|
+
{
|
|
114
|
+
"planId": "oUHpnKBFekqfGE_PS6GGUZcAFY7b",
|
|
115
|
+
"bucketId": "vncYUXCRBke28qMLB-d4xJcACtNz",
|
|
116
|
+
"title": "Important task",
|
|
117
|
+
"orderHint": "8585269241124027581",
|
|
118
|
+
"assigneePriority": "",
|
|
119
|
+
"percentComplete": 50,
|
|
120
|
+
"startDateTime": "2023-01-20T00:00:00Z",
|
|
121
|
+
"createdDateTime": "2023-01-25T21:39:33.0748226Z",
|
|
122
|
+
"dueDateTime": "2023-02-15T00:00:00Z",
|
|
123
|
+
"hasDescription": false,
|
|
124
|
+
"previewType": "automatic",
|
|
125
|
+
"completedDateTime": null,
|
|
126
|
+
"completedBy": null,
|
|
127
|
+
"referenceCount": 0,
|
|
128
|
+
"checklistItemCount": 0,
|
|
129
|
+
"activeChecklistItemCount": 0,
|
|
130
|
+
"conversationThreadId": null,
|
|
131
|
+
"priority": 5,
|
|
132
|
+
"id": "D-ys8Ef4kEuwYG4r68Um3pcAAe9M",
|
|
133
|
+
"createdBy": {
|
|
134
|
+
"user": {
|
|
135
|
+
"displayName": null,
|
|
136
|
+
"id": "b2091e18-7882-4efe-b7d1-90703f5a5c65"
|
|
137
|
+
},
|
|
138
|
+
"application": {
|
|
139
|
+
"displayName": null,
|
|
140
|
+
"id": "31359c7f-bd7e-475c-86db-fdb8c937548e"
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
"appliedCategories": {},
|
|
144
|
+
"assignments": {}
|
|
145
|
+
}
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
=== "Text"
|
|
149
|
+
|
|
150
|
+
```text
|
|
151
|
+
activeChecklistItemCount: 0
|
|
152
|
+
appliedCategories : {}
|
|
153
|
+
assigneePriority :
|
|
154
|
+
assignments : {}
|
|
155
|
+
bucketId : vncYUXCRBke28qMLB-d4xJcACtNz
|
|
156
|
+
checklistItemCount : 0
|
|
157
|
+
completedBy : null
|
|
158
|
+
completedDateTime : null
|
|
159
|
+
conversationThreadId : null
|
|
160
|
+
createdBy : {"user":{"displayName":null,"id":"b2091e18-7882-4efe-b7d1-90703f5a5c65"},"application":{"displayName":null,"id":"31359c7f-bd7e-475c-86db-fdb8c937548e"}}
|
|
161
|
+
createdDateTime : 2023-01-25T21:44:10.6044385Z
|
|
162
|
+
dueDateTime : 2023-02-15T00:00:00Z
|
|
163
|
+
hasDescription : false
|
|
164
|
+
id : D-ys8Ef4kEuwYG4r68Um3pcAAe9M
|
|
165
|
+
orderHint : 8585269238348731422
|
|
166
|
+
percentComplete : 50
|
|
167
|
+
planId : oUHpnKBFekqfGE_PS6GGUZcAFY7b
|
|
168
|
+
previewType : automatic
|
|
169
|
+
priority : 5
|
|
170
|
+
referenceCount : 0
|
|
171
|
+
references : {}
|
|
172
|
+
startDateTime : 2023-01-20T00:00:00Z
|
|
173
|
+
title : Important task
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
=== "CSV"
|
|
177
|
+
|
|
178
|
+
```csv
|
|
179
|
+
planId,bucketId,title,orderHint,assigneePriority,percentComplete,startDateTime,createdDateTime,dueDateTime,hasDescription,previewType,completedDateTime,completedBy,referenceCount,checklistItemCount,activeChecklistItemCount,conversationThreadId,priority,id,createdBy,appliedCategories,assignments
|
|
180
|
+
oUHpnKBFekqfGE_PS6GGUZcAFY7b,vncYUXCRBke28qMLB-d4xJcACtNz,Important task,8585269237867589640,,50,2023-01-20T00:00:00Z,2023-01-25T21:44:58.7186167Z,2023-02-15T00:00:00Z,,automatic,,,0,0,0,,5,D-ys8Ef4kEuwYG4r68Um3pcAAe9M,"{""user"":{""displayName"":null,""id"":""b2091e18-7882-4efe-b7d1-90703f5a5c65""},""application"":{""displayName"":null,""id"":""31359c7f-bd7e-475c-86db-fdb8c937548e""}}",{},{}
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
=== "Markdown"
|
|
184
|
+
|
|
185
|
+
```md
|
|
186
|
+
# planner task set --id "D-ys8Ef4kEuwYG4r68Um3pcAAe9M" --startDateTime "2023-01-20" --dueDateTime "2023-02-15" --percentComplete "50" --title "Important task"
|
|
187
|
+
|
|
188
|
+
Date: 25/1/2023
|
|
189
|
+
|
|
190
|
+
## Important task (D-ys8Ef4kEuwYG4r68Um3pcAAe9M)
|
|
191
|
+
|
|
192
|
+
Property | Value
|
|
193
|
+
---------|-------
|
|
194
|
+
planId | oUHpnKBFekqfGE\_PS6GGUZcAFY7b
|
|
195
|
+
bucketId | vncYUXCRBke28qMLB-d4xJcACtNz
|
|
196
|
+
title | Important task
|
|
197
|
+
orderHint | 8585269235419217847
|
|
198
|
+
assigneePriority |
|
|
199
|
+
percentComplete | 50
|
|
200
|
+
startDateTime | 2023-01-20T00:00:00Z
|
|
201
|
+
createdDateTime | 2023-01-25T21:49:03.555796Z
|
|
202
|
+
dueDateTime | 2023-02-15T00:00:00Z
|
|
203
|
+
hasDescription | false
|
|
204
|
+
previewType | automatic
|
|
205
|
+
completedDateTime | null
|
|
206
|
+
completedBy | null
|
|
207
|
+
referenceCount | 0
|
|
208
|
+
checklistItemCount | 0
|
|
209
|
+
activeChecklistItemCount | 0
|
|
210
|
+
conversationThreadId | null
|
|
211
|
+
priority | 5
|
|
212
|
+
id | D-ys8Ef4kEuwYG4r68Um3pcAAe9M
|
|
213
|
+
createdBy | {"user":{"displayName":null,"id":"b2091e18-7882-4efe-b7d1-90703f5a5c65"},"application":{"displayName":null,"id":"31359c7f-bd7e-475c-86db-fdb8c937548e"}}
|
|
214
|
+
appliedCategories | {}
|
|
215
|
+
assignments | {}
|
|
216
|
+
```
|
|
217
|
+
|
|
218
|
+
### `description`, `previewType` response
|
|
219
|
+
|
|
220
|
+
=== "JSON"
|
|
221
|
+
|
|
222
|
+
```json
|
|
223
|
+
{
|
|
224
|
+
"planId": "oUHpnKBFekqfGE_PS6GGUZcAFY7b",
|
|
225
|
+
"bucketId": "vncYUXCRBke28qMLB-d4xJcACtNz",
|
|
226
|
+
"title": "Important task",
|
|
227
|
+
"orderHint": "8585269241124027581",
|
|
228
|
+
"assigneePriority": "",
|
|
229
|
+
"percentComplete": 50,
|
|
230
|
+
"startDateTime": "2023-01-20T00:00:00Z",
|
|
231
|
+
"createdDateTime": "2023-01-25T21:39:33.0748226Z",
|
|
232
|
+
"dueDateTime": "2023-02-15T00:00:00Z",
|
|
233
|
+
"hasDescription": true,
|
|
234
|
+
"previewType": "automatic",
|
|
235
|
+
"completedDateTime": null,
|
|
236
|
+
"completedBy": null,
|
|
237
|
+
"referenceCount": 0,
|
|
238
|
+
"checklistItemCount": 0,
|
|
239
|
+
"activeChecklistItemCount": 0,
|
|
240
|
+
"conversationThreadId": null,
|
|
241
|
+
"priority": 5,
|
|
242
|
+
"id": "D-ys8Ef4kEuwYG4r68Um3pcAAe9M",
|
|
243
|
+
"createdBy": {
|
|
244
|
+
"user": {
|
|
245
|
+
"displayName": null,
|
|
246
|
+
"id": "b2091e18-7882-4efe-b7d1-90703f5a5c65"
|
|
247
|
+
},
|
|
248
|
+
"application": {
|
|
249
|
+
"displayName": null,
|
|
250
|
+
"id": "31359c7f-bd7e-475c-86db-fdb8c937548e"
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
"appliedCategories": {},
|
|
254
|
+
"assignments": {},
|
|
255
|
+
"description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
|
|
256
|
+
"references": {},
|
|
257
|
+
"checklist": {}
|
|
258
|
+
}
|
|
259
|
+
```
|
|
260
|
+
|
|
261
|
+
=== "Text"
|
|
262
|
+
|
|
263
|
+
```txt
|
|
264
|
+
activeChecklistItemCount: 0
|
|
265
|
+
appliedCategories : {}
|
|
266
|
+
assigneePriority :
|
|
267
|
+
assignments : {}
|
|
268
|
+
bucketId : vncYUXCRBke28qMLB-d4xJcACtNz
|
|
269
|
+
checklist : {}
|
|
270
|
+
checklistItemCount : 0
|
|
271
|
+
completedBy : null
|
|
272
|
+
completedDateTime : null
|
|
273
|
+
conversationThreadId : null
|
|
274
|
+
createdBy : {"user":{"displayName":null,"id":"b2091e18-7882-4efe-b7d1-90703f5a5c65"},"application":{"displayName":null,"id":"31359c7f-bd7e-475c-86db-fdb8c937548e"}}
|
|
275
|
+
createdDateTime : 2023-01-25T21:44:10.6044385Z
|
|
276
|
+
description : Lorem ipsum dolor sit amet, consectetur adipiscing elit.
|
|
277
|
+
dueDateTime : 2023-02-15T00:00:00Z
|
|
278
|
+
hasDescription : true
|
|
279
|
+
id : D-ys8Ef4kEuwYG4r68Um3pcAAe9M
|
|
280
|
+
orderHint : 8585269238348731422
|
|
281
|
+
percentComplete : 50
|
|
282
|
+
planId : oUHpnKBFekqfGE_PS6GGUZcAFY7b
|
|
283
|
+
previewType : automatic
|
|
284
|
+
priority : 5
|
|
285
|
+
referenceCount : 0
|
|
286
|
+
references : {}
|
|
287
|
+
startDateTime : 2023-01-20T00:00:00Z
|
|
288
|
+
title : Important task
|
|
289
|
+
```
|
|
290
|
+
|
|
291
|
+
=== "CSV"
|
|
292
|
+
|
|
293
|
+
```csv
|
|
294
|
+
planId,bucketId,title,orderHint,assigneePriority,percentComplete,startDateTime,createdDateTime,dueDateTime,hasDescription,previewType,completedDateTime,completedBy,referenceCount,checklistItemCount,activeChecklistItemCount,conversationThreadId,priority,id,createdBy,appliedCategories,assignments,description,references,checklist
|
|
295
|
+
oUHpnKBFekqfGE_PS6GGUZcAFY7b,vncYUXCRBke28qMLB-d4xJcACtNz,Important task,8585269237867589640,,50,2023-01-20T00:00:00Z,2023-01-25T21:44:58.7186167Z,2023-02-15T00:00:00Z,1,automatic,,,0,0,0,,5,D-ys8Ef4kEuwYG4r68Um3pcAAe9M,"{""user"":{""displayName"":null,""id"":""b2091e18-7882-4efe-b7d1-90703f5a5c65""},""application"":{""displayName"":null,""id"":""31359c7f-bd7e-475c-86db-fdb8c937548e""}}",{},{},"Lorem ipsum dolor sit amet, consectetur adipiscing elit.",{},{}
|
|
296
|
+
```
|
|
297
|
+
|
|
298
|
+
=== "Markdown"
|
|
299
|
+
|
|
300
|
+
```md
|
|
301
|
+
# planner task set --id "D-ys8Ef4kEuwYG4r68Um3pcAAe9M" --title "Important task" --description "Lorem ipsum dolor sit amet, consectetur adipiscing elit."
|
|
302
|
+
|
|
303
|
+
Date: 25/1/2023
|
|
304
|
+
|
|
305
|
+
## Important task (D-ys8Ef4kEuwYG4r68Um3pcAAe9M)
|
|
306
|
+
|
|
307
|
+
Property | Value
|
|
308
|
+
---------|-------
|
|
309
|
+
planId | oUHpnKBFekqfGE\_PS6GGUZcAFY7b
|
|
310
|
+
bucketId | vncYUXCRBke28qMLB-d4xJcACtNz
|
|
311
|
+
title | Important task
|
|
312
|
+
orderHint | 8585269235419217847
|
|
313
|
+
assigneePriority |
|
|
314
|
+
percentComplete | 50
|
|
315
|
+
startDateTime | 2023-01-20T00:00:00Z
|
|
316
|
+
createdDateTime | 2023-01-25T21:49:03.555796Z
|
|
317
|
+
dueDateTime | 2023-02-15T00:00:00Z
|
|
318
|
+
hasDescription | true
|
|
319
|
+
previewType | automatic
|
|
320
|
+
completedDateTime | null
|
|
321
|
+
completedBy | null
|
|
322
|
+
referenceCount | 0
|
|
323
|
+
checklistItemCount | 0
|
|
324
|
+
activeChecklistItemCount | 0
|
|
325
|
+
conversationThreadId | null
|
|
326
|
+
priority | 5
|
|
327
|
+
id | D-ys8Ef4kEuwYG4r68Um3pcAAe9M
|
|
328
|
+
createdBy | {"user":{"displayName":null,"id":"b2091e18-7882-4efe-b7d1-90703f5a5c65"},"application":{"displayName":null,"id":"31359c7f-bd7e-475c-86db-fdb8c937548e"}}
|
|
329
|
+
appliedCategories | {}
|
|
330
|
+
assignments | {}
|
|
331
|
+
description | Lorem ipsum dolor sit amet, consectetur adipiscing elit.
|
|
332
|
+
references | {}
|
|
333
|
+
checklist | {}
|
|
334
|
+
```
|
|
335
|
+
|
|
106
336
|
## Additional information
|
|
107
337
|
|
|
108
338
|
- Using order hints in Planner: [https://docs.microsoft.com/graph/api/resources/planner-order-hint-format?view=graph-rest-1.0](https://docs.microsoft.com/graph/api/resources/planner-order-hint-format?view=graph-rest-1.0)
|
|
@@ -26,3 +26,58 @@ Lists the Microsoft Planner settings of the tenant
|
|
|
26
26
|
```sh
|
|
27
27
|
m365 planner tenant settings list
|
|
28
28
|
```
|
|
29
|
+
|
|
30
|
+
## Response
|
|
31
|
+
|
|
32
|
+
=== "JSON"
|
|
33
|
+
|
|
34
|
+
```json
|
|
35
|
+
{
|
|
36
|
+
"id": "1",
|
|
37
|
+
"isPlannerAllowed": true,
|
|
38
|
+
"allowCalendarSharing": true,
|
|
39
|
+
"allowTenantMoveWithDataLoss": false,
|
|
40
|
+
"allowTenantMoveWithDataMigration": false,
|
|
41
|
+
"allowRosterCreation": true,
|
|
42
|
+
"allowPlannerMobilePushNotifications": true
|
|
43
|
+
}
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
=== "Text"
|
|
47
|
+
|
|
48
|
+
```txt
|
|
49
|
+
allowCalendarSharing : true
|
|
50
|
+
allowPlannerMobilePushNotifications: true
|
|
51
|
+
allowRosterCreation : true
|
|
52
|
+
allowTenantMoveWithDataLoss : false
|
|
53
|
+
allowTenantMoveWithDataMigration : false
|
|
54
|
+
isPlannerAllowed : true
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
=== "CSV"
|
|
58
|
+
|
|
59
|
+
```csv
|
|
60
|
+
isPlannerAllowed,allowCalendarSharing,allowTenantMoveWithDataLoss,allowTenantMoveWithDataMigration,allowRosterCreation,allowPlannerMobilePushNotifications
|
|
61
|
+
1,1,,,1,1
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
=== "Markdown"
|
|
65
|
+
|
|
66
|
+
```md
|
|
67
|
+
# planner tenant settings list
|
|
68
|
+
|
|
69
|
+
Date: 4/2/2023
|
|
70
|
+
|
|
71
|
+
## 1
|
|
72
|
+
|
|
73
|
+
Property | Value
|
|
74
|
+
---------|-------
|
|
75
|
+
id | 1
|
|
76
|
+
isPlannerAllowed | true
|
|
77
|
+
allowCalendarSharing | true
|
|
78
|
+
allowTenantMoveWithDataLoss | false
|
|
79
|
+
allowTenantMoveWithDataMigration | false
|
|
80
|
+
allowRosterCreation | true
|
|
81
|
+
allowPlannerMobilePushNotifications | true
|
|
82
|
+
disallowedSharedWithContainerTypes | []
|
|
83
|
+
```
|
|
@@ -54,3 +54,58 @@ Enable Microsoft Planner but disallow roster plans to be created
|
|
|
54
54
|
```sh
|
|
55
55
|
m365 planner tenant settings set --isPlannerAllowed true --allowRosterCreation false
|
|
56
56
|
```
|
|
57
|
+
|
|
58
|
+
## Response
|
|
59
|
+
|
|
60
|
+
=== "JSON"
|
|
61
|
+
|
|
62
|
+
```json
|
|
63
|
+
{
|
|
64
|
+
"id": "1",
|
|
65
|
+
"isPlannerAllowed": true,
|
|
66
|
+
"allowCalendarSharing": true,
|
|
67
|
+
"allowTenantMoveWithDataLoss": false,
|
|
68
|
+
"allowTenantMoveWithDataMigration": false,
|
|
69
|
+
"allowRosterCreation": true,
|
|
70
|
+
"allowPlannerMobilePushNotifications": true
|
|
71
|
+
}
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
=== "Text"
|
|
75
|
+
|
|
76
|
+
```txt
|
|
77
|
+
allowCalendarSharing : true
|
|
78
|
+
allowPlannerMobilePushNotifications: true
|
|
79
|
+
allowRosterCreation : true
|
|
80
|
+
allowTenantMoveWithDataLoss : false
|
|
81
|
+
allowTenantMoveWithDataMigration : false
|
|
82
|
+
isPlannerAllowed : true
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
=== "CSV"
|
|
86
|
+
|
|
87
|
+
```csv
|
|
88
|
+
isPlannerAllowed,allowCalendarSharing,allowTenantMoveWithDataLoss,allowTenantMoveWithDataMigration,allowRosterCreation,allowPlannerMobilePushNotifications
|
|
89
|
+
1,1,,,1,1
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
=== "Markdown"
|
|
93
|
+
|
|
94
|
+
```md
|
|
95
|
+
# planner tenant settings list
|
|
96
|
+
|
|
97
|
+
Date: 4/2/2023
|
|
98
|
+
|
|
99
|
+
## 1
|
|
100
|
+
|
|
101
|
+
Property | Value
|
|
102
|
+
---------|-------
|
|
103
|
+
id | 1
|
|
104
|
+
isPlannerAllowed | true
|
|
105
|
+
allowCalendarSharing | true
|
|
106
|
+
allowTenantMoveWithDataLoss | false
|
|
107
|
+
allowTenantMoveWithDataMigration | false
|
|
108
|
+
allowRosterCreation | true
|
|
109
|
+
allowPlannerMobilePushNotifications | true
|
|
110
|
+
disallowedSharedWithContainerTypes | []
|
|
111
|
+
```
|
|
@@ -97,7 +97,7 @@ m365 pp card get --environment "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" --
|
|
|
97
97
|
},
|
|
98
98
|
"owninguser":{
|
|
99
99
|
"azureactivedirectoryobjectid":"78637d62-e872-4dc9-b7c1-bd161e631682",
|
|
100
|
-
"fullname":"#
|
|
100
|
+
"fullname":"# John Doe",
|
|
101
101
|
"systemuserid":"4f175d04-b952-ed11-bba2-000d3adf774e",
|
|
102
102
|
"ownerid":"4f175d04-b952-ed11-bba2-000d3adf774e"
|
|
103
103
|
}
|
|
@@ -167,5 +167,5 @@ m365 pp card get --environment "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" --
|
|
|
167
167
|
publishsourceid | null
|
|
168
168
|
timezoneruleversionnumber | null
|
|
169
169
|
iscustomizable | {"Value":true,"CanBeChanged":true,"ManagedPropertyLogicalName":"iscustomizableanddeletable"}
|
|
170
|
-
owninguser | {"azureactivedirectoryobjectid":"78ccf530-bbf0-47e4-aae6-da5f8c6fb142","fullname":"#
|
|
170
|
+
owninguser | {"azureactivedirectoryobjectid":"78ccf530-bbf0-47e4-aae6-da5f8c6fb142","fullname":"# John Doe","systemuserid":"4f175d04-b952-ed11-bba2-000d3adf774e","ownerid":"4f175d04-b952-ed11-bba2-000d3adf774e"}
|
|
171
171
|
```
|
|
@@ -80,7 +80,7 @@ m365 pp card list --environment "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" -
|
|
|
80
80
|
},
|
|
81
81
|
"owninguser":{
|
|
82
82
|
"azureactivedirectoryobjectid":"78637d62-e872-4dc9-b7c1-bd161e631682",
|
|
83
|
-
"fullname":"#
|
|
83
|
+
"fullname":"# John Doe",
|
|
84
84
|
"systemuserid":"4f175d04-b952-ed11-bba2-000d3adf774e",
|
|
85
85
|
"ownerid":"4f175d04-b952-ed11-bba2-000d3adf774e"
|
|
86
86
|
}
|
|
@@ -149,5 +149,5 @@ m365 pp card list --environment "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" -
|
|
|
149
149
|
publishsourceid | null
|
|
150
150
|
timezoneruleversionnumber | null
|
|
151
151
|
iscustomizable | {"Value":true,"CanBeChanged":true,"ManagedPropertyLogicalName":"iscustomizableanddeletable"}
|
|
152
|
-
owninguser | {"azureactivedirectoryobjectid":"78ccf530-bbf0-47e4-aae6-da5f8c6fb142","fullname":"#
|
|
152
|
+
owninguser | {"azureactivedirectoryobjectid":"78ccf530-bbf0-47e4-aae6-da5f8c6fb142","fullname":"# John Doe","systemuserid":"4f175d04-b952-ed11-bba2-000d3adf774e","ownerid":"4f175d04-b952-ed11-bba2-000d3adf774e"}
|
|
153
153
|
```
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
# purview retentionevent add
|
|
2
|
+
|
|
3
|
+
Create a retention event
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 purview retentionevent add [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-n, --displayName <displayName>`
|
|
14
|
+
: The display name of the event
|
|
15
|
+
|
|
16
|
+
`-e, --eventTypeName [eventTypeName]`
|
|
17
|
+
: Name of the event type associated with the event. Specify either `eventTypeId` or `eventTypeName` but not both.
|
|
18
|
+
|
|
19
|
+
`-i, --eventTypeId [eventTypeId]`
|
|
20
|
+
: Id of the event type associated with the event. Specify either `eventTypeId` or `eventTypeName` but not both.
|
|
21
|
+
|
|
22
|
+
`-d, --description [description]`
|
|
23
|
+
: A description for the event
|
|
24
|
+
|
|
25
|
+
`--triggerDateTime [triggerDateTime]`
|
|
26
|
+
: Optional time when the event should be triggered.
|
|
27
|
+
|
|
28
|
+
`-a, --assetIds [assetIds]`
|
|
29
|
+
: The Asset IDs for items in SharePoint and OneDrive that are related to this event. Only items that have labels associated with the event type you chose will be retained. Specify `assetIds` and/or `keywords`, but at least one.
|
|
30
|
+
|
|
31
|
+
`-k, --keywords [keywords]`
|
|
32
|
+
: The keywords for items in Exchange that are related to this event. Only items that have labels associated with the event type you chose will be retained. Specify `assetIds` and/or `keywords`, but at least one.
|
|
33
|
+
|
|
34
|
+
--8<-- "docs/cmd/_global.md"
|
|
35
|
+
|
|
36
|
+
## Remarks
|
|
37
|
+
|
|
38
|
+
!!! attention
|
|
39
|
+
This command is based on an API that is currently in preview and is subject to change once the API reached general availability.
|
|
40
|
+
|
|
41
|
+
!!! attention
|
|
42
|
+
This command currently only supports delegated permissions.
|
|
43
|
+
|
|
44
|
+
## Examples
|
|
45
|
+
|
|
46
|
+
Create a retention event to start retention at the end of 2022 for all employee documents that have been labeled and have the Asset ID _EmployeeNr1234_
|
|
47
|
+
|
|
48
|
+
```sh
|
|
49
|
+
m365 purview retentionevent add --displayName 'Employee information expiration' --description 'Employee documents expired due to offboarding' --eventTypeName 'CustomRetentionTime' --triggerDateTime '2022-12-31' --assetIds 'ComplianceAssetId:EmployeeNr1234'
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## More information
|
|
53
|
+
|
|
54
|
+
This command is part of a series of commands that have to do with event-based retention. Event-based retention is about starting a retention period when a specific event occurs, instead of the moment a document was labeled or created.
|
|
55
|
+
|
|
56
|
+
[Read more on event-based retention here](https://learn.microsoft.com/en-us/microsoft-365/compliance/event-driven-retention?view=o365-worldwide)
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
## Response
|
|
60
|
+
|
|
61
|
+
=== "JSON"
|
|
62
|
+
|
|
63
|
+
```json
|
|
64
|
+
{
|
|
65
|
+
"displayName": "Event display name",
|
|
66
|
+
"description": "Event description",
|
|
67
|
+
"eventTriggerDateTime": "2023-04-02T15:47:54Z",
|
|
68
|
+
"lastStatusUpdateDateTime": "0001-01-01T00:00:00Z",
|
|
69
|
+
"createdDateTime": "2023-02-20T18:53:05Z",
|
|
70
|
+
"lastModifiedDateTime": "2023-02-20T18:53:05Z",
|
|
71
|
+
"id": "9f5c1a04-8f7a-4bff-e400-08db1373b324",
|
|
72
|
+
"eventQueries": [
|
|
73
|
+
{
|
|
74
|
+
"queryType": "files",
|
|
75
|
+
"query": "filesQuery,filesQuery1"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"queryType": "messages",
|
|
79
|
+
"query": "messagesQuery,messagesQuery1"
|
|
80
|
+
}
|
|
81
|
+
],
|
|
82
|
+
"eventStatus": {
|
|
83
|
+
"error": null,
|
|
84
|
+
"status": "pending"
|
|
85
|
+
},
|
|
86
|
+
"eventPropagationResults": [],
|
|
87
|
+
"createdBy": {
|
|
88
|
+
"user": {
|
|
89
|
+
"id": null,
|
|
90
|
+
"displayName": "John Doe"
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"lastModifiedBy": {
|
|
94
|
+
"user": {
|
|
95
|
+
"id": null,
|
|
96
|
+
"displayName": "John Doe"
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
=== "Text"
|
|
103
|
+
|
|
104
|
+
```text
|
|
105
|
+
createdBy : {"user":{"id":null,"displayName":"John Doe"}}
|
|
106
|
+
createdDateTime : 2023-02-20T18:53:05Z
|
|
107
|
+
description : Event description
|
|
108
|
+
displayName : Event display name
|
|
109
|
+
eventPropagationResults : []
|
|
110
|
+
eventQueries : [{"queryType":"files","query":"filesQuery,filesQuery1"},{"queryType":"messages","query":"messagesQuery,messagesQuery1"}]
|
|
111
|
+
eventStatus : {"error":null,"status":"pending"}
|
|
112
|
+
eventTriggerDateTime : 2023-04-02T15:47:54Z
|
|
113
|
+
id : 9f5c1a04-8f7a-4bff-e400-08db1373b324
|
|
114
|
+
lastModifiedBy : {"user":{"id":null,"displayName":"John Doe"}}
|
|
115
|
+
lastModifiedDateTime : 2023-02-20T18:53:05Z
|
|
116
|
+
lastStatusUpdateDateTime: 0001-01-01T00:00:00Z
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
=== "CSV"
|
|
120
|
+
|
|
121
|
+
```csv
|
|
122
|
+
displayName,description,eventTriggerDateTime,lastStatusUpdateDateTime,createdDateTime,lastModifiedDateTime,id,eventQueries,eventStatus,eventPropagationResults,createdBy,lastModifiedBy
|
|
123
|
+
Event display name,Event description,2023-04-02T15:47:54Z,0001-01-01T00:00:00Z,2023-02-20T18:53:05Z,2023-02-20T18:53:05Z,9f5c1a04-8f7a-4bff-e400-08db1373b324,"[{""queryType"":""files"",""query"":""filesQuery,filesQuery1""},{""queryType"":""messages"",""query"":""messagesQuery,messagesQuery1""}]","{""error"":null,""status"":""pending""}",[],"{""user"":{""id"":null,""displayName"":""John Doe""}}","{""user"":{""id"":null,""displayName"":""John Doe""}}"
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
=== "Markdown"
|
|
127
|
+
|
|
128
|
+
```md
|
|
129
|
+
# purview retentionevent add --displayName "Event display name" --eventType "Event Type" --description "Event description" --triggerDateTime "2023-04-02T15:47:54Z" --assetIds "filesQuery,filesQuery1" --keywords "messagesQuery,messagesQuery1"
|
|
130
|
+
|
|
131
|
+
Date: 20/2/2023
|
|
132
|
+
|
|
133
|
+
## Event display name (9f5c1a04-8f7a-4bff-e400-08db1373b324)
|
|
134
|
+
|
|
135
|
+
Property | Value
|
|
136
|
+
---------|-------
|
|
137
|
+
displayName | Event display name
|
|
138
|
+
description | Event description
|
|
139
|
+
eventTriggerDateTime | 2023-04-02T15:47:54Z
|
|
140
|
+
lastStatusUpdateDateTime | 0001-01-01T00:00:00Z
|
|
141
|
+
createdDateTime | 2023-02-20T18:53:05Z
|
|
142
|
+
lastModifiedDateTime | 2023-02-20T18:53:05Z
|
|
143
|
+
id | 9f5c1a04-8f7a-4bff-e400-08db1373b324
|
|
144
|
+
eventQueries | [{"queryType":"files","query":"filesQuery,filesQuery1"},{"queryType":"messages","query":"messagesQuery,messagesQuery1"}]
|
|
145
|
+
eventStatus | {"error":null,"status":"pending"}
|
|
146
|
+
eventPropagationResults | []
|
|
147
|
+
createdBy | {"user":{"id":null,"displayName":"John Doe"}}
|
|
148
|
+
lastModifiedBy | {"user":{"id":null,"displayName":"John Doe"}}
|
|
149
|
+
```
|