@pnp/cli-microsoft365 6.0.0-beta.cd80a69 → 6.0.0-beta.d557a48
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/.eslintrc.js +4 -2
- package/dist/Command.js +16 -2
- package/dist/m365/aad/commands/app/app-add.js +40 -17
- package/dist/m365/aad/commands/app/app-list.js +38 -0
- package/dist/m365/aad/commands/user/user-guest-add.js +103 -0
- package/dist/m365/aad/commands.js +2 -0
- package/dist/m365/adaptivecard/commands/adaptivecard-send.js +4 -4
- package/dist/m365/base/SpoCommand.js +12 -11
- package/dist/m365/commands/status.js +6 -1
- package/dist/m365/outlook/commands/mail/mail-send.js +54 -30
- package/dist/m365/outlook/commands/message/message-get.js +97 -0
- package/dist/m365/outlook/commands.js +1 -0
- package/dist/m365/planner/commands/bucket/bucket-get.js +5 -8
- package/dist/m365/planner/commands/plan/plan-get.js +11 -31
- package/dist/m365/pp/commands/card/card-clone.js +122 -0
- package/dist/m365/pp/commands/card/card-get.js +110 -0
- package/dist/m365/pp/commands/card/card-remove.js +130 -0
- package/dist/m365/pp/commands/gateway/gateway-get.js +70 -0
- package/dist/m365/pp/commands/solution/solution-get.js +117 -0
- package/dist/m365/pp/commands.js +5 -0
- package/dist/m365/spfx/commands/project/project-doctor/{doctor-1.16.0-beta.1.js → doctor-1.16.0-rc.0.js} +6 -6
- package/dist/m365/spfx/commands/project/project-doctor.js +5 -2
- package/dist/m365/spfx/commands/project/project-externalize.js +4 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010001_YORC_version.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010002_YORC_isCreatingSolution.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010003_YORC_packageManager.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010004_YORC_componentType.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010005_YORC_environment.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010006_YORC_framework.js +3 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010007_YORC_isDomainIsolated.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010008_YORC_nodeVersion.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010009_YORC_sdkVersions_microsoft_graph_client.js +56 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010010_YORC_sdkVersions_teams_js.js +56 -0
- package/dist/m365/spfx/commands/project/project-upgrade/{upgrade-1.16.0-beta.1.js → upgrade-1.16.0-rc.0.js} +44 -28
- package/dist/m365/spfx/commands/project/project-upgrade.js +5 -2
- package/dist/m365/spfx/commands/spfx-doctor.js +6 -6
- package/dist/m365/spo/commands/contenttype/contenttype-add.js +82 -43
- package/dist/m365/spo/commands/contenttype/contenttype-field-remove.js +53 -21
- package/dist/m365/spo/commands/contenttype/contenttype-get.js +35 -14
- package/dist/m365/spo/commands/field/field-add.js +26 -1
- package/dist/m365/spo/commands/field/field-set.js +23 -13
- package/dist/m365/spo/commands/file/file-roleassignment-add.js +1 -15
- package/dist/m365/spo/commands/folder/folder-list.js +35 -12
- package/dist/m365/spo/commands/folder/folder-roleinheritance-break.js +11 -1
- package/dist/m365/spo/commands/folder/folder-roleinheritance-reset.js +12 -1
- package/dist/m365/spo/commands/hubsite/hubsite-connect.js +93 -18
- package/dist/m365/spo/commands/hubsite/hubsite-disconnect.js +69 -13
- package/dist/m365/spo/commands/list/list-roleassignment-add.js +5 -23
- package/dist/m365/spo/commands/list/list-roleassignment-remove.js +4 -15
- package/dist/m365/spo/commands/list/list-roleinheritance-break.js +14 -6
- package/dist/m365/spo/commands/list/list-roleinheritance-reset.js +14 -6
- package/dist/m365/spo/commands/list/list-set.js +31 -8
- package/dist/m365/spo/commands/list/list-view-field-add.js +19 -5
- package/dist/m365/spo/commands/list/list-view-field-remove.js +18 -4
- package/dist/m365/spo/commands/list/list-view-field-set.js +18 -4
- package/dist/m365/spo/commands/list/list-view-list.js +14 -10
- package/dist/m365/spo/commands/list/list-view-remove.js +17 -8
- package/dist/m365/spo/commands/list/list-view-set.js +19 -7
- package/dist/m365/spo/commands/list/list-webhook-get.js +2 -3
- package/dist/m365/spo/commands/list/list-webhook-list.js +4 -28
- package/dist/m365/spo/commands/list/list-webhook-set.js +11 -12
- package/dist/m365/spo/commands/listitem/listitem-add.js +24 -14
- package/dist/m365/spo/commands/listitem/listitem-attachment-list.js +18 -8
- package/dist/m365/spo/commands/listitem/listitem-get.js +18 -8
- package/dist/m365/spo/commands/listitem/listitem-isrecord.js +20 -10
- package/dist/m365/spo/commands/listitem/listitem-list.js +21 -14
- package/dist/m365/spo/commands/listitem/listitem-record-declare.js +19 -12
- package/dist/m365/spo/commands/listitem/listitem-record-undeclare.js +24 -21
- package/dist/m365/spo/commands/listitem/listitem-remove.js +19 -11
- package/dist/m365/spo/commands/listitem/listitem-roleassignment-add.js +239 -0
- package/dist/m365/spo/commands/listitem/listitem-roleassignment-remove.js +4 -15
- package/dist/m365/spo/commands/listitem/listitem-roleinheritance-break.js +13 -5
- package/dist/m365/spo/commands/listitem/listitem-roleinheritance-reset.js +13 -5
- package/dist/m365/spo/commands/listitem/listitem-set.js +52 -44
- package/dist/m365/spo/commands/page/page-clientsidewebpart-add.js +4 -7
- package/dist/m365/spo/commands/roledefinition/roledefinition-list.js +15 -2
- package/dist/m365/spo/commands/site/site-add.js +4 -11
- package/dist/m365/spo/commands/site/site-hubsite-connect.js +75 -0
- package/dist/m365/spo/commands/site/site-hubsite-disconnect.js +93 -0
- package/dist/m365/spo/commands/{hubsite/hubsite-theme-sync.js → site/site-hubsite-theme-sync.js} +11 -11
- package/dist/m365/spo/commands/sitedesign/sitedesign-get.js +4 -7
- package/dist/m365/spo/commands/web/web-roleassignment-add.js +4 -15
- package/dist/m365/spo/commands/web/web-roleassignment-remove.js +4 -8
- package/dist/m365/spo/commands/web/web-roleinheritance-break.js +100 -0
- package/dist/m365/spo/commands.js +5 -1
- package/dist/m365/teams/commands/channel/channel-get.js +2 -2
- package/dist/m365/teams/commands/channel/channel-remove.js +56 -39
- package/dist/m365/teams/commands/channel/channel-set.js +57 -19
- package/dist/m365/teams/commands/team/team-archive.js +4 -7
- package/dist/m365/teams/commands/team/team-remove.js +3 -3
- package/dist/m365/teams/commands/team/team-set.js +0 -7
- package/dist/m365/teams/commands/team/team-unarchive.js +3 -3
- package/dist/m365/todo/commands/list/list-get.js +89 -0
- package/dist/m365/todo/commands/task/task-add.js +55 -3
- package/dist/m365/todo/commands/task/task-get.js +108 -0
- package/dist/m365/todo/commands.js +2 -0
- package/dist/utils/md.js +8 -1
- package/docs/docs/_clisettings.md +18 -0
- package/docs/docs/cmd/aad/app/app-add.md +19 -19
- package/docs/docs/cmd/aad/app/app-list.md +149 -0
- package/docs/docs/cmd/aad/user/user-guest-add.md +107 -0
- package/docs/docs/cmd/adaptivecard/adaptivecard-send.md +12 -5
- package/docs/docs/cmd/app/app-get.md +156 -0
- package/docs/docs/cmd/app/app-open.md +20 -0
- package/docs/docs/cmd/app/permission/permission-list.md +43 -0
- package/docs/docs/cmd/booking/business/business-get.md +107 -0
- package/docs/docs/cmd/booking/business/business-list.md +34 -0
- package/docs/docs/cmd/graph/schemaextension/schemaextension-add.md +4 -11
- package/docs/docs/cmd/graph/schemaextension/schemaextension-set.md +4 -10
- package/docs/docs/cmd/outlook/mail/mail-send.md +13 -0
- package/docs/docs/cmd/outlook/message/message-get.md +48 -0
- package/docs/docs/cmd/pa/app/app-get.md +184 -0
- package/docs/docs/cmd/pa/app/app-list.md +181 -0
- package/docs/docs/cmd/pa/app/app-remove.md +4 -0
- package/docs/docs/cmd/pa/connector/connector-export.md +4 -0
- package/docs/docs/cmd/pa/connector/connector-list.md +89 -0
- package/docs/docs/cmd/pa/environment/environment-get.md +113 -0
- package/docs/docs/cmd/pa/environment/environment-list.md +109 -0
- package/docs/docs/cmd/pa/pcf/pcf-init.md +4 -0
- package/docs/docs/cmd/pa/solution/solution-init.md +5 -0
- package/docs/docs/cmd/pa/solution/solution-reference-add.md +4 -0
- package/docs/docs/cmd/planner/bucket/bucket-add.md +29 -0
- package/docs/docs/cmd/planner/bucket/bucket-get.md +29 -0
- package/docs/docs/cmd/planner/bucket/bucket-list.md +30 -0
- package/docs/docs/cmd/planner/bucket/bucket-remove.md +4 -0
- package/docs/docs/cmd/planner/bucket/bucket-set.md +4 -0
- package/docs/docs/cmd/planner/plan/plan-add.md +123 -0
- package/docs/docs/cmd/planner/plan/plan-get.md +77 -8
- package/docs/docs/cmd/planner/plan/plan-list.md +45 -0
- package/docs/docs/cmd/planner/plan/plan-remove.md +4 -0
- package/docs/docs/cmd/planner/task/task-get.md +0 -3
- package/docs/docs/cmd/pp/card/card-clone.md +77 -0
- package/docs/docs/cmd/pp/card/card-get.md +122 -0
- package/docs/docs/cmd/pp/card/card-list.md +71 -0
- package/docs/docs/cmd/pp/card/card-remove.md +82 -0
- package/docs/docs/cmd/pp/dataverse/dataverse-table-list.md +85 -0
- package/docs/docs/cmd/pp/environment/environment-get.md +308 -0
- package/docs/docs/cmd/pp/environment/environment-list.md +312 -0
- package/docs/docs/cmd/pp/gateway/gateway-get.md +56 -0
- package/docs/docs/cmd/pp/gateway/gateway-list.md +35 -0
- package/docs/docs/cmd/pp/managementapp/managementapp-add.md +23 -0
- package/docs/docs/cmd/pp/managementapp/managementapp-list.md +27 -0
- package/docs/docs/cmd/pp/solution/solution-get.md +86 -0
- package/docs/docs/cmd/pp/solution/solution-list.md +37 -0
- package/docs/docs/cmd/pp/tenant/tenant-settings-list.md +62 -0
- package/docs/docs/cmd/spfx/project/project-rename.md +1 -14
- package/docs/docs/cmd/spfx/project/project-upgrade.md +1 -1
- package/docs/docs/cmd/spo/contenttype/contenttype-add.md +20 -2
- package/docs/docs/cmd/spo/contenttype/contenttype-field-remove.md +22 -4
- package/docs/docs/cmd/spo/contenttype/contenttype-get.md +21 -3
- package/docs/docs/cmd/spo/customaction/customaction-add.md +3 -0
- package/docs/docs/cmd/spo/customaction/customaction-set.md +3 -2
- package/docs/docs/cmd/spo/field/field-add.md +20 -2
- package/docs/docs/cmd/spo/field/field-set.md +15 -3
- package/docs/docs/cmd/spo/file/file-roleassignment-add.md +9 -9
- package/docs/docs/cmd/spo/file/file-roleassignment-remove.md +3 -3
- package/docs/docs/cmd/spo/folder/folder-list.md +45 -0
- package/docs/docs/cmd/spo/folder/folder-roleinheritance-break.md +6 -0
- package/docs/docs/cmd/spo/folder/folder-roleinheritance-reset.md +6 -0
- package/docs/docs/cmd/spo/hubsite/hubsite-connect.md +36 -14
- package/docs/docs/cmd/spo/hubsite/hubsite-disconnect.md +28 -12
- package/docs/docs/cmd/spo/hubsite/hubsite-register.md +2 -2
- package/docs/docs/cmd/spo/hubsite/hubsite-unregister.md +2 -2
- package/docs/docs/cmd/spo/list/list-roleassignment-add.md +9 -9
- package/docs/docs/cmd/spo/list/list-roleassignment-remove.md +8 -8
- package/docs/docs/cmd/spo/list/list-roleinheritance-break.md +11 -8
- package/docs/docs/cmd/spo/list/list-roleinheritance-reset.md +16 -7
- package/docs/docs/cmd/spo/list/list-set.md +18 -6
- package/docs/docs/cmd/spo/list/list-view-field-add.md +14 -4
- package/docs/docs/cmd/spo/list/list-view-field-remove.md +11 -2
- package/docs/docs/cmd/spo/list/list-view-field-set.md +18 -2
- package/docs/docs/cmd/spo/list/list-view-list.md +16 -7
- package/docs/docs/cmd/spo/list/list-view-remove.md +12 -3
- package/docs/docs/cmd/spo/list/list-view-set.md +20 -6
- package/docs/docs/cmd/spo/list/list-webhook-get.md +1 -1
- package/docs/docs/cmd/spo/list/list-webhook-list.md +3 -9
- package/docs/docs/cmd/spo/list/list-webhook-set.md +11 -4
- package/docs/docs/cmd/spo/listitem/listitem-add.md +11 -2
- package/docs/docs/cmd/spo/listitem/listitem-attachment-list.md +11 -2
- package/docs/docs/cmd/spo/listitem/listitem-get.md +11 -2
- package/docs/docs/cmd/spo/listitem/listitem-isrecord.md +12 -2
- package/docs/docs/cmd/spo/listitem/listitem-list.md +17 -8
- package/docs/docs/cmd/spo/listitem/listitem-record-declare.md +7 -4
- package/docs/docs/cmd/spo/listitem/listitem-record-undeclare.md +11 -2
- package/docs/docs/cmd/spo/listitem/listitem-remove.md +11 -2
- package/docs/docs/cmd/spo/listitem/listitem-roleassignment-add.md +81 -0
- package/docs/docs/cmd/spo/listitem/listitem-roleassignment-remove.md +8 -8
- package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-break.md +7 -4
- package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-reset.md +8 -5
- package/docs/docs/cmd/spo/listitem/listitem-set.md +7 -4
- package/docs/docs/cmd/spo/page/page-clientsidewebpart-add.md +14 -19
- package/docs/docs/cmd/spo/page/page-control-set.md +2 -1
- package/docs/docs/cmd/spo/site/site-add.md +0 -3
- package/docs/docs/cmd/spo/site/site-hubsite-connect.md +40 -0
- package/docs/docs/cmd/spo/site/site-hubsite-disconnect.md +42 -0
- package/docs/docs/cmd/spo/{hubsite/hubsite-theme-sync.md → site/site-hubsite-theme-sync.md} +5 -5
- package/docs/docs/cmd/spo/sitedesign/sitedesign-get.md +2 -2
- package/docs/docs/cmd/spo/term/term-add.md +5 -0
- package/docs/docs/cmd/spo/term/term-set-add.md +6 -1
- package/docs/docs/cmd/spo/web/web-roleassignment-add.md +6 -6
- package/docs/docs/cmd/spo/web/web-roleassignment-remove.md +4 -4
- package/docs/docs/cmd/spo/web/web-roleinheritance-break.md +44 -0
- package/docs/docs/cmd/teams/channel/channel-get.md +7 -7
- package/docs/docs/cmd/teams/channel/channel-remove.md +12 -9
- package/docs/docs/cmd/teams/channel/channel-set.md +13 -6
- package/docs/docs/cmd/teams/message/message-get.md +80 -0
- package/docs/docs/cmd/teams/message/message-list.md +63 -0
- package/docs/docs/cmd/teams/message/message-reply-list.md +63 -0
- package/docs/docs/cmd/teams/messagingsettings/messagingsettings-list.md +31 -0
- package/docs/docs/cmd/teams/messagingsettings/messagingsettings-set.md +4 -0
- package/docs/docs/cmd/teams/report/report-deviceusagedistributionusercounts.md +35 -0
- package/docs/docs/cmd/teams/report/report-deviceusageusercounts.md +36 -0
- package/docs/docs/cmd/teams/report/report-deviceusageuserdetail.md +41 -0
- package/docs/docs/cmd/teams/report/report-directroutingcalls.md +49 -0
- package/docs/docs/cmd/teams/report/report-pstncalls.md +49 -0
- package/docs/docs/cmd/teams/report/report-useractivitycounts.md +39 -0
- package/docs/docs/cmd/teams/report/report-useractivityusercounts.md +33 -0
- package/docs/docs/cmd/teams/report/report-useractivityuserdetail.md +58 -0
- package/docs/docs/cmd/teams/tab/tab-add.md +35 -0
- package/docs/docs/cmd/teams/tab/tab-get.md +35 -0
- package/docs/docs/cmd/teams/tab/tab-list.md +43 -0
- package/docs/docs/cmd/teams/tab/tab-remove.md +4 -0
- package/docs/docs/cmd/teams/team/team-add.md +145 -0
- package/docs/docs/cmd/teams/team/team-archive.md +7 -3
- package/docs/docs/cmd/teams/team/team-clone.md +4 -3
- package/docs/docs/cmd/teams/team/team-get.md +78 -0
- package/docs/docs/cmd/teams/team/team-list.md +30 -0
- package/docs/docs/cmd/teams/team/team-remove.md +7 -3
- package/docs/docs/cmd/teams/team/team-set.md +4 -3
- package/docs/docs/cmd/teams/team/team-unarchive.md +5 -2
- package/docs/docs/cmd/teams/user/user-app-add.md +4 -0
- package/docs/docs/cmd/teams/user/user-app-list.md +40 -0
- package/docs/docs/cmd/teams/user/user-app-remove.md +4 -0
- package/docs/docs/cmd/teams/user/user-list.md +31 -0
- package/docs/docs/cmd/tenant/id/id-get.md +20 -0
- package/docs/docs/cmd/tenant/report/report-activeusercounts.md +35 -0
- package/docs/docs/cmd/tenant/report/report-activeuserdetail.md +49 -0
- package/docs/docs/cmd/tenant/report/report-office365activationcounts.md +32 -0
- package/docs/docs/cmd/tenant/report/report-office365activationsusercounts.md +30 -0
- package/docs/docs/cmd/tenant/report/report-office365activationsuserdetail.md +36 -0
- package/docs/docs/cmd/tenant/report/report-servicesusercounts.md +41 -0
- package/docs/docs/cmd/tenant/security/security-alerts-list.md +105 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-health-get.md +87 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-health-list.md +91 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-healthissue-get.md +62 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-healthissue-list.md +51 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-get.md +64 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-list.md +52 -0
- package/docs/docs/cmd/todo/list/list-add.md +32 -1
- package/docs/docs/cmd/todo/list/list-get.md +61 -0
- package/docs/docs/cmd/todo/list/list-list.md +31 -0
- package/docs/docs/cmd/todo/list/list-remove.md +10 -6
- package/docs/docs/cmd/todo/list/list-set.md +9 -5
- package/docs/docs/cmd/todo/task/task-add.md +88 -5
- package/docs/docs/cmd/todo/task/task-get.md +75 -0
- package/docs/docs/cmd/todo/task/task-list.md +47 -0
- package/docs/docs/cmd/todo/task/task-remove.md +9 -4
- package/docs/docs/cmd/todo/task/task-set.md +59 -5
- package/docs/docs/cmd/util/accesstoken/accesstoken-get.md +20 -0
- package/docs/docs/cmd/viva/connections/connections-app-create.md +4 -0
- package/package.json +13 -4
|
@@ -37,3 +37,42 @@ Gets the number of Microsoft Teams activities by activity type for the last week
|
|
|
37
37
|
```sh
|
|
38
38
|
m365 teams report useractivitycounts --period D7 --output json > "useractivitycounts.json"
|
|
39
39
|
```
|
|
40
|
+
|
|
41
|
+
## Response
|
|
42
|
+
|
|
43
|
+
=== "JSON"
|
|
44
|
+
|
|
45
|
+
``` json
|
|
46
|
+
[
|
|
47
|
+
{
|
|
48
|
+
"Report Refresh Date": "2022-10-28",
|
|
49
|
+
"Report Date": "2022-10-28",
|
|
50
|
+
"Team Chat Messages": "0",
|
|
51
|
+
"Private Chat Messages": "0",
|
|
52
|
+
"Calls": "0",
|
|
53
|
+
"Meetings": "0",
|
|
54
|
+
"Meetings Organized Count": "0",
|
|
55
|
+
"Meetings Attended Count": "0",
|
|
56
|
+
"Audio Duration": "",
|
|
57
|
+
"Video Duration": "",
|
|
58
|
+
"Screen Share Duration": "",
|
|
59
|
+
"Post Messages": "0",
|
|
60
|
+
"Reply Messages": "0",
|
|
61
|
+
"Report Period": "7"
|
|
62
|
+
}
|
|
63
|
+
]
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
=== "Text"
|
|
67
|
+
|
|
68
|
+
``` text
|
|
69
|
+
Report Refresh Date,Report Date,Team Chat Messages,Private Chat Messages,Calls,Meetings,Meetings Organized Count,Meetings Attended Count,Audio Duration,Video Duration,Screen Share Duration,Post Messages,Reply Messages,Report Period
|
|
70
|
+
2022-10-28,2022-10-28,0,0,0,0,0,0,,,,0,0,7
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
=== "CSV"
|
|
74
|
+
|
|
75
|
+
``` text
|
|
76
|
+
Report Refresh Date,Report Date,Team Chat Messages,Private Chat Messages,Calls,Meetings,Meetings Organized Count,Meetings Attended Count,Audio Duration,Video Duration,Screen Share Duration,Post Messages,Reply Messages,Report Period
|
|
77
|
+
2022-10-28,2022-10-28,0,0,0,0,0,0,,,,0,0,7
|
|
78
|
+
```
|
|
@@ -37,3 +37,36 @@ Gets the number of Microsoft Teams users by activity type for the last week and
|
|
|
37
37
|
```sh
|
|
38
38
|
m365 teams report useractivityusercounts --period D7 --output json > "useractivityusercounts.json"
|
|
39
39
|
```
|
|
40
|
+
|
|
41
|
+
## Response
|
|
42
|
+
|
|
43
|
+
=== "JSON"
|
|
44
|
+
|
|
45
|
+
``` json
|
|
46
|
+
[
|
|
47
|
+
{
|
|
48
|
+
"Report Refresh Date": "2022-10-28",
|
|
49
|
+
"Report Date": "2022-10-28",
|
|
50
|
+
"Team Chat Messages": "0",
|
|
51
|
+
"Private Chat Messages": "0",
|
|
52
|
+
"Calls": "0",
|
|
53
|
+
"Meetings": "0",
|
|
54
|
+
"Other Actions": "0",
|
|
55
|
+
"Report Period": "7"
|
|
56
|
+
}
|
|
57
|
+
]
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
=== "Text"
|
|
61
|
+
|
|
62
|
+
``` text
|
|
63
|
+
Report Refresh Date,Report Date,Team Chat Messages,Private Chat Messages,Calls,Meetings,Other Actions,Report Period
|
|
64
|
+
2022-10-28,2022-10-28,0,0,0,0,0,7
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
=== "CSV"
|
|
68
|
+
|
|
69
|
+
``` text
|
|
70
|
+
Report Refresh Date,Report Date,Team Chat Messages,Private Chat Messages,Calls,Meetings,Other Actions,Report Period
|
|
71
|
+
2022-10-28,2022-10-28,0,0,0,0,0,7
|
|
72
|
+
```
|
|
@@ -46,3 +46,61 @@ Gets details about Microsoft Teams user activity by user for the last week and e
|
|
|
46
46
|
```sh
|
|
47
47
|
m365 teams report useractivityuserdetail --period D7 --output json > "useractivityuserdetail.json"
|
|
48
48
|
```
|
|
49
|
+
|
|
50
|
+
## Response
|
|
51
|
+
|
|
52
|
+
=== "JSON"
|
|
53
|
+
|
|
54
|
+
``` json
|
|
55
|
+
[
|
|
56
|
+
{
|
|
57
|
+
"Report Refresh Date": "2022-10-28",
|
|
58
|
+
"User Id": "00000000-0000-0000-0000-000000000000",
|
|
59
|
+
"User Principal Name": "6E55A185B405B6F2A6804BB7897C8AAB",
|
|
60
|
+
"Last Activity Date": "2022-10-26",
|
|
61
|
+
"Is Deleted": "False",
|
|
62
|
+
"Deleted Date": "",
|
|
63
|
+
"Assigned Products": "MICROSOFT 365 E5 DEVELOPER (WITHOUT WINDOWS AND AUDIO CONFERENCING)+MICROSOFT POWER AUTOMATE FREE",
|
|
64
|
+
"Team Chat Message Count": "5",
|
|
65
|
+
"Private Chat Message Count": "0",
|
|
66
|
+
"Call Count": "0",
|
|
67
|
+
"Meeting Count": "0",
|
|
68
|
+
"Meetings Organized Count": "0",
|
|
69
|
+
"Meetings Attended Count": "0",
|
|
70
|
+
"Ad Hoc Meetings Organized Count": "0",
|
|
71
|
+
"Ad Hoc Meetings Attended Count": "0",
|
|
72
|
+
"Scheduled One-time Meetings Organized Count": "0",
|
|
73
|
+
"Scheduled One-time Meetings Attended Count": "0",
|
|
74
|
+
"Scheduled Recurring Meetings Organized Count": "0",
|
|
75
|
+
"Scheduled Recurring Meetings Attended Count": "0",
|
|
76
|
+
"Audio Duration": "PT0S",
|
|
77
|
+
"Video Duration": "PT0S",
|
|
78
|
+
"Screen Share Duration": "PT0S",
|
|
79
|
+
"Audio Duration In Seconds": "0",
|
|
80
|
+
"Video Duration In Seconds": "0",
|
|
81
|
+
"Screen Share Duration In Seconds": "0",
|
|
82
|
+
"Has Other Action": "No",
|
|
83
|
+
"Urgent Messages": "0",
|
|
84
|
+
"Post Messages": "2",
|
|
85
|
+
"Tenant Display Name": "CONTOSO",
|
|
86
|
+
"Shared Channel Tenant Display Names": "",
|
|
87
|
+
"Reply Messages": "3",
|
|
88
|
+
"Is Licensed": "Yes",
|
|
89
|
+
"Report Period": "7"
|
|
90
|
+
}
|
|
91
|
+
]
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
=== "Text"
|
|
95
|
+
|
|
96
|
+
``` text
|
|
97
|
+
Report Refresh Date,User Id,User Principal Name,Last Activity Date,Is Deleted,Deleted Date,Assigned Products,Team Chat Message Count,Private Chat Message Count,Call Count,Meeting Count,Meetings Organized Count,Meetings Attended Count,Ad Hoc Meetings Organized Count,Ad Hoc Meetings Attended Count,Scheduled One-time Meetings Organized Count,Scheduled One-time Meetings Attended Count,Scheduled Recurring Meetings Organized Count,Scheduled Recurring Meetings Attended Count,Audio Duration,Video Duration,Screen Share Duration,Audio Duration In Seconds,Video Duration In Seconds,Screen Share Duration In Seconds,Has Other Action,Urgent Messages,Post Messages,Tenant Display Name,Shared Channel Tenant Display Names,Reply Messages,Is Licensed,Report Period
|
|
98
|
+
2022-10-28,00000000-0000-0000-0000-000000000000,6E55A185B405B6F2A6804BB7897C8AAB,2022-10-26,False,,MICROSOFT 365 E5 DEVELOPER (WITHOUT WINDOWS AND AUDIO CONFERENCING)+MICROSOFT POWER AUTOMATE FREE,5,0,0,0,0,0,0,0,0,0,0,0,PT0S,PT0S,PT0S,0,0,0,No,0,2,CONTOSO,,3,Yes,7
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
=== "CSV"
|
|
102
|
+
|
|
103
|
+
``` text
|
|
104
|
+
Report Refresh Date,User Id,User Principal Name,Last Activity Date,Is Deleted,Deleted Date,Assigned Products,Team Chat Message Count,Private Chat Message Count,Call Count,Meeting Count,Meetings Organized Count,Meetings Attended Count,Ad Hoc Meetings Organized Count,Ad Hoc Meetings Attended Count,Scheduled One-time Meetings Organized Count,Scheduled One-time Meetings Attended Count,Scheduled Recurring Meetings Organized Count,Scheduled Recurring Meetings Attended Count,Audio Duration,Video Duration,Screen Share Duration,Audio Duration In Seconds,Video Duration In Seconds,Screen Share Duration In Seconds,Has Other Action,Urgent Messages,Post Messages,Tenant Display Name,Shared Channel Tenant Display Names,Reply Messages,Is Licensed,Report Period
|
|
105
|
+
2022-10-28,00000000-0000-0000-0000-000000000000,6E55A185B405B6F2A6804BB7897C8AAB,2022-10-26,False,,MICROSOFT 365 E5 DEVELOPER (WITHOUT WINDOWS AND AUDIO CONFERENCING)+MICROSOFT POWER AUTOMATE FREE,5,0,0,0,0,0,0,0,0,0,0,0,PT0S,PT0S,PT0S,0,0,0,No,0,2,CONTOSO,,3,Yes,7
|
|
106
|
+
```
|
|
@@ -53,3 +53,38 @@ Add teams tab for website with additional configuration which is unknown
|
|
|
53
53
|
```sh
|
|
54
54
|
m365 teams tab add --teamId 00000000-0000-0000-0000-000000000000 --channelId 19:00000000000000000000000000000000@thread.skype --appId 06805b9e-77e3-4b93-ac81-525eb87513b8 --appName 'My Contoso Tab' --contentUrl 'https://www.contoso.com/Orders/2DCA2E6C7A10415CAF6B8AB6661B3154/tabView' --test1 'value for test1'
|
|
55
55
|
```
|
|
56
|
+
|
|
57
|
+
## Response
|
|
58
|
+
|
|
59
|
+
=== "JSON"
|
|
60
|
+
|
|
61
|
+
``` json
|
|
62
|
+
{
|
|
63
|
+
"id": "8e454194-04c9-40aa-a9f3-7ab42d9541b5",
|
|
64
|
+
"displayName": "'My Contoso Tab'",
|
|
65
|
+
"webUrl": "https://teams.microsoft.com/l/channel/19%3aB3nCnLKwwCoGDEADyUgQ5kJ5Pkekujyjmwxp7uhQeAE1%40thread.tacv2/tab%3a%3a8e454194-04c9-40aa-a9f3-7ab42d9541b5?label=%My/20Contoso%20Tab%27&groupId=aee5a2c9-b1df-45ac-9964-c708e760a045&tenantId=92e59666-257b-49c3-b1fa-1bae8107f6ba",
|
|
66
|
+
"configuration": {
|
|
67
|
+
"entityId": null,
|
|
68
|
+
"contentUrl": "https://www.contoso.com/Orders/2DCA2E6C7A10415CAF6B8AB6661B3154/tabView",
|
|
69
|
+
"removeUrl": null,
|
|
70
|
+
"websiteUrl": null
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
=== "Text"
|
|
76
|
+
|
|
77
|
+
``` text
|
|
78
|
+
configuration: {"entityId":null,"contentUrl":"https://www.contoso.com/Orders/2DCA2E6C7A10415CAF6B8AB6661B3154/tabView","removeUrl":null,"websiteUrl":null}
|
|
79
|
+
displayName : 'My Contoso Tab'
|
|
80
|
+
id : 37d2294f-6dc0-4232-8718-d388f25ee696
|
|
81
|
+
webUrl : https://teams.microsoft.com/l/channel/19%3aB3nCnLKwwCoGDEADyUgQ5kJ5Pkekujyjmwxp7uhQeAE1%40thread.tacv2/tab%3a%3a37d2294f-6dc0-4232-8718-d388f25ee696?label=%My%20Contoso%20Tab%27&groupId=aee5a2c9-b1df-45ac-9964-c708e760a045&tenantId=92e59666-257b-49c3-b1fa-1bae8107f6ba
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
=== "CSV"
|
|
85
|
+
|
|
86
|
+
``` text
|
|
87
|
+
id,displayName,webUrl,configuration
|
|
88
|
+
0d7e343d-b233-4039-ae77-88928d4b275b,'My Contoso Tab',https://teams.microsoft.com/l/channel/19%3aB3nCnLKwwCoGDEADyUgQ5kJ5Pkekujyjmwxp7uhQeAE1%40thread.tacv2/tab%3a%3a0d7e343d-b233-4039-ae77-88928d4b275b?label=%My%20Contoso%20Tab%27&groupId=aee5a2c9-b1df-45ac-9964-c708e760a045&tenantId=92e59666-257b-49c3-b1fa-1bae8107f6ba,"{""entityId"":null,""contentUrl"":""https://www.contoso.com/Orders/2DCA2E6C7A10415CAF6B8AB6661B3154/tabView"",""removeUrl"":null,""websiteUrl"":null}"
|
|
89
|
+
```
|
|
90
|
+
|
|
@@ -47,3 +47,38 @@ Get a Microsoft Teams Tab with name _Tab Name_
|
|
|
47
47
|
```sh
|
|
48
48
|
m365 teams tab get --teamName "Team Name" --channelName "Channel Name" --name "Tab Name"
|
|
49
49
|
```
|
|
50
|
+
|
|
51
|
+
## Response
|
|
52
|
+
|
|
53
|
+
=== "JSON"
|
|
54
|
+
|
|
55
|
+
``` json
|
|
56
|
+
{
|
|
57
|
+
"id": "34991fbf-59f4-48d9-b094-b9d64d550e23",
|
|
58
|
+
"displayName": "Tab Name",
|
|
59
|
+
"webUrl": "https://teams.microsoft.com/l/entity/1542629c-01b3-4a6d-8f76-1938b779e48d/_djb2_msteams_prefix_34991fbf-59f4-48d9-b094-b9d64d550e23?webUrl=https%3a%2f%2fteams.contoso.ai%2fmsteams%2fcontent%2ftab%2fteam%3ftheme%3d%7btheme%7d&label=My%20Contoso%20Tab&context=%7b%0d%0a++%22canvasUrl%22%3a+%22https%3a%2f%2fteams.contoso.ai%2fmsteams%2fcontent%2ftab%2fteam%3ftheme%3d%7btheme%7d%22%2c%0d%0a++%22channelId%22%3a+%2219%3aB3nCnLKwwCoGDEADyUgQ5kJ5Pkekujyjmwxp7uhQeAE1%40thread.tacv2%22%2c%0d%0a++%22subEntityId%22%3a+null%0d%0a%7d&groupId=aee5a2c9-b1df-45ac-9964-c708e760a045&tenantId=92e59666-257b-49c3-b1fa-1bae8107f6ba",
|
|
60
|
+
"configuration": {
|
|
61
|
+
"entityId": "surveys_list:19:B3nCnLKwwCoGDEADyUgQ5kJ5Pkekujyjmwxp7uhQeAE1@thread.tacv2:ps67c9jyf3a30j2j5eum72",
|
|
62
|
+
"contentUrl": "https://teams.contoso.ai/msteams/content/tab/team?theme={theme}",
|
|
63
|
+
"removeUrl": "https://teams.contoso.ai/msteams/content/tabdelete?theme={theme}",
|
|
64
|
+
"websiteUrl": "https://teams.contoso.ai/msteams/content/tab/team?theme={theme}",
|
|
65
|
+
"dateAdded": "2022-10-31T12:17:58.632Z"
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
=== "Text"
|
|
71
|
+
|
|
72
|
+
``` text
|
|
73
|
+
configuration: {"entityId":"surveys_list:19:B3nCnLKwwCoGDEADyUgQ5kJ5Pkekujyjmwxp7uhQeAE1@thread.tacv2:ps67c9jyf3a30j2j5eum72","contentUrl":"https://teams.contoso.ai/msteams/content/tab/team?theme={theme}","removeUrl":"https://teams.contoso.ai/msteams/content/tabdelete?theme={theme}","websiteUrl":"https://teams.contoso.ai/msteams/content/tab/team?theme={theme}","dateAdded":"2022-10-31T12:17:58.632Z"}
|
|
74
|
+
displayName : Tab Name
|
|
75
|
+
id : 34991fbf-59f4-48d9-b094-b9d64d550e23
|
|
76
|
+
webUrl : https://teams.microsoft.com/l/entity/1542629c-01b3-4a6d-8f76-1938b779e48d/_djb2_msteams_prefix_34991fbf-59f4-48d9-b094-b9d64d550e23?webUrl=https%3a%2f%2fteams.contoso.ai%2fmsteams%2fcontent%2ftab%2fteam%3ftheme%3d%7btheme%7d&label=contoso&context=%7b%0d%0a++%22canvasUrl%22%3a+%22https%3a%2f%2fteams.contoso.ai%2fmsteams%2fcontent%2ftab%2fteam%3ftheme%3d%7btheme%7d%22%2c%0d%0a++%22channelId%22%3a+%2219%3aB3nCnLKwwCoGDEADyUgQ5kJ5Pkekujyjmwxp7uhQeAE1%40thread.tacv2%22%2c%0d%0a++%22subEntityId%22%3a+null%0d%0a%7d&groupId=aee5a2c9-b1df-45ac-9964-c708e760a045&tenantId=92e59666-257b-49c3-b1fa-1bae8107f6ba
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
=== "CSV"
|
|
80
|
+
|
|
81
|
+
``` text
|
|
82
|
+
id,displayName,webUrl,configuration
|
|
83
|
+
34991fbf-59f4-48d9-b094-b9d64d550e23,Tab Name,https://teams.microsoft.com/l/entity/1542629c-01b3-4a6d-8f76-1938b779e48d/_djb2_msteams_prefix_34991fbf-59f4-48d9-b094-b9d64d550e23?webUrl=https%3a%2f%2fteams.contoso.ai%2fmsteams%2fcontent%2ftab%2fteam%3ftheme%3d%7btheme%7d&label=My%20Contoso%20Tab&context=%7b%0d%0a++%22canvasUrl%22%3a+%22https%3a%2f%2fteams.contoso.ai%2fmsteams%2fcontent%2ftab%2fteam%3ftheme%3d%7btheme%7d%22%2c%0d%0a++%22channelId%22%3a+%2219%3aB3nCnLKwwCoGDEADyUgQ5kJ5Pkekujyjmwxp7uhQeAE1%40thread.tacv2%22%2c%0d%0a++%22subEntityId%22%3a+null%0d%0a%7d&groupId=aee5a2c9-b1df-45ac-9964-c708e760a045&tenantId=92e59666-257b-49c3-b1fa-1bae8107f6ba,"{""entityId"":""surveys_list:19:B3nCnLKwwCoGDEADyUgQ5kJ5Pkekujyjmwxp7uhQeAE1@thread.tacv2:ps67c9jyf3a30j2j5eum72"",""contentUrl"":""https://teams.contoso.ai/msteams/content/tab/team?theme={theme}"",""removeUrl"":""https://teams.contoso.ai/msteams/content/tabdelete?theme={theme}"",""websiteUrl"":""https://teams.contoso.ai/msteams/content/tab/team?theme={theme}"",""dateAdded"":""2022-10-31T12:17:58.632Z""}"
|
|
84
|
+
```
|
|
@@ -37,3 +37,46 @@ Include all the values from the tab configuration and associated teams app
|
|
|
37
37
|
```sh
|
|
38
38
|
m365 teams tab list --teamId 00000000-0000-0000-0000-000000000000 --channelId 19:00000000000000000000000000000000@thread.skype --output json
|
|
39
39
|
```
|
|
40
|
+
|
|
41
|
+
## Response
|
|
42
|
+
|
|
43
|
+
=== "JSON"
|
|
44
|
+
|
|
45
|
+
``` json
|
|
46
|
+
[
|
|
47
|
+
{
|
|
48
|
+
"id": "34991fbf-59f4-48d9-b094-b9d64d550e23",
|
|
49
|
+
"displayName": "My Contoso Tab",
|
|
50
|
+
"webUrl": "https://teams.microsoft.com/l/entity/1542629c-01b3-4a6d-8f76-1938b779e48d/_djb2_msteams_prefix_34991fbf-59f4-48d9-b094-b9d64d550e23?webUrl=https%3a%2f%2fteams.contoso.ai%2fmsteams%2fcontent%2ftab%2fteam%3ftheme%3d%7btheme%7d&label=My%20Contoso%20Tab&context=%7b%0d%0a++%22canvasUrl%22%3a+%22https%3a%2f%2fteams.contoso.ai%2fmsteams%2fcontent%2ftab%2fteam%3ftheme%3d%7btheme%7d%22%2c%0d%0a++%22channelId%22%3a+%2219%3aB3nCnLKwwCoGDEADyUgQ5kJ5Pkekujyjmwxp7uhQeAE1%40thread.tacv2%22%2c%0d%0a++%22subEntityId%22%3a+null%0d%0a%7d&groupId=aee5a2c9-b1df-45ac-9964-c708e760a045&tenantId=92e59666-257b-49c3-b1fa-1bae8107f6ba",
|
|
51
|
+
"configuration": {
|
|
52
|
+
"entityId": "surveys_list:19:B3nCnLKwwCoGDEADyUgQ5kJ5Pkekujyjmwxp7uhQeAE1@thread.tacv2:ps67c9jyf3a30j2j5eum72",
|
|
53
|
+
"contentUrl": "https://teams.contoso.ai/msteams/content/tab/team?theme={theme}",
|
|
54
|
+
"removeUrl": "https://teams.contoso.ai/msteams/content/tabdelete?theme={theme}",
|
|
55
|
+
"websiteUrl": "https://teams.contoso.ai/msteams/content/tab/team?theme={theme}",
|
|
56
|
+
"dateAdded": "2022-10-31T12:17:58.632Z"
|
|
57
|
+
},
|
|
58
|
+
"teamsApp": {
|
|
59
|
+
"id": "1542629c-01b3-4a6d-8f76-1938b779e48d",
|
|
60
|
+
"externalId": null,
|
|
61
|
+
"displayName": "My Contoso Tab",
|
|
62
|
+
"distributionMethod": "store"
|
|
63
|
+
},
|
|
64
|
+
"teamsAppTabId": "1542629c-01b3-4a6d-8f76-1938b779e48d"
|
|
65
|
+
}
|
|
66
|
+
]
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
=== "Text"
|
|
70
|
+
|
|
71
|
+
``` text
|
|
72
|
+
displayName : My Contoso Tab
|
|
73
|
+
id : 34991fbf-59f4-48d9-b094-b9d64d550e23
|
|
74
|
+
teamsAppTabId: 1542629c-01b3-4a6d-8f76-1938b779e48d
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
=== "CSV"
|
|
78
|
+
|
|
79
|
+
``` text
|
|
80
|
+
id,displayName,teamsAppTabId
|
|
81
|
+
34991fbf-59f4-48d9-b094-b9d64d550e23,My Contoso Tab,1542629c-01b3-4a6d-8f76-1938b779e48d
|
|
82
|
+
```
|
|
@@ -38,6 +38,10 @@ Removes a tab from the specified channel without prompting for confirmation
|
|
|
38
38
|
m365 teams tab remove --teamId 00000000-0000-0000-0000-000000000000 --channelId 19:00000000000000000000000000000000@thread.skype --id 06805b9e-77e3-4b93-ac81-525eb87513b8 --confirm
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
+
## Response
|
|
42
|
+
|
|
43
|
+
The command won't return a response on success.
|
|
44
|
+
|
|
41
45
|
## Additional information
|
|
42
46
|
|
|
43
47
|
- Delete tab from channel: [https://docs.microsoft.com/en-us/graph/api/teamstab-delete?view=graph-rest-1.0](https://docs.microsoft.com/en-us/graph/api/teamstab-delete?view=graph-rest-1.0)
|
|
@@ -50,6 +50,151 @@ Add a new Microsoft Teams team using a template and wait for the team to be prov
|
|
|
50
50
|
m365 teams team add --name "Architecture" --description "Architecture Discussion" --template @template.json --wait
|
|
51
51
|
```
|
|
52
52
|
|
|
53
|
+
## Response
|
|
54
|
+
|
|
55
|
+
### Standard response
|
|
56
|
+
|
|
57
|
+
=== "JSON"
|
|
58
|
+
|
|
59
|
+
``` json
|
|
60
|
+
{
|
|
61
|
+
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#teams('a40210cd-0060-4b91-aaa1-a44e0853d979')/operations/$entity",
|
|
62
|
+
"id": "d708ecb3-3325-4f6e-a0f7-2f982901b856",
|
|
63
|
+
"operationType": "createTeam",
|
|
64
|
+
"createdDateTime": "2022-10-31T12:50:44.0819314Z",
|
|
65
|
+
"status": "notStarted",
|
|
66
|
+
"lastActionDateTime": "2022-10-31T12:50:44.0819314Z",
|
|
67
|
+
"attemptsCount": 1,
|
|
68
|
+
"targetResourceId": "a40210cd-0060-4b91-aaa1-a44e0853d979",
|
|
69
|
+
"targetResourceLocation": "/teams('a40210cd-0060-4b91-aaa1-a44e0853d979')",
|
|
70
|
+
"Value": "{\"apps\":[],\"channels\":[],\"WorkflowId\":\"westeurope.0837160b-803e-4279-9f2c-a5cc46ffc748\"}",
|
|
71
|
+
"error": null
|
|
72
|
+
}
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
=== "Text"
|
|
76
|
+
|
|
77
|
+
``` text
|
|
78
|
+
@odata.context : https://graph.microsoft.com/v1.0/$metadata#teams('6d9e3e6b-88a2-492b-985a-477bc760bd6b')/operations/$entity
|
|
79
|
+
Value : {"apps":[],"channels":[],"WorkflowId":"FranceCentral.7bfcab39-032e-4a1a-b4f0-4e5fb035b5a1"}
|
|
80
|
+
attemptsCount : 1
|
|
81
|
+
createdDateTime : 2022-10-31T12:51:22.8337964Z
|
|
82
|
+
error : null
|
|
83
|
+
id : 6af66f9c-f73b-42a6-87b8-216dee12f40b
|
|
84
|
+
lastActionDateTime : 2022-10-31T12:51:22.8337964Z
|
|
85
|
+
operationType : createTeam
|
|
86
|
+
status : notStarted
|
|
87
|
+
targetResourceId : 6d9e3e6b-88a2-492b-985a-477bc760bd6b
|
|
88
|
+
targetResourceLocation: /teams('6d9e3e6b-88a2-492b-985a-477bc760bd6b')
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
=== "CSV"
|
|
92
|
+
|
|
93
|
+
``` text
|
|
94
|
+
@odata.context,id,operationType,createdDateTime,status,lastActionDateTime,attemptsCount,targetResourceId,targetResourceLocation,Value,error
|
|
95
|
+
https://graph.microsoft.com/v1.0/$metadata#teams('40d5758d-5ad9-406d-88ab-0a78992ffbab')/operations/$entity,65778567-595d-4543-bb21-f8d62c678c8e,createTeam,2022-10-31T12:57:42.4956529Z,notStarted,2022-10-31T12:57:42.4956529Z,1,40d5758d-5ad9-406d-88ab-0a78992ffbab,/teams('40d5758d-5ad9-406d-88ab-0a78992ffbab'),"{""apps"":[],""channels"":[],""WorkflowId"":""northeurope.d0475d7e-7461-4dd5-ae1e-0cfa9e692412""}",
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
### `wait` response
|
|
99
|
+
|
|
100
|
+
When we make use of the option `wait` the response will differ.
|
|
101
|
+
|
|
102
|
+
=== "JSON"
|
|
103
|
+
|
|
104
|
+
``` json
|
|
105
|
+
{
|
|
106
|
+
"id": "d592059d-100f-48c6-8a91-b68eec00ecec",
|
|
107
|
+
"deletedDateTime": null,
|
|
108
|
+
"classification": null,
|
|
109
|
+
"createdDateTime": "2022-11-04T12:46:47Z",
|
|
110
|
+
"creationOptions": [
|
|
111
|
+
"Team",
|
|
112
|
+
"ExchangeProvisioningFlags:3552"
|
|
113
|
+
],
|
|
114
|
+
"description": "Architecture Discussion",
|
|
115
|
+
"displayName": "Architecture",
|
|
116
|
+
"expirationDateTime": null,
|
|
117
|
+
"groupTypes": [
|
|
118
|
+
"Unified"
|
|
119
|
+
],
|
|
120
|
+
"isAssignableToRole": null,
|
|
121
|
+
"mail": "Architecture@contoso.onmicrosoft.com",
|
|
122
|
+
"mailEnabled": true,
|
|
123
|
+
"mailNickname": "Architecture",
|
|
124
|
+
"membershipRule": null,
|
|
125
|
+
"membershipRuleProcessingState": null,
|
|
126
|
+
"onPremisesDomainName": null,
|
|
127
|
+
"onPremisesLastSyncDateTime": null,
|
|
128
|
+
"onPremisesNetBiosName": null,
|
|
129
|
+
"onPremisesSamAccountName": null,
|
|
130
|
+
"onPremisesSecurityIdentifier": null,
|
|
131
|
+
"onPremisesSyncEnabled": null,
|
|
132
|
+
"preferredDataLocation": null,
|
|
133
|
+
"preferredLanguage": null,
|
|
134
|
+
"proxyAddresses": [
|
|
135
|
+
"SMTP:Architecture@contoso.onmicrosoft.com"
|
|
136
|
+
],
|
|
137
|
+
"renewedDateTime": "2022-11-04T12:46:47Z",
|
|
138
|
+
"resourceBehaviorOptions": [
|
|
139
|
+
"HideGroupInOutlook",
|
|
140
|
+
"SubscribeMembersToCalendarEventsDisabled",
|
|
141
|
+
"WelcomeEmailDisabled"
|
|
142
|
+
],
|
|
143
|
+
"resourceProvisioningOptions": [
|
|
144
|
+
"Team"
|
|
145
|
+
],
|
|
146
|
+
"securityEnabled": false,
|
|
147
|
+
"securityIdentifier": "S-1-12-1-3583116701-1220939791-2394329482-3974889708",
|
|
148
|
+
"theme": null,
|
|
149
|
+
"visibility": "Public",
|
|
150
|
+
"onPremisesProvisioningErrors": []
|
|
151
|
+
}
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
=== "Text"
|
|
155
|
+
|
|
156
|
+
``` text
|
|
157
|
+
classification : null
|
|
158
|
+
createdDateTime : 2022-11-04T12:47:57Z
|
|
159
|
+
creationOptions : ["Team","ExchangeProvisioningFlags:3552"]
|
|
160
|
+
deletedDateTime : null
|
|
161
|
+
description : Architecture Discussion
|
|
162
|
+
displayName : Architecture
|
|
163
|
+
expirationDateTime : null
|
|
164
|
+
groupTypes : ["Unified"]
|
|
165
|
+
id : 29c242bb-a96f-470a-b280-d63154f5446f
|
|
166
|
+
isAssignableToRole : null
|
|
167
|
+
mail : Architecture@contoso.onmicrosoft.com
|
|
168
|
+
mailEnabled : true
|
|
169
|
+
mailNickname : Architecture
|
|
170
|
+
membershipRule : null
|
|
171
|
+
membershipRuleProcessingState: null
|
|
172
|
+
onPremisesDomainName : null
|
|
173
|
+
onPremisesLastSyncDateTime : null
|
|
174
|
+
onPremisesNetBiosName : null
|
|
175
|
+
onPremisesProvisioningErrors : []
|
|
176
|
+
onPremisesSamAccountName : null
|
|
177
|
+
onPremisesSecurityIdentifier : null
|
|
178
|
+
onPremisesSyncEnabled : null
|
|
179
|
+
preferredDataLocation : null
|
|
180
|
+
preferredLanguage : null
|
|
181
|
+
proxyAddresses : ["SMTP:Architecture@contoso.onmicrosoft.com"]
|
|
182
|
+
renewedDateTime : 2022-11-04T12:47:57Z
|
|
183
|
+
resourceBehaviorOptions : ["HideGroupInOutlook","SubscribeMembersToCalendarEventsDisabled","WelcomeEmailDisabled"]
|
|
184
|
+
resourceProvisioningOptions : ["Team"]
|
|
185
|
+
securityEnabled : false
|
|
186
|
+
securityIdentifier : S-1-12-1-700596923-1191881071-836141234-1866790228
|
|
187
|
+
theme : null
|
|
188
|
+
visibility : Public
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
=== "CSV"
|
|
192
|
+
|
|
193
|
+
``` text
|
|
194
|
+
id,deletedDateTime,classification,createdDateTime,creationOptions,description,displayName,expirationDateTime,groupTypes,isAssignableToRole,mail,mailEnabled,mailNickname,membershipRule,membershipRuleProcessingState,onPremisesDomainName,onPremisesLastSyncDateTime,onPremisesNetBiosName,onPremisesSamAccountName,onPremisesSecurityIdentifier,onPremisesSyncEnabled,preferredDataLocation,preferredLanguage,proxyAddresses,renewedDateTime,resourceBehaviorOptions,resourceProvisioningOptions,securityEnabled,securityIdentifier,theme,visibility,onPremisesProvisioningErrors
|
|
195
|
+
bb57868a-e82e-470b-85aa-8a86942a5bf8,,,2022-11-04T12:51:35Z,"[""Team"",""ExchangeProvisioningFlags:3552""]",Architecture Discussion,Architecture,,"[""Unified""]",,Architecture@contoso.onmicrosoft.com,1,TeamName,,,,,,,,,,,"[""SMTP:Architecture@contoso.onmicrosoft.com""]",2022-11-04T12:51:35Z,"[""HideGroupInOutlook"",""SubscribeMembersToCalendarEventsDisabled"",""WelcomeEmailDisabled""]","[""Team""]",,S-1-12-1-3143075466-1191962670-2257234565-4166724244,,Public,[]
|
|
196
|
+
```
|
|
197
|
+
|
|
53
198
|
## More information
|
|
54
199
|
|
|
55
200
|
- Get started with Teams templates: [https://docs.microsoft.com/MicrosoftTeams/get-started-with-teams-templates](https://docs.microsoft.com/MicrosoftTeams/get-started-with-teams-templates)
|
|
@@ -11,13 +11,13 @@ m365 teams team archive [options]
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
13
|
`-i, --id [id]`
|
|
14
|
-
: The ID of the Microsoft Teams team to archive. Specify either id or name but not both
|
|
14
|
+
: The ID of the Microsoft Teams team to archive. Specify either `id` or `name` but not both.
|
|
15
15
|
|
|
16
16
|
`-n, --name [name]`
|
|
17
|
-
: The display name of the Microsoft Teams team to archive. Specify either id or name but not both
|
|
17
|
+
: The display name of the Microsoft Teams team to archive. Specify either `id` or `name` but not both.
|
|
18
18
|
|
|
19
19
|
`--shouldSetSpoSiteReadOnlyForMembers`
|
|
20
|
-
: Sets the permissions for team members to read-only on the SharePoint Online site associated with the team
|
|
20
|
+
: Sets the permissions for team members to read-only on the SharePoint Online site associated with the team.
|
|
21
21
|
|
|
22
22
|
--8<-- "docs/cmd/_global.md"
|
|
23
23
|
|
|
@@ -49,3 +49,7 @@ Archive the specified Microsoft Teams team and set permissions for team members
|
|
|
49
49
|
```sh
|
|
50
50
|
m365 teams team archive --id 6f6fd3f7-9ba5-4488-bbe6-a789004d0d55 --shouldSetSpoSiteReadOnlyForMembers
|
|
51
51
|
```
|
|
52
|
+
|
|
53
|
+
## Response
|
|
54
|
+
|
|
55
|
+
The command won't return a response on success.
|
|
@@ -16,9 +16,6 @@ m365 teams team clone [options]
|
|
|
16
16
|
`-n, --name [name]`
|
|
17
17
|
: The display name for the new Microsoft Teams Team to clone
|
|
18
18
|
|
|
19
|
-
`--displayName [displayName]`
|
|
20
|
-
: (deprecated. Use `name` instead) The display name for the new Microsoft Teams Team to clone
|
|
21
|
-
|
|
22
19
|
`-p, --partsToClone <partsToClone>`
|
|
23
20
|
: A comma-separated list of the parts to clone. Allowed values are `apps,channels,members,settings,tabs`
|
|
24
21
|
|
|
@@ -52,3 +49,7 @@ Creates a clone of a Microsoft Teams team with mandatory and optional parameters
|
|
|
52
49
|
```sh
|
|
53
50
|
m365 teams team clone --id 15d7a78e-fd77-4599-97a5-dbb6372846c5 --name "Library Assist" --partsToClone "apps,tabs,settings,channels,members" --description "Self help community for library" --classification "Library" --visibility "public"
|
|
54
51
|
```
|
|
52
|
+
|
|
53
|
+
## Response
|
|
54
|
+
|
|
55
|
+
The command won't return a response on success.
|
|
@@ -31,3 +31,81 @@ Get information about Microsoft Teams team with name _Team Name_
|
|
|
31
31
|
```sh
|
|
32
32
|
m365 teams team get --name "Team Name"
|
|
33
33
|
```
|
|
34
|
+
|
|
35
|
+
## Response
|
|
36
|
+
|
|
37
|
+
=== "JSON"
|
|
38
|
+
|
|
39
|
+
``` json
|
|
40
|
+
{
|
|
41
|
+
"id": "2eaf7dcd-7e83-4c3a-94f7-932a1299c844",
|
|
42
|
+
"createdDateTime": "2022-10-31T12:50:42.819Z",
|
|
43
|
+
"displayName": "Team Name",
|
|
44
|
+
"description": "Team Name Discussion",
|
|
45
|
+
"internalId": "19:2soiTJiLJmUrSi94Hr23ZwcN9uWFWjE3EGYb5bFsyy41@thread.tacv2",
|
|
46
|
+
"classification": null,
|
|
47
|
+
"specialization": "none",
|
|
48
|
+
"visibility": "public",
|
|
49
|
+
"webUrl": "https://teams.microsoft.com/l/team/19%3a2soiTJiLJmUrSi94Hr23ZwcN9uWFWjE3EGYb5bFsyy41%40thread.tacv2/conversations?groupId=2eaf7dcd-7e83-4c3a-94f7-932a1299c844&tenantId=92e59666-257b-49c3-b1fa-1bae8107f6ba",
|
|
50
|
+
"isArchived": false,
|
|
51
|
+
"isMembershipLimitedToOwners": false,
|
|
52
|
+
"discoverySettings": {
|
|
53
|
+
"showInTeamsSearchAndSuggestions": true
|
|
54
|
+
},
|
|
55
|
+
"summary": null,
|
|
56
|
+
"memberSettings": {
|
|
57
|
+
"allowCreateUpdateChannels": true,
|
|
58
|
+
"allowCreatePrivateChannels": true,
|
|
59
|
+
"allowDeleteChannels": true,
|
|
60
|
+
"allowAddRemoveApps": true,
|
|
61
|
+
"allowCreateUpdateRemoveTabs": true,
|
|
62
|
+
"allowCreateUpdateRemoveConnectors": true
|
|
63
|
+
},
|
|
64
|
+
"guestSettings": {
|
|
65
|
+
"allowCreateUpdateChannels": false,
|
|
66
|
+
"allowDeleteChannels": false
|
|
67
|
+
},
|
|
68
|
+
"messagingSettings": {
|
|
69
|
+
"allowUserEditMessages": true,
|
|
70
|
+
"allowUserDeleteMessages": true,
|
|
71
|
+
"allowOwnerDeleteMessages": true,
|
|
72
|
+
"allowTeamMentions": true,
|
|
73
|
+
"allowChannelMentions": true
|
|
74
|
+
},
|
|
75
|
+
"funSettings": {
|
|
76
|
+
"allowGiphy": true,
|
|
77
|
+
"giphyContentRating": "moderate",
|
|
78
|
+
"allowStickersAndMemes": true,
|
|
79
|
+
"allowCustomMemes": true
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
=== "Text"
|
|
85
|
+
|
|
86
|
+
``` text
|
|
87
|
+
classification : null
|
|
88
|
+
createdDateTime : 2022-10-31T12:50:42.819Z
|
|
89
|
+
description : Team Name Discussion
|
|
90
|
+
discoverySettings : {"showInTeamsSearchAndSuggestions":true}
|
|
91
|
+
displayName : Team Name
|
|
92
|
+
funSettings : {"allowGiphy":true,"giphyContentRating":"moderate","allowStickersAndMemes":true,"allowCustomMemes":true}
|
|
93
|
+
guestSettings : {"allowCreateUpdateChannels":false,"allowDeleteChannels":false}
|
|
94
|
+
id : 2eaf7dcd-7e83-4c3a-94f7-932a1299c844
|
|
95
|
+
internalId : 19:2soiTJiLJmUrSi94Hr23ZwcN9uWFWjE3EGYb5bFsyy41@thread.tacv2
|
|
96
|
+
isArchived : false
|
|
97
|
+
isMembershipLimitedToOwners: false
|
|
98
|
+
memberSettings : {"allowCreateUpdateChannels":true,"allowCreatePrivateChannels":true,"allowDeleteChannels":true,"allowAddRemoveApps":true,"allowCreateUpdateRemoveTabs":true,"allowCreateUpdateRemoveConnectors":true}
|
|
99
|
+
messagingSettings : {"allowUserEditMessages":true,"allowUserDeleteMessages":true,"allowOwnerDeleteMessages":true,"allowTeamMentions":true,"allowChannelMentions":true}
|
|
100
|
+
specialization : none
|
|
101
|
+
summary : null
|
|
102
|
+
visibility : public
|
|
103
|
+
webUrl : https://teams.microsoft.com/l/team/19%3a2soiTJiLJmUrSi94Hr23ZwcN9uWFWjE3EGYb5bFsyy41%40thread.tacv2/conversations?groupId=2eaf7dcd-7e83-4c3a-94f7-932a1299c844&tenantId=92e59666-257b-49c3-b1fa-1bae8107f6ba
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
=== "CSV"
|
|
107
|
+
|
|
108
|
+
``` text
|
|
109
|
+
id,createdDateTime,displayName,description,internalId,classification,specialization,visibility,webUrl,isArchived,isMembershipLimitedToOwners,discoverySettings,summary,memberSettings,guestSettings,messagingSettings,funSettings
|
|
110
|
+
2eaf7dcd-7e83-4c3a-94f7-932a1299c844,2022-10-31T12:50:42.819Z,Team Name,Team Name Discussion,19:2soiTJiLJmUrSi94Hr23ZwcN9uWFWjE3EGYb5bFsyy41@thread.tacv2,,none,public,https://teams.microsoft.com/l/team/19%3a2soiTJiLJmUrSi94Hr23ZwcN9uWFWjE3EGYb5bFsyy41%40thread.tacv2/conversations?groupId=2eaf7dcd-7e83-4c3a-94f7-932a1299c844&tenantId=92e59666-257b-49c3-b1fa-1bae8107f6ba,,,"{""showInTeamsSearchAndSuggestions"":true}",,"{""allowCreateUpdateChannels"":true,""allowCreatePrivateChannels"":true,""allowDeleteChannels"":true,""allowAddRemoveApps"":true,""allowCreateUpdateRemoveTabs"":true,""allowCreateUpdateRemoveConnectors"":true}","{""allowCreateUpdateChannels"":false,""allowDeleteChannels"":false}","{""allowUserEditMessages"":true,""allowUserDeleteMessages"":true,""allowOwnerDeleteMessages"":true,""allowTeamMentions"":true,""allowChannelMentions"":true}","{""allowGiphy"":true,""giphyContentRating"":""moderate"",""allowStickersAndMemes"":true,""allowCustomMemes"":true}"
|
|
111
|
+
```
|
|
@@ -32,3 +32,33 @@ List all Microsoft Teams in the tenant you are a member of
|
|
|
32
32
|
```sh
|
|
33
33
|
m365 teams team list --joined
|
|
34
34
|
```
|
|
35
|
+
|
|
36
|
+
## Response
|
|
37
|
+
|
|
38
|
+
=== "JSON"
|
|
39
|
+
|
|
40
|
+
``` json
|
|
41
|
+
[
|
|
42
|
+
{
|
|
43
|
+
"id": "5dc7ba76-b9aa-4fdd-9e91-9fe7d0e8dca3",
|
|
44
|
+
"displayName": "Architecture",
|
|
45
|
+
"isArchived": false,
|
|
46
|
+
"description": "Architecture Discussion"
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
=== "Text"
|
|
52
|
+
|
|
53
|
+
``` text
|
|
54
|
+
id displayName isArchived description
|
|
55
|
+
------------------------------------ ---------------- ---------- ---------------------------------------
|
|
56
|
+
5dc7ba76-b9aa-4fdd-9e91-9fe7d0e8dca3 Architecture false Architecture Discussion
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
=== "CSV"
|
|
60
|
+
|
|
61
|
+
``` text
|
|
62
|
+
id,displayName,isArchived,description
|
|
63
|
+
5dc7ba76-b9aa-4fdd-9e91-9fe7d0e8dca3,Architecture,,Architecture Discussion
|
|
64
|
+
```
|
|
@@ -11,13 +11,13 @@ m365 teams team remove [options]
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
13
|
`-i, --id [id]`
|
|
14
|
-
: The ID of the Microsoft Teams team to remove. Specify either id or name but not both
|
|
14
|
+
: The ID of the Microsoft Teams team to remove. Specify either `id` or `name` but not both.
|
|
15
15
|
|
|
16
16
|
`-n, --name [name]`
|
|
17
|
-
: The display name of the Microsoft Teams team to remove. Specify either id or name but not both
|
|
17
|
+
: The display name of the Microsoft Teams team to remove. Specify either `id` or `name` but not both.
|
|
18
18
|
|
|
19
19
|
`--confirm`
|
|
20
|
-
: Don't prompt for confirming removing the specified team
|
|
20
|
+
: Don't prompt for confirming removing the specified team.
|
|
21
21
|
|
|
22
22
|
--8<-- "docs/cmd/_global.md"
|
|
23
23
|
|
|
@@ -47,6 +47,10 @@ Removes the specified team without confirmation
|
|
|
47
47
|
m365 teams team remove --id 00000000-0000-0000-0000-000000000000 --confirm
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
+
## Response
|
|
51
|
+
|
|
52
|
+
The command won't return a response on success.
|
|
53
|
+
|
|
50
54
|
## More information
|
|
51
55
|
|
|
52
56
|
- 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)
|
|
@@ -16,9 +16,6 @@ m365 teams team set [options]
|
|
|
16
16
|
`-n, --name [name]`
|
|
17
17
|
: The display name for the Microsoft Teams team for which to update settings
|
|
18
18
|
|
|
19
|
-
`--displayName [displayName]`
|
|
20
|
-
: (deprecated. Use `name` instead) The display name for the Microsoft Teams team for which to update settings
|
|
21
|
-
|
|
22
19
|
`--description [description]`
|
|
23
20
|
: The description for the Microsoft Teams team
|
|
24
21
|
|
|
@@ -46,3 +43,7 @@ Set Microsoft Teams team classification as MBI
|
|
|
46
43
|
```sh
|
|
47
44
|
m365 teams team set --id "00000000-0000-0000-0000-000000000000" --classification MBI
|
|
48
45
|
```
|
|
46
|
+
|
|
47
|
+
## Response
|
|
48
|
+
|
|
49
|
+
The command won't return a response on success.
|