@pnp/cli-microsoft365 6.0.0-beta.42305df → 6.0.0-beta.48a730d
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 +15 -2
- package/README.md +5 -0
- package/dist/Command.js +16 -2
- package/dist/m365/aad/commands/app/app-add.js +36 -13
- 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/commands/status.js +6 -1
- package/dist/m365/outlook/commands/mail/mail-send.js +55 -31
- 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 +1 -1
- package/dist/m365/planner/commands/plan/plan-get.js +5 -20
- package/dist/m365/pp/commands/Environment.js +3 -0
- package/dist/m365/pp/commands/card/card-get.js +110 -0
- package/dist/m365/pp/commands/card/card-list.js +68 -0
- package/dist/m365/pp/commands/card/card-remove.js +130 -0
- package/dist/m365/pp/commands/dataverse/dataverse-table-list.js +6 -12
- package/dist/m365/pp/commands/environment/environment-get.js +75 -0
- package/dist/m365/pp/commands/gateway/gateway-get.js +70 -0
- package/dist/m365/pp/commands/solution/Solution.js +3 -0
- package/dist/m365/pp/commands/solution/solution-get.js +117 -0
- package/dist/m365/pp/commands/solution/solution-list.js +87 -0
- package/dist/m365/pp/commands.js +7 -0
- package/dist/m365/spfx/commands/project/project-doctor.js +4 -1
- 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.14.0.js +0 -2
- package/dist/m365/spfx/commands/project/project-upgrade/{upgrade-1.16.0-beta.1.js → upgrade-1.16.0-beta.2.js} +44 -28
- package/dist/m365/spfx/commands/project/project-upgrade.js +5 -2
- package/dist/m365/spfx/commands/spfx-doctor.js +39 -9
- 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/eventreceiver/EventReceiver.js +3 -0
- package/dist/m365/spo/commands/eventreceiver/eventreceiver-remove.js +182 -0
- 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-copy.js +25 -39
- package/dist/m365/spo/commands/file/file-move.js +24 -37
- package/dist/m365/spo/commands/file/file-rename.js +19 -16
- package/dist/m365/spo/commands/file/file-roleinheritance-break.js +129 -0
- package/dist/m365/spo/commands/folder/folder-list.js +35 -12
- package/dist/m365/spo/commands/folder/folder-roleassignment-remove.js +168 -0
- 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/group/AssociatedGroupPropertiesCollection.js +3 -0
- package/dist/m365/spo/commands/group/group-list.js +49 -10
- package/dist/m365/spo/commands/list/list-contenttype-add.js +21 -18
- package/dist/m365/spo/commands/list/list-contenttype-default-set.js +59 -47
- package/dist/m365/spo/commands/list/list-contenttype-list.js +16 -8
- package/dist/m365/spo/commands/list/list-contenttype-remove.js +16 -8
- package/dist/m365/spo/commands/list/list-roleassignment-add.js +10 -10
- package/dist/m365/spo/commands/list/list-roleassignment-remove.js +8 -8
- 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-webhook-add.js +19 -11
- package/dist/m365/spo/commands/list/list-webhook-get.js +17 -10
- package/dist/m365/spo/commands/list/list-webhook-list.js +17 -42
- package/dist/m365/spo/commands/list/list-webhook-remove.js +19 -11
- package/dist/m365/spo/commands/list/list-webhook-set.js +27 -20
- 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 -11
- 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 +8 -8
- 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/roledefinition/roledefinition-list.js +15 -2
- package/dist/m365/spo/commands/site/site-add.js +4 -11
- package/dist/m365/spo/commands/{hubsite/hubsite-connect.js → site/site-hubsite-connect.js} +10 -10
- package/dist/m365/spo/commands/{hubsite/hubsite-disconnect.js → site/site-hubsite-disconnect.js} +13 -13
- package/dist/m365/spo/commands/{hubsite/hubsite-theme-sync.js → site/site-hubsite-theme-sync.js} +11 -11
- package/dist/m365/spo/commands/web/web-roleassignment-add.js +10 -10
- package/dist/m365/spo/commands/web/web-roleassignment-remove.js +8 -8
- package/dist/m365/spo/commands/web/web-roleinheritance-break.js +100 -0
- package/dist/m365/spo/commands.js +8 -3
- package/dist/m365/teams/commands/channel/channel-add.js +9 -9
- package/dist/m365/teams/commands/team/team-set.js +0 -7
- 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/task/task-set.js +53 -1
- 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-list.md +149 -0
- package/docs/docs/cmd/aad/user/user-guest-add.md +107 -0
- package/docs/docs/cmd/adaptivecard/adaptivecard-send.md +3 -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/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 +75 -6
- 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-get.md +51 -0
- package/docs/docs/cmd/pp/card/card-list.md +33 -0
- package/docs/docs/cmd/pp/card/card-remove.md +82 -0
- package/docs/docs/cmd/pp/dataverse/dataverse-table-list.md +2 -2
- package/docs/docs/cmd/pp/environment/environment-get.md +38 -0
- package/docs/docs/cmd/pp/environment/environment-list.md +1 -1
- package/docs/docs/cmd/pp/gateway/gateway-get.md +24 -0
- package/docs/docs/cmd/pp/solution/solution-get.md +51 -0
- package/docs/docs/cmd/pp/solution/solution-list.md +33 -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/spfx/spfx-doctor.md +10 -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/eventreceiver/eventreceiver-get.md +2 -2
- package/docs/docs/cmd/spo/eventreceiver/eventreceiver-remove.md +69 -0
- 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-roleinheritance-break.md +54 -0
- package/docs/docs/cmd/spo/folder/folder-list.md +45 -0
- package/docs/docs/cmd/spo/folder/folder-roleassignment-remove.md +57 -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/group/group-list.md +10 -1
- 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-contenttype-add.md +15 -6
- package/docs/docs/cmd/spo/list/list-contenttype-default-set.md +16 -7
- package/docs/docs/cmd/spo/list/list-contenttype-list.md +15 -6
- package/docs/docs/cmd/spo/list/list-contenttype-remove.md +16 -7
- 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-view-set.md +14 -3
- package/docs/docs/cmd/spo/list/list-webhook-add.md +15 -16
- package/docs/docs/cmd/spo/list/list-webhook-get.md +16 -7
- package/docs/docs/cmd/spo/list/list-webhook-list.md +13 -10
- package/docs/docs/cmd/spo/list/list-webhook-remove.md +12 -10
- package/docs/docs/cmd/spo/list/list-webhook-set.md +21 -12
- 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 +10 -1
- 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-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 +5 -10
- 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/{hubsite/hubsite-connect.md → site/site-hubsite-connect.md} +4 -4
- package/docs/docs/cmd/spo/{hubsite/hubsite-disconnect.md → site/site-hubsite-disconnect.md} +7 -7
- package/docs/docs/cmd/spo/{hubsite/hubsite-theme-sync.md → site/site-hubsite-theme-sync.md} +5 -5
- 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-roleinheritance-break.md +44 -0
- package/docs/docs/cmd/teams/channel/channel-add.md +4 -4
- package/docs/docs/cmd/teams/team/team-clone.md +0 -3
- package/docs/docs/cmd/teams/team/team-set.md +0 -3
- 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-get.md +61 -0
- package/docs/docs/cmd/todo/task/task-add.md +32 -5
- package/docs/docs/cmd/todo/task/task-get.md +75 -0
- package/docs/docs/cmd/todo/task/task-set.md +29 -2
- package/package.json +13 -3
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN006006_CFG_PS_features.js +0 -60
|
@@ -17,10 +17,13 @@ m365 spo listitem set [options]
|
|
|
17
17
|
: ID of the list item to update.
|
|
18
18
|
|
|
19
19
|
`-l, --listId [listId]`
|
|
20
|
-
: ID of the list where the item should be updated. Specify `listId` or `
|
|
20
|
+
: ID of the list where the item should be updated. Specify either `listTitle`, `listId` or `listUrl`
|
|
21
21
|
|
|
22
22
|
`-t, --listTitle [listTitle]`
|
|
23
|
-
: Title of the list where the item should be updated. Specify `listId` or `
|
|
23
|
+
: Title of the list where the item should be updated. Specify either `listTitle`, `listId` or `listUrl`
|
|
24
|
+
|
|
25
|
+
`--listUrl [listUrl]`
|
|
26
|
+
: Server- or site-relative URL of the list where the item should be updated. Specify either `listTitle`, `listId` or `listUrl`
|
|
24
27
|
|
|
25
28
|
`-c, --contentType [contentType]`
|
|
26
29
|
: The name or the ID of the content type to associate with the updated item
|
|
@@ -62,8 +65,8 @@ Update an item with id _147_ with Title _Demo Multi Person Field_ and a multi-se
|
|
|
62
65
|
m365 spo listitem set --listTitle "Demo List" --id 147 --webUrl https://contoso.sharepoint.com/sites/project-x --Title "Demo Multi Person Field" --MultiPeopleField "[{'Key':'i:0#.f|membership|markh@conotoso.com'},{'Key':'i:0#.f|membership|adamb@conotoso.com'}]"
|
|
63
66
|
```
|
|
64
67
|
|
|
65
|
-
Update
|
|
68
|
+
Update the field _Title_ and _CustomHyperlink_ of an item with a specific id in a list retrieved by server-relative URL in a specific site
|
|
66
69
|
|
|
67
70
|
```sh
|
|
68
|
-
m365 spo listitem set --
|
|
71
|
+
m365 spo listitem set --listUrl '/sites/project-x/lists/Demo List' --id 147 --webUrl https://contoso.sharepoint.com/sites/project-x --Title "Demo Hyperlink Field" --CustomHyperlink "https://www.bing.com, Bing"
|
|
69
72
|
```
|
|
@@ -45,7 +45,8 @@ If the specified `pageName` doesn't refer to an existing modern page, you will g
|
|
|
45
45
|
|
|
46
46
|
To add a standard web part to the page, specify one of the following values: _ContentRollup, BingMap, ContentEmbed, DocumentEmbed, Image, ImageGallery, LinkPreview, NewsFeed, NewsReel, PowerBIReportEmbed, QuickChart, SiteActivity, VideoEmbed, YammerEmbed, Events, GroupCalendar, Hero, List, PageTitle, People, QuickLinks, CustomMessageRegion, Divider, MicrosoftForms, Spacer_.
|
|
47
47
|
|
|
48
|
-
|
|
48
|
+
!!! warning "Escaping JSON in PowerShell"
|
|
49
|
+
When using the `--webPartProperties` option it's possible to enter a JSON string. In PowerShell 5 to 7.2 [specific escaping rules](./../../../user-guide/using-cli.md#escaping-double-quotes-in-powershell) apply due to an issue. Remember that you can also use [file tokens](./../../../user-guide/using-cli.md#passing-complex-content-into-cli-options) instead.
|
|
49
50
|
|
|
50
51
|
## Examples
|
|
51
52
|
|
|
@@ -67,20 +68,14 @@ Add a custom web part to the modern page
|
|
|
67
68
|
m365 spo page clientsidewebpart add --webUrl https://contoso.sharepoint.com/sites/a-team --pageName page.aspx --webPartId 3ede60d3-dc2c-438b-b5bf-cc40bb2351e1
|
|
68
69
|
```
|
|
69
70
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
```PowerShell
|
|
73
|
-
m365 --% spo page clientsidewebpart add --webUrl https://contoso.sharepoint.com/sites/a-team --pageName page.aspx --standardWebPart BingMap --webPartProperties `"{""Title"":""Foo location""}"`
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
Using Windows command line, add the standard Bing Map web part with the specific properties to a modern page
|
|
71
|
+
Add the standard Bing Map web part with the specific properties to a modern page
|
|
77
72
|
|
|
78
73
|
```sh
|
|
79
|
-
m365 spo page clientsidewebpart add --webUrl https://contoso.sharepoint.com/sites/a-team --pageName page.aspx --standardWebPart BingMap --webPartProperties
|
|
74
|
+
m365 spo page clientsidewebpart add --webUrl https://contoso.sharepoint.com/sites/a-team --pageName page.aspx --standardWebPart BingMap --webPartProperties '{"Title":"Foo location"}'
|
|
80
75
|
```
|
|
81
76
|
|
|
82
77
|
Add the standard Image web part with the preconfigured image
|
|
83
78
|
|
|
84
79
|
```sh
|
|
85
|
-
m365 spo page clientsidewebpart add --webUrl https://contoso.sharepoint.com/sites/a-team --pageName page.aspx --standardWebPart Image --webPartData '
|
|
80
|
+
m365 spo page clientsidewebpart add --webUrl https://contoso.sharepoint.com/sites/a-team --pageName page.aspx --standardWebPart Image --webPartData '{ "dataVersion": "1.8", "serverProcessedContent": {"htmlStrings":{},"searchablePlainTexts":{"captionText":""},"imageSources":{"imageSource":"/sites/team-a/SiteAssets/work-life-balance.png"},"links":{}}, "properties": {"imageSourceType":2,"altText":"a group of people on a beach","overlayText":"Work life balance","fileName":"48146-OFF12_Justice_01.png","siteId":"27664b85-067d-4be9-a7d7-89b2e804d09f","webId":"a7664b85-067d-4be9-a7d7-89b2e804d09f","listId":"37664b85-067d-4be9-a7d7-89b2e804d09f","uniqueId":"67664b85-067d-4be9-a7d7-89b2e804d09f","imgWidth":650,"imgHeight":433,"fixAspectRatio":false,"isOverlayTextEnabled":true}}'
|
|
86
81
|
```
|
|
@@ -31,7 +31,8 @@ m365 spo page control set [options]
|
|
|
31
31
|
|
|
32
32
|
If the specified `pageName` doesn't refer to an existing modern page, you will get a `File doesn't exists` error.
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
!!! warning "Escaping JSON in PowerShell"
|
|
35
|
+
When using the `--webPartProperties` option it's possible to enter a JSON string. In PowerShell 5 to 7.2 [specific escaping rules](./../../../user-guide/using-cli.md#escaping-double-quotes-in-powershell) apply due to an issue. Remember that you can also use [file tokens](./../../../user-guide/using-cli.md#passing-complex-content-into-cli-options) instead.
|
|
35
36
|
|
|
36
37
|
## Examples
|
|
37
38
|
|
|
@@ -46,9 +46,6 @@ m365 spo site add [options]
|
|
|
46
46
|
`--siteDesignId [siteDesignId]`
|
|
47
47
|
: Id of the custom site design to use to create the site. When creating a communication site, specify either `siteDesign` or `siteDesignId` (applies to type CommunicationSite)
|
|
48
48
|
|
|
49
|
-
`--allowFileSharingForGuestUsers`
|
|
50
|
-
: (deprecated. Use `shareByEmailEnabled` instead) Determines whether it's allowed to share file with guests (applies to type CommunicationSite)
|
|
51
|
-
|
|
52
49
|
`--shareByEmailEnabled`
|
|
53
50
|
: Determines whether it's allowed to share file with guests (applies to type CommunicationSite)
|
|
54
51
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
# spo hubsite connect
|
|
1
|
+
# spo site hubsite connect
|
|
2
2
|
|
|
3
3
|
Connects the specified site collection to the given hub site
|
|
4
4
|
|
|
5
5
|
## Usage
|
|
6
6
|
|
|
7
7
|
```sh
|
|
8
|
-
m365 spo hubsite connect [options]
|
|
8
|
+
m365 spo site hubsite connect [options]
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
## Options
|
|
@@ -29,10 +29,10 @@ If the specified `id` doesn't point to a valid hub site, you will get a `Resourc
|
|
|
29
29
|
|
|
30
30
|
## Examples
|
|
31
31
|
|
|
32
|
-
Connect
|
|
32
|
+
Connect a specific site collection to a hub site
|
|
33
33
|
|
|
34
34
|
```sh
|
|
35
|
-
m365 spo hubsite connect --siteUrl https://contoso.sharepoint.com/sites/contoso-sales --id 255a50b2-527f-4413-8485-57f4c17a24d1
|
|
35
|
+
m365 spo site hubsite connect --siteUrl https://contoso.sharepoint.com/sites/contoso-sales --id 255a50b2-527f-4413-8485-57f4c17a24d1
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
## More information
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
# spo hubsite disconnect
|
|
1
|
+
# spo site hubsite disconnect
|
|
2
2
|
|
|
3
3
|
Disconnects the specified site collection from its hub site
|
|
4
4
|
|
|
5
5
|
## Usage
|
|
6
6
|
|
|
7
7
|
```sh
|
|
8
|
-
m365 spo hubsite disconnect [options]
|
|
8
|
+
m365 spo site hubsite disconnect [options]
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
## Options
|
|
@@ -14,7 +14,7 @@ m365 spo hubsite disconnect [options]
|
|
|
14
14
|
: URL of the site collection to disconnect from its hub site
|
|
15
15
|
|
|
16
16
|
`--confirm`
|
|
17
|
-
: Don't prompt for
|
|
17
|
+
: Don't prompt for confirmation
|
|
18
18
|
|
|
19
19
|
--8<-- "docs/cmd/_global.md"
|
|
20
20
|
|
|
@@ -25,16 +25,16 @@ m365 spo hubsite disconnect [options]
|
|
|
25
25
|
|
|
26
26
|
## Examples
|
|
27
27
|
|
|
28
|
-
Disconnect
|
|
28
|
+
Disconnect a specific site collection from its hub site. Will prompt for confirmation before disconnecting from the hub site.
|
|
29
29
|
|
|
30
30
|
```sh
|
|
31
|
-
m365 spo hubsite disconnect --siteUrl https://contoso.sharepoint.com/sites/sales
|
|
31
|
+
m365 spo site hubsite disconnect --siteUrl https://contoso.sharepoint.com/sites/sales
|
|
32
32
|
```
|
|
33
33
|
|
|
34
|
-
Disconnect
|
|
34
|
+
Disconnect a specific site collection from its hub site without prompting for confirmation.
|
|
35
35
|
|
|
36
36
|
```sh
|
|
37
|
-
m365 spo hubsite disconnect --siteUrl https://contoso.sharepoint.com/sites/sales --confirm
|
|
37
|
+
m365 spo site hubsite disconnect --siteUrl https://contoso.sharepoint.com/sites/sales --confirm
|
|
38
38
|
```
|
|
39
39
|
|
|
40
40
|
## More information
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
# spo hubsite theme sync
|
|
1
|
+
# spo site hubsite theme sync
|
|
2
2
|
|
|
3
|
-
Applies any theme updates from the
|
|
3
|
+
Applies any theme updates from the hub site the site is connected to.
|
|
4
4
|
|
|
5
5
|
## Usage
|
|
6
6
|
|
|
7
7
|
```sh
|
|
8
|
-
m365 spo hubsite theme sync [options]
|
|
8
|
+
m365 spo site hubsite theme sync [options]
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
## Options
|
|
@@ -22,10 +22,10 @@ m365 spo hubsite theme sync [options]
|
|
|
22
22
|
|
|
23
23
|
## Examples
|
|
24
24
|
|
|
25
|
-
Applies any theme updates from the
|
|
25
|
+
Applies any theme updates from the hub site to a specific site
|
|
26
26
|
|
|
27
27
|
```sh
|
|
28
|
-
m365 spo hubsite theme sync --webUrl https://contoso.sharepoint.com/sites/project-x
|
|
28
|
+
m365 spo site hubsite theme sync --webUrl https://contoso.sharepoint.com/sites/project-x
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
## More information
|
|
@@ -45,6 +45,11 @@ m365 spo term add [options]
|
|
|
45
45
|
!!! important
|
|
46
46
|
To use this command you have to have permissions to access the tenant admin site.
|
|
47
47
|
|
|
48
|
+
## Remarks
|
|
49
|
+
|
|
50
|
+
!!! warning "Escaping JSON in PowerShell"
|
|
51
|
+
When using the `--customProperties` and/or `--localCustomProperties` options it's possible to enter a JSON string. In PowerShell 5 to 7.2 [specific escaping rules](./../../../user-guide/using-cli.md#escaping-double-quotes-in-powershell) apply due to an issue. Remember that you can also use [file tokens](./../../../user-guide/using-cli.md#passing-complex-content-into-cli-options) instead.
|
|
52
|
+
|
|
48
53
|
## Examples
|
|
49
54
|
|
|
50
55
|
Add taxonomy term with the specified name to the term group and term set specified by their names
|
|
@@ -33,6 +33,11 @@ m365 spo term set add [options]
|
|
|
33
33
|
!!! important
|
|
34
34
|
To use this command you have to have permissions to access the tenant admin site.
|
|
35
35
|
|
|
36
|
+
## Remarks
|
|
37
|
+
|
|
38
|
+
!!! warning "Escaping JSON in PowerShell"
|
|
39
|
+
When using the `--customProperties` option it's possible to enter a JSON string. In PowerShell 5 to 7.2 [specific escaping rules](./../../../user-guide/using-cli.md#escaping-double-quotes-in-powershell) apply due to an issue. Remember that you can also use [file tokens](./../../../user-guide/using-cli.md#passing-complex-content-into-cli-options) instead.
|
|
40
|
+
|
|
36
41
|
## Examples
|
|
37
42
|
|
|
38
43
|
Add taxonomy term set to the term group specified by ID
|
|
@@ -56,5 +61,5 @@ m365 spo term set add --name PnP-Organizations --termGroupId 0e8f395e-ff58-4d45-
|
|
|
56
61
|
Add taxonomy term set and set its custom properties
|
|
57
62
|
|
|
58
63
|
```sh
|
|
59
|
-
m365 spo term set add --name PnP-Organizations --termGroupId 0e8f395e-ff58-4d45-9ff7-e331ab728beb --customProperties '
|
|
64
|
+
m365 spo term set add --name PnP-Organizations --termGroupId 0e8f395e-ff58-4d45-9ff7-e331ab728beb --customProperties '{"Property":"Value"}'
|
|
60
65
|
```
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# spo web roleinheritance break
|
|
2
|
+
|
|
3
|
+
Break role inheritance of subsite
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 spo web roleinheritance break [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-u, --webUrl <webUrl>`
|
|
14
|
+
: URL of the site.
|
|
15
|
+
|
|
16
|
+
`-c, --clearExistingPermissions`
|
|
17
|
+
: Clears all existing permissions from the web.
|
|
18
|
+
|
|
19
|
+
`--confirm`
|
|
20
|
+
: Don't prompt for confirmation.
|
|
21
|
+
|
|
22
|
+
--8<-- "docs/cmd/_global.md"
|
|
23
|
+
|
|
24
|
+
## Remarks
|
|
25
|
+
|
|
26
|
+
By default, when breaking permissions inheritance, the web will retain existing permissions. To remove existing permissions, use the `--clearExistingPermissions` option.
|
|
27
|
+
|
|
28
|
+
## Examples
|
|
29
|
+
|
|
30
|
+
Break role inheritance of a web and keep the existing permissions
|
|
31
|
+
|
|
32
|
+
```sh
|
|
33
|
+
m365 spo web roleinheritance break --webUrl https://contoso.sharepoint.com/sites/project-x
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Break role inheritance of a web and clear the existing permissions
|
|
37
|
+
|
|
38
|
+
```sh
|
|
39
|
+
m365 spo web roleinheritance break --webUrl https://contoso.sharepoint.com/sites/project-x --clearExistingPermissions
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## Response
|
|
43
|
+
|
|
44
|
+
The command won't return a response on success.
|
|
@@ -23,10 +23,10 @@ m365 teams channel add [options]
|
|
|
23
23
|
: The description of the channel to add
|
|
24
24
|
|
|
25
25
|
`--type [type]`
|
|
26
|
-
: Type of channel to create: `standard
|
|
26
|
+
: Type of channel to create: `standard`, `private`, `shared`. Default `standard`.
|
|
27
27
|
|
|
28
28
|
`--owner [owner]`
|
|
29
|
-
: User with this ID or UPN will be added as owner of the
|
|
29
|
+
: User with this ID or UPN will be added as owner of the channel. This option is required when type is `private` or `shared`.
|
|
30
30
|
|
|
31
31
|
--8<-- "docs/cmd/_global.md"
|
|
32
32
|
|
|
@@ -54,8 +54,8 @@ Add private channel to the specified Microsoft Teams team with owner UPN
|
|
|
54
54
|
m365 teams channel add --teamName "Team Name" --name climicrosoft365 --type private --owner john.doe@contoso.com
|
|
55
55
|
```
|
|
56
56
|
|
|
57
|
-
Add
|
|
57
|
+
Add shared channel to the specified Microsoft Teams team with owner ID
|
|
58
58
|
|
|
59
59
|
```sh
|
|
60
|
-
m365 teams channel add --teamId 6703ac8a-c49b-4fd4-8223-28f0ac3a6402 --name climicrosoft365 --type
|
|
60
|
+
m365 teams channel add --teamId 6703ac8a-c49b-4fd4-8223-28f0ac3a6402 --name climicrosoft365 --type shared --owner cc693a7d-4833-4911-a89a-f0fe6e49bf69
|
|
61
61
|
```
|
|
@@ -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
|
|
|
@@ -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
|
|
|
@@ -32,3 +32,23 @@ Get Microsoft 365 tenant ID of the the tenant to which you are currently logged
|
|
|
32
32
|
```sh
|
|
33
33
|
m365 tenant id get
|
|
34
34
|
```
|
|
35
|
+
|
|
36
|
+
## Response
|
|
37
|
+
|
|
38
|
+
=== "JSON"
|
|
39
|
+
|
|
40
|
+
```json
|
|
41
|
+
"e65b162c-6f87-4eb1-a24e-1b37d3504663"
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
=== "Text"
|
|
45
|
+
|
|
46
|
+
```text
|
|
47
|
+
e65b162c-6f87-4eb1-a24e-1b37d3504663
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
=== "CSV"
|
|
51
|
+
|
|
52
|
+
```csv
|
|
53
|
+
e65b162c-6f87-4eb1-a24e-1b37d3504663
|
|
54
|
+
```
|
|
@@ -37,3 +37,38 @@ Gets the count of daily active users in the reporting period by product for the
|
|
|
37
37
|
```sh
|
|
38
38
|
m365 tenant report activeusercounts --period D7 --output json > "activeusercounts.json"
|
|
39
39
|
```
|
|
40
|
+
|
|
41
|
+
## Response
|
|
42
|
+
|
|
43
|
+
=== "JSON"
|
|
44
|
+
|
|
45
|
+
```json
|
|
46
|
+
[
|
|
47
|
+
{
|
|
48
|
+
"Report Refresh Date": "2022-10-25",
|
|
49
|
+
"Office 365": "1",
|
|
50
|
+
"Exchange": "5",
|
|
51
|
+
"OneDrive": "4",
|
|
52
|
+
"SharePoint": "3",
|
|
53
|
+
"Skype For Business": "2",
|
|
54
|
+
"Yammer": "3",
|
|
55
|
+
"Teams": "1",
|
|
56
|
+
"Report Date": "2022-10-19",
|
|
57
|
+
"Report Period": "7"
|
|
58
|
+
}
|
|
59
|
+
]
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
=== "Text"
|
|
63
|
+
|
|
64
|
+
```text
|
|
65
|
+
Report Refresh Date,Office 365,Exchange,OneDrive,SharePoint,Skype For Business,Yammer,Teams,Report Date,Report Period
|
|
66
|
+
2022-10-25,1,5,4,3,2,3,1,2022-10-19,7
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
=== "CSV"
|
|
70
|
+
|
|
71
|
+
```csv
|
|
72
|
+
Report Refresh Date,Office 365,Exchange,OneDrive,SharePoint,Skype For Business,Yammer,Teams,Report Date,Report Period
|
|
73
|
+
2022-10-25,1,5,4,3,2,3,1,2022-10-19,7
|
|
74
|
+
```
|
|
@@ -50,3 +50,52 @@ Gets details about Microsoft 365 active users for the last week and exports the
|
|
|
50
50
|
```sh
|
|
51
51
|
m365 tenant report activeuserdetail --period D7 --output json > "activeuserdetail.json"
|
|
52
52
|
```
|
|
53
|
+
|
|
54
|
+
## Response
|
|
55
|
+
|
|
56
|
+
=== "JSON"
|
|
57
|
+
|
|
58
|
+
```json
|
|
59
|
+
[
|
|
60
|
+
{
|
|
61
|
+
"Report Refresh Date": "2022-10-23",
|
|
62
|
+
"User Principal Name": "0439A166C614C2E8C7B4075DC4752054",
|
|
63
|
+
"Display Name": "2236A6E43D08F619FE695DF3B163A32F",
|
|
64
|
+
"Is Deleted": "False",
|
|
65
|
+
"Deleted Date": "",
|
|
66
|
+
"Has Exchange License": "True",
|
|
67
|
+
"Has OneDrive License": "True",
|
|
68
|
+
"Has SharePoint License": "True",
|
|
69
|
+
"Has Skype For Business License": "True",
|
|
70
|
+
"Has Yammer License": "True",
|
|
71
|
+
"Has Teams License": "True",
|
|
72
|
+
"Exchange Last Activity Date": "2020-03-27",
|
|
73
|
+
"OneDrive Last Activity Date": "2020-03-27",
|
|
74
|
+
"SharePoint Last Activity Date": "2020-04-30",
|
|
75
|
+
"Skype For Business Last Activity Date": "2020-05-10",
|
|
76
|
+
"Yammer Last Activity Date": "2020-05-10",
|
|
77
|
+
"Teams Last Activity Date": "2020-05-10",
|
|
78
|
+
"Exchange License Assign Date": "2020-02-26",
|
|
79
|
+
"OneDrive License Assign Date": "2020-02-26",
|
|
80
|
+
"SharePoint License Assign Date": "2020-02-26",
|
|
81
|
+
"Skype For Business License Assign Date": "2020-02-26",
|
|
82
|
+
"Yammer License Assign Date": "2020-02-26",
|
|
83
|
+
"Teams License Assign Date": "2020-02-26",
|
|
84
|
+
"Assigned Products": "MICROSOFT 365 E5 DEVELOPER (WITHOUT WINDOWS AND AUDIO CONFERENCING)"
|
|
85
|
+
}
|
|
86
|
+
]
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
=== "Text"
|
|
90
|
+
|
|
91
|
+
```text
|
|
92
|
+
Report Refresh Date,User Principal Name,Display Name,Is Deleted,Deleted Date,Has Exchange License,Has OneDrive License,Has SharePoint License,Has Skype For Business License,Has Yammer License,Has Teams License,Exchange Last Activity Date,OneDrive Last Activity Date,SharePoint Last Activity Date,Skype For Business Last Activity Date,Yammer Last Activity Date,Teams Last Activity Date,Exchange License Assign Date,OneDrive License Assign Date,SharePoint License Assign Date,Skype For Business License Assign Date,Yammer License Assign Date,Teams License Assign Date,Assigned Products
|
|
93
|
+
2022-10-23,77E5979DD60BA6EAA53E814DBEEEFA5F,4291DA7C39EE3263E97336B42734A667,False,,True,True,True,True,True,True,2020-09-12,2022-09-12,2021-10-30,2020-10-30,2019-04-21,2017-09-20,2021-01-10,2021-01-10,2021-01-10,2021-01-10,2021-01-10,2021-01-10,MICROSOFT 365 E5 DEVELOPER (WITHOUT WINDOWS AND AUDIO CONFERENCING)
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
=== "CSV"
|
|
97
|
+
|
|
98
|
+
```csv
|
|
99
|
+
Report Refresh Date,User Principal Name,Display Name,Is Deleted,Deleted Date,Has Exchange License,Has OneDrive License,Has SharePoint License,Has Skype For Business License,Has Yammer License,Has Teams License,Exchange Last Activity Date,OneDrive Last Activity Date,SharePoint Last Activity Date,Skype For Business Last Activity Date,Yammer Last Activity Date,Teams Last Activity Date,Exchange License Assign Date,OneDrive License Assign Date,SharePoint License Assign Date,Skype For Business License Assign Date,Yammer License Assign Date,Teams License Assign Date,Assigned Products
|
|
100
|
+
2022-10-23,77E5979DD60BA6EAA53E814DBEEEFA5F,4291DA7C39EE3263E97336B42734A667,False,,True,True,True,True,True,True,,2022-09-12,2020-09-12,2022-09-12,2021-10-30,2020-10-30,2019-04-21,2017-09-20,2021-01-10,2021-01-10,2021-01-10,2021-01-10,2021-01-10,2021-01-10,MICROSOFT 365 E5 DEVELOPER (WITHOUT WINDOWS AND AUDIO CONFERENCING)
|
|
101
|
+
```
|
|
@@ -19,3 +19,35 @@ Get the count of Microsoft 365 activations on desktops and devices
|
|
|
19
19
|
```sh
|
|
20
20
|
m365 tenant report office365activationcounts
|
|
21
21
|
```
|
|
22
|
+
|
|
23
|
+
## Response
|
|
24
|
+
|
|
25
|
+
=== "JSON"
|
|
26
|
+
|
|
27
|
+
```json
|
|
28
|
+
[
|
|
29
|
+
{
|
|
30
|
+
"Report Refresh Date": "2022-10-25",
|
|
31
|
+
"Product Type": "MICROSOFT 365 APPS FOR ENTERPRISE",
|
|
32
|
+
"Windows": 5,
|
|
33
|
+
"Mac": 0,
|
|
34
|
+
"Android": 0,
|
|
35
|
+
"iOS": 0,
|
|
36
|
+
"Windows 10 Mobile": 0
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
=== "Text"
|
|
42
|
+
|
|
43
|
+
```text
|
|
44
|
+
Report Refresh Date,Product Type,Windows,Mac,Android,iOS,Windows 10 Mobile
|
|
45
|
+
2022-10-25,MICROSOFT 365 APPS FOR ENTERPRISE,5,0,0,0,0
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
=== "CSV"
|
|
49
|
+
|
|
50
|
+
```csv
|
|
51
|
+
Report Refresh Date,Product Type,Windows,Mac,Android,iOS,Windows 10 Mobile
|
|
52
|
+
2022-10-25,MICROSOFT 365 APPS FOR ENTERPRISE,5,0,0,0,0
|
|
53
|
+
```
|
|
@@ -19,3 +19,33 @@ Get the count of users that are enabled and those that have activated the Office
|
|
|
19
19
|
```sh
|
|
20
20
|
m365 tenant report office365activationsusercounts
|
|
21
21
|
```
|
|
22
|
+
|
|
23
|
+
## Response
|
|
24
|
+
|
|
25
|
+
=== "JSON"
|
|
26
|
+
|
|
27
|
+
```json
|
|
28
|
+
[
|
|
29
|
+
{
|
|
30
|
+
"Report Refresh Date": "2022-10-25",
|
|
31
|
+
"Product Type": "MICROSOFT 365 APPS FOR ENTERPRISE",
|
|
32
|
+
"Assigned": 24,
|
|
33
|
+
"Activated": 5,
|
|
34
|
+
"Shared Computer Activation": 0
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
=== "Text"
|
|
40
|
+
|
|
41
|
+
```text
|
|
42
|
+
Report Refresh Date,Product Type,Assigned,Activated,Shared Computer Activation
|
|
43
|
+
2022-10-25,MICROSOFT 365 APPS FOR ENTERPRISE,24,5,0
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
=== "CSV"
|
|
47
|
+
|
|
48
|
+
```csv
|
|
49
|
+
Report Refresh Date,Product Type,Assigned,Activated,Shared Computer Activation
|
|
50
|
+
2022-10-25,MICROSOFT 365 APPS FOR ENTERPRISE,24,5,0
|
|
51
|
+
```
|
|
@@ -19,3 +19,39 @@ Get details about users who have activated Microsoft 365
|
|
|
19
19
|
```sh
|
|
20
20
|
m365 tenant report office365activationsuserdetail
|
|
21
21
|
```
|
|
22
|
+
|
|
23
|
+
## Response
|
|
24
|
+
|
|
25
|
+
=== "JSON"
|
|
26
|
+
|
|
27
|
+
```json
|
|
28
|
+
[
|
|
29
|
+
{
|
|
30
|
+
"Report Refresh Date": "2022-10-25",
|
|
31
|
+
"User Principal Name": "554630B7593DDE8E04F27933A965D5B2",
|
|
32
|
+
"Display Name": "2BA57CC6348F53C9EE6347528301E896",
|
|
33
|
+
"Product Type": "MICROSOFT EXCEL ADVANCED ANALYTICS",
|
|
34
|
+
"Last Activated Date": "2021-01-10",
|
|
35
|
+
"Windows": 0,
|
|
36
|
+
"Mac": 0,
|
|
37
|
+
"Windows 10 Mobile": 0,
|
|
38
|
+
"iOS": 0,
|
|
39
|
+
"Android": 0,
|
|
40
|
+
"Activated On Shared Computer": "False"
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
=== "Text"
|
|
46
|
+
|
|
47
|
+
```text
|
|
48
|
+
Report Refresh Date,User Principal Name,Display Name,Product Type,Last Activated Date,Windows,Mac,Windows 10 Mobile,iOS,Android,Activated On Shared Computer
|
|
49
|
+
2022-10-25,77E5979DD60BA6EAA53E814DBEEEFA5F,4291DA7C39EE3263E97336B42734A667,MICROSOFT 365 APPS FOR ENTERPRISE,2021-01-10,1,0,0,0,0,False
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
=== "CSV"
|
|
53
|
+
|
|
54
|
+
```csv
|
|
55
|
+
Report Refresh Date,User Principal Name,Display Name,Product Type,Last Activated Date,Windows,Mac,Windows 10 Mobile,iOS,Android,Activated On Shared Computer
|
|
56
|
+
2022-10-25,77E5979DD60BA6EAA53E814DBEEEFA5F,4291DA7C39EE3263E97336B42734A667,MICROSOFT 365 APPS FOR ENTERPRISE,2021-01-10,1,0,0,0,0,False
|
|
57
|
+
```
|
|
@@ -37,3 +37,44 @@ Gets the count of users by activity type and service for the last week and expor
|
|
|
37
37
|
```sh
|
|
38
38
|
m365 tenant report servicesusercounts --period D7 --output json > "servicesusercounts.json"
|
|
39
39
|
```
|
|
40
|
+
|
|
41
|
+
## Response
|
|
42
|
+
|
|
43
|
+
=== "JSON"
|
|
44
|
+
|
|
45
|
+
```json
|
|
46
|
+
[
|
|
47
|
+
{
|
|
48
|
+
"Report Refresh Date": "2022-10-23",
|
|
49
|
+
"Exchange Active": "1",
|
|
50
|
+
"Exchange Inactive": "23",
|
|
51
|
+
"OneDrive Active": "1",
|
|
52
|
+
"OneDrive Inactive": "23",
|
|
53
|
+
"SharePoint Active": "1",
|
|
54
|
+
"SharePoint Inactive": "23",
|
|
55
|
+
"Skype For Business Active": "0",
|
|
56
|
+
"Skype For Business Inactive": "24",
|
|
57
|
+
"Yammer Active": "0",
|
|
58
|
+
"Yammer Inactive": "24",
|
|
59
|
+
"Teams Active": "1",
|
|
60
|
+
"Teams Inactive": "23",
|
|
61
|
+
"Office 365 Active": "2",
|
|
62
|
+
"Office 365 Inactive": "22",
|
|
63
|
+
"Report Period": "7"
|
|
64
|
+
}
|
|
65
|
+
]
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
=== "Text"
|
|
69
|
+
|
|
70
|
+
```text
|
|
71
|
+
Report Refresh Date,Exchange Active,Exchange Inactive,OneDrive Active,OneDrive Inactive,SharePoint Active,SharePoint Inactive,Skype For Business Active,Skype For Business Inactive,Yammer Active,Yammer Inactive,Teams Active,Teams Inactive,Office 365 Active,Office 365 Inactive,Report Period
|
|
72
|
+
2022-10-23,1,23,1,23,1,23,0,24,0,24,1,23,2,22,7
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
=== "CSV"
|
|
76
|
+
|
|
77
|
+
```csv
|
|
78
|
+
Report Refresh Date,Exchange Active,Exchange Inactive,OneDrive Active,OneDrive Inactive,SharePoint Active,SharePoint Inactive,Skype For Business Active,Skype For Business Inactive,Yammer Active,Yammer Inactive,Teams Active,Teams Inactive,Office 365 Active,Office 365 Inactive,Report Period
|
|
79
|
+
2022-10-23,1,23,1,23,1,23,0,24,0,24,1,23,2,22,7
|
|
80
|
+
```
|