@pnp/cli-microsoft365 6.0.0-beta.da9cd2c → 6.0.0-beta.dc71aa3
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/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-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.js +1 -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/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-list.js +4 -3
- package/dist/m365/spo/commands/eventreceiver/eventreceiver-remove.js +49 -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 +1 -1
- 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 +7 -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 +3 -2
- 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/pp/dataverse/dataverse-table-remove.md +49 -0
- 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/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/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
|
@@ -46,3 +46,40 @@ List all owners of the specified Microsoft Teams team with id 00000000-0000-0000
|
|
|
46
46
|
```sh
|
|
47
47
|
m365 teams channel member list --teamId 00000000-0000-0000-0000-000000000000 --channelId 19:00000000000000000000000000000000@thread.skype --role owner
|
|
48
48
|
```
|
|
49
|
+
|
|
50
|
+
## Response
|
|
51
|
+
|
|
52
|
+
=== "JSON"
|
|
53
|
+
|
|
54
|
+
```json
|
|
55
|
+
[
|
|
56
|
+
{
|
|
57
|
+
"id": "MCMjMiMjMGNhYzZjZGEtMmUwNC00YTNkLTljMTYtOWM5MTQ3MGQ3MDIyIyMxOTpCM25DbkxLd3dDb0dERUFEeVVnUTVrSjVQa2VrdWp5am13eHA3dWhRZUFFMUB0aHJlYWQudGFjdjIjIzc4Y2NmNTMwLWJiZjAtNDdlNC1hYWU2LWRhNWY4YzZmYjE0Mg==",
|
|
58
|
+
"roles": [
|
|
59
|
+
"owner"
|
|
60
|
+
],
|
|
61
|
+
"displayName": "John Doe",
|
|
62
|
+
"visibleHistoryStartDateTime": "0001-01-01T00:00:00Z",
|
|
63
|
+
"userId": "78ccf530-bbf0-47e4-aae6-da5f8c6fb142",
|
|
64
|
+
"email": "johndoe@contoso.onmicrosoft.com",
|
|
65
|
+
"tenantId": "446355e4-e7e3-43d5-82f8-d7ad8272d55b"
|
|
66
|
+
}
|
|
67
|
+
]
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
=== "Text"
|
|
71
|
+
|
|
72
|
+
```text
|
|
73
|
+
displayName: John Doe
|
|
74
|
+
email : johndoe@contoso.onmicrosoft.com
|
|
75
|
+
id : MCMjMiMjMGNhYzZjZGEtMmUwNC00YTNkLTljMTYtOWM5MTQ3MGQ3MDIyIyMxOTpCM25DbkxLd3dDb0dERUFEeVVnUTVrSjVQa2VrdWp5am13eHA3dWhRZUFFMUB0aHJlYWQudGFjdjIjIzc4Y2NmNTMwLWJiZjAtNDdlNC1hYWU2LWRhNWY4YzZmYjE0Mg==
|
|
76
|
+
roles : ["owner"]
|
|
77
|
+
userId : 78ccf530-bbf0-47e4-aae6-da5f8c6fb142
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
=== "CSV"
|
|
81
|
+
|
|
82
|
+
```csv
|
|
83
|
+
id,roles,displayName,userId,email
|
|
84
|
+
MCMjMiMjMGNhYzZjZGEtMmUwNC00YTNkLTljMTYtOWM5MTQ3MGQ3MDIyIyMxOTpCM25DbkxLd3dDb0dERUFEeVVnUTVrSjVQa2VrdWp5am13eHA3dWhRZUFFMUB0aHJlYWQudGFjdjIjIzc4Y2NmNTMwLWJiZjAtNDdlNC1hYWU2LWRhNWY4YzZmYjE0Mg==,"[""owner""]",John Doe,78ccf530-bbf0-47e4-aae6-da5f8c6fb142,johndoe@contoso.onmicrosoft.com
|
|
85
|
+
```
|
|
@@ -49,3 +49,7 @@ Remove the user with id 00000000-0000-0000-0000-000000000000 from the Microsoft
|
|
|
49
49
|
```sh
|
|
50
50
|
m365 teams channel member remove --teamName "Team Name" --channelName "Channel Name" --userId 00000000-0000-0000-0000-000000000000
|
|
51
51
|
```
|
|
52
|
+
|
|
53
|
+
## Response
|
|
54
|
+
|
|
55
|
+
The command won't return a response on success.
|
|
@@ -49,3 +49,38 @@ Updates the role of the user with id 00000000-0000-0000-0000-000000000000 to mem
|
|
|
49
49
|
```sh
|
|
50
50
|
m365 teams channel member set --teamName "Team Name" --channelName "Channel Name" --userId 00000000-0000-0000-0000-000000000000 --role member
|
|
51
51
|
```
|
|
52
|
+
|
|
53
|
+
## Response
|
|
54
|
+
|
|
55
|
+
=== "JSON"
|
|
56
|
+
|
|
57
|
+
```json
|
|
58
|
+
{
|
|
59
|
+
"id": "MCMjMiMjMGNhYzZjZGEtMmUwNC00YTNkLTljMTYtOWM5MTQ3MGQ3MDIyIyMxOTpjOTg1MzBhZjFiMWQ0ZGQyOTMwOGRkYWQ2Zjc2YjdhMUB0aHJlYWQudGFjdjIjIzI0MWFkYmY2LTJhNTYtNGM3Mi04MWYyLTY5ZTc1ZGU2YWMzNA==",
|
|
60
|
+
"roles": [],
|
|
61
|
+
"displayName": "John Doe",
|
|
62
|
+
"visibleHistoryStartDateTime": "0001-01-01T00:00:00Z",
|
|
63
|
+
"userId": "00000000-0000-0000-0000-000000000000",
|
|
64
|
+
"email": "johndoe@contoso.onmicrosoft.com",
|
|
65
|
+
"tenantId": "446355e4-e7e3-43d5-82f8-d7ad8272d55b"
|
|
66
|
+
}
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
=== "Text"
|
|
70
|
+
|
|
71
|
+
```text
|
|
72
|
+
displayName : John Doe
|
|
73
|
+
email : johndoe@contoso.onmicrosoft.com
|
|
74
|
+
id : MCMjMiMjMGNhYzZjZGEtMmUwNC00YTNkLTljMTYtOWM5MTQ3MGQ3MDIyIyMxOTpjOTg1MzBhZjFiMWQ0ZGQyOTMwOGRkYWQ2Zjc2YjdhMUB0aHJlYWQudGFjdjIjIzI0MWFkYmY2LTJhNTYtNGM3Mi04MWYyLTY5ZTc1ZGU2YWMzNA==
|
|
75
|
+
roles : []
|
|
76
|
+
tenantId : 446355e4-e7e3-43d5-82f8-d7ad8272d55b
|
|
77
|
+
userId : 00000000-0000-0000-0000-000000000000
|
|
78
|
+
visibleHistoryStartDateTime: 0001-01-01T00:00:00Z
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
=== "CSV"
|
|
82
|
+
|
|
83
|
+
```csv
|
|
84
|
+
id,roles,displayName,visibleHistoryStartDateTime,userId,email,tenantId
|
|
85
|
+
MCMjMiMjMGNhYzZjZGEtMmUwNC00YTNkLTljMTYtOWM5MTQ3MGQ3MDIyIyMxOTpjOTg1MzBhZjFiMWQ0ZGQyOTMwOGRkYWQ2Zjc2YjdhMUB0aHJlYWQudGFjdjIjIzI0MWFkYmY2LTJhNTYtNGM3Mi04MWYyLTY5ZTc1ZGU2YWMzNA==,[],John Doe,0001-01-01T00:00:00Z,00000000-0000-0000-0000-000000000000,johndoe@contoso.onmicrosoft.com,446355e4-e7e3-43d5-82f8-d7ad8272d55b
|
|
86
|
+
```
|
|
@@ -57,6 +57,10 @@ Remove the specified Microsoft Teams channel by Name without confirmation
|
|
|
57
57
|
m365 teams channel remove --name 'name' --teamName "Team Name" --confirm
|
|
58
58
|
```
|
|
59
59
|
|
|
60
|
+
## Response
|
|
61
|
+
|
|
62
|
+
The command won't return a response on success.
|
|
63
|
+
|
|
60
64
|
## More information
|
|
61
65
|
|
|
62
66
|
- directory resource type (deleted items): [https://docs.microsoft.com/en-us/graph/api/resources/directory?view=graph-rest-1.0](https://docs.microsoft.com/en-us/graph/api/resources/directory?view=graph-rest-1.0)
|
|
@@ -44,3 +44,6 @@ Set new display name for the specified channel in the given Microsoft Teams team
|
|
|
44
44
|
m365 teams channel set --teamId "00000000-0000-0000-0000-000000000000" --name Reviews --newName Projects
|
|
45
45
|
```
|
|
46
46
|
|
|
47
|
+
## Response
|
|
48
|
+
|
|
49
|
+
The command won't return a response on success.
|
|
@@ -51,3 +51,45 @@ Get a Microsoft Teams chat conversation, finding it by display name
|
|
|
51
51
|
```sh
|
|
52
52
|
m365 teams chat get --name "Just a conversation"
|
|
53
53
|
```
|
|
54
|
+
|
|
55
|
+
## Response
|
|
56
|
+
|
|
57
|
+
=== "JSON"
|
|
58
|
+
|
|
59
|
+
```json
|
|
60
|
+
{
|
|
61
|
+
"id": "19:2da4c29f6d7041eca70b638b43d45437@thread.v2",
|
|
62
|
+
"topic": null,
|
|
63
|
+
"createdDateTime": "2022-11-05T13:06:25.218Z",
|
|
64
|
+
"lastUpdatedDateTime": "2022-11-05T13:06:25.218Z",
|
|
65
|
+
"chatType": "oneOnOne",
|
|
66
|
+
"webUrl": "https://teams.microsoft.com/l/chat/19%3A2da4c29f6d7041eca70b638b43d45437%40thread.v2/0?tenantId=446355e4-e7e3-43d5-82f8-d7ad8272d55b",
|
|
67
|
+
"tenantId": "446355e4-e7e3-43d5-82f8-d7ad8272d55b",
|
|
68
|
+
"onlineMeetingInfo": null,
|
|
69
|
+
"viewpoint": {
|
|
70
|
+
"isHidden": false,
|
|
71
|
+
"lastMessageReadDateTime": "2022-11-05T13:06:30.582Z"
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
=== "Text"
|
|
77
|
+
|
|
78
|
+
```text
|
|
79
|
+
chatType : oneOnOne
|
|
80
|
+
createdDateTime : 2022-11-05T13:06:25.218Z
|
|
81
|
+
id : 19:2da4c29f6d7041eca70b638b43d45437@thread.v2
|
|
82
|
+
lastUpdatedDateTime: 2022-11-05T13:06:25.218Z
|
|
83
|
+
onlineMeetingInfo : null
|
|
84
|
+
tenantId : 446355e4-e7e3-43d5-82f8-d7ad8272d55b
|
|
85
|
+
topic : null
|
|
86
|
+
viewpoint : {"isHidden":false,"lastMessageReadDateTime":"2022-11-05T13:06:30.582Z"}
|
|
87
|
+
webUrl : https://teams.microsoft.com/l/chat/19%3A2da4c29f6d7041eca70b638b43d45437%40thread.v2/0?tenantId=446355e4-e7e3-43d5-82f8-d7ad8272d55b
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
=== "CSV"
|
|
91
|
+
|
|
92
|
+
```csv
|
|
93
|
+
id,topic,createdDateTime,lastUpdatedDateTime,chatType,webUrl,tenantId,onlineMeetingInfo,viewpoint
|
|
94
|
+
19:2da4c29f6d7041eca70b638b43d45437@thread.v2,,2022-11-05T13:06:25.218Z,2022-11-05T13:06:25.218Z,oneOnOne,https://teams.microsoft.com/l/chat/19%3A2da4c29f6d7041eca70b638b43d45437%40thread.v2/0?tenantId=446355e4-e7e3-43d5-82f8-d7ad8272d55b,446355e4-e7e3-43d5-82f8-d7ad8272d55b,,"{""isHidden"":false,""lastMessageReadDateTime"":""2022-11-05T13:06:30.582Z""}"
|
|
95
|
+
```
|
|
@@ -28,3 +28,41 @@ List only the one on one Microsoft Teams chat conversations.
|
|
|
28
28
|
```sh
|
|
29
29
|
m365 teams chat list --type oneOnOne
|
|
30
30
|
```
|
|
31
|
+
|
|
32
|
+
## Response
|
|
33
|
+
|
|
34
|
+
=== "JSON"
|
|
35
|
+
|
|
36
|
+
```json
|
|
37
|
+
[
|
|
38
|
+
{
|
|
39
|
+
"id": "19:2da4c29f6d7041eca70b638b43d45437@thread.v2",
|
|
40
|
+
"topic": null,
|
|
41
|
+
"createdDateTime": "2022-11-05T13:06:25.218Z",
|
|
42
|
+
"lastUpdatedDateTime": "2022-11-05T13:06:25.218Z",
|
|
43
|
+
"chatType": "oneOnOne",
|
|
44
|
+
"webUrl": "https://teams.microsoft.com/l/chat/19%3A2da4c29f6d7041eca70b638b43d45437%40thread.v2/0?tenantId=446355e4-e7e3-43d5-82f8-d7ad8272d55b",
|
|
45
|
+
"tenantId": "446355e4-e7e3-43d5-82f8-d7ad8272d55b",
|
|
46
|
+
"onlineMeetingInfo": null,
|
|
47
|
+
"viewpoint": {
|
|
48
|
+
"isHidden": false,
|
|
49
|
+
"lastMessageReadDateTime": "2022-11-05T13:06:30.582Z"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
=== "Text"
|
|
56
|
+
|
|
57
|
+
```text
|
|
58
|
+
id topic chatType
|
|
59
|
+
--------------------------------------------- ----- --------
|
|
60
|
+
19:2da4c29f6d7041eca70b638b43d45437@thread.v2 null oneOnOne
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
=== "CSV"
|
|
64
|
+
|
|
65
|
+
```csv
|
|
66
|
+
id,topic,chatType
|
|
67
|
+
19:2da4c29f6d7041eca70b638b43d45437@thread.v2,,oneOnOne
|
|
68
|
+
```
|
|
@@ -22,3 +22,38 @@ List the members from a Microsoft Teams chat conversation
|
|
|
22
22
|
```sh
|
|
23
23
|
m365 teams chat member list --chatId 19:8b081ef6-4792-4def-b2c9-c363a1bf41d5_5031bb31-22c0-4f6f-9f73-91d34ab2b32d@unq.gbl.spaces
|
|
24
24
|
```
|
|
25
|
+
|
|
26
|
+
## Response
|
|
27
|
+
|
|
28
|
+
=== "JSON"
|
|
29
|
+
|
|
30
|
+
```json
|
|
31
|
+
[
|
|
32
|
+
{
|
|
33
|
+
"id": "MCMjMCMjMGNhYzZjZGEtMmUwNC00YTNkLTljMTYtOWM5MTQ3MGQ3MDIyIyMxOToyNDFhZGJmNi0yYTU2LTRjNzItODFmMi02OWU3NWRlNmFjMzRfNzhjY2Y1MzAtYmJmMC00N2U0LWFhZTYtZGE1ZjhjNmZiMTQyQHVucS5nYmwuc3BhY2VzIyM3OGNjZjUzMC1iYmYwLTQ3ZTQtYWFlNi1kYTVmOGM2ZmIxNDI=",
|
|
34
|
+
"roles": [
|
|
35
|
+
"owner"
|
|
36
|
+
],
|
|
37
|
+
"displayName": "John Doe",
|
|
38
|
+
"visibleHistoryStartDateTime": "0001-01-01T00:00:00Z",
|
|
39
|
+
"userId": "78ccf530-bbf0-47e4-aae6-da5f8c6fb142",
|
|
40
|
+
"email": "johndoe@contoso.onmicrosoft.com",
|
|
41
|
+
"tenantId": "446355e4-e7e3-43d5-82f8-d7ad8272d55b"
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
=== "Text"
|
|
47
|
+
|
|
48
|
+
```text
|
|
49
|
+
userId displayName email
|
|
50
|
+
------------------------------------ -------------- ---------------------------------
|
|
51
|
+
78ccf530-bbf0-47e4-aae6-da5f8c6fb142 John Doe johndoe@contoso.onmicrosoft.com
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
=== "CSV"
|
|
55
|
+
|
|
56
|
+
```csv
|
|
57
|
+
userId,displayName,email
|
|
58
|
+
78ccf530-bbf0-47e4-aae6-da5f8c6fb142,John Doe,johndoe@contoso.onmicrosoft.com
|
|
59
|
+
```
|
|
@@ -22,3 +22,63 @@ List the messages from a Microsoft Teams chat conversation
|
|
|
22
22
|
```sh
|
|
23
23
|
m365 teams chat message list --chatId 19:2da4c29f6d7041eca70b638b43d45437@thread.v2
|
|
24
24
|
```
|
|
25
|
+
|
|
26
|
+
## Response
|
|
27
|
+
|
|
28
|
+
=== "JSON"
|
|
29
|
+
|
|
30
|
+
```json
|
|
31
|
+
[
|
|
32
|
+
{
|
|
33
|
+
"id": "1667653590582",
|
|
34
|
+
"replyToId": null,
|
|
35
|
+
"etag": "1667653590582",
|
|
36
|
+
"messageType": "message",
|
|
37
|
+
"createdDateTime": "2022-11-05T13:06:30.582Z",
|
|
38
|
+
"lastModifiedDateTime": "2022-11-05T13:06:30.582Z",
|
|
39
|
+
"lastEditedDateTime": null,
|
|
40
|
+
"deletedDateTime": null,
|
|
41
|
+
"subject": null,
|
|
42
|
+
"summary": null,
|
|
43
|
+
"chatId": "19:2da4c29f6d7041eca70b638b43d45437@thread.v2",
|
|
44
|
+
"importance": "normal",
|
|
45
|
+
"locale": "en-us",
|
|
46
|
+
"webUrl": null,
|
|
47
|
+
"channelIdentity": null,
|
|
48
|
+
"policyViolation": null,
|
|
49
|
+
"eventDetail": null,
|
|
50
|
+
"from": {
|
|
51
|
+
"application": null,
|
|
52
|
+
"device": null,
|
|
53
|
+
"user": {
|
|
54
|
+
"id": "78ccf530-bbf0-47e4-aae6-da5f8c6fb142",
|
|
55
|
+
"displayName": "John Doe",
|
|
56
|
+
"userIdentityType": "aadUser",
|
|
57
|
+
"tenantId": "446355e4-e7e3-43d5-82f8-d7ad8272d55b"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"body": {
|
|
61
|
+
"contentType": "html",
|
|
62
|
+
"content": "<p>Hello world</p>"
|
|
63
|
+
},
|
|
64
|
+
"attachments": [],
|
|
65
|
+
"mentions": [],
|
|
66
|
+
"reactions": []
|
|
67
|
+
}
|
|
68
|
+
]
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
=== "Text"
|
|
72
|
+
|
|
73
|
+
```text
|
|
74
|
+
id shortBody
|
|
75
|
+
------------- -------------------------
|
|
76
|
+
1667653590582 <p>Hello world</p>
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
=== "CSV"
|
|
80
|
+
|
|
81
|
+
```csv
|
|
82
|
+
id,shortBody
|
|
83
|
+
1667653590582,<p>Hello world</p>
|
|
84
|
+
```
|
|
@@ -22,3 +22,32 @@ List fun settings of a Microsoft Teams team
|
|
|
22
22
|
```sh
|
|
23
23
|
m365 teams funsettings list --teamId 83cece1e-938d-44a1-8b86-918cf6151957
|
|
24
24
|
```
|
|
25
|
+
|
|
26
|
+
## Response
|
|
27
|
+
|
|
28
|
+
=== "JSON"
|
|
29
|
+
|
|
30
|
+
```json
|
|
31
|
+
{
|
|
32
|
+
"allowGiphy": true,
|
|
33
|
+
"giphyContentRating": "moderate",
|
|
34
|
+
"allowStickersAndMemes": true,
|
|
35
|
+
"allowCustomMemes": true
|
|
36
|
+
}
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
=== "Text"
|
|
40
|
+
|
|
41
|
+
```text
|
|
42
|
+
allowCustomMemes : true
|
|
43
|
+
allowGiphy : true
|
|
44
|
+
allowStickersAndMemes: true
|
|
45
|
+
giphyContentRating : moderate
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
=== "CSV"
|
|
49
|
+
|
|
50
|
+
```csv
|
|
51
|
+
allowGiphy,giphyContentRating,allowStickersAndMemes,allowCustomMemes
|
|
52
|
+
1,moderate,1,1
|
|
53
|
+
```
|
|
@@ -22,3 +22,28 @@ Get guest settings for a Microsoft Teams team
|
|
|
22
22
|
```sh
|
|
23
23
|
m365 teams guestsettings list --teamId 2609af39-7775-4f94-a3dc-0dd67657e900
|
|
24
24
|
```
|
|
25
|
+
|
|
26
|
+
## Response
|
|
27
|
+
|
|
28
|
+
=== "JSON"
|
|
29
|
+
|
|
30
|
+
```json
|
|
31
|
+
{
|
|
32
|
+
"allowCreateUpdateChannels": false,
|
|
33
|
+
"allowDeleteChannels": false
|
|
34
|
+
}
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
=== "Text"
|
|
38
|
+
|
|
39
|
+
```text
|
|
40
|
+
allowCreateUpdateChannels: false
|
|
41
|
+
allowDeleteChannels : false
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
=== "CSV"
|
|
45
|
+
|
|
46
|
+
```csv
|
|
47
|
+
allowCreateUpdateChannels,allowDeleteChannels
|
|
48
|
+
,
|
|
49
|
+
```
|
|
@@ -22,3 +22,36 @@ Get member settings for a Microsoft Teams team
|
|
|
22
22
|
```sh
|
|
23
23
|
m365 teams membersettings list --teamId 2609af39-7775-4f94-a3dc-0dd67657e900
|
|
24
24
|
```
|
|
25
|
+
|
|
26
|
+
## Response
|
|
27
|
+
|
|
28
|
+
=== "JSON"
|
|
29
|
+
|
|
30
|
+
```json
|
|
31
|
+
{
|
|
32
|
+
"allowCreateUpdateChannels": true,
|
|
33
|
+
"allowCreatePrivateChannels": true,
|
|
34
|
+
"allowDeleteChannels": true,
|
|
35
|
+
"allowAddRemoveApps": true,
|
|
36
|
+
"allowCreateUpdateRemoveTabs": true,
|
|
37
|
+
"allowCreateUpdateRemoveConnectors": true
|
|
38
|
+
}
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
=== "Text"
|
|
42
|
+
|
|
43
|
+
```text
|
|
44
|
+
allowAddRemoveApps : true
|
|
45
|
+
allowCreatePrivateChannels : true
|
|
46
|
+
allowCreateUpdateChannels : true
|
|
47
|
+
allowCreateUpdateRemoveConnectors: true
|
|
48
|
+
allowCreateUpdateRemoveTabs : true
|
|
49
|
+
allowDeleteChannels : true
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
=== "CSV"
|
|
53
|
+
|
|
54
|
+
```csv
|
|
55
|
+
allowCreateUpdateChannels,allowCreatePrivateChannels,allowDeleteChannels,allowAddRemoveApps,allowCreateUpdateRemoveTabs,allowCreateUpdateRemoveConnectors
|
|
56
|
+
1,1,1,1,1,1
|
|
57
|
+
```
|
|
@@ -48,3 +48,68 @@ Returns the first 10 Yammer network groups for the user with the ID `5611239081`
|
|
|
48
48
|
```sh
|
|
49
49
|
m365 yammer group list --userId 5611239081 --limit 10
|
|
50
50
|
```
|
|
51
|
+
|
|
52
|
+
## Response
|
|
53
|
+
|
|
54
|
+
=== "JSON"
|
|
55
|
+
|
|
56
|
+
```json
|
|
57
|
+
[
|
|
58
|
+
{
|
|
59
|
+
"type": "group",
|
|
60
|
+
"id": 31158067201,
|
|
61
|
+
"email": "",
|
|
62
|
+
"full_name": "Contoso Hub",
|
|
63
|
+
"network_id": 5897756673,
|
|
64
|
+
"name": "contosohub",
|
|
65
|
+
"description": "",
|
|
66
|
+
"privacy": "public",
|
|
67
|
+
"url": "https://www.yammer.com/api/v1/groups/31158067201",
|
|
68
|
+
"web_url": "https://www.yammer.com/contoso.onmicrosoft.com/#/threads/inGroup?type=in_group&feedId=31158067201",
|
|
69
|
+
"mugshot_url": "https://mugshot0eu-1.assets-yammer.com/mugshot/images/group_profile.png?P1=1668205176&P2=104&P3=1&P4=l98Wk4FkhCqVX1J8bQ_8yZDbK4cfU1lQGgkK0Ak1k2g-tfLV9_ecm6k7FyFApCq3Xnzl7NPKpGLWT2IVD-Ft5q3VSCwzv5c0A1l-SFC5MrfN25BIsR9ux8K-LlYbFUF3yeh-vFk_IxwE-AI2xEVCuq0aoINzHiIW4Gi5IxC6mDDni72sE2LuM3X4LooEowEYrzfz5d-m9hMveU1E8KPPEmq3WTejhJ_Bc3zY3XA3n4jEPDnZ09uPUyVCBpa84Ysh-GGSkFWsPBAldAQAbbzcjip_SzrfKz868BolCLlbM3DwRQfyDH9Of9IYEZpu1U85hBuNoolF68rKPVL6-bxl2w&size=48x48",
|
|
70
|
+
"mugshot_redirect_url": "https://www.yammer.com/mugshot/images/redirect/48x48/group_profile.png",
|
|
71
|
+
"mugshot_url_template": "https://mugshot0eu-1.assets-yammer.com/mugshot/images/group_profile.png?P1=1668205176&P2=104&P3=1&P4=l98Wk4FkhCqVX1J8bQ_8yZDbK4cfU1lQGgkK0Ak1k2g-tfLV9_ecm6k7FyFApCq3Xnzl7NPKpGLWT2IVD-Ft5q3VSCwzv5c0A1l-SFC5MrfN25BIsR9ux8K-LlYbFUF3yeh-vFk_IxwE-AI2xEVCuq0aoINzHiIW4Gi5IxC6mDDni72sE2LuM3X4LooEowEYrzfz5d-m9hMveU1E8KPPEmq3WTejhJ_Bc3zY3XA3n4jEPDnZ09uPUyVCBpa84Ysh-GGSkFWsPBAldAQAbbzcjip_SzrfKz868BolCLlbM3DwRQfyDH9Of9IYEZpu1U85hBuNoolF68rKPVL6-bxl2w&size={width}x{height}",
|
|
72
|
+
"mugshot_redirect_url_template": "https://www.yammer.com/mugshot/images/redirect/{width}x{height}/group_profile.png",
|
|
73
|
+
"mugshot_id": null,
|
|
74
|
+
"show_in_directory": "true",
|
|
75
|
+
"created_at": "2022/11/11 20:54:52 +0000",
|
|
76
|
+
"aad_guests": 0,
|
|
77
|
+
"color": "#2c5b85",
|
|
78
|
+
"external": false,
|
|
79
|
+
"moderated": false,
|
|
80
|
+
"header_image_url": "https://mugshot0eu-1.assets-yammer.com/mugshot/images/group-header-coffee.png?P1=1668204451&P2=104&P3=1&P4=hPZP6QJbY1Oj4KQZAodyMQyvjUahlwoqSCMqioVYvDoB-9Fx3qEB3ZTM7I_TF-mceKqGVDtasUIH8ZDYEfjTg9zgWWDpmkREJySioTZ0WcPtHIUkh2GUWJOfr-5aX9QhdpE1Fpp94mltGCtBc_nqlEbgIAYCJtBKgLAgUFZ4L2WSkQNn5Y_JLp5cM9Gnf7Z3MmHniN0Na1oemDhZ1vOsGCtaU09WPB5oNoSUMfwqYSKjF5IqXdd55Y3F2NZuuyTHoZS65BFZR9OJaICXJs6Q2dNExLqMvGQ76_aZsgli-BG67MVwfDsmqpxsjZZOBIZGQOEKc4D_bx8iQUHZD7p2xA",
|
|
81
|
+
"category": "unclassified",
|
|
82
|
+
"default_thread_starter_type": "normal",
|
|
83
|
+
"restricted_posting": false,
|
|
84
|
+
"company_group": false,
|
|
85
|
+
"creator_type": "user",
|
|
86
|
+
"creator_id": 36425097217,
|
|
87
|
+
"state": "active",
|
|
88
|
+
"stats": {
|
|
89
|
+
"members": 1,
|
|
90
|
+
"aad_guests": 0,
|
|
91
|
+
"updates": 0,
|
|
92
|
+
"last_message_id": null,
|
|
93
|
+
"last_message_at": null
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
]
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
=== "Text"
|
|
100
|
+
|
|
101
|
+
```text
|
|
102
|
+
email :
|
|
103
|
+
external : false
|
|
104
|
+
id : 31158067201
|
|
105
|
+
moderated: false
|
|
106
|
+
name : contosohub
|
|
107
|
+
privacy : public
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
=== "CSV"
|
|
111
|
+
|
|
112
|
+
```csv
|
|
113
|
+
id,name,email,privacy,external,moderated
|
|
114
|
+
31158067201,wombathub,,public,false,false
|
|
115
|
+
```
|
|
@@ -69,3 +69,58 @@ Posts a message to the group with the ID 12312312312 in the network 11112312
|
|
|
69
69
|
```sh
|
|
70
70
|
m365 yammer message add --body "Hello everyone!" --groupId 12312312312 --networkId 11112312
|
|
71
71
|
```
|
|
72
|
+
|
|
73
|
+
## Response
|
|
74
|
+
|
|
75
|
+
=== "JSON"
|
|
76
|
+
|
|
77
|
+
```json
|
|
78
|
+
{
|
|
79
|
+
"id": 2000337346863105,
|
|
80
|
+
"sender_id": 36425097217,
|
|
81
|
+
"delegate_id": null,
|
|
82
|
+
"replied_to_id": null,
|
|
83
|
+
"created_at": "2022/11/11 20:59:56 +0000",
|
|
84
|
+
"network_id": 5897756673,
|
|
85
|
+
"message_type": "update",
|
|
86
|
+
"sender_type": "user",
|
|
87
|
+
"url": "https://www.yammer.com/api/v1/messages/2000337346863105",
|
|
88
|
+
"web_url": "https://www.yammer.com/contoso.onmicrosoft.com/messages/2000337346863105",
|
|
89
|
+
"group_id": 31158067201,
|
|
90
|
+
"body": {
|
|
91
|
+
"parsed": "Hello everyone!",
|
|
92
|
+
"plain": "Hello everyone!",
|
|
93
|
+
"rich": "Hello everyone!"
|
|
94
|
+
},
|
|
95
|
+
"thread_id": 2000337346863105,
|
|
96
|
+
"client_type": "O365 Api Auth",
|
|
97
|
+
"client_url": "https://api.yammer.com",
|
|
98
|
+
"system_message": false,
|
|
99
|
+
"direct_message": false,
|
|
100
|
+
"chat_client_sequence": null,
|
|
101
|
+
"language": null,
|
|
102
|
+
"notified_user_ids": [],
|
|
103
|
+
"privacy": "public",
|
|
104
|
+
"attachments": [],
|
|
105
|
+
"liked_by": {
|
|
106
|
+
"count": 0,
|
|
107
|
+
"names": []
|
|
108
|
+
},
|
|
109
|
+
"supplemental_reply": false,
|
|
110
|
+
"content_excerpt": "Hello everyone!",
|
|
111
|
+
"group_created_id": 31158067201
|
|
112
|
+
}
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
=== "Text"
|
|
116
|
+
|
|
117
|
+
```text
|
|
118
|
+
id: 2000337648877569
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
=== "CSV"
|
|
122
|
+
|
|
123
|
+
```csv
|
|
124
|
+
id
|
|
125
|
+
2000337749565441
|
|
126
|
+
```
|
|
@@ -33,3 +33,67 @@ Returns the Yammer message with the id 1239871123 in JSON format
|
|
|
33
33
|
```sh
|
|
34
34
|
m365 yammer message get --id 1239871123 --output json
|
|
35
35
|
```
|
|
36
|
+
|
|
37
|
+
## Response
|
|
38
|
+
|
|
39
|
+
=== "JSON"
|
|
40
|
+
|
|
41
|
+
```json
|
|
42
|
+
{
|
|
43
|
+
"id": 2000337749565441,
|
|
44
|
+
"sender_id": 36425097217,
|
|
45
|
+
"delegate_id": null,
|
|
46
|
+
"replied_to_id": null,
|
|
47
|
+
"created_at": "2022/11/11 21:00:20 +0000",
|
|
48
|
+
"network_id": 5897756673,
|
|
49
|
+
"message_type": "update",
|
|
50
|
+
"sender_type": "user",
|
|
51
|
+
"url": "https://www.yammer.com/api/v1/messages/2000337749565441",
|
|
52
|
+
"web_url": "https://www.yammer.com/contoso.onmicrosoft.com/messages/2000337749565441",
|
|
53
|
+
"group_id": 31158067201,
|
|
54
|
+
"body": {
|
|
55
|
+
"parsed": "Hello everyone!",
|
|
56
|
+
"plain": "Hello everyone!",
|
|
57
|
+
"rich": "Hello everyone!"
|
|
58
|
+
},
|
|
59
|
+
"thread_id": 2000337749565441,
|
|
60
|
+
"client_type": "O365 Api Auth",
|
|
61
|
+
"client_url": "https://api.yammer.com",
|
|
62
|
+
"system_message": false,
|
|
63
|
+
"direct_message": false,
|
|
64
|
+
"chat_client_sequence": null,
|
|
65
|
+
"language": "no",
|
|
66
|
+
"notified_user_ids": [],
|
|
67
|
+
"privacy": "public",
|
|
68
|
+
"attachments": [],
|
|
69
|
+
"liked_by": {
|
|
70
|
+
"count": 0,
|
|
71
|
+
"names": []
|
|
72
|
+
},
|
|
73
|
+
"supplemental_reply": false,
|
|
74
|
+
"content_excerpt": "Hello everyone!"
|
|
75
|
+
}
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
=== "Text"
|
|
79
|
+
|
|
80
|
+
```text
|
|
81
|
+
content_excerpt: Hello everyone!
|
|
82
|
+
created_at : 2022/11/11 21:00:20 +0000
|
|
83
|
+
direct_message : false
|
|
84
|
+
group_id : 31158067201
|
|
85
|
+
id : 2000337749565441
|
|
86
|
+
message_type : update
|
|
87
|
+
privacy : public
|
|
88
|
+
replied_to_id : null
|
|
89
|
+
sender_id : 36425097217
|
|
90
|
+
system_message : false
|
|
91
|
+
thread_id : 2000337749565441
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
=== "CSV"
|
|
95
|
+
|
|
96
|
+
```csv
|
|
97
|
+
id,sender_id,replied_to_id,thread_id,group_id,created_at,direct_message,system_message,privacy,message_type,content_excerpt
|
|
98
|
+
2000337749565441,36425097217,,2000337749565441,31158067201,2022/11/11 21:00:20 +0000,,,public,update,Hello everyone!
|
|
99
|
+
```
|