@pnp/cli-microsoft365 6.7.0 → 6.8.0-beta.0d48896
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 +2 -0
- package/.mocharc.json +1 -0
- package/README.md +6 -1
- package/dist/Command.js +6 -0
- package/dist/chili/chili.js +298 -0
- package/dist/chili/index.js +20 -0
- package/dist/cli/Cli.js +2 -2
- package/dist/m365/aad/commands/user/user-add.js +30 -21
- package/dist/m365/app/commands/permission/permission-add.js +279 -0
- package/dist/m365/app/commands.js +1 -0
- package/dist/m365/commands/commands.js +2 -0
- package/dist/m365/commands/docs.js +42 -0
- package/dist/m365/commands/login.js +1 -1
- package/dist/m365/commands/setup.js +180 -0
- package/dist/m365/commands/setupPresets.js +25 -0
- package/dist/m365/pa/commands/app/app-consent-set.js +101 -0
- package/dist/m365/pa/commands.js +1 -0
- package/dist/m365/planner/commands/roster/roster-plan-list.js +102 -0
- package/dist/m365/planner/commands.js +1 -0
- package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-get.js +97 -0
- package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-list.js +85 -0
- package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-policysettings-list.js +89 -0
- package/dist/m365/purview/commands.js +3 -0
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.17.2.js +25 -0
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN001035_DEP_fluentui_react.js +18 -0
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN021009_PKG_no_duplicate_oui_deps.js +11 -4
- package/dist/m365/spfx/commands/project/project-doctor.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001035_DEP_fluentui_react.js +18 -0
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.15.2.js +2 -0
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.17.2.js +61 -0
- package/dist/m365/spfx/commands/project/project-upgrade.js +2 -1
- package/dist/m365/spfx/commands/spfx-doctor.js +29 -30
- package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-remove.js +146 -0
- package/dist/m365/spo/commands/file/file-checkin.js +8 -3
- package/dist/m365/spo/commands/file/file-checkout.js +8 -3
- package/dist/m365/spo/commands/file/file-copy.js +4 -4
- package/dist/m365/spo/commands/file/file-get.js +3 -1
- package/dist/m365/spo/commands/file/file-list.js +17 -6
- package/dist/m365/spo/commands/file/file-move.js +6 -7
- package/dist/m365/spo/commands/file/file-remove.js +6 -12
- package/dist/m365/spo/commands/file/file-rename.js +3 -3
- package/dist/m365/spo/commands/file/file-roleassignment-add.js +2 -1
- package/dist/m365/spo/commands/file/file-roleassignment-remove.js +3 -3
- package/dist/m365/spo/commands/file/file-roleinheritance-break.js +2 -1
- package/dist/m365/spo/commands/file/file-roleinheritance-reset.js +2 -1
- package/dist/m365/spo/commands/file/file-sharinginfo-get.js +4 -2
- package/dist/m365/spo/commands/file/file-version-clear.js +3 -1
- package/dist/m365/spo/commands/file/file-version-get.js +3 -1
- package/dist/m365/spo/commands/file/file-version-remove.js +3 -1
- package/dist/m365/spo/commands/file/file-version-restore.js +3 -1
- package/dist/m365/spo/commands/folder/folder-copy.js +4 -4
- package/dist/m365/spo/commands/folder/folder-get.js +5 -2
- package/dist/m365/spo/commands/folder/folder-move.js +3 -2
- package/dist/m365/spo/commands/folder/folder-rename.js +5 -2
- package/dist/m365/spo/commands/list/list-get.js +30 -3
- package/dist/m365/spo/commands/list/list-list.js +39 -2
- package/dist/m365/spo/commands/listitem/listitem-batch-set.js +308 -0
- package/dist/m365/spo/commands/page/page-section-add.js +2 -3
- package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-permissionrequest-list.js +46 -1
- package/dist/m365/spo/commands/site/site-recyclebinitem-move.js +119 -0
- package/dist/m365/spo/commands/site/site-recyclebinitem-remove.js +106 -0
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-get.js +30 -39
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-list.js +47 -0
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-remove.js +151 -0
- package/dist/m365/spo/commands/tenant/tenant-commandset-remove.js +152 -0
- package/dist/m365/spo/commands/tenant/tenant-commandset-set.js +203 -0
- package/dist/m365/spo/commands/tenant/tenant-settings-set.js +4 -0
- package/dist/m365/spo/commands/term/term-add.js +13 -4
- package/dist/m365/spo/commands/term/term-get.js +14 -5
- package/dist/m365/spo/commands/term/term-group-get.js +12 -3
- package/dist/m365/spo/commands/term/term-group-list.js +39 -4
- package/dist/m365/spo/commands/term/term-list.js +18 -9
- package/dist/m365/spo/commands/term/term-set-add.js +13 -4
- package/dist/m365/spo/commands/term/term-set-get.js +12 -3
- package/dist/m365/spo/commands/term/term-set-list.js +12 -3
- package/dist/m365/spo/commands.js +9 -0
- package/dist/m365/teams/commands/chat/chat-member-remove.js +137 -0
- package/dist/m365/teams/commands/meeting/meeting-transcript-list.js +124 -0
- package/dist/m365/teams/commands.js +2 -0
- package/dist/utils/formatting.js +35 -11
- package/dist/utils/pid.js +5 -0
- package/dist/utils/spo.js +1 -1
- package/docs/docs/cmd/aad/o365group/o365group-get.md +0 -12
- package/docs/docs/cmd/aad/user/user-add.md +4 -0
- package/docs/docs/cmd/aad/user/user-set.md +2 -2
- package/docs/docs/cmd/adaptivecard/adaptivecard-send.md +13 -13
- package/docs/docs/cmd/app/app-get.md +25 -6
- package/docs/docs/cmd/app/app-open.md +8 -2
- package/docs/docs/cmd/app/permission/permission-add.md +53 -0
- package/docs/docs/cmd/app/permission/permission-list.md +19 -19
- package/docs/docs/cmd/booking/business/business-get.md +30 -8
- package/docs/docs/cmd/booking/business/business-list.md +17 -8
- package/docs/docs/cmd/cli/cli-consent.md +6 -0
- package/docs/docs/cmd/cli/cli-doctor.md +17 -0
- package/docs/docs/cmd/cli/cli-issue.md +6 -0
- package/docs/docs/cmd/cli/cli-reconsent.md +6 -0
- package/docs/docs/cmd/cli/completion/completion-sh-setup.md +6 -0
- package/docs/docs/cmd/cli/config/config-get.md +6 -0
- package/docs/docs/cmd/docs.md +51 -0
- package/docs/docs/cmd/flow/environment/environment-list.md +18 -0
- package/docs/docs/cmd/flow/flow-get.md +20 -0
- package/docs/docs/cmd/flow/flow-list.md +17 -0
- package/docs/docs/cmd/graph/changelog/changelog-list.md +52 -0
- package/docs/docs/cmd/graph/schemaextension/schemaextension-add.md +61 -0
- package/docs/docs/cmd/graph/schemaextension/schemaextension-get.md +61 -0
- package/docs/docs/cmd/graph/schemaextension/schemaextension-list.md +61 -0
- package/docs/docs/cmd/graph/schemaextension/schemaextension-remove.md +4 -0
- package/docs/docs/cmd/graph/schemaextension/schemaextension-set.md +4 -0
- package/docs/docs/cmd/graph/subscription/subscription-add.md +73 -0
- package/docs/docs/cmd/login.md +1 -1
- package/docs/docs/cmd/onedrive/onedrive-list.md +225 -0
- package/docs/docs/cmd/onedrive/report/report-activityfilecounts.md +39 -0
- package/docs/docs/cmd/onedrive/report/report-activityusercounts.md +39 -0
- package/docs/docs/cmd/onedrive/report/report-activityuserdetail.md +43 -0
- package/docs/docs/cmd/onedrive/report/report-usageaccountcounts.md +38 -0
- package/docs/docs/cmd/onedrive/report/report-usageaccountdetail.md +43 -0
- package/docs/docs/cmd/onedrive/report/report-usagefilecounts.md +38 -0
- package/docs/docs/cmd/onedrive/report/report-usagestorage.md +37 -0
- package/docs/docs/cmd/onenote/notebook/notebook-list.md +79 -0
- package/docs/docs/cmd/pa/app/app-consent-set.md +47 -0
- package/docs/docs/cmd/planner/plan/plan-get.md +1 -1
- package/docs/docs/cmd/planner/plan/plan-list.md +1 -1
- package/docs/docs/cmd/planner/roster/roster-add.md +2 -1
- package/docs/docs/cmd/planner/roster/roster-get.md +1 -1
- package/docs/docs/cmd/planner/roster/roster-plan-list.md +109 -0
- package/docs/docs/cmd/planner/roster/roster-remove.md +2 -1
- package/docs/docs/cmd/planner/task/task-get.md +0 -6
- package/docs/docs/cmd/planner/task/task-set.md +1 -1
- package/docs/docs/cmd/purview/retentionevent/retentionevent-add.md +6 -7
- package/docs/docs/cmd/purview/retentionevent/retentionevent-get.md +6 -7
- package/docs/docs/cmd/purview/retentionevent/retentionevent-list.md +4 -4
- package/docs/docs/cmd/purview/retentionevent/retentionevent-remove.md +4 -4
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-add.md +10 -10
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-get.md +11 -11
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-list.md +10 -10
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-remove.md +10 -10
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-set.md +10 -10
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-add.md +12 -12
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-get.md +8 -9
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-list.md +8 -9
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-remove.md +8 -8
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-set.md +8 -8
- package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-get.md +118 -0
- package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-list.md +111 -0
- package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-policysettings-list.md +97 -0
- package/docs/docs/cmd/search/externalconnection/externalconnection-get.md +17 -0
- package/docs/docs/cmd/search/externalconnection/externalconnection-list.md +17 -0
- package/docs/docs/cmd/setup.md +86 -0
- package/docs/docs/cmd/spfx/project/project-doctor.md +1 -1
- package/docs/docs/cmd/spfx/project/project-upgrade.md +1 -1
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-add.md +1 -1
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-remove.md +77 -0
- package/docs/docs/cmd/spo/commandset/commandset-set.md +1 -1
- package/docs/docs/cmd/spo/contenttype/contenttype-set.md +2 -2
- package/docs/docs/cmd/spo/customaction/customaction-add.md +1 -1
- package/docs/docs/cmd/spo/customaction/customaction-set.md +1 -1
- package/docs/docs/cmd/spo/feature/feature-enable.md +2 -2
- package/docs/docs/cmd/spo/file/file-add.md +1 -1
- package/docs/docs/cmd/spo/file/file-checkin.md +1 -1
- package/docs/docs/cmd/spo/file/file-checkout.md +1 -1
- package/docs/docs/cmd/spo/file/file-copy.md +1 -1
- package/docs/docs/cmd/spo/file/file-get.md +1 -1
- package/docs/docs/cmd/spo/file/file-list.md +9 -6
- package/docs/docs/cmd/spo/file/file-move.md +3 -3
- package/docs/docs/cmd/spo/file/file-remove.md +12 -0
- package/docs/docs/cmd/spo/file/file-rename.md +1 -1
- package/docs/docs/cmd/spo/file/file-retentionlabel-ensure.md +3 -3
- package/docs/docs/cmd/spo/file/file-retentionlabel-remove.md +2 -2
- package/docs/docs/cmd/spo/file/file-roleassignment-add.md +1 -1
- package/docs/docs/cmd/spo/file/file-roleassignment-remove.md +1 -1
- package/docs/docs/cmd/spo/file/file-roleinheritance-break.md +1 -1
- package/docs/docs/cmd/spo/file/file-roleinheritance-reset.md +1 -1
- package/docs/docs/cmd/spo/file/file-sharinginfo-get.md +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-add.md +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-clear.md +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-get.md +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-list.md +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-remove.md +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-set.md +1 -1
- package/docs/docs/cmd/spo/file/file-version-clear.md +2 -2
- package/docs/docs/cmd/spo/file/file-version-get.md +1 -1
- package/docs/docs/cmd/spo/file/file-version-list.md +1 -1
- package/docs/docs/cmd/spo/file/file-version-remove.md +1 -1
- package/docs/docs/cmd/spo/file/file-version-restore.md +1 -1
- package/docs/docs/cmd/spo/folder/folder-add.md +9 -3
- package/docs/docs/cmd/spo/folder/folder-copy.md +2 -2
- package/docs/docs/cmd/spo/folder/folder-get.md +7 -7
- package/docs/docs/cmd/spo/folder/folder-list.md +11 -11
- package/docs/docs/cmd/spo/folder/folder-move.md +1 -1
- package/docs/docs/cmd/spo/folder/folder-remove.md +7 -7
- package/docs/docs/cmd/spo/folder/folder-rename.md +11 -5
- package/docs/docs/cmd/spo/folder/folder-retentionlabel-ensure.md +3 -3
- package/docs/docs/cmd/spo/folder/folder-retentionlabel-remove.md +1 -1
- package/docs/docs/cmd/spo/folder/folder-roleinheritance-break.md +1 -1
- package/docs/docs/cmd/spo/folder/folder-roleinheritance-reset.md +4 -4
- package/docs/docs/cmd/spo/list/list-get.md +10 -0
- package/docs/docs/cmd/spo/list/list-list.md +28 -0
- package/docs/docs/cmd/spo/listitem/listitem-batch-set.md +67 -0
- package/docs/docs/cmd/spo/listitem/listitem-list.md +1 -1
- package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-list.md +19 -0
- package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-remove.md +12 -0
- package/docs/docs/cmd/spo/orgnewssite/orgnewssite-list.md +6 -0
- package/docs/docs/cmd/spo/page/page-column-get.md +15 -0
- package/docs/docs/cmd/spo/page/page-column-list.md +16 -0
- package/docs/docs/cmd/spo/page/page-control-get.md +18 -0
- package/docs/docs/cmd/spo/page/page-control-list.md +18 -0
- package/docs/docs/cmd/spo/page/page-copy.md +35 -0
- package/docs/docs/cmd/spo/page/page-get.md +39 -0
- package/docs/docs/cmd/spo/page/page-list.md +53 -0
- package/docs/docs/cmd/spo/page/page-section-get.md +12 -0
- package/docs/docs/cmd/spo/page/page-section-list.md +13 -0
- package/docs/docs/cmd/spo/page/page-template-list.md +31 -0
- package/docs/docs/cmd/spo/propertybag/propertybag-get.md +6 -0
- package/docs/docs/cmd/spo/propertybag/propertybag-list.md +13 -0
- package/docs/docs/cmd/spo/report/report-activityfilecounts.md +7 -0
- package/docs/docs/cmd/spo/report/report-activitypages.md +7 -0
- package/docs/docs/cmd/spo/report/report-activityusercounts.md +7 -0
- package/docs/docs/cmd/spo/report/report-activityuserdetail.md +7 -0
- package/docs/docs/cmd/spo/report/report-siteusagedetail.md +7 -0
- package/docs/docs/cmd/spo/report/report-siteusagefilecounts.md +7 -0
- package/docs/docs/cmd/spo/report/report-siteusagepages.md +7 -0
- package/docs/docs/cmd/spo/report/report-siteusagesitecounts.md +7 -0
- package/docs/docs/cmd/spo/report/report-siteusagestorage.md +7 -0
- package/docs/docs/cmd/spo/roledefinition/roledefinition-get.md +20 -0
- package/docs/docs/cmd/spo/roledefinition/roledefinition-list.md +20 -0
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-add.md +20 -0
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-list.md +18 -0
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-approve.md +20 -0
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-list.md +17 -0
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-set.md +13 -0
- package/docs/docs/cmd/spo/site/site-recyclebinitem-move.md +43 -0
- package/docs/docs/cmd/spo/site/site-recyclebinitem-remove.md +45 -0
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-add.md +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-list.md +103 -0
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-remove.md +49 -0
- package/docs/docs/cmd/spo/tenant/tenant-commandset-remove.md +49 -0
- package/docs/docs/cmd/spo/tenant/tenant-commandset-set.md +57 -0
- package/docs/docs/cmd/spo/tenant/tenant-settings-set.md +57 -54
- package/docs/docs/cmd/spo/term/term-add.md +107 -6
- package/docs/docs/cmd/spo/term/term-get.md +111 -10
- package/docs/docs/cmd/spo/term/term-group-get.md +71 -5
- package/docs/docs/cmd/spo/term/term-group-list.md +70 -2
- package/docs/docs/cmd/spo/term/term-list.md +80 -8
- package/docs/docs/cmd/spo/term/term-set-add.md +95 -11
- package/docs/docs/cmd/spo/term/term-set-get.md +92 -8
- package/docs/docs/cmd/spo/term/term-set-list.md +85 -5
- package/docs/docs/cmd/teams/app/app-list.md +17 -0
- package/docs/docs/cmd/teams/app/app-publish.md +18 -1
- package/docs/docs/cmd/teams/channel/channel-add.md +20 -0
- package/docs/docs/cmd/teams/channel/channel-get.md +21 -0
- package/docs/docs/cmd/teams/channel/channel-list.md +21 -0
- package/docs/docs/cmd/teams/channel/channel-member-list.md +20 -0
- package/docs/docs/cmd/teams/channel/channel-member-set.md +21 -0
- package/docs/docs/cmd/teams/chat/chat-get.md +22 -0
- package/docs/docs/cmd/teams/chat/chat-list.md +22 -0
- package/docs/docs/cmd/teams/chat/chat-member-list.md +20 -0
- package/docs/docs/cmd/teams/chat/chat-member-remove.md +52 -0
- package/docs/docs/cmd/teams/chat/chat-message-list.md +23 -0
- package/docs/docs/cmd/teams/funsettings/funsettings-list.md +15 -0
- package/docs/docs/cmd/teams/guestsettings/guestsettings-list.md +13 -0
- package/docs/docs/cmd/teams/meeting/meeting-transcript-list.md +96 -0
- package/docs/docs/cmd/teams/membersettings/membersettings-list.md +17 -0
- package/docs/docs/cmd/teams/tab/tab-remove.md +1 -1
- package/docs/docs/cmd/todo/list/list-add.md +18 -0
- package/docs/docs/cmd/todo/list/list-get.md +18 -0
- package/docs/docs/cmd/todo/list/list-list.md +18 -0
- package/docs/docs/cmd/todo/task/task-get.md +21 -0
- package/docs/docs/cmd/todo/task/task-list.md +21 -0
- package/docs/docs/cmd/util/accesstoken/accesstoken-get.md +6 -0
- package/docs/docs/cmd/version.md +1 -1
- package/docs/docs/cmd/viva/connections/connections-app-create.md +3 -3
- package/docs/docs/cmd/yammer/group/group-list.md +42 -0
- package/docs/docs/cmd/yammer/message/message-add.md +32 -0
- package/docs/docs/cmd/yammer/message/message-get.md +32 -0
- package/docs/docs/cmd/yammer/message/message-list.md +34 -0
- package/docs/docs/cmd/yammer/network/network-list.md +70 -0
- package/docs/docs/cmd/yammer/report/report-activitycounts.md +7 -0
- package/docs/docs/cmd/yammer/report/report-activityusercounts.md +7 -0
- package/docs/docs/cmd/yammer/report/report-activityuserdetail.md +7 -0
- package/docs/docs/cmd/yammer/report/report-deviceusagedistributionusercounts.md +7 -0
- package/docs/docs/cmd/yammer/report/report-deviceusageusercounts.md +7 -0
- package/docs/docs/cmd/yammer/report/report-deviceusageuserdetail.md +7 -0
- package/docs/docs/cmd/yammer/report/report-groupsactivitycounts.md +7 -0
- package/docs/docs/cmd/yammer/report/report-groupsactivitydetail.md +7 -0
- package/docs/docs/cmd/yammer/report/report-groupsactivitygroupcounts.md +7 -0
- package/docs/docs/cmd/yammer/user/user-get.md +55 -0
- package/docs/docs/cmd/yammer/user/user-list.md +55 -0
- package/docs/docs/cmd/yammer/yammer-search.md +15 -3
- package/npm-shrinkwrap.json +269 -336
- package/package.json +15 -13
|
@@ -48,6 +48,67 @@ Get a list of schemaExtension objects created in the current tenant, with owner
|
|
|
48
48
|
m365 graph schemaextension list --owner 617720dc-85fc-45d7-a187-cee75eaf239e --pageNumber 2 --pageSize 10
|
|
49
49
|
```
|
|
50
50
|
|
|
51
|
+
## Response
|
|
52
|
+
|
|
53
|
+
=== "JSON"
|
|
54
|
+
|
|
55
|
+
```json
|
|
56
|
+
[
|
|
57
|
+
{
|
|
58
|
+
"id": "adatumisv_exo2",
|
|
59
|
+
"description": "sample description",
|
|
60
|
+
"targetTypes": [
|
|
61
|
+
"Message"
|
|
62
|
+
],
|
|
63
|
+
"status": "Available",
|
|
64
|
+
"owner": "617720dc-85fc-45d7-a187-cee75eaf239e",
|
|
65
|
+
"properties": [
|
|
66
|
+
{
|
|
67
|
+
"name": "p1",
|
|
68
|
+
"type": "String"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"name": "p2",
|
|
72
|
+
"type": "String"
|
|
73
|
+
}
|
|
74
|
+
]
|
|
75
|
+
}
|
|
76
|
+
]
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
=== "Text"
|
|
80
|
+
|
|
81
|
+
```text
|
|
82
|
+
id description targetTypes status owner properties
|
|
83
|
+
-------------- ------------------ ----------- --------- ------------------------------------ --------------------------------------------------------------
|
|
84
|
+
adatumisv_exo2 sample description Message Available 617720dc-85fc-45d7-a187-cee75eaf239e [{"name":"p1","type":"String"},{"name":"p2","type":"String"}]
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
=== "CSV"
|
|
88
|
+
|
|
89
|
+
```csv
|
|
90
|
+
id,description,status,owner,properties
|
|
91
|
+
adatumisv_exo2,sample description,Available,617720dc-85fc-45d7-a187-cee75eaf239e,"[{""name"":""p1"",""type"":""String""},{""name"":""p2"",""type"":""String""}]"
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
=== "Markdown"
|
|
95
|
+
|
|
96
|
+
```md
|
|
97
|
+
# graph schemaextension list
|
|
98
|
+
|
|
99
|
+
Date: 2023-05-22
|
|
100
|
+
|
|
101
|
+
## adatumisv_exo2
|
|
102
|
+
|
|
103
|
+
Property | Value
|
|
104
|
+
---------|-------
|
|
105
|
+
id | adatumisv\_exo2
|
|
106
|
+
description | sample description
|
|
107
|
+
status | Available
|
|
108
|
+
owner | 617720dc-85fc-45d7-a187-cee75eaf239e
|
|
109
|
+
properties | [{"name":"p1","type":"String"},{"name":"p2","type":"String"}]
|
|
110
|
+
```
|
|
111
|
+
|
|
51
112
|
## More information
|
|
52
113
|
|
|
53
114
|
[https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/api/schemaextension_list](https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/api/schemaextension_list)
|
|
@@ -58,3 +58,7 @@ Change the status of a schema extension to 'Available'
|
|
|
58
58
|
```sh
|
|
59
59
|
m365 graph schemaextension set --id contoso_MySchemaExtension --owner 62375ab9-6b52-47ed-826b-58e47e0e304b --status Available
|
|
60
60
|
```
|
|
61
|
+
|
|
62
|
+
## Response
|
|
63
|
+
|
|
64
|
+
The command won't return a response on success.
|
|
@@ -62,3 +62,76 @@ Create a subscription using the maximum allowed expiration for Group resources
|
|
|
62
62
|
```sh
|
|
63
63
|
m365 graph subscription add --resource groups --changeType "updated" --notificationUrl "https://webhook.azurewebsites.net/api/send/myNotifyClient"
|
|
64
64
|
```
|
|
65
|
+
|
|
66
|
+
## Response
|
|
67
|
+
|
|
68
|
+
=== "JSON"
|
|
69
|
+
|
|
70
|
+
```json
|
|
71
|
+
{
|
|
72
|
+
"id": "d2df2c16-26ee-4431-ab22-3b133556fb26",
|
|
73
|
+
"resource": "groups",
|
|
74
|
+
"applicationId": "31359c7f-bd7e-475c-86db-fdb8c937548e",
|
|
75
|
+
"changeType": "updated",
|
|
76
|
+
"clientState": "some secret value",
|
|
77
|
+
"notificationUrl": "https://webhook.azurewebsites.net/api/changeNotificationHook",
|
|
78
|
+
"notificationQueryOptions": null,
|
|
79
|
+
"lifecycleNotificationUrl": null,
|
|
80
|
+
"expirationDateTime": "2023-05-23T18:23:45.935Z",
|
|
81
|
+
"creatorId": "0649d0bd-53dc-4e1d-a357-76f1d92d447b",
|
|
82
|
+
"includeResourceData": null,
|
|
83
|
+
"latestSupportedTlsVersion": "v1_2",
|
|
84
|
+
"encryptionCertificate": null,
|
|
85
|
+
"encryptionCertificateId": null,
|
|
86
|
+
"notificationUrlAppId": null
|
|
87
|
+
}
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
=== "Text"
|
|
91
|
+
|
|
92
|
+
```text
|
|
93
|
+
applicationId : 31359c7f-bd7e-475c-86db-fdb8c937548e
|
|
94
|
+
changeType : updated
|
|
95
|
+
clientState : some secret value
|
|
96
|
+
creatorId : 0649d0bd-53dc-4e1d-a357-76f1d92d447b
|
|
97
|
+
encryptionCertificate : null
|
|
98
|
+
encryptionCertificateId : null
|
|
99
|
+
expirationDateTime : 2023-05-23T18:23:45.935Z
|
|
100
|
+
id : e2484150-c26d-4ad6-af45-84ccf6ac985a
|
|
101
|
+
includeResourceData : null
|
|
102
|
+
latestSupportedTlsVersion: v1_2
|
|
103
|
+
lifecycleNotificationUrl : null
|
|
104
|
+
notificationQueryOptions : null
|
|
105
|
+
notificationUrl : https://webhook.azurewebsites.net/api/changeNotificationHook
|
|
106
|
+
notificationUrlAppId : null
|
|
107
|
+
resource : groups
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
=== "CSV"
|
|
111
|
+
|
|
112
|
+
```csv
|
|
113
|
+
id,resource,applicationId,changeType,clientState,notificationUrl,expirationDateTime,creatorId,latestSupportedTlsVersion
|
|
114
|
+
34270781-91cf-48ab-a930-072c5eedf808,groups,31359c7f-bd7e-475c-86db-fdb8c937548e,updated,some secret value,https://webhook.azurewebsites.net/api/changeNotificationHook,2023-05-23T18:23:45.935Z,0649d0bd-53dc-4e1d-a357-76f1d92d447b,v1_2
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
=== "Markdown"
|
|
118
|
+
|
|
119
|
+
```md
|
|
120
|
+
# graph subscription add --resource "groups" --changeType "updated" --notificationUrl "https://webhook.azurewebsites.net/api/changeNotificationHook" --expirationDateTime "2023-05-23T18:23:45.935Z" --clientState "some secret value"
|
|
121
|
+
|
|
122
|
+
Date: 2023-05-22
|
|
123
|
+
|
|
124
|
+
## 01d62711-6503-4b5b-8500-a5af0ee3967a
|
|
125
|
+
|
|
126
|
+
Property | Value
|
|
127
|
+
---------|-------
|
|
128
|
+
id | 01d62711-6503-4b5b-8500-a5af0ee3967a
|
|
129
|
+
resource | groups
|
|
130
|
+
applicationId | 31359c7f-bd7e-475c-86db-fdb8c937548e
|
|
131
|
+
changeType | updated
|
|
132
|
+
clientState | some secret value
|
|
133
|
+
notificationUrl | https://webhook.azurewebsites.net/api/changeNotificationHook
|
|
134
|
+
expirationDateTime | 2023-05-23T18:23:45.935Z
|
|
135
|
+
creatorId | 0649d0bd-53dc-4e1d-a357-76f1d92d447b
|
|
136
|
+
latestSupportedTlsVersion | v1\_2
|
|
137
|
+
```
|
package/docs/docs/cmd/login.md
CHANGED
|
@@ -46,7 +46,7 @@ m365 login [options]
|
|
|
46
46
|
|
|
47
47
|
Using the `login` command you can log in to Microsoft 365.
|
|
48
48
|
|
|
49
|
-
By default, the `login` command uses device code OAuth flow to log in to Microsoft 365. Alternatively, you can authenticate using a user name and password or certificate, which are convenient for CI/CD scenarios, but which come with their own [limitations](../user-guide/connecting-
|
|
49
|
+
By default, the `login` command uses device code OAuth flow to log in to Microsoft 365. Alternatively, you can authenticate using a user name and password or certificate, which are convenient for CI/CD scenarios, but which come with their own [limitations](../user-guide/connecting-microsoft-365.md).
|
|
50
50
|
|
|
51
51
|
When logging in to Microsoft 365 using the user name and password, next to the access and refresh token, the CLI for Microsoft 365 will store the user credentials so that it can automatically re-authenticate if necessary. Similarly to the tokens, the credentials are removed by re-authenticating using the device code or by calling the [logout](logout.md) command.
|
|
52
52
|
|
|
@@ -19,3 +19,228 @@ Retrieves a list of OneDrive sites from the tenant.
|
|
|
19
19
|
```sh
|
|
20
20
|
m365 onedrive list
|
|
21
21
|
```
|
|
22
|
+
|
|
23
|
+
## Response
|
|
24
|
+
|
|
25
|
+
=== "JSON"
|
|
26
|
+
|
|
27
|
+
```json
|
|
28
|
+
[
|
|
29
|
+
{
|
|
30
|
+
"_ObjectType_": "Microsoft.Online.SharePoint.TenantAdministration.SiteProperties",
|
|
31
|
+
"_ObjectIdentity_": "5555b5a0-d016-6000-aee2-595e1fa42910|908bed80-a04a-4433-b4a0-883d9847d110:1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4\\\nSiteProperties\\\nhttps%3a%2f%2fcontoso-my.sharepoint.com%2fpersonal%2fjohn_contoso_onmicrosoft_com",
|
|
32
|
+
"AllowDownloadingNonWebViewableFiles": false,
|
|
33
|
+
"AllowEditing": false,
|
|
34
|
+
"AllowSelfServiceUpgrade": true,
|
|
35
|
+
"AnonymousLinkExpirationInDays": 0,
|
|
36
|
+
"AuthContextStrength": null,
|
|
37
|
+
"AuthenticationContextLimitedAccess": false,
|
|
38
|
+
"AuthenticationContextName": null,
|
|
39
|
+
"AverageResourceUsage": 0,
|
|
40
|
+
"BlockDownloadLinksFileType": 0,
|
|
41
|
+
"BlockDownloadMicrosoft365GroupIds": null,
|
|
42
|
+
"BlockDownloadPolicy": false,
|
|
43
|
+
"BlockGuestsAsSiteAdmin": 0,
|
|
44
|
+
"ClearRestrictedAccessControl": false,
|
|
45
|
+
"CommentsOnSitePagesDisabled": false,
|
|
46
|
+
"CompatibilityLevel": 15,
|
|
47
|
+
"ConditionalAccessPolicy": 0,
|
|
48
|
+
"CurrentResourceUsage": 0,
|
|
49
|
+
"DefaultLinkPermission": 0,
|
|
50
|
+
"DefaultLinkToExistingAccess": false,
|
|
51
|
+
"DefaultLinkToExistingAccessReset": false,
|
|
52
|
+
"DefaultShareLinkRole": 0,
|
|
53
|
+
"DefaultShareLinkScope": 0,
|
|
54
|
+
"DefaultSharingLinkType": 0,
|
|
55
|
+
"DenyAddAndCustomizePages": 2,
|
|
56
|
+
"Description": null,
|
|
57
|
+
"DisableAppViews": 0,
|
|
58
|
+
"DisableCompanyWideSharingLinks": 0,
|
|
59
|
+
"DisableFlows": 0,
|
|
60
|
+
"ExcludeBlockDownloadPolicySiteOwners": false,
|
|
61
|
+
"ExcludedBlockDownloadGroupIds": [],
|
|
62
|
+
"ExternalUserExpirationInDays": 0,
|
|
63
|
+
"GroupId": "/Guid(00000000-0000-0000-0000-000000000000)/",
|
|
64
|
+
"GroupOwnerLoginName": null,
|
|
65
|
+
"HasHolds": false,
|
|
66
|
+
"HubSiteId": "/Guid(00000000-0000-0000-0000-000000000000)/",
|
|
67
|
+
"IBMode": null,
|
|
68
|
+
"IBSegments": [],
|
|
69
|
+
"IBSegmentsToAdd": null,
|
|
70
|
+
"IBSegmentsToRemove": null,
|
|
71
|
+
"IsGroupOwnerSiteAdmin": false,
|
|
72
|
+
"IsHubSite": false,
|
|
73
|
+
"IsTeamsChannelConnected": false,
|
|
74
|
+
"IsTeamsConnected": false,
|
|
75
|
+
"LastContentModifiedDate": "/Date(2023,4,22,10,47,36,867)/",
|
|
76
|
+
"Lcid": 1033,
|
|
77
|
+
"LimitedAccessFileType": 0,
|
|
78
|
+
"ListsShowHeaderAndNavigation": false,
|
|
79
|
+
"LockIssue": null,
|
|
80
|
+
"LockState": "Unlock",
|
|
81
|
+
"LoopDefaultSharingLinkRole": 0,
|
|
82
|
+
"LoopDefaultSharingLinkScope": 0,
|
|
83
|
+
"LoopOverrideSharingCapability": false,
|
|
84
|
+
"LoopSharingCapability": 0,
|
|
85
|
+
"MediaTranscription": 0,
|
|
86
|
+
"OverrideBlockUserInfoVisibility": 0,
|
|
87
|
+
"OverrideSharingCapability": false,
|
|
88
|
+
"OverrideTenantAnonymousLinkExpirationPolicy": false,
|
|
89
|
+
"OverrideTenantExternalUserExpirationPolicy": false,
|
|
90
|
+
"Owner": "john@contoso.onmicrosoft.com",
|
|
91
|
+
"OwnerEmail": null,
|
|
92
|
+
"OwnerLoginName": null,
|
|
93
|
+
"OwnerName": null,
|
|
94
|
+
"PWAEnabled": 1,
|
|
95
|
+
"ReadOnlyAccessPolicy": false,
|
|
96
|
+
"ReadOnlyForBlockDownloadPolicy": false,
|
|
97
|
+
"ReadOnlyForUnmanagedDevices": false,
|
|
98
|
+
"RelatedGroupId": "/Guid(00000000-0000-0000-0000-000000000000)/",
|
|
99
|
+
"RequestFilesLinkEnabled": false,
|
|
100
|
+
"RequestFilesLinkExpirationInDays": 0,
|
|
101
|
+
"RestrictedAccessControl": false,
|
|
102
|
+
"RestrictedAccessControlGroups": null,
|
|
103
|
+
"RestrictedAccessControlGroupsToAdd": null,
|
|
104
|
+
"RestrictedAccessControlGroupsToRemove": null,
|
|
105
|
+
"RestrictedToRegion": 3,
|
|
106
|
+
"SandboxedCodeActivationCapability": 0,
|
|
107
|
+
"SensitivityLabel": "/Guid(00000000-0000-0000-0000-000000000000)/",
|
|
108
|
+
"SensitivityLabel2": null,
|
|
109
|
+
"SetOwnerWithoutUpdatingSecondaryAdmin": false,
|
|
110
|
+
"SharingAllowedDomainList": null,
|
|
111
|
+
"SharingBlockedDomainList": null,
|
|
112
|
+
"SharingCapability": 0,
|
|
113
|
+
"SharingDomainRestrictionMode": 0,
|
|
114
|
+
"SharingLockDownCanBeCleared": false,
|
|
115
|
+
"SharingLockDownEnabled": false,
|
|
116
|
+
"ShowPeoplePickerSuggestionsForGuestUsers": false,
|
|
117
|
+
"SiteDefinedSharingCapability": 2,
|
|
118
|
+
"SocialBarOnSitePagesDisabled": false,
|
|
119
|
+
"Status": "Active",
|
|
120
|
+
"StorageMaximumLevel": 1048576,
|
|
121
|
+
"StorageQuotaType": null,
|
|
122
|
+
"StorageUsage": 99,
|
|
123
|
+
"StorageWarningLevel": 943718,
|
|
124
|
+
"TeamsChannelType": 0,
|
|
125
|
+
"Template": "SPSPERS#10",
|
|
126
|
+
"TimeZoneId": 13,
|
|
127
|
+
"Title": "John",
|
|
128
|
+
"TitleTranslations": null,
|
|
129
|
+
"Url": "https://contoso-my.sharepoint.com/personal/john_contoso_onmicrosoft_com",
|
|
130
|
+
"UserCodeMaximumLevel": 300,
|
|
131
|
+
"UserCodeWarningLevel": 200,
|
|
132
|
+
"WebsCount": 0
|
|
133
|
+
}
|
|
134
|
+
]
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
=== "Text"
|
|
138
|
+
|
|
139
|
+
```text
|
|
140
|
+
Title Url
|
|
141
|
+
----- -----------------------------------------------------------------------
|
|
142
|
+
John https://contoso-my.sharepoint.com/personal/john_contoso_onmicrosoft_com
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
=== "CSV"
|
|
146
|
+
|
|
147
|
+
```csv
|
|
148
|
+
_ObjectType_,_ObjectIdentity_,AllowDownloadingNonWebViewableFiles,AllowEditing,AllowSelfServiceUpgrade,AnonymousLinkExpirationInDays,AuthenticationContextLimitedAccess,AverageResourceUsage,BlockDownloadLinksFileType,BlockDownloadPolicy,BlockGuestsAsSiteAdmin,ClearRestrictedAccessControl,CommentsOnSitePagesDisabled,CompatibilityLevel,ConditionalAccessPolicy,CurrentResourceUsage,DefaultLinkPermission,DefaultLinkToExistingAccess,DefaultLinkToExistingAccessReset,DefaultShareLinkRole,DefaultShareLinkScope,DefaultSharingLinkType,DenyAddAndCustomizePages,DisableAppViews,DisableCompanyWideSharingLinks,DisableFlows,ExcludeBlockDownloadPolicySiteOwners,ExternalUserExpirationInDays,GroupId,HasHolds,HubSiteId,IsGroupOwnerSiteAdmin,IsHubSite,IsTeamsChannelConnected,IsTeamsConnected,LastContentModifiedDate,Lcid,LimitedAccessFileType,ListsShowHeaderAndNavigation,LockState,LoopDefaultSharingLinkRole,LoopDefaultSharingLinkScope,LoopOverrideSharingCapability,LoopSharingCapability,MediaTranscription,OverrideBlockUserInfoVisibility,OverrideSharingCapability,OverrideTenantAnonymousLinkExpirationPolicy,OverrideTenantExternalUserExpirationPolicy,Owner,PWAEnabled,ReadOnlyAccessPolicy,ReadOnlyForBlockDownloadPolicy,ReadOnlyForUnmanagedDevices,RelatedGroupId,RequestFilesLinkEnabled,RequestFilesLinkExpirationInDays,RestrictedAccessControl,RestrictedToRegion,SandboxedCodeActivationCapability,SensitivityLabel,SetOwnerWithoutUpdatingSecondaryAdmin,SharingCapability,SharingDomainRestrictionMode,SharingLockDownCanBeCleared,SharingLockDownEnabled,ShowPeoplePickerSuggestionsForGuestUsers,SiteDefinedSharingCapability,SocialBarOnSitePagesDisabled,Status,StorageMaximumLevel,StorageUsage,StorageWarningLevel,TeamsChannelType,Template,TimeZoneId,Title,Url,UserCodeMaximumLevel,UserCodeWarningLevel,WebsCount
|
|
149
|
+
Microsoft.Online.SharePoint.TenantAdministration.SiteProperties,"7755b5a0-60dd-6000-884e-d3cee2eebe74|908bed80-a04a-4433-b4a0-883d9847d110:1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4
|
|
150
|
+
SiteProperties
|
|
151
|
+
https%3a%2f%2fcontoso-my.sharepoint.com%2fpersonal%2fjohn_contoso_onmicrosoft_com",,,1,0,,0,0,,0,,,15,0,0,0,,,0,0,0,2,0,0,0,,0,/Guid(00000000-0000-0000-0000-000000000000)/,,/Guid(00000000-0000-0000-0000-000000000000)/,,,,,"/Date(2023,4,22,10,47,36,867)/",1033,0,,Unlock,0,0,,0,0,0,,,,john@contoso.onmicrosoft.com,1,,,,/Guid(00000000-0000-0000-0000-000000000000)/,,0,,3,0,/Guid(00000000-0000-0000-0000-000000000000)/,,0,0,,,,2,,Active,1048576,99,943718,0,SPSPERS#10,13,John,https://contoso-my.sharepoint.com/personal/john_contoso_onmicrosoft_com,300,200,0
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
=== "Markdown"
|
|
155
|
+
|
|
156
|
+
```md
|
|
157
|
+
# onedrive list
|
|
158
|
+
|
|
159
|
+
Date: 2023-05-22
|
|
160
|
+
|
|
161
|
+
## John (https://contoso-my.sharepoint.com/personal/john_contoso_onmicrosoft_com)
|
|
162
|
+
|
|
163
|
+
Property | Value
|
|
164
|
+
---------|-------
|
|
165
|
+
\_ObjectType\_ | Microsoft.Online.SharePoint.TenantAdministration.SiteProperties
|
|
166
|
+
\_ObjectIdentity\_ | 8b55b5a0-3004-6000-aee2-525984e67e44\|908bed80-a04a-4433-b4a0-883d9847d110:1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4<br>SiteProperties<br>https%3a%2f%2fcontoso-my.sharepoint.com%2fpersonal%2fjohn\_contoso\_onmicrosoft\_com
|
|
167
|
+
AllowDownloadingNonWebViewableFiles | false
|
|
168
|
+
AllowEditing | false
|
|
169
|
+
AllowSelfServiceUpgrade | true
|
|
170
|
+
AnonymousLinkExpirationInDays | 0
|
|
171
|
+
AuthenticationContextLimitedAccess | false
|
|
172
|
+
AverageResourceUsage | 0
|
|
173
|
+
BlockDownloadLinksFileType | 0
|
|
174
|
+
BlockDownloadPolicy | false
|
|
175
|
+
BlockGuestsAsSiteAdmin | 0
|
|
176
|
+
ClearRestrictedAccessControl | false
|
|
177
|
+
CommentsOnSitePagesDisabled | false
|
|
178
|
+
CompatibilityLevel | 15
|
|
179
|
+
ConditionalAccessPolicy | 0
|
|
180
|
+
CurrentResourceUsage | 0
|
|
181
|
+
DefaultLinkPermission | 0
|
|
182
|
+
DefaultLinkToExistingAccess | false
|
|
183
|
+
DefaultLinkToExistingAccessReset | false
|
|
184
|
+
DefaultShareLinkRole | 0
|
|
185
|
+
DefaultShareLinkScope | 0
|
|
186
|
+
DefaultSharingLinkType | 0
|
|
187
|
+
DenyAddAndCustomizePages | 2
|
|
188
|
+
DisableAppViews | 0
|
|
189
|
+
DisableCompanyWideSharingLinks | 0
|
|
190
|
+
DisableFlows | 0
|
|
191
|
+
ExcludeBlockDownloadPolicySiteOwners | false
|
|
192
|
+
ExternalUserExpirationInDays | 0
|
|
193
|
+
GroupId | /Guid(00000000-0000-0000-0000-000000000000)/
|
|
194
|
+
HasHolds | false
|
|
195
|
+
HubSiteId | /Guid(00000000-0000-0000-0000-000000000000)/
|
|
196
|
+
IsGroupOwnerSiteAdmin | false
|
|
197
|
+
IsHubSite | false
|
|
198
|
+
IsTeamsChannelConnected | false
|
|
199
|
+
IsTeamsConnected | false
|
|
200
|
+
LastContentModifiedDate | /Date(2023,4,22,10,47,36,867)/
|
|
201
|
+
Lcid | 1033
|
|
202
|
+
LimitedAccessFileType | 0
|
|
203
|
+
ListsShowHeaderAndNavigation | false
|
|
204
|
+
LockState | Unlock
|
|
205
|
+
LoopDefaultSharingLinkRole | 0
|
|
206
|
+
LoopDefaultSharingLinkScope | 0
|
|
207
|
+
LoopOverrideSharingCapability | false
|
|
208
|
+
LoopSharingCapability | 0
|
|
209
|
+
MediaTranscription | 0
|
|
210
|
+
OverrideBlockUserInfoVisibility | 0
|
|
211
|
+
OverrideSharingCapability | false
|
|
212
|
+
OverrideTenantAnonymousLinkExpirationPolicy | false
|
|
213
|
+
OverrideTenantExternalUserExpirationPolicy | false
|
|
214
|
+
Owner | john@contoso.onmicrosoft.com
|
|
215
|
+
PWAEnabled | 1
|
|
216
|
+
ReadOnlyAccessPolicy | false
|
|
217
|
+
ReadOnlyForBlockDownloadPolicy | false
|
|
218
|
+
ReadOnlyForUnmanagedDevices | false
|
|
219
|
+
RelatedGroupId | /Guid(00000000-0000-0000-0000-000000000000)/
|
|
220
|
+
RequestFilesLinkEnabled | false
|
|
221
|
+
RequestFilesLinkExpirationInDays | 0
|
|
222
|
+
RestrictedAccessControl | false
|
|
223
|
+
RestrictedToRegion | 3
|
|
224
|
+
SandboxedCodeActivationCapability | 0
|
|
225
|
+
SensitivityLabel | /Guid(00000000-0000-0000-0000-000000000000)/
|
|
226
|
+
SetOwnerWithoutUpdatingSecondaryAdmin | false
|
|
227
|
+
SharingCapability | 0
|
|
228
|
+
SharingDomainRestrictionMode | 0
|
|
229
|
+
SharingLockDownCanBeCleared | false
|
|
230
|
+
SharingLockDownEnabled | false
|
|
231
|
+
ShowPeoplePickerSuggestionsForGuestUsers | false
|
|
232
|
+
SiteDefinedSharingCapability | 2
|
|
233
|
+
SocialBarOnSitePagesDisabled | false
|
|
234
|
+
Status | Active
|
|
235
|
+
StorageMaximumLevel | 1048576
|
|
236
|
+
StorageUsage | 99
|
|
237
|
+
StorageWarningLevel | 943718
|
|
238
|
+
TeamsChannelType | 0
|
|
239
|
+
Template | SPSPERS#10
|
|
240
|
+
TimeZoneId | 13
|
|
241
|
+
Title | John
|
|
242
|
+
Url | https://contoso-my.sharepoint.com/personal/john\_contoso\_onmicrosoft\_com
|
|
243
|
+
UserCodeMaximumLevel | 300
|
|
244
|
+
UserCodeWarningLevel | 200
|
|
245
|
+
WebsCount | 0
|
|
246
|
+
```
|
|
@@ -37,3 +37,42 @@ Gets the number of unique, licensed users that performed file interactions again
|
|
|
37
37
|
```sh
|
|
38
38
|
m365 onedrive report activityfilecounts --period D7 --output json > "activityfilecounts.json"
|
|
39
39
|
```
|
|
40
|
+
|
|
41
|
+
## Response
|
|
42
|
+
|
|
43
|
+
=== "JSON"
|
|
44
|
+
|
|
45
|
+
```json
|
|
46
|
+
[
|
|
47
|
+
{
|
|
48
|
+
"Report Refresh Date": "2023-05-20",
|
|
49
|
+
"Viewed Or Edited": "",
|
|
50
|
+
"Synced": "",
|
|
51
|
+
"Shared Internally": "",
|
|
52
|
+
"Shared Externally": "",
|
|
53
|
+
"Report Date": "2023-05-20",
|
|
54
|
+
"Report Period": "7"
|
|
55
|
+
}
|
|
56
|
+
]
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
=== "Text"
|
|
60
|
+
|
|
61
|
+
```text
|
|
62
|
+
Report Refresh Date,Viewed Or Edited,Synced,Shared Internally,Shared Externally,Report Date,Report Period
|
|
63
|
+
2023-05-20,,,,,2023-05-20,7
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
=== "CSV"
|
|
67
|
+
|
|
68
|
+
```csv
|
|
69
|
+
Report Refresh Date,Viewed Or Edited,Synced,Shared Internally,Shared Externally,Report Date,Report Period
|
|
70
|
+
2023-05-20,,,,,2023-05-20,7
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
=== "Markdown"
|
|
74
|
+
|
|
75
|
+
```md
|
|
76
|
+
Report Refresh Date,Viewed Or Edited,Synced,Shared Internally,Shared Externally,Report Date,Report Period
|
|
77
|
+
2023-05-20,,,,,2023-05-20,7
|
|
78
|
+
```
|
|
@@ -37,3 +37,42 @@ Gets the trend in the number of active OneDrive users for the last week and expo
|
|
|
37
37
|
```sh
|
|
38
38
|
m365 onedrive report activityusercounts --period D7 --output json > "activityusercounts.json"
|
|
39
39
|
```
|
|
40
|
+
|
|
41
|
+
## Response
|
|
42
|
+
|
|
43
|
+
=== "JSON"
|
|
44
|
+
|
|
45
|
+
```json
|
|
46
|
+
[
|
|
47
|
+
{
|
|
48
|
+
"Report Refresh Date": "2023-05-20",
|
|
49
|
+
"Viewed Or Edited": "",
|
|
50
|
+
"Synced": "",
|
|
51
|
+
"Shared Internally": "",
|
|
52
|
+
"Shared Externally": "",
|
|
53
|
+
"Report Date": "2023-05-20",
|
|
54
|
+
"Report Period": "7"
|
|
55
|
+
}
|
|
56
|
+
]
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
=== "Text"
|
|
60
|
+
|
|
61
|
+
```text
|
|
62
|
+
Report Refresh Date,Viewed Or Edited,Synced,Shared Internally,Shared Externally,Report Date,Report Period
|
|
63
|
+
2023-05-20,,,,,2023-05-20,7
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
=== "CSV"
|
|
67
|
+
|
|
68
|
+
```csv
|
|
69
|
+
Report Refresh Date,Viewed Or Edited,Synced,Shared Internally,Shared Externally,Report Date,Report Period
|
|
70
|
+
2023-05-20,,,,,2023-05-20,7
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
=== "Markdown"
|
|
74
|
+
|
|
75
|
+
```md
|
|
76
|
+
Report Refresh Date,Viewed Or Edited,Synced,Shared Internally,Shared Externally,Report Date,Report Period
|
|
77
|
+
2023-05-20,,,,,2023-05-20,7
|
|
78
|
+
```
|
|
@@ -46,3 +46,46 @@ Gets details about OneDrive activity by user for the last week and exports the r
|
|
|
46
46
|
```sh
|
|
47
47
|
m365 onedrive report activityuserdetail --period D7 --output json > "onedriveactivityuserdetail.json"
|
|
48
48
|
```
|
|
49
|
+
|
|
50
|
+
## Response
|
|
51
|
+
|
|
52
|
+
=== "JSON"
|
|
53
|
+
|
|
54
|
+
```json
|
|
55
|
+
[
|
|
56
|
+
{
|
|
57
|
+
"Report Refresh Date": "2023-05-20",
|
|
58
|
+
"User Principal Name": "30B283368E548933B1D03A64A6B14A89",
|
|
59
|
+
"Is Deleted": "False",
|
|
60
|
+
"Deleted Date": "",
|
|
61
|
+
"Last Activity Date": "2022-12-27",
|
|
62
|
+
"Viewed Or Edited File Count": "0",
|
|
63
|
+
"Synced File Count": "0",
|
|
64
|
+
"Shared Internally File Count": "0",
|
|
65
|
+
"Shared Externally File Count": "0",
|
|
66
|
+
"Assigned Products": "MICROSOFT POWER APPS PLAN 2 TRIAL+POWER VIRTUAL AGENTS VIRAL TRIAL+MICROSOFT POWER AUTOMATE FREE+POWER BI (FREE)+OFFICE 365 E3 DEVELOPER",
|
|
67
|
+
"Report Period": "7"
|
|
68
|
+
}
|
|
69
|
+
]
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
=== "Text"
|
|
73
|
+
|
|
74
|
+
```text
|
|
75
|
+
Report Refresh Date,User Principal Name,Is Deleted,Deleted Date,Last Activity Date,Viewed Or Edited File Count,Synced File Count,Shared Internally File Count,Shared Externally File Count,Assigned Products,Report Period
|
|
76
|
+
2023-05-20,30B283368E548933B1D03A64A6B14A89,False,,2022-12-27,0,0,0,0,MICROSOFT POWER APPS PLAN 2 TRIAL+POWER VIRTUAL AGENTS VIRAL TRIAL+MICROSOFT POWER AUTOMATE FREE+POWER BI (FREE)+OFFICE 365 E3 DEVELOPER,7
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
=== "CSV"
|
|
80
|
+
|
|
81
|
+
```csv
|
|
82
|
+
Report Refresh Date,User Principal Name,Is Deleted,Deleted Date,Last Activity Date,Viewed Or Edited File Count,Synced File Count,Shared Internally File Count,Shared Externally File Count,Assigned Products,Report Period
|
|
83
|
+
2023-05-20,30B283368E548933B1D03A64A6B14A89,False,,2022-12-27,0,0,0,0,MICROSOFT POWER APPS PLAN 2 TRIAL+POWER VIRTUAL AGENTS VIRAL TRIAL+MICROSOFT POWER AUTOMATE FREE+POWER BI (FREE)+OFFICE 365 E3 DEVELOPER,7
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
=== "Markdown"
|
|
87
|
+
|
|
88
|
+
```md
|
|
89
|
+
Report Refresh Date,User Principal Name,Is Deleted,Deleted Date,Last Activity Date,Viewed Or Edited File Count,Synced File Count,Shared Internally File Count,Shared Externally File Count,Assigned Products,Report Period
|
|
90
|
+
2023-05-20,30B283368E548933B1D03A64A6B14A89,False,,2022-12-27,0,0,0,0,MICROSOFT POWER APPS PLAN 2 TRIAL+POWER VIRTUAL AGENTS VIRAL TRIAL+MICROSOFT POWER AUTOMATE FREE+POWER BI (FREE)+OFFICE 365 E3 DEVELOPER,7
|
|
91
|
+
```
|
|
@@ -41,3 +41,41 @@ Gets the trend in the number of active OneDrive for Business sites for the last
|
|
|
41
41
|
```sh
|
|
42
42
|
m365 onedrive report usageaccountcounts --period D7 --output json > "usageaccountcounts.json"
|
|
43
43
|
```
|
|
44
|
+
|
|
45
|
+
## Response
|
|
46
|
+
|
|
47
|
+
=== "JSON"
|
|
48
|
+
|
|
49
|
+
```json
|
|
50
|
+
[
|
|
51
|
+
{
|
|
52
|
+
"Report Refresh Date": "2023-05-20",
|
|
53
|
+
"Site Type": "All",
|
|
54
|
+
"Total": "1",
|
|
55
|
+
"Active": "0",
|
|
56
|
+
"Report Date": "2023-05-20",
|
|
57
|
+
"Report Period": "7"
|
|
58
|
+
}
|
|
59
|
+
]
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
=== "Text"
|
|
63
|
+
|
|
64
|
+
```text
|
|
65
|
+
Report Refresh Date,Site Type,Total,Active,Report Date,Report Period
|
|
66
|
+
2023-05-20,All,1,0,2023-05-20,7
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
=== "CSV"
|
|
70
|
+
|
|
71
|
+
```csv
|
|
72
|
+
Report Refresh Date,Site Type,Total,Active,Report Date,Report Period
|
|
73
|
+
2023-05-20,All,1,0,2023-05-20,7
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
=== "Markdown"
|
|
77
|
+
|
|
78
|
+
```md
|
|
79
|
+
Report Refresh Date,Site Type,Total,Active,Report Date,Report Period
|
|
80
|
+
2023-05-20,All,1,0,2023-05-20,7
|
|
81
|
+
```
|
|
@@ -46,3 +46,46 @@ Gets details about OneDrive usage by account for the last week and exports the r
|
|
|
46
46
|
```sh
|
|
47
47
|
m365 onedrive report usageaccountdetail --period D7 --output json > "onedriveusageaccountdetail.json"
|
|
48
48
|
```
|
|
49
|
+
|
|
50
|
+
## Response
|
|
51
|
+
|
|
52
|
+
=== "JSON"
|
|
53
|
+
|
|
54
|
+
```json
|
|
55
|
+
[
|
|
56
|
+
{
|
|
57
|
+
"Report Refresh Date": "2023-05-20",
|
|
58
|
+
"Site URL": "93212C12CBFBD450189A52F29CF6397F",
|
|
59
|
+
"Owner Display Name": "24C1B29099C8749194796DFEF8B50A40",
|
|
60
|
+
"Is Deleted": "False",
|
|
61
|
+
"Last Activity Date": "2022-12-27",
|
|
62
|
+
"File Count": "128",
|
|
63
|
+
"Active File Count": "0",
|
|
64
|
+
"Storage Used (Byte)": "104122210",
|
|
65
|
+
"Storage Allocated (Byte)": "1099511627776",
|
|
66
|
+
"Owner Principal Name": "30B283368E548933B1D03A64A6B14A89",
|
|
67
|
+
"Report Period": "7"
|
|
68
|
+
}
|
|
69
|
+
]
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
=== "Text"
|
|
73
|
+
|
|
74
|
+
```text
|
|
75
|
+
Report Refresh Date,Site URL,Owner Display Name,Is Deleted,Last Activity Date,File Count,Active File Count,Storage Used (Byte),Storage Allocated (Byte),Owner Principal Name,Report Period
|
|
76
|
+
2023-05-20,93212C12CBFBD450189A52F29CF6397F,24C1B29099C8749194796DFEF8B50A40,False,2022-12-27,128,0,104122210,1099511627776,30B283368E548933B1D03A64A6B14A89,7
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
=== "CSV"
|
|
80
|
+
|
|
81
|
+
```csv
|
|
82
|
+
Report Refresh Date,Site URL,Owner Display Name,Is Deleted,Last Activity Date,File Count,Active File Count,Storage Used (Byte),Storage Allocated (Byte),Owner Principal Name,Report Period
|
|
83
|
+
2023-05-20,93212C12CBFBD450189A52F29CF6397F,24C1B29099C8749194796DFEF8B50A40,False,2022-12-27,128,0,104122210,1099511627776,30B283368E548933B1D03A64A6B14A89,7
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
=== "Markdown"
|
|
87
|
+
|
|
88
|
+
```md
|
|
89
|
+
Report Refresh Date,Site URL,Owner Display Name,Is Deleted,Last Activity Date,File Count,Active File Count,Storage Used (Byte),Storage Allocated (Byte),Owner Principal Name,Report Period
|
|
90
|
+
2023-05-20,93212C12CBFBD450189A52F29CF6397F,24C1B29099C8749194796DFEF8B50A40,False,2022-12-27,128,0,104122210,1099511627776,30B283368E548933B1D03A64A6B14A89,7
|
|
91
|
+
```
|
|
@@ -41,3 +41,41 @@ Gets the total number of files across all sites and how many are active files fo
|
|
|
41
41
|
```sh
|
|
42
42
|
m365 onedrive report usagefilecounts --period D7 --output json > "usagefilecounts.json"
|
|
43
43
|
```
|
|
44
|
+
|
|
45
|
+
## Response
|
|
46
|
+
|
|
47
|
+
=== "JSON"
|
|
48
|
+
|
|
49
|
+
```json
|
|
50
|
+
[
|
|
51
|
+
{
|
|
52
|
+
"Report Refresh Date": "2023-05-20",
|
|
53
|
+
"Site Type": "All",
|
|
54
|
+
"Total": "128",
|
|
55
|
+
"Active": "0",
|
|
56
|
+
"Report Date": "2023-05-20",
|
|
57
|
+
"Report Period": "7"
|
|
58
|
+
}
|
|
59
|
+
]
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
=== "Text"
|
|
63
|
+
|
|
64
|
+
```text
|
|
65
|
+
Report Refresh Date,Site Type,Total,Active,Report Date,Report Period
|
|
66
|
+
2023-05-20,All,128,0,2023-05-20,7
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
=== "CSV"
|
|
70
|
+
|
|
71
|
+
```csv
|
|
72
|
+
Report Refresh Date,Site Type,Total,Active,Report Date,Report Period
|
|
73
|
+
2023-05-20,All,128,0,2023-05-20,7
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
=== "Markdown"
|
|
77
|
+
|
|
78
|
+
```md
|
|
79
|
+
Report Refresh Date,Site Type,Total,Active,Report Date,Report Period
|
|
80
|
+
2023-05-20,All,128,0,2023-05-20,7
|
|
81
|
+
```
|