@pnp/cli-microsoft365 6.7.0 → 6.8.0-beta.00c3a00
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-upgrade/upgrade-1.15.2.js +2 -0
- package/dist/m365/spfx/commands/spfx-doctor.js +14 -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/app/permission/permission-add.md +53 -0
- 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/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/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/version.md +1 -1
- 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
|
@@ -64,3 +64,15 @@ m365 spo page section get --webUrl https://contoso.sharepoint.com/sites/team-a -
|
|
|
64
64
|
order,columns
|
|
65
65
|
1,"[{""factor"":12,""order"":1}]"
|
|
66
66
|
```
|
|
67
|
+
|
|
68
|
+
=== "Markdown"
|
|
69
|
+
|
|
70
|
+
```md
|
|
71
|
+
# spo page section get --webUrl "https://contoso.sharepoint.com/sites/team-a" --pageName "home.aspx" --section "1"
|
|
72
|
+
|
|
73
|
+
Date: 5/3/2023
|
|
74
|
+
|
|
75
|
+
Property | Value
|
|
76
|
+
---------|-------
|
|
77
|
+
order | 1
|
|
78
|
+
```
|
|
@@ -64,3 +64,16 @@ m365 spo page section list --webUrl https://contoso.sharepoint.com/sites/team-a
|
|
|
64
64
|
order,columns
|
|
65
65
|
1,1
|
|
66
66
|
```
|
|
67
|
+
|
|
68
|
+
=== "Markdown"
|
|
69
|
+
|
|
70
|
+
```md
|
|
71
|
+
# spo page section list --webUrl "https://contoso.sharepoint.com/sites/team-a" --pageName "home.aspx"
|
|
72
|
+
|
|
73
|
+
Date: 5/3/2023
|
|
74
|
+
|
|
75
|
+
Property | Value
|
|
76
|
+
---------|-------
|
|
77
|
+
order | 1
|
|
78
|
+
|
|
79
|
+
```
|
|
@@ -79,3 +79,34 @@ m365 spo page template list --webUrl https://contoso.sharepoint.com/sites/team-a
|
|
|
79
79
|
Title,FileName,Id,PageLayoutType,Url
|
|
80
80
|
Company Policy,Company-Policy.aspx,27,Article,SitePages/Templates/Company-Policy.aspx
|
|
81
81
|
```
|
|
82
|
+
|
|
83
|
+
=== "Markdown"
|
|
84
|
+
|
|
85
|
+
```md
|
|
86
|
+
# spo page template list --webUrl "https://contoso.sharepoint.com/sites/team-a"
|
|
87
|
+
|
|
88
|
+
Date: 5/4/2023
|
|
89
|
+
|
|
90
|
+
## template (12)
|
|
91
|
+
|
|
92
|
+
Property | Value
|
|
93
|
+
---------|-------
|
|
94
|
+
AbsoluteUrl | https://contoso.sharepoint.com/sites/team-a/SitePages/Templates/Company-Policy.aspx
|
|
95
|
+
BannerImageUrl | https://contoso.sharepoint.com/\_layouts/15/images/sitepagethumbnail.png
|
|
96
|
+
BannerThumbnailUrl | https://media.akamai.odsp.cdn.office.net/contoso.sharepoint.com/\_layouts/15/images/sitepagethumbnail.png
|
|
97
|
+
CallToAction |
|
|
98
|
+
ContentTypeId | 0x0101009D1CB255DA76424F860D91F20E6C41180015C00F3A91848C479243E57A8317E76E
|
|
99
|
+
DoesUserHaveEditPermission | true
|
|
100
|
+
FileName | template.aspx
|
|
101
|
+
FirstPublished | 0001-01-01T08:00:00Z
|
|
102
|
+
Id | 12
|
|
103
|
+
IsPageCheckedOutToCurrentUser | false
|
|
104
|
+
IsWebWelcomePage | false
|
|
105
|
+
Modified | 2023-05-04T09:37:10Z
|
|
106
|
+
PageLayoutType | Article
|
|
107
|
+
PromotedState | 0
|
|
108
|
+
Title | template
|
|
109
|
+
UniqueId | 318af790-8c04-4b34-b764-e47d6620bba2
|
|
110
|
+
Url | SitePages/Templates/template.aspx
|
|
111
|
+
Version | 0.1
|
|
112
|
+
```
|
|
@@ -77,3 +77,16 @@ m365 spo propertybag list --webUrl https://contoso.sharepoint.com/sites/test --f
|
|
|
77
77
|
key,value
|
|
78
78
|
vti_approvallevels,Approved Rejected Pending\ Review
|
|
79
79
|
```
|
|
80
|
+
|
|
81
|
+
=== "Markdown"
|
|
82
|
+
|
|
83
|
+
```md
|
|
84
|
+
# spo propertybag list --webUrl "https://contoso.sharepoint.com/sites/test"
|
|
85
|
+
|
|
86
|
+
Date: 5/6/2023
|
|
87
|
+
|
|
88
|
+
Property | Value
|
|
89
|
+
---------|-------
|
|
90
|
+
key | vti_approvallevels
|
|
91
|
+
value | Approved Rejected Pending\ Review
|
|
92
|
+
```
|
|
@@ -69,3 +69,10 @@ m365 spo report activityfilecounts --period D7 --output json > "activityfilecoun
|
|
|
69
69
|
Report Refresh Date,Viewed Or Edited,Synced,Shared Internally,Shared Externally,Report Date,Report Period
|
|
70
70
|
2022-11-26,3,,,,2022-11-26,7
|
|
71
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-04,10,,,,2023-05-04,7
|
|
78
|
+
```
|
|
@@ -66,3 +66,10 @@ m365 spo report activitypages --period D7 --output json > "activitypages.json"
|
|
|
66
66
|
Report Refresh Date,Visited Page Count,Report Date,Report Period
|
|
67
67
|
2022-11-26,10,2022-11-26,7
|
|
68
68
|
```
|
|
69
|
+
|
|
70
|
+
=== "Markdown"
|
|
71
|
+
|
|
72
|
+
```md
|
|
73
|
+
Report Refresh Date,Visited Page Count,Report Date,Report Period
|
|
74
|
+
2023-05-04,11,2023-05-04,7
|
|
75
|
+
```
|
|
@@ -74,3 +74,10 @@ m365 spo report activityusercounts --period D7 --output json > "activityusercoun
|
|
|
74
74
|
Report Refresh Date,Visited Page,Viewed Or Edited,Synced,Shared Internally,Shared Externally,Report Date,Report Period
|
|
75
75
|
2022-11-26,1,1,,,,2022-11-26,7
|
|
76
76
|
```
|
|
77
|
+
|
|
78
|
+
=== "Markdown"
|
|
79
|
+
|
|
80
|
+
```md
|
|
81
|
+
Report Refresh Date,Visited Page,Viewed Or Edited,Synced,Shared Internally,Shared Externally,Report Date,Report Period
|
|
82
|
+
2023-05-04,1,1,,,,2023-05-04,7
|
|
83
|
+
```
|
|
@@ -87,3 +87,10 @@ m365 spo report activityuserdetail --period D7 --output json > "activityuserdeta
|
|
|
87
87
|
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,Visited Page Count,Assigned Products,Report Period
|
|
88
88
|
2022-11-26,Amanda.Powell@contoso.onmicrosoft.com,False,,2022-09-08,0,0,0,0,0,MICROSOFT 365 E5 DEVELOPER (WITHOUT WINDOWS AND AUDIO CONFERENCING)+MICROSOFT POWER AUTOMATE FREE,7
|
|
89
89
|
```
|
|
90
|
+
|
|
91
|
+
=== "Markdown"
|
|
92
|
+
|
|
93
|
+
```md
|
|
94
|
+
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,Visited Page Count,Assigned Products,Report Period
|
|
95
|
+
2023-05-04,6B56E500AC8309BD90D212680A2B9C03,False,,2023-05-04,16,0,0,0,36,MICROSOFT 365 E5 DEVELOPER (WITHOUT WINDOWS AND AUDIO CONFERENCING)+MICROSOFT POWER AUTOMATE FREE,7
|
|
96
|
+
```
|
|
@@ -90,3 +90,10 @@ m365 spo report siteusagedetail --period D7 --output json > "siteusagedetail.jso
|
|
|
90
90
|
Report Refresh Date,Site Id,Site URL,Owner Display Name,Is Deleted,Last Activity Date,File Count,Active File Count,Page View Count,Visited Page Count,Storage Used (Byte),Storage Allocated (Byte),Root Web Template,Owner Principal Name,Report Period
|
|
91
91
|
2022-11-26,002caf24-2672-4bc4-bc41-2811d5dba62c,https://contoso.sharepoint.com/sites/ElMontePythons,El Monte Pythons Owners,False,,2,0,0,0,1475974,27487790694400,Group,ElMontePythons@contoso.onmicrosoft.com,7
|
|
92
92
|
```
|
|
93
|
+
|
|
94
|
+
=== "Markdown"
|
|
95
|
+
|
|
96
|
+
```md
|
|
97
|
+
Report Refresh Date,Site Id,Site URL,Owner Display Name,Is Deleted,Last Activity Date,File Count,Active File Count,Page View Count,Visited Page Count,Storage Used (Byte),Storage Allocated (Byte),Root Web Template,Owner Principal Name,Report Period
|
|
98
|
+
2023-05-04,00000000-0000-0000-0000-000000000000,2D7F5EEA85EDC827EB4E800B9843699A,9CB5FBB74CCA99D813491DF81BD9445D,False,2023-04-21,11,0,0,0,5979747,27487790694400,Group,C1B73ABEAE1BC69423799C66FE6D115F,7
|
|
99
|
+
```
|
|
@@ -72,3 +72,10 @@ m365 spo report siteusagefilecounts --period D7 --output json > "siteusagefileco
|
|
|
72
72
|
Report Refresh Date,Site Type,Total,Active,Report Date,Report Period
|
|
73
73
|
2022-11-26,All,1320,3,2022-11-26,7
|
|
74
74
|
```
|
|
75
|
+
|
|
76
|
+
=== "Markdown"
|
|
77
|
+
|
|
78
|
+
```md
|
|
79
|
+
Report Refresh Date,Site Type,Total,Active,Report Date,Report Period
|
|
80
|
+
2023-05-04,All,2006,10,2023-05-04,7
|
|
81
|
+
```
|
|
@@ -67,3 +67,10 @@ m365 spo report siteusagepages --period D7 --output json > "siteusagepages.json"
|
|
|
67
67
|
Report Refresh Date,Site Type,Page View Count,Report Date,Report Period
|
|
68
68
|
2022-11-26,All,14,2022-11-26,7
|
|
69
69
|
```
|
|
70
|
+
|
|
71
|
+
=== "Markdown"
|
|
72
|
+
|
|
73
|
+
```md
|
|
74
|
+
Report Refresh Date,Site Type,Page View Count,Report Date,Report Period
|
|
75
|
+
2023-05-04,All,12,2023-05-04,7
|
|
76
|
+
```
|
|
@@ -72,3 +72,10 @@ m365 spo report siteusagesitecounts --period D7 --output json > "siteusagesiteco
|
|
|
72
72
|
Report Refresh Date,Site Type,Total,Active,Report Date,Report Period
|
|
73
73
|
2022-11-26,All,159,2,2022-11-26,7
|
|
74
74
|
```
|
|
75
|
+
|
|
76
|
+
=== "Markdown"
|
|
77
|
+
|
|
78
|
+
```md
|
|
79
|
+
Report Refresh Date,Site Type,Total,Active,Report Date,Report Period
|
|
80
|
+
2023-05-04,All,33,3,2023-05-04,7
|
|
81
|
+
```
|
|
@@ -67,3 +67,10 @@ m365 spo report siteusagestorage --period D7 --output json > "siteusagestorage.j
|
|
|
67
67
|
Report Refresh Date,Site Type,Storage Used (Byte),Report Date,Report Period
|
|
68
68
|
2022-11-26,All,2348104595,2022-11-26,7
|
|
69
69
|
```
|
|
70
|
+
|
|
71
|
+
=== "Markdown"
|
|
72
|
+
|
|
73
|
+
```md
|
|
74
|
+
Report Refresh Date,Site Type,Storage Used (Byte),Report Date,Report Period
|
|
75
|
+
2023-05-04,All,272942096,2023-05-04,7
|
|
76
|
+
```
|
|
@@ -103,3 +103,23 @@ m365 spo roledefinition get --webUrl https://contoso.sharepoint.com/sites/projec
|
|
|
103
103
|
BasePermissions,Description,Hidden,Id,Name,Order,RoleTypeKind,BasePermissionsValue,RoleTypeKindValue
|
|
104
104
|
"{""High"":""2147483647"",""Low"":""4294967295""}",Has full control.,,1073741829,Full Control,1,5,"[""ViewListItems"",""AddListItems"",""EditListItems"",""DeleteListItems"",""ApproveItems"",""OpenItems"",""ViewVersions"",""DeleteVersions"",""CancelCheckout"",""ManagePersonalViews"",""ManageLists"",""ViewFormPages"",""AnonymousSearchAccessList"",""Open"",""ViewPages"",""AddAndCustomizePages"",""ApplyThemeAndBorder"",""ApplyStyleSheets"",""ViewUsageData"",""CreateSSCSite"",""ManageSubwebs"",""CreateGroups"",""ManagePermissions"",""BrowseDirectories"",""BrowseUserInfo"",""AddDelPrivateWebParts"",""UpdatePersonalWebParts"",""ManageWeb"",""AnonymousSearchAccessWebLists"",""UseClientIntegration"",""UseRemoteAPIs"",""ManageAlerts"",""CreateAlerts"",""EditMyUserInfo"",""EnumeratePermissions""]",Administrator
|
|
105
105
|
```
|
|
106
|
+
|
|
107
|
+
=== "Markdown"
|
|
108
|
+
|
|
109
|
+
```md
|
|
110
|
+
# spo roledefinition get --webUrl "https://contoso.sharepoint.com/sites/project-x" --id "1073741829"
|
|
111
|
+
|
|
112
|
+
Date: 5/6/2023
|
|
113
|
+
|
|
114
|
+
## Full Control (1073741829)
|
|
115
|
+
|
|
116
|
+
Property | Value
|
|
117
|
+
---------|-------
|
|
118
|
+
Description | Has full control.
|
|
119
|
+
Hidden | false
|
|
120
|
+
Id | 1073741829
|
|
121
|
+
Name | Full Control
|
|
122
|
+
Order | 1
|
|
123
|
+
RoleTypeKind | 5
|
|
124
|
+
RoleTypeKindValue | Administrator
|
|
125
|
+
```
|
|
@@ -96,3 +96,23 @@ m365 spo roledefinition list --webUrl https://contoso.sharepoint.com/sites/proje
|
|
|
96
96
|
Id,Name
|
|
97
97
|
1073741829,Full Control
|
|
98
98
|
```
|
|
99
|
+
|
|
100
|
+
=== "Markdown"
|
|
101
|
+
|
|
102
|
+
```md
|
|
103
|
+
# spo roledefinition list --webUrl "https://contoso.sharepoint.com/sites/project-x"
|
|
104
|
+
|
|
105
|
+
Date: 5/6/2023
|
|
106
|
+
|
|
107
|
+
## Full Control (1073741829)
|
|
108
|
+
|
|
109
|
+
Property | Value
|
|
110
|
+
---------|-------
|
|
111
|
+
Description | Has full control.
|
|
112
|
+
Hidden | false
|
|
113
|
+
Id | 1073741829
|
|
114
|
+
Name | Full Control
|
|
115
|
+
Order | 1
|
|
116
|
+
RoleTypeKind | 5
|
|
117
|
+
RoleTypeKindValue | Administrator
|
|
118
|
+
```
|
|
@@ -79,3 +79,23 @@ m365 spo serviceprincipal grant add --resource 'contoso-api' --scope 'user_imper
|
|
|
79
79
|
ClientId,ConsentType,IsDomainIsolated,ObjectId,PackageName,Resource,ResourceId,Scope
|
|
80
80
|
6004a642-185c-479a-992a-15d1c23e2229,AllPrincipals,,QqYEYFwYmkeZKhXRwj4iKRcAa6TiIbFNvGnKY1dqONY,,Microsoft Graph,a46b0017-21e2-4db1-bc69-ca63576a38d6,Mail.Read
|
|
81
81
|
```
|
|
82
|
+
|
|
83
|
+
=== "Markdown"
|
|
84
|
+
|
|
85
|
+
```md
|
|
86
|
+
# spo serviceprincipal grant add --resource "Microsoft Graph" --scope "Mail.Read"
|
|
87
|
+
|
|
88
|
+
Date: 5/7/2023
|
|
89
|
+
|
|
90
|
+
## 4WtBzD8u5kW-sYuikIWL_8ZYTP5mJB1LnC6OT4Ibr94
|
|
91
|
+
|
|
92
|
+
Property | Value
|
|
93
|
+
---------|-------
|
|
94
|
+
ClientId | cc416be1-2e3f-45e6-beb1-8ba290858bff
|
|
95
|
+
ConsentType | AllPrincipals
|
|
96
|
+
IsDomainIsolated | false
|
|
97
|
+
ObjectId | 4WtBzD8u5kW-sYuikIWL\_8ZYTP5mJB1LnC6OT4Ibr94
|
|
98
|
+
Resource | Microsoft Graph
|
|
99
|
+
ResourceId | fe4c58c6-2466-4b1d-9c2e-8e4f821bafde
|
|
100
|
+
Scope | Mail.Read
|
|
101
|
+
```
|
|
@@ -62,3 +62,21 @@ m365 spo serviceprincipal grant list
|
|
|
62
62
|
IsDomainIsolated,ObjectId,PackageName,Resource,ResourceId,Scope
|
|
63
63
|
,QqYEYFwYmkeZKhXRwj4iKV5QwbD60RVCo6xeMUG407E,,Windows Azure Active Directory,b0c1505e-d1fa-4215-a3ac-5e3141b8d3b1,User.Read
|
|
64
64
|
```
|
|
65
|
+
|
|
66
|
+
=== "Markdown"
|
|
67
|
+
|
|
68
|
+
```md
|
|
69
|
+
# spo serviceprincipal grant list
|
|
70
|
+
|
|
71
|
+
Date: 5/7/2023
|
|
72
|
+
|
|
73
|
+
## 4WtBzD8u5kW-sYuikIWL_8ZYTP5mJB1LnC6OT4Ibr94
|
|
74
|
+
|
|
75
|
+
Property | Value
|
|
76
|
+
---------|-------
|
|
77
|
+
IsDomainIsolated | false
|
|
78
|
+
ObjectId | 4WtBzD8u5kW-sYuikIWL\_8ZYTP5mJB1LnC6OT4Ibr94
|
|
79
|
+
Resource | Microsoft Graph
|
|
80
|
+
ResourceId | fe4c58c6-2466-4b1d-9c2e-8e4f821bafde
|
|
81
|
+
Scope | Mail.Read
|
|
82
|
+
```
|
|
@@ -78,3 +78,23 @@ m365 spo serviceprincipal permissionrequest approve --id 4dc4c043-25ee-40f2-81d3
|
|
|
78
78
|
ClientId,ConsentType,IsDomainIsolated,ObjectId,PackageName,Resource,ResourceId,Scope
|
|
79
79
|
6004a642-185c-479a-992a-15d1c23e2229,AllPrincipals,false,QqYEYFwYmkeZKhXRwj4iKRcAa6TiIbFNvGnKY1dqONY,null,Microsoft Graph,a46b0017-21e2-4db1-bc69-ca63576a38d6,Directory.ReadWrite.All
|
|
80
80
|
```
|
|
81
|
+
|
|
82
|
+
=== "Markdown"
|
|
83
|
+
|
|
84
|
+
```md
|
|
85
|
+
# spo serviceprincipal permissionrequest approve --id "ecc2f667-e219-4c65-908e-957d68244d0c"
|
|
86
|
+
|
|
87
|
+
Date: 5/7/2023
|
|
88
|
+
|
|
89
|
+
## 4WtBzD8u5kW-sYuikIWL_8ZYTP5mJB1LnC6OT4Ibr94
|
|
90
|
+
|
|
91
|
+
Property | Value
|
|
92
|
+
---------|-------
|
|
93
|
+
ClientId | cc416be1-2e3f-45e6-beb1-8ba290858bff
|
|
94
|
+
ConsentType | AllPrincipals
|
|
95
|
+
IsDomainIsolated | false
|
|
96
|
+
ObjectId | 4WtBzD8u5kW-sYuikIWL\_8ZYTP5mJB1LnC6OT4Ibr94
|
|
97
|
+
Resource | Microsoft Graph
|
|
98
|
+
ResourceId | fe4c58c6-2466-4b1d-9c2e-8e4f821bafde
|
|
99
|
+
Scope | Calendars.Read
|
|
100
|
+
```
|
|
@@ -60,3 +60,20 @@ m365 spo serviceprincipal permissionrequest list
|
|
|
60
60
|
Id,Resource,ResourceId,Scope
|
|
61
61
|
6eceed61-77e4-424d-ae1d-696a0de4d768,Microsoft Graph,Microsoft Graph,Reports.Read.All
|
|
62
62
|
```
|
|
63
|
+
|
|
64
|
+
=== "Markdown"
|
|
65
|
+
|
|
66
|
+
```md
|
|
67
|
+
# spo serviceprincipal permissionrequest list
|
|
68
|
+
|
|
69
|
+
Date: 5/7/2023
|
|
70
|
+
|
|
71
|
+
## ecc2f667-e219-4c65-908e-957d68244d0c
|
|
72
|
+
|
|
73
|
+
Property | Value
|
|
74
|
+
---------|-------
|
|
75
|
+
Id | ecc2f667-e219-4c65-908e-957d68244d0c
|
|
76
|
+
Resource | Microsoft Graph
|
|
77
|
+
ResourceId | Microsoft Graph
|
|
78
|
+
Scope | Calendars.Read
|
|
79
|
+
```
|
|
@@ -84,3 +84,16 @@ m365 spo serviceprincipal set --enabled true --confirm
|
|
|
84
84
|
AccountEnabled,AppId,ReplyUrls
|
|
85
85
|
1,48535560-3cc0-442e-a1b4-94c084b3ff59,"[""https://fluidpreview.office.net/spfxsinglesignon"",""https://dev.fluidpreview.office.net/spfxsinglesignon"",""https://contoso.sharepoint.com/"",""https://contoso.sharepoint.com/_forms/spfxsinglesignon.aspx"",""https://contoso.sharepoint.com/_forms/spfxsinglesignon.aspx?redirect"",""https://contoso-admin.sharepoint.com/_forms/spfxsinglesignon.aspx""]"
|
|
86
86
|
```
|
|
87
|
+
|
|
88
|
+
=== "Markdown"
|
|
89
|
+
|
|
90
|
+
```md
|
|
91
|
+
# spo serviceprincipal set --enabled "true"
|
|
92
|
+
|
|
93
|
+
Date: 5/6/2023
|
|
94
|
+
|
|
95
|
+
Property | Value
|
|
96
|
+
---------|-------
|
|
97
|
+
AccountEnabled | true
|
|
98
|
+
AppId | 83defbc2-a963-42c9-9952-1ba92e4bead3
|
|
99
|
+
```
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# spo site recyclebinitem move
|
|
2
|
+
|
|
3
|
+
Moves items from the first-stage recycle bin to the second-stage recycle bin
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 spo site recyclebinitem move [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-u, --siteUrl <siteUrl>`
|
|
14
|
+
: URL of the site where the recycle bin is located.
|
|
15
|
+
|
|
16
|
+
`-i, --ids [ids]`
|
|
17
|
+
: Comma separated list of item IDs. Specify either `ids` or `all` but not both.
|
|
18
|
+
|
|
19
|
+
`--all`
|
|
20
|
+
: Move all first-stage recycle bin items to the second-stage recycle bin. Specify either `ids` or `all` but not both.
|
|
21
|
+
|
|
22
|
+
`--confirm`
|
|
23
|
+
: Don't prompt for confirmation.
|
|
24
|
+
|
|
25
|
+
--8<-- "docs/cmd/_global.md"
|
|
26
|
+
|
|
27
|
+
## Examples
|
|
28
|
+
|
|
29
|
+
Move 2 specific items from the first-stage recycle bin to the second-stage
|
|
30
|
+
|
|
31
|
+
```sh
|
|
32
|
+
m365 spo site recyclebinitem move --siteUrl https://contoso.sharepoint.com/sites/sales --ids "06ca4fe4-3048-4b76-bd41-296fed4c9881,d679c17b-d7b8-429a-9307-34e1d9e631e7"
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Move all first-stage recycle bin items to the second-stage
|
|
36
|
+
|
|
37
|
+
```sh
|
|
38
|
+
m365 spo site recyclebinitem move --siteUrl https://contoso.sharepoint.com/sites/sales --all
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Response
|
|
42
|
+
|
|
43
|
+
The command won't return a response on success.
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# spo site recyclebinitem remove
|
|
2
|
+
|
|
3
|
+
Permanently deletes specific items from the site recycle bin
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 spo site recyclebinitem remove [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-u, --siteUrl <siteUrl>`
|
|
14
|
+
: URL of the site where the recycle bin is located.
|
|
15
|
+
|
|
16
|
+
`-i, --ids <ids>`
|
|
17
|
+
: Comma separated list of item IDs.
|
|
18
|
+
|
|
19
|
+
`--confirm`
|
|
20
|
+
: Don't prompt for confirmation.
|
|
21
|
+
|
|
22
|
+
--8<-- "docs/cmd/_global.md"
|
|
23
|
+
|
|
24
|
+
## Remarks
|
|
25
|
+
|
|
26
|
+
!!! warning
|
|
27
|
+
Items in the recycle bin will be permanently removed without the ability to restore them.
|
|
28
|
+
|
|
29
|
+
## Examples
|
|
30
|
+
|
|
31
|
+
Permanently remove 2 specific items from the recycle bin
|
|
32
|
+
|
|
33
|
+
```sh
|
|
34
|
+
m365 spo site recyclebinitem remove --siteUrl https://contoso.sharepoint.com/sites/sales --ids "06ca4fe4-3048-4b76-bd41-296fed4c9881,d679c17b-d7b8-429a-9307-34e1d9e631e7"
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Permanently remove 2 specific items from the recycle bin and skip the confirmation prompt
|
|
38
|
+
|
|
39
|
+
```sh
|
|
40
|
+
m365 spo site recyclebinitem remove --siteUrl https://contoso.sharepoint.com/sites/sales --ids "06ca4fe4-3048-4b76-bd41-296fed4c9881,d679c17b-d7b8-429a-9307-34e1d9e631e7" --confirm
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Response
|
|
44
|
+
|
|
45
|
+
The command won't return a response on success.
|
|
@@ -26,7 +26,7 @@ m365 spo tenant applicationcustomizer add [options]
|
|
|
26
26
|
|
|
27
27
|
## Remarks
|
|
28
28
|
|
|
29
|
-
Running this command from the Windows Command Shell (cmd.exe) or PowerShell for Windows OS XP, 7, 8, 8.1 without bash installed might require additional formatting for command options that have JSON, XML or JavaScript values because the command shell
|
|
29
|
+
Running this command from the Windows Command Shell (cmd.exe) or PowerShell for Windows OS XP, 7, 8, 8.1 without bash installed might require additional formatting for command options that have JSON, XML or JavaScript values because the command shell treats quotes differently. For example, this is how ApplicationCustomizer user custom action can be created from the Windows cmd.exe:
|
|
30
30
|
|
|
31
31
|
```sh
|
|
32
32
|
m365 spo tenant applicationcustomizer add --title "YourAppCustomizer" --clientSideComponentId b41916e7-e69d-467f-b37f-ff8ecf8f99f2 --clientSideComponentProperties '{\"testMessage\":\"Test message\"}'
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
# spo tenant applicationcustomizer list
|
|
2
|
+
|
|
3
|
+
Retrieves a list of application customizers that are installed tenant-wide.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
spo tenant applicationcustomizer list [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
--8<-- "docs/cmd/_global.md"
|
|
14
|
+
|
|
15
|
+
## Examples
|
|
16
|
+
|
|
17
|
+
Retrieves a list of application customizers.
|
|
18
|
+
|
|
19
|
+
```sh
|
|
20
|
+
m365 spo tenant applicationcustomizer list
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Response
|
|
24
|
+
|
|
25
|
+
=== "JSON"
|
|
26
|
+
|
|
27
|
+
```json
|
|
28
|
+
[
|
|
29
|
+
{
|
|
30
|
+
"FileSystemObjectType": 0,
|
|
31
|
+
"Id": 8,
|
|
32
|
+
"ServerRedirectedEmbedUri": null,
|
|
33
|
+
"ServerRedirectedEmbedUrl": "",
|
|
34
|
+
"ID": 8,
|
|
35
|
+
"ContentTypeId": "0x00693E2C487575B448BD420C12CEAE7EFE",
|
|
36
|
+
"Title": "HelloWorld",
|
|
37
|
+
"Modified": "2023-05-21T14:31:30Z",
|
|
38
|
+
"Created": "2023-05-21T14:31:30Z",
|
|
39
|
+
"AuthorId": 9,
|
|
40
|
+
"EditorId": 9,
|
|
41
|
+
"OData__UIVersionString": "1.0",
|
|
42
|
+
"Attachments": false,
|
|
43
|
+
"GUID": "23951a41-f613-440e-8119-8f1e87df1d1a",
|
|
44
|
+
"OData__ColorTag": null,
|
|
45
|
+
"ComplianceAssetId": null,
|
|
46
|
+
"TenantWideExtensionComponentId": "d54e75e7-af4d-455f-9101-a5d906692ecd",
|
|
47
|
+
"TenantWideExtensionComponentProperties": "{\"testMessage\":\"Test message\"}",
|
|
48
|
+
"TenantWideExtensionWebTemplate": null,
|
|
49
|
+
"TenantWideExtensionListTemplate": 0,
|
|
50
|
+
"TenantWideExtensionLocation": "ClientSideExtension.ApplicationCustomizer",
|
|
51
|
+
"TenantWideExtensionSequence": 0,
|
|
52
|
+
"TenantWideExtensionHostProperties": null,
|
|
53
|
+
"TenantWideExtensionDisabled": false
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
=== "Text"
|
|
59
|
+
|
|
60
|
+
```text
|
|
61
|
+
TenantWideExtensionComponentId: d54e75e7-af4d-455f-9101-a5d906692ecd
|
|
62
|
+
TenantWideExtensionWebTemplate: null
|
|
63
|
+
Title : HelloWorld
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
=== "CSV"
|
|
67
|
+
|
|
68
|
+
```csv
|
|
69
|
+
FileSystemObjectType,Id,ServerRedirectedEmbedUrl,ID,ContentTypeId,Title,Modified,Created,AuthorId,EditorId,OData__UIVersionString,Attachments,GUID,TenantWideExtensionComponentId,TenantWideExtensionComponentProperties,TenantWideExtensionListTemplate,TenantWideExtensionLocation,TenantWideExtensionSequence,TenantWideExtensionDisabled
|
|
70
|
+
0,8,,8,0x00693E2C487575B448BD420C12CEAE7EFE,HelloWorld,2023-05-21T14:31:30Z,2023-05-21T14:31:30Z,9,9,1.0,,23951a41-f613-440e-8119-8f1e87df1d1a,d54e75e7-af4d-455f-9101-a5d906692ecd,"{""testMessage"":""Test message""}",0,ClientSideExtension.ApplicationCustomizer,0,
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
=== "Markdown"
|
|
74
|
+
|
|
75
|
+
```md
|
|
76
|
+
# spo tenant applicationcustomizer list
|
|
77
|
+
|
|
78
|
+
Date: 5/21/2023
|
|
79
|
+
|
|
80
|
+
## HelloWorld (8)
|
|
81
|
+
|
|
82
|
+
Property | Value
|
|
83
|
+
---------|-------
|
|
84
|
+
FileSystemObjectType | 0
|
|
85
|
+
Id | 8
|
|
86
|
+
ServerRedirectedEmbedUrl |
|
|
87
|
+
ID | 8
|
|
88
|
+
ContentTypeId | 0x00693E2C487575B448BD420C12CEAE7EFE
|
|
89
|
+
Title | HelloWorld
|
|
90
|
+
Modified | 2023-05-21T14:31:30Z
|
|
91
|
+
Created | 2023-05-21T14:31:30Z
|
|
92
|
+
AuthorId | 9
|
|
93
|
+
EditorId | 9
|
|
94
|
+
OData\_\_UIVersionString | 1.0
|
|
95
|
+
Attachments | false
|
|
96
|
+
GUID | 23951a41-f613-440e-8119-8f1e87df1d1a
|
|
97
|
+
TenantWideExtensionComponentId | d54e75e7-af4d-455f-9101-a5d906692ecd
|
|
98
|
+
TenantWideExtensionComponentProperties | {"testMessage":"Test message"}
|
|
99
|
+
TenantWideExtensionListTemplate | 0
|
|
100
|
+
TenantWideExtensionLocation | ClientSideExtension.ApplicationCustomizer
|
|
101
|
+
TenantWideExtensionSequence | 0
|
|
102
|
+
TenantWideExtensionDisabled | false
|
|
103
|
+
```
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# spo tenant applicationcustomizer remove
|
|
2
|
+
|
|
3
|
+
Removes an application customizer that is installed tenant wide.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
spo tenant applicationcustomizer remove [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-t, --title [title]`
|
|
14
|
+
: The title of the Application Customizer. Specify either `title`, `id`, or `clientSideComponentId`.
|
|
15
|
+
|
|
16
|
+
`-i, --id [id]`
|
|
17
|
+
: The id of the Application Customizer. Specify either `title`, `id`, or `clientSideComponentId`.
|
|
18
|
+
|
|
19
|
+
`-c, --clientSideComponentId [clientSideComponentId]`
|
|
20
|
+
: The Client Side Component Id (GUID) of the application customizer. Specify either `title`, `id`, or `clientSideComponentId`.
|
|
21
|
+
|
|
22
|
+
`--confirm`
|
|
23
|
+
: Don't prompt for confirmation.
|
|
24
|
+
|
|
25
|
+
--8<-- "docs/cmd/_global.md"
|
|
26
|
+
|
|
27
|
+
## Examples
|
|
28
|
+
|
|
29
|
+
Removes an application customizer by title.
|
|
30
|
+
|
|
31
|
+
```sh
|
|
32
|
+
m365 spo tenant applicationcustomizer remove --title "Some customizer"
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Removes an application customizer by id.
|
|
36
|
+
|
|
37
|
+
```sh
|
|
38
|
+
m365 spo tenant applicationcustomizer remove --id 3
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Removes an application customizer by clientSideComponentId.
|
|
42
|
+
|
|
43
|
+
```sh
|
|
44
|
+
m365 spo tenant applicationcustomizer remove --clientSideComponentId "7096cded-b83d-4eab-96f0-df477ed7c0bc"
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Response
|
|
48
|
+
|
|
49
|
+
The command won't return a response on success.
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# spo tenant commandset remove
|
|
2
|
+
|
|
3
|
+
Removes a ListView Command Set that is installed tenant wide.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
spo tenant commandset remove [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-t, --title [title]`
|
|
14
|
+
: The title of the ListView Command Set. Specify either `title`, `id`, or `clientSideComponentId`.
|
|
15
|
+
|
|
16
|
+
`-i, --id [id]`
|
|
17
|
+
: The id of the ListView Command Set. Specify either `title`, `id`, or `clientSideComponentId`.
|
|
18
|
+
|
|
19
|
+
`-c, --clientSideComponentId [clientSideComponentId]`
|
|
20
|
+
: The Client Side Component Id (GUID) of the ListView Command Set. Specify either `title`, `id`, or `clientSideComponentId`.
|
|
21
|
+
|
|
22
|
+
`--confirm`
|
|
23
|
+
: Don't prompt for confirmation.
|
|
24
|
+
|
|
25
|
+
--8 < -- "docs/cmd/_global.md"
|
|
26
|
+
|
|
27
|
+
## Examples
|
|
28
|
+
|
|
29
|
+
Removes an ListView Command Set by title.
|
|
30
|
+
|
|
31
|
+
```sh
|
|
32
|
+
m365 spo tenant commandset remove --title "Some command set"
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Removes a ListView Command Set by id.
|
|
36
|
+
|
|
37
|
+
```sh
|
|
38
|
+
m365 spo tenant commandset remove --id 3
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Removes a ListView Command Set by clientSideComponentId.
|
|
42
|
+
|
|
43
|
+
```sh
|
|
44
|
+
m365 spo tenant commandset remove --clientSideComponentId 7096cded-b83d-4eab-96f0-df477ed7c0bc
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Response
|
|
48
|
+
|
|
49
|
+
The command won't return a response on success.
|