@pnp/cli-microsoft365 7.1.0-beta.aca68bd → 7.1.0-beta.bcf9db3
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/.devcontainer/Dockerfile +0 -1
- package/.eslintrc.cjs +1 -0
- package/Dockerfile +0 -1
- package/dist/Auth.js +1 -1
- package/dist/Command.js +18 -28
- package/dist/appInsights.js +5 -9
- package/dist/cli/Cli.js +9 -4
- package/dist/m365/aad/commands/group/group-user-list.js +146 -0
- package/dist/m365/aad/commands/m365group/m365group-remove.js +109 -15
- package/dist/m365/aad/commands.js +1 -0
- package/dist/m365/cli/commands/cli-doctor.js +11 -6
- package/dist/m365/commands/setup.js +2 -1
- package/dist/m365/spo/commands/app/app-deploy.js +1 -1
- package/dist/m365/spo/commands/app/app-get.js +1 -1
- package/dist/m365/spo/commands/app/app-teamspackage-download.js +1 -1
- package/dist/m365/spo/commands/apppage/apppage-add.js +1 -1
- package/dist/m365/spo/commands/feature/feature-disable.js +8 -6
- package/dist/m365/spo/commands/feature/feature-enable.js +6 -5
- package/dist/m365/spo/commands/page/Page.js +1 -1
- package/dist/m365/spo/commands/page/page-add.js +1 -1
- package/dist/m365/spo/commands/page/page-get.js +1 -1
- package/dist/m365/spo/commands/page/page-header-set.js +1 -1
- package/dist/m365/spo/commands/page/page-remove.js +1 -1
- package/dist/m365/spo/commands/page/page-set.js +2 -2
- package/dist/m365/spo/commands/page/page-text-add.js +1 -1
- package/dist/m365/spo/commands/sitedesign/sitedesign-get.js +15 -14
- package/dist/m365/spo/commands/sitedesign/sitedesign-remove.js +22 -22
- package/dist/m365/spo/commands/user/user-get.js +7 -1
- package/dist/m365/todo/commands/task/task-list.js +8 -10
- package/dist/m365/todo/commands/task/task-remove.js +36 -36
- package/dist/m365/todo/commands/task/task-set.js +11 -13
- package/dist/m365/yammer/commands/group/group-user-remove.js +22 -23
- package/dist/telemetry.js +30 -14
- package/dist/telemetryRunner.js +26 -0
- package/dist/utils/odata.js +20 -19
- package/dist/utils/prompt.js +16 -0
- package/docs/docs/cmd/aad/group/group-user-list.mdx +135 -0
- package/docs/docs/cmd/aad/license/license-list.mdx +21 -16
- package/docs/docs/cmd/aad/m365group/m365group-add.mdx +1 -1
- package/docs/docs/cmd/aad/m365group/m365group-remove.mdx +11 -1
- package/docs/docs/cmd/aad/user/user-add.mdx +2 -4
- package/docs/docs/cmd/aad/user/user-license-add.mdx +2 -4
- package/docs/docs/cmd/aad/user/user-license-list.mdx +3 -5
- package/docs/docs/cmd/aad/user/user-recyclebinitem-list.mdx +1 -3
- package/docs/docs/cmd/aad/user/user-recyclebinitem-restore.mdx +1 -3
- package/docs/docs/cmd/flow/environment/environment-get.mdx +3 -4
- package/docs/docs/cmd/flow/environment/environment-list.mdx +3 -4
- package/docs/docs/cmd/flow/owner/owner-list.mdx +2 -3
- package/docs/docs/cmd/flow/run/run-list.mdx +6 -8
- package/docs/docs/cmd/graph/schemaextension/schemaextension-list.mdx +2 -3
- package/docs/docs/cmd/onenote/page/page-list.mdx +6 -9
- package/docs/docs/cmd/outlook/message/message-get.mdx +5 -15
- package/docs/docs/cmd/outlook/message/message-list.mdx +5 -14
- package/docs/docs/cmd/outlook/room/room-list.mdx +3 -6
- package/docs/docs/cmd/outlook/roomlist/roomlist-list.mdx +1 -3
- package/docs/docs/cmd/pa/app/app-get.mdx +4 -7
- package/docs/docs/cmd/pa/app/app-list.mdx +4 -7
- package/docs/docs/cmd/pa/connector/connector-list.mdx +2 -4
- package/docs/docs/cmd/pa/environment/environment-get.mdx +2 -4
- package/docs/docs/cmd/pa/environment/environment-list.mdx +1 -3
- package/docs/docs/cmd/planner/plan/plan-add.mdx +4 -11
- package/docs/docs/cmd/planner/plan/plan-get.mdx +4 -9
- package/docs/docs/cmd/planner/plan/plan-list.mdx +3 -6
- package/docs/docs/cmd/planner/plan/plan-set.mdx +3 -9
- package/docs/docs/cmd/planner/roster/roster-member-add.mdx +2 -4
- package/docs/docs/cmd/planner/roster/roster-member-get.mdx +2 -4
- package/docs/docs/cmd/planner/roster/roster-member-list.mdx +1 -3
- package/docs/docs/cmd/planner/task/task-add.mdx +4 -14
- package/docs/docs/cmd/planner/task/task-checklistitem-add.mdx +2 -4
- package/docs/docs/cmd/planner/task/task-checklistitem-list.mdx +1 -3
- package/docs/docs/cmd/planner/task/task-get.mdx +0 -7
- package/docs/docs/cmd/planner/task/task-list.mdx +1 -5
- package/docs/docs/cmd/planner/task/task-reference-add.mdx +0 -2
- package/docs/docs/cmd/planner/task/task-reference-list.mdx +0 -2
- package/docs/docs/cmd/planner/task/task-set.mdx +4 -13
- package/docs/docs/cmd/planner/tenant/tenant-settings-list.mdx +1 -3
- package/docs/docs/cmd/planner/tenant/tenant-settings-set.mdx +3 -5
- package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-get.mdx +6 -8
- package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-list.mdx +4 -7
- package/docs/docs/cmd/pp/card/card-get.mdx +4 -8
- package/docs/docs/cmd/pp/card/card-list.mdx +0 -4
- package/docs/docs/cmd/pp/chatbot/chatbot-get.mdx +4 -6
- package/docs/docs/cmd/pp/dataverse/dataverse-table-get.mdx +3 -14
- package/docs/docs/cmd/pp/dataverse/dataverse-table-list.mdx +3 -14
- package/docs/docs/cmd/pp/environment/environment-get.mdx +3 -5
- package/docs/docs/cmd/pp/environment/environment-list.mdx +2 -4
- package/docs/docs/cmd/pp/gateway/gateway-get.mdx +0 -3
- package/docs/docs/cmd/pp/gateway/gateway-list.mdx +1 -4
- package/docs/docs/cmd/purview/auditlog/auditlog-list.mdx +4 -0
- package/docs/docs/cmd/purview/retentionevent/retentionevent-add.mdx +3 -8
- package/docs/docs/cmd/purview/retentionevent/retentionevent-get.mdx +1 -3
- package/docs/docs/cmd/purview/retentionevent/retentionevent-list.mdx +1 -5
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-add.mdx +0 -2
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-get.mdx +1 -3
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-list.mdx +1 -3
- package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-get.mdx +3 -6
- package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-list.mdx +3 -5
- package/docs/docs/cmd/purview/threatassessment/threatassessment-get.mdx +4 -8
- package/docs/docs/cmd/spo/app/app-add.mdx +94 -7
- package/docs/docs/cmd/spo/app/app-deploy.mdx +11 -7
- package/docs/docs/cmd/spo/app/app-get.mdx +117 -8
- package/docs/docs/cmd/spo/app/app-install.mdx +9 -5
- package/docs/docs/cmd/spo/app/app-instance-list.mdx +85 -2
- package/docs/docs/cmd/spo/app/app-list.mdx +95 -3
- package/docs/docs/cmd/spo/app/app-remove.mdx +11 -7
- package/docs/docs/cmd/spo/app/app-retract.mdx +9 -5
- package/docs/docs/cmd/spo/app/app-teamspackage-download.mdx +12 -8
- package/docs/docs/cmd/spo/app/app-uninstall.mdx +11 -7
- package/docs/docs/cmd/spo/app/app-upgrade.mdx +9 -5
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-add.mdx +4 -2
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-get.mdx +9 -7
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-list.mdx +6 -6
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-remove.mdx +12 -6
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-set.mdx +4 -2
- package/docs/docs/cmd/spo/apppage/apppage-add.mdx +54 -5
- package/docs/docs/cmd/spo/apppage/apppage-set.mdx +8 -4
- package/docs/docs/cmd/spo/cdn/cdn-get.mdx +36 -1
- package/docs/docs/cmd/spo/cdn/cdn-origin-add.mdx +7 -3
- package/docs/docs/cmd/spo/cdn/cdn-origin-list.mdx +48 -3
- package/docs/docs/cmd/spo/cdn/cdn-origin-remove.mdx +8 -4
- package/docs/docs/cmd/spo/cdn/cdn-policy-list.mdx +53 -3
- package/docs/docs/cmd/spo/cdn/cdn-policy-set.mdx +7 -3
- package/docs/docs/cmd/spo/cdn/cdn-set.mdx +7 -3
- package/docs/docs/cmd/spo/commandset/commandset-add.mdx +6 -6
- package/docs/docs/cmd/spo/commandset/commandset-get.mdx +3 -5
- package/docs/docs/cmd/spo/commandset/commandset-list.mdx +6 -5
- package/docs/docs/cmd/spo/commandset/commandset-remove.mdx +7 -3
- package/docs/docs/cmd/spo/commandset/commandset-set.mdx +6 -4
- package/docs/docs/cmd/spo/contenttype/contenttype-add.mdx +148 -9
- package/docs/docs/cmd/spo/contenttype/contenttype-field-remove.mdx +19 -15
- package/docs/docs/cmd/spo/contenttype/contenttype-field-set.mdx +12 -8
- package/docs/docs/cmd/spo/contenttype/contenttype-get.mdx +147 -8
- package/docs/docs/cmd/spo/contenttype/contenttype-list.mdx +115 -4
- package/docs/docs/cmd/spo/contenttype/contenttype-remove.mdx +8 -4
- package/docs/docs/cmd/spo/contenttype/contenttype-set.mdx +8 -4
- package/docs/docs/cmd/spo/contenttypehub/contenttypehub-get.mdx +44 -0
- package/docs/docs/cmd/spo/customaction/customaction-add.mdx +12 -8
- package/docs/docs/cmd/spo/customaction/customaction-clear.mdx +10 -7
- package/docs/docs/cmd/spo/customaction/customaction-get.mdx +11 -15
- package/docs/docs/cmd/spo/customaction/customaction-list.mdx +87 -5
- package/docs/docs/cmd/spo/customaction/customaction-remove.mdx +17 -13
- package/docs/docs/cmd/spo/customaction/customaction-set.mdx +27 -23
- package/docs/docs/cmd/spo/eventreceiver/eventreceiver-get.mdx +29 -14
- package/docs/docs/cmd/spo/eventreceiver/eventreceiver-list.mdx +66 -5
- package/docs/docs/cmd/spo/eventreceiver/eventreceiver-remove.mdx +4 -0
- package/docs/docs/cmd/spo/externaluser/externaluser-list.mdx +78 -7
- package/docs/docs/cmd/spo/feature/feature-disable.mdx +10 -6
- package/docs/docs/cmd/spo/feature/feature-enable.mdx +9 -5
- package/docs/docs/cmd/spo/feature/feature-list.mdx +52 -0
- package/docs/docs/cmd/spo/field/field-add.mdx +177 -11
- package/docs/docs/cmd/spo/field/field-get.mdx +175 -9
- package/docs/docs/cmd/spo/field/field-list.mdx +135 -8
- package/docs/docs/cmd/spo/field/field-remove.mdx +16 -12
- package/docs/docs/cmd/spo/field/field-set.mdx +15 -11
- package/docs/docs/cmd/spo/file/file-add.mdx +31 -27
- package/docs/docs/cmd/spo/file/file-checkin.mdx +13 -9
- package/docs/docs/cmd/spo/file/file-checkout.mdx +9 -5
- package/docs/docs/cmd/spo/file/file-copy.mdx +5 -5
- package/docs/docs/cmd/spo/file/file-get.mdx +89 -18
- package/docs/docs/cmd/spo/file/file-list.mdx +5 -5
- package/docs/docs/cmd/spo/file/file-move.mdx +5 -5
- package/docs/docs/cmd/spo/file/file-remove.mdx +13 -9
- package/docs/docs/cmd/spo/file/file-rename.mdx +63 -5
- package/docs/docs/cmd/spo/file/file-retentionlabel-ensure.mdx +3 -3
- package/docs/docs/cmd/spo/file/file-retentionlabel-remove.mdx +2 -2
- package/docs/docs/cmd/spo/file/file-roleassignment-add.mdx +4 -0
- package/docs/docs/cmd/spo/file/file-roleassignment-remove.mdx +7 -3
- package/docs/docs/cmd/spo/file/file-roleinheritance-break.mdx +9 -5
- package/docs/docs/cmd/spo/file/file-roleinheritance-reset.mdx +10 -6
- package/docs/docs/cmd/spo/file/file-sharinginfo-get.mdx +133 -5
- package/docs/docs/cmd/spo/file/file-sharinglink-add.mdx +21 -3
- package/docs/docs/cmd/spo/file/file-sharinglink-clear.mdx +2 -2
- package/docs/docs/cmd/spo/file/file-sharinglink-get.mdx +18 -0
- package/docs/docs/cmd/spo/file/file-sharinglink-list.mdx +20 -3
- package/docs/docs/cmd/spo/file/file-sharinglink-set.mdx +2 -7
- package/docs/docs/cmd/spo/file/file-version-clear.mdx +7 -7
- package/docs/docs/cmd/spo/file/file-version-get.mdx +28 -6
- package/docs/docs/cmd/spo/file/file-version-list.mdx +28 -6
- package/docs/docs/cmd/spo/file/file-version-remove.mdx +8 -8
- package/docs/docs/cmd/spo/file/file-version-restore.mdx +8 -8
- package/docs/docs/cmd/spo/folder/folder-add.mdx +3 -3
- package/docs/docs/cmd/spo/folder/folder-copy.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-get.mdx +257 -3
- package/docs/docs/cmd/spo/folder/folder-list.mdx +3 -4
- package/docs/docs/cmd/spo/folder/folder-move.mdx +5 -5
- package/docs/docs/cmd/spo/folder/folder-remove.mdx +6 -2
- package/docs/docs/cmd/spo/folder/folder-rename.mdx +2 -2
- package/docs/docs/cmd/spo/folder/folder-retentionlabel-ensure.mdx +3 -3
- package/docs/docs/cmd/spo/folder/folder-retentionlabel-remove.mdx +2 -2
- package/docs/docs/cmd/spo/folder/folder-roleassignment-add.mdx +13 -8
- package/docs/docs/cmd/spo/folder/folder-roleassignment-remove.mdx +8 -4
- package/docs/docs/cmd/spo/folder/folder-roleinheritance-break.mdx +4 -0
- package/docs/docs/cmd/spo/folder/folder-roleinheritance-reset.mdx +5 -1
- package/docs/docs/cmd/spo/group/group-add.mdx +78 -0
- package/docs/docs/cmd/spo/group/group-get.mdx +81 -3
- package/docs/docs/cmd/spo/group/group-list.mdx +74 -3
- package/docs/docs/cmd/spo/group/group-member-add.mdx +13 -21
- package/docs/docs/cmd/spo/group/group-member-list.mdx +80 -5
- package/docs/docs/cmd/spo/group/group-member-remove.mdx +4 -4
- package/docs/docs/cmd/spo/group/group-remove.mdx +10 -6
- package/docs/docs/cmd/spo/group/group-set.mdx +9 -5
- package/docs/docs/cmd/spo/hidedefaultthemes/hidedefaultthemes-get.mdx +36 -1
- package/docs/docs/cmd/spo/hidedefaultthemes/hidedefaultthemes-set.mdx +6 -2
- package/docs/docs/cmd/spo/hubsite/hubsite-data-get.mdx +0 -2
- package/docs/docs/cmd/spo/list/list-add.mdx +0 -3
- package/docs/docs/cmd/spo/list/list-contenttype-add.mdx +0 -2
- package/docs/docs/cmd/spo/list/list-contenttype-list.mdx +0 -2
- package/docs/docs/cmd/spo/list/list-get.mdx +1 -4
- package/docs/docs/cmd/spo/list/list-list.mdx +0 -4
- package/docs/docs/cmd/spo/list/list-view-add.mdx +0 -3
- package/docs/docs/cmd/spo/list/list-view-get.mdx +9 -12
- package/docs/docs/cmd/spo/list/list-view-list.mdx +4 -7
- package/docs/docs/cmd/spo/listitem/listitem-attachment-list.mdx +8 -11
- package/docs/docs/cmd/spo/listitem/listitem-get.mdx +0 -2
- package/docs/docs/cmd/spo/navigation/navigation-node-add.mdx +4 -6
- package/docs/docs/cmd/spo/navigation/navigation-node-get.mdx +0 -2
- package/docs/docs/cmd/spo/navigation/navigation-node-list.mdx +4 -6
- package/docs/docs/cmd/spo/page/page-copy.mdx +4 -8
- package/docs/docs/cmd/spo/page/page-get.mdx +2 -5
- package/docs/docs/cmd/spo/page/page-list.mdx +1 -5
- package/docs/docs/cmd/spo/sitescript/sitescript-get.mdx +4 -4
- package/docs/docs/cmd/spo/sitescript/sitescript-set.mdx +6 -7
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-add.mdx +3 -1
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-get.mdx +5 -3
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-list.mdx +4 -2
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-remove.mdx +5 -1
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-set.mdx +2 -0
- package/docs/docs/cmd/spo/tenant/tenant-commandset-add.mdx +2 -1
- package/docs/docs/cmd/spo/tenant/tenant-commandset-get.mdx +5 -2
- package/docs/docs/cmd/spo/tenant/tenant-commandset-list.mdx +4 -1
- package/docs/docs/cmd/spo/tenant/tenant-commandset-remove.mdx +5 -1
- package/docs/docs/cmd/spo/tenant/tenant-commandset-set.mdx +3 -1
- package/docs/docs/cmd/spo/user/user-get.mdx +6 -0
- package/docs/docs/cmd/teams/channel/channel-member-list.mdx +3 -5
- package/docs/docs/cmd/teams/channel/channel-member-set.mdx +0 -2
- package/docs/docs/cmd/teams/chat/chat-get.mdx +2 -4
- package/docs/docs/cmd/teams/chat/chat-list.mdx +1 -3
- package/docs/docs/cmd/teams/chat/chat-member-list.mdx +2 -4
- package/docs/docs/cmd/teams/message/message-get.mdx +0 -7
- package/docs/docs/cmd/teams/message/message-list.mdx +0 -6
- package/docs/docs/cmd/teams/message/message-reply-list.mdx +0 -6
- package/docs/docs/cmd/teams/tab/tab-add.mdx +10 -12
- package/docs/docs/cmd/teams/tab/tab-get.mdx +8 -10
- package/docs/docs/cmd/teams/tab/tab-list.mdx +4 -7
- package/docs/docs/cmd/teams/team/team-add.mdx +0 -7
- package/docs/docs/cmd/teams/team/team-get.mdx +0 -6
- package/docs/docs/cmd/tenant/security/security-alerts-list.mdx +1 -1
- package/docs/docs/cmd/todo/task/task-add.mdx +9 -13
- package/docs/docs/cmd/todo/task/task-set.mdx +10 -14
- package/eslint-rules/lib/index.js +2 -1
- package/eslint-rules/lib/rules/no-by-server-relative-url-usage.js +55 -0
- package/npm-shrinkwrap.json +86 -82
- package/package.json +52 -31
|
@@ -14,13 +14,13 @@ m365 spo app upgrade [options]
|
|
|
14
14
|
|
|
15
15
|
```md definition-list
|
|
16
16
|
`-i, --id <id>`
|
|
17
|
-
: ID of the app to upgrade
|
|
17
|
+
: ID of the app to upgrade.
|
|
18
18
|
|
|
19
19
|
`-s, --siteUrl <siteUrl>`
|
|
20
|
-
: Absolute URL of the site to upgrade the app in
|
|
20
|
+
: Absolute URL of the site to upgrade the app in.
|
|
21
21
|
|
|
22
22
|
`--appCatalogScope [appCatalogScope]`
|
|
23
|
-
: Scope of the app catalog: `tenant
|
|
23
|
+
: Scope of the app catalog. Allowed values: `tenant`, `sitecollection`. Defaults to `tenant`.
|
|
24
24
|
```
|
|
25
25
|
|
|
26
26
|
<Global />
|
|
@@ -31,18 +31,22 @@ If the app with the specified ID doesn't exist in the app catalog, the command w
|
|
|
31
31
|
|
|
32
32
|
## Examples
|
|
33
33
|
|
|
34
|
-
Upgrade the app with ID
|
|
34
|
+
Upgrade the app with the specified ID in the specified site.
|
|
35
35
|
|
|
36
36
|
```sh
|
|
37
37
|
m365 spo app upgrade --id b2307a39-e878-458b-bc90-03bc578531d6 --siteUrl https://contoso.sharepoint.com
|
|
38
38
|
```
|
|
39
39
|
|
|
40
|
-
Upgrade the app with ID
|
|
40
|
+
Upgrade the app with the specified ID in the specified site from site collection app catalog.
|
|
41
41
|
|
|
42
42
|
```sh
|
|
43
43
|
m365 spo app upgrade --id b2307a39-e878-458b-bc90-03bc578531d6 --siteUrl https://contoso.sharepoint.com --appCatalogScope sitecollection
|
|
44
44
|
```
|
|
45
45
|
|
|
46
|
+
## Response
|
|
47
|
+
|
|
48
|
+
The command won't return a response on success.
|
|
49
|
+
|
|
46
50
|
## More information
|
|
47
51
|
|
|
48
52
|
- Application Lifecycle Management (ALM) APIs: [https://docs.microsoft.com/en-us/sharepoint/dev/apis/alm-api-for-spfx-add-ins](https://docs.microsoft.com/en-us/sharepoint/dev/apis/alm-api-for-spfx-add-ins)
|
|
@@ -2,7 +2,7 @@ import Global from '/docs/cmd/_global.mdx';
|
|
|
2
2
|
|
|
3
3
|
# spo applicationcustomizer add
|
|
4
4
|
|
|
5
|
-
Add an application customizer to a site
|
|
5
|
+
Add an application customizer to a site
|
|
6
6
|
|
|
7
7
|
## Usage
|
|
8
8
|
|
|
@@ -23,7 +23,7 @@ m365 spo applicationcustomizer add [options]
|
|
|
23
23
|
: Client-side component ID of the application customizer (GUID).
|
|
24
24
|
|
|
25
25
|
`--clientSideComponentProperties [clientSideComponentProperties]`
|
|
26
|
-
: JSON string with application customizer properties
|
|
26
|
+
: JSON string with application customizer properties.
|
|
27
27
|
|
|
28
28
|
`-s, --scope [scope]`
|
|
29
29
|
: Scope of the application customizer. Allowed values: `Site`, `Web`. Defaults to `Site`.
|
|
@@ -47,6 +47,8 @@ When using the `--clientSideComponentProperties` option it's possible to enter a
|
|
|
47
47
|
|
|
48
48
|
:::
|
|
49
49
|
|
|
50
|
+
This command can be used for configuring an application customizer on a specific site. To configure an application customizer tenant-wide, view our dedicated [spo tenant applicationcustomizer add](../tenant/tenant-applicationcustomizer-add.mdx) command.
|
|
51
|
+
|
|
50
52
|
## Examples
|
|
51
53
|
|
|
52
54
|
Adds an application customizer to the sales site.
|
|
@@ -4,7 +4,7 @@ import TabItem from '@theme/TabItem';
|
|
|
4
4
|
|
|
5
5
|
# spo applicationcustomizer get
|
|
6
6
|
|
|
7
|
-
Get an application customizer that is added to a site
|
|
7
|
+
Get an application customizer that is added to a site
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
@@ -19,13 +19,13 @@ m365 spo applicationcustomizer get [options]
|
|
|
19
19
|
: URL of the site.
|
|
20
20
|
|
|
21
21
|
`-t, --title [title]`
|
|
22
|
-
: The title of the Application Customizer. Specify either `title`, `id
|
|
22
|
+
: The title of the Application Customizer. Specify either `title`, `id` or `clientSideComponentId`.
|
|
23
23
|
|
|
24
24
|
`-i, --id [id]`
|
|
25
|
-
: The id of the Application Customizer. Specify either `title`, `id
|
|
25
|
+
: The id of the Application Customizer. Specify either `title`, `id` or `clientSideComponentId`.
|
|
26
26
|
|
|
27
27
|
`-c, --clientSideComponentId [clientSideComponentId]`
|
|
28
|
-
: The Client Side Component Id (GUID) of the application customizer. Specify either `title`, `id
|
|
28
|
+
: The Client Side Component Id (GUID) of the application customizer. Specify either `title`, `id` or `clientSideComponentId`.
|
|
29
29
|
|
|
30
30
|
`-s, --scope [scope]`
|
|
31
31
|
: Scope of the application customizer. Allowed values: `Site`, `Web`, `All`. Defaults to `All`.
|
|
@@ -59,6 +59,10 @@ Retrieves an application customizer by title available at the site scope.
|
|
|
59
59
|
m365 spo applicationcustomizer get --title "Some customizer" --webUrl https://contoso.sharepoint.com/sites/sales --scope site
|
|
60
60
|
```
|
|
61
61
|
|
|
62
|
+
## Remarks
|
|
63
|
+
|
|
64
|
+
This command can be used for retrieving an application customizer from a specific site. To retrieve an application customizer that's installed tenant-wide, view our dedicated [spo tenant applicationcustomizer get](../tenant/tenant-applicationcustomizer-get.mdx) command.
|
|
65
|
+
|
|
62
66
|
## Response
|
|
63
67
|
|
|
64
68
|
<Tabs>
|
|
@@ -125,7 +129,7 @@ m365 spo applicationcustomizer get --title "Some customizer" --webUrl https://co
|
|
|
125
129
|
<TabItem value="Markdown">
|
|
126
130
|
|
|
127
131
|
```md
|
|
128
|
-
# spo applicationcustomizer get --title "Some customizer" --webUrl "https://
|
|
132
|
+
# spo applicationcustomizer get --title "Some customizer" --webUrl "https://contoso.sharepoint.com/sites/sales" --scope "Web"
|
|
129
133
|
|
|
130
134
|
Date: 3/6/2023
|
|
131
135
|
|
|
@@ -144,7 +148,6 @@ m365 spo applicationcustomizer get --title "Some customizer" --webUrl https://co
|
|
|
144
148
|
Name | Some customizer
|
|
145
149
|
RegistrationId | null
|
|
146
150
|
RegistrationType | 0
|
|
147
|
-
Rights | {"High":0,"Low":0}
|
|
148
151
|
Scope | Web
|
|
149
152
|
ScriptBlock | null
|
|
150
153
|
ScriptSrc | null
|
|
@@ -156,4 +159,3 @@ m365 spo applicationcustomizer get --title "Some customizer" --webUrl https://co
|
|
|
156
159
|
|
|
157
160
|
</TabItem>
|
|
158
161
|
</Tabs>
|
|
159
|
-
|
|
@@ -4,7 +4,7 @@ import TabItem from '@theme/TabItem';
|
|
|
4
4
|
|
|
5
5
|
# spo applicationcustomizer list
|
|
6
6
|
|
|
7
|
-
Get a list of application customizers that are added to a site
|
|
7
|
+
Get a list of application customizers that are added to a site
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
@@ -19,7 +19,7 @@ m365 spo applicationcustomizer list [options]
|
|
|
19
19
|
: The url of the site.
|
|
20
20
|
|
|
21
21
|
`-s, --scope [scope]`
|
|
22
|
-
: Scope of the application customizers. Allowed values `Site`, `Web`, `All`. Defaults to `All
|
|
22
|
+
: Scope of the application customizers. Allowed values `Site`, `Web`, `All`. Defaults to `All`.
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
<Global />
|
|
@@ -32,6 +32,10 @@ Retrieves a list of application customizers.
|
|
|
32
32
|
m365 spo applicationcustomizer list --webUrl https://contoso.sharepoint.com/sites/sales
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
+
## Remarks
|
|
36
|
+
|
|
37
|
+
This command can be used for retrieving a list of application customizers from a specific site. To retrieve a list of application customizers that are installed tenant-wide, view our dedicated [spo tenant applicationcustomizer list](../tenant/tenant-applicationcustomizer-list.mdx) command.
|
|
38
|
+
|
|
35
39
|
## Response
|
|
36
40
|
|
|
37
41
|
<Tabs>
|
|
@@ -97,7 +101,6 @@ m365 spo applicationcustomizer list --webUrl https://contoso.sharepoint.com/site
|
|
|
97
101
|
Property | Value
|
|
98
102
|
---------|-------
|
|
99
103
|
ClientSideComponentId | 4358e70e-ec3c-4713-beb6-39c88f7621d1
|
|
100
|
-
ClientSideComponentProperties | {"listTitle":"News","listViewTitle":"Published News"}
|
|
101
104
|
CommandUIExtension | null
|
|
102
105
|
Description | null
|
|
103
106
|
Group | null
|
|
@@ -105,10 +108,8 @@ m365 spo applicationcustomizer list --webUrl https://contoso.sharepoint.com/site
|
|
|
105
108
|
Id | f405303c-6048-4636-9660-1b7b2cadaef9
|
|
106
109
|
ImageUrl | null
|
|
107
110
|
Location | ClientSideExtension.ApplicationCustomizer
|
|
108
|
-
Name | {f405303c-6048-4636-9660-1b7b2cadaef9}
|
|
109
111
|
RegistrationId | null
|
|
110
112
|
RegistrationType | 0
|
|
111
|
-
Rights | {"High":0,"Low":0}
|
|
112
113
|
Scope | 3
|
|
113
114
|
ScriptBlock | null
|
|
114
115
|
ScriptSrc | null
|
|
@@ -120,4 +121,3 @@ m365 spo applicationcustomizer list --webUrl https://contoso.sharepoint.com/site
|
|
|
120
121
|
|
|
121
122
|
</TabItem>
|
|
122
123
|
</Tabs>
|
|
123
|
-
|
|
@@ -38,44 +38,50 @@ m365 spo applicationcustomizer remove [options]
|
|
|
38
38
|
|
|
39
39
|
If the command finds multiple application customizers with the specified title or clientSideComponentId, it will prompt you to disambiguate which customizer it should remove, listing the discovered IDs.
|
|
40
40
|
|
|
41
|
+
This command can be used for removing an application customizer added to a specific site. To remove an application customizer that's installed tenant-wide, view our dedicated [spo tenant applicationcustomizer remove](../tenant/tenant-applicationcustomizer-remove.mdx) command.
|
|
42
|
+
|
|
41
43
|
## Examples
|
|
42
44
|
|
|
43
|
-
Remove an application customizer by id
|
|
45
|
+
Remove an application customizer by id.
|
|
44
46
|
|
|
45
47
|
```sh
|
|
46
48
|
m365 spo applicationcustomizer remove --id 14125658-a9bc-4ddf-9c75-1b5767c9a337 --webUrl https://contoso.sharepoint.com/sites/sales
|
|
47
49
|
```
|
|
48
50
|
|
|
49
|
-
Remove an application customizer by title
|
|
51
|
+
Remove an application customizer by title.
|
|
50
52
|
|
|
51
53
|
```sh
|
|
52
54
|
m365 spo applicationcustomizer remove --title "Some customizer" --webUrl https://contoso.sharepoint.com/sites/sales
|
|
53
55
|
```
|
|
54
56
|
|
|
55
|
-
Remove an application customizer by clientSideComponentId
|
|
57
|
+
Remove an application customizer by clientSideComponentId.
|
|
56
58
|
|
|
57
59
|
```sh
|
|
58
60
|
m365 spo applicationcustomizer remove --clientSideComponentId 7096cded-b83d-4eab-96f0-df477ed7c0bc --webUrl https://contoso.sharepoint.com/sites/sales
|
|
59
61
|
```
|
|
60
62
|
|
|
61
|
-
Remove an application customizer by its id without prompting for confirmation
|
|
63
|
+
Remove an application customizer by its id without prompting for confirmation.
|
|
62
64
|
|
|
63
65
|
```sh
|
|
64
66
|
m365 spo applicationcustomizer remove --id 14125658-a9bc-4ddf-9c75-1b5767c9a337 --webUrl https://contoso.sharepoint.com/sites/sales --force
|
|
65
67
|
```
|
|
66
68
|
|
|
67
|
-
Remove an application customizer from a site collection by its id without prompting for confirmation
|
|
69
|
+
Remove an application customizer from a site collection by its id without prompting for confirmation.
|
|
68
70
|
|
|
69
71
|
```sh
|
|
70
72
|
m365 spo applicationcustomizer remove --id 14125658-a9bc-4ddf-9c75-1b5767c9a337 --webUrl https://contoso.sharepoint.com/sites/sales --force --scope Site
|
|
71
73
|
```
|
|
72
74
|
|
|
73
|
-
Remove an application customizer from a site by its id without prompting for confirmation
|
|
75
|
+
Remove an application customizer from a site by its id without prompting for confirmation.
|
|
74
76
|
|
|
75
77
|
```sh
|
|
76
78
|
m365 spo applicationcustomizer remove --id 14125658-a9bc-4ddf-9c75-1b5767c9a337 --webUrl https://contoso.sharepoint.com/sites/sales --force --scope Web
|
|
77
79
|
```
|
|
78
80
|
|
|
81
|
+
## Remarks
|
|
82
|
+
|
|
83
|
+
This command can be used for removing an application customizer from a specific site. To remove a tenant-wide installed application customizer, view our dedicated [spo tenant applicationcustomizer remove](../tenant/tenant-applicationcustomizer-remove.mdx) command.
|
|
84
|
+
|
|
79
85
|
## Response
|
|
80
86
|
|
|
81
87
|
The command won't return a response on success.
|
|
@@ -53,15 +53,17 @@ When using the `--clientSideComponentProperties` option it's possible to enter a
|
|
|
53
53
|
|
|
54
54
|
:::
|
|
55
55
|
|
|
56
|
+
This command can be used for updating an application customizer on a specific site. To update an application customizer that's installed tenant-wide, view our dedicated [spo tenant applicationcustomizer set](../tenant/tenant-applicationcustomizer-set.mdx) command.
|
|
57
|
+
|
|
56
58
|
## Examples
|
|
57
59
|
|
|
58
|
-
Updates the title of an application customizer on the sales site
|
|
60
|
+
Updates the title of an application customizer on the sales site.
|
|
59
61
|
|
|
60
62
|
```sh
|
|
61
63
|
m365 spo applicationcustomizer set --id 058140e3-0e37-44fc-a1d3-79c487d371a3 --newTitle "Some customizer" --webUrl https://contoso.sharepoint.com/sites/sales
|
|
62
64
|
```
|
|
63
65
|
|
|
64
|
-
Updates the properties of an application customizer on the sales site
|
|
66
|
+
Updates the properties of an application customizer on the sales site.
|
|
65
67
|
|
|
66
68
|
```sh
|
|
67
69
|
m365 spo applicationcustomizer set --id 058140e3-0e37-44fc-a1d3-79c487d371a3 --clientSideComponentProperties '{ "testMessage": "Test message" }' --webUrl https://contoso.sharepoint.com/sites/sales
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# spo apppage add
|
|
4
6
|
|
|
@@ -14,16 +16,16 @@ m365 spo apppage add [options]
|
|
|
14
16
|
|
|
15
17
|
```md definition-list
|
|
16
18
|
`-u, --webUrl <webUrl>`
|
|
17
|
-
: The URL of the site where the page should be created
|
|
19
|
+
: The URL of the site where the page should be created.
|
|
18
20
|
|
|
19
21
|
`-t, --title <title>`
|
|
20
|
-
: The title of the page to be created
|
|
22
|
+
: The title of the page to be created.
|
|
21
23
|
|
|
22
24
|
`-d, --webPartData <webPartData>`
|
|
23
|
-
: JSON string of the web part to put on the page
|
|
25
|
+
: JSON string of the web part to put on the page.
|
|
24
26
|
|
|
25
27
|
`--addToQuickLaunch`
|
|
26
|
-
: Set, to add the page to the quick launch
|
|
28
|
+
: Set, to add the page to the quick launch.
|
|
27
29
|
```
|
|
28
30
|
|
|
29
31
|
<Global />
|
|
@@ -34,8 +36,55 @@ If you want to add the single-part app page to quick launch, use the addToQuickL
|
|
|
34
36
|
|
|
35
37
|
## Examples
|
|
36
38
|
|
|
37
|
-
Create a single-part app page in
|
|
39
|
+
Create a single-part app page in the specified site, webpart data is stored in the `$webPartData` variable
|
|
38
40
|
|
|
39
41
|
```sh
|
|
40
42
|
m365 spo apppage add --title "Contoso" --webUrl "https://contoso.sharepoint.com" --webPartData $webPartData --addToQuickLaunch
|
|
41
43
|
```
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
## Response
|
|
47
|
+
|
|
48
|
+
<Tabs>
|
|
49
|
+
<TabItem value="JSON">
|
|
50
|
+
|
|
51
|
+
```json
|
|
52
|
+
{
|
|
53
|
+
"value": "SitePages/Contoso.aspx"
|
|
54
|
+
}
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
</TabItem>
|
|
58
|
+
<TabItem value="Text">
|
|
59
|
+
|
|
60
|
+
```text
|
|
61
|
+
value: SitePages/Contoso.aspx
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
</TabItem>
|
|
65
|
+
<TabItem value="CSV">
|
|
66
|
+
|
|
67
|
+
```csv
|
|
68
|
+
value
|
|
69
|
+
SitePages/Contoso.aspx
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
</TabItem>
|
|
73
|
+
<TabItem value="Markdown">
|
|
74
|
+
|
|
75
|
+
```md
|
|
76
|
+
# spo apppage add --title "Contoso" --webUrl "https://contoso.sharepoint.com/sites/sales" --webPartData "{"id": "62ca
|
|
77
|
+
c389-787f-495d-beca-e11786162ef4", "instanceId": "9c6edb6e-199a-4a30-a3b6-73466a68187b", "title": "Full App Page Countdo
|
|
78
|
+
wn Timer", "description": "This web part is used to allow a site admin to count down/up to an important event.", "dataVe
|
|
79
|
+
rsion": "1.0", "properties": { "showButton": false, "countDate": "Mon May 13 2019 14:00:00 GMT+0100", "title": "My count
|
|
80
|
+
down", "description": "", "countDirection": "COUNT_DOWN", "dateDisplay": "DAY_HOUR_MINUTE_SECOND", "buttonText": ""}}"
|
|
81
|
+
|
|
82
|
+
Date: 10/2/2023
|
|
83
|
+
|
|
84
|
+
Property | Value
|
|
85
|
+
---------|-------
|
|
86
|
+
value | SitePages/Contoso.aspx
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
</TabItem>
|
|
90
|
+
</Tabs>
|
|
@@ -14,21 +14,25 @@ m365 spo apppage set [options]
|
|
|
14
14
|
|
|
15
15
|
```md definition-list
|
|
16
16
|
`-u, --webUrl <webUrl>`
|
|
17
|
-
: The URL of the site where the page to update is located
|
|
17
|
+
: The URL of the site where the page to update is located.
|
|
18
18
|
|
|
19
19
|
`-n, --name <name>`
|
|
20
|
-
: The name of the page to be updated, eg. page.aspx
|
|
20
|
+
: The name of the page to be updated, eg. page.aspx.
|
|
21
21
|
|
|
22
22
|
`-d, --webPartData <webPartData>`
|
|
23
|
-
: JSON string of the web part to update on the page
|
|
23
|
+
: JSON string of the web part to update on the page.
|
|
24
24
|
```
|
|
25
25
|
|
|
26
26
|
<Global />
|
|
27
27
|
|
|
28
28
|
## Examples
|
|
29
29
|
|
|
30
|
-
Updates the single-part app page located in a site
|
|
30
|
+
Updates the single-part app page located in a specified site. Web part data is stored in the `$webPartData` variable.
|
|
31
31
|
|
|
32
32
|
```sh
|
|
33
33
|
m365 spo apppage set --webUrl "https://contoso.sharepoint.com" --name "Contoso.aspx" --webPartData $webPartData
|
|
34
34
|
```
|
|
35
|
+
|
|
36
|
+
## Response
|
|
37
|
+
|
|
38
|
+
The command won't return a response on success.
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# spo cdn get
|
|
4
6
|
|
|
@@ -14,7 +16,7 @@ m365 spo cdn get [options]
|
|
|
14
16
|
|
|
15
17
|
```md definition-list
|
|
16
18
|
`-t, --type [type]`
|
|
17
|
-
: Type of CDN to manage. Allowed values `Public`, `Private`. Default `Public`.
|
|
19
|
+
: Type of CDN to manage. Allowed values are: `Public`, `Private`. Default `Public`.
|
|
18
20
|
```
|
|
19
21
|
|
|
20
22
|
<Global />
|
|
@@ -43,6 +45,39 @@ Show if the Private CDN is currently enabled or not.
|
|
|
43
45
|
m365 spo cdn get --type Private
|
|
44
46
|
```
|
|
45
47
|
|
|
48
|
+
## Response
|
|
49
|
+
|
|
50
|
+
<Tabs>
|
|
51
|
+
<TabItem value="JSON">
|
|
52
|
+
|
|
53
|
+
```json
|
|
54
|
+
true
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
</TabItem>
|
|
58
|
+
<TabItem value="Text">
|
|
59
|
+
|
|
60
|
+
```text
|
|
61
|
+
true
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
</TabItem>
|
|
65
|
+
<TabItem value="CSV">
|
|
66
|
+
|
|
67
|
+
```csv
|
|
68
|
+
true
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
</TabItem>
|
|
72
|
+
<TabItem value="Markdown">
|
|
73
|
+
|
|
74
|
+
```md
|
|
75
|
+
true
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
</TabItem>
|
|
79
|
+
</Tabs>
|
|
80
|
+
|
|
46
81
|
## More information
|
|
47
82
|
|
|
48
83
|
- Use Microsoft 365 CDN with SharePoint Online: [https://learn.microsoft.com/microsoft-365/enterprise/use-microsoft-365-cdn-with-spo?view=o365-worldwide](https://learn.microsoft.com/microsoft-365/enterprise/use-microsoft-365-cdn-with-spo?view=o365-worldwide)
|
|
@@ -14,10 +14,10 @@ m365 spo cdn origin add [options]
|
|
|
14
14
|
|
|
15
15
|
```md definition-list
|
|
16
16
|
`-t, --type [type]`
|
|
17
|
-
: Type of CDN to manage. `Public
|
|
17
|
+
: Type of CDN to manage. Allowed values are: `Public`, `Private`. Default `Public`.
|
|
18
18
|
|
|
19
19
|
`-r, --origin <origin>`
|
|
20
|
-
: Origin to add to the current CDN configuration
|
|
20
|
+
: Origin to add to the current CDN configuration.
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
<Global />
|
|
@@ -34,12 +34,16 @@ To use this command you have to have permissions to access the tenant admin site
|
|
|
34
34
|
|
|
35
35
|
## Examples
|
|
36
36
|
|
|
37
|
-
Add _*/CDN_ to the list of origins of the Public CDN
|
|
37
|
+
Add _*/CDN_ to the list of origins of the Public CDN.
|
|
38
38
|
|
|
39
39
|
```sh
|
|
40
40
|
m365 spo cdn origin add --type Public --origin */CDN
|
|
41
41
|
```
|
|
42
42
|
|
|
43
|
+
## Response
|
|
44
|
+
|
|
45
|
+
The command won't return a response on success.
|
|
46
|
+
|
|
43
47
|
## More information
|
|
44
48
|
|
|
45
49
|
- Use Microsoft 365 CDN with SharePoint Online: [https://learn.microsoft.com/microsoft-365/enterprise/use-microsoft-365-cdn-with-spo?view=o365-worldwide](https://learn.microsoft.com/microsoft-365/enterprise/use-microsoft-365-cdn-with-spo?view=o365-worldwide)
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# spo cdn origin list
|
|
4
6
|
|
|
@@ -14,7 +16,7 @@ m365 spo cdn origin list [options]
|
|
|
14
16
|
|
|
15
17
|
```md definition-list
|
|
16
18
|
`-t, --type [type]`
|
|
17
|
-
: Type of CDN to manage. `Public
|
|
19
|
+
: Type of CDN to manage. Allowed values are: `Public`, `Private`. Default `Public`.
|
|
18
20
|
```
|
|
19
21
|
|
|
20
22
|
<Global />
|
|
@@ -31,18 +33,61 @@ To use this command you have to have permissions to access the tenant admin site
|
|
|
31
33
|
|
|
32
34
|
## Examples
|
|
33
35
|
|
|
34
|
-
Show the list of origins configured for the Public CDN
|
|
36
|
+
Show the list of origins configured for the Public CDN.
|
|
35
37
|
|
|
36
38
|
```sh
|
|
37
39
|
m365 spo cdn origin list
|
|
38
40
|
```
|
|
39
41
|
|
|
40
|
-
Show the list of origins configured for the Private CDN
|
|
42
|
+
Show the list of origins configured for the Private CDN.
|
|
41
43
|
|
|
42
44
|
```sh
|
|
43
45
|
m365 spo cdn origin list --type Private
|
|
44
46
|
```
|
|
45
47
|
|
|
48
|
+
## Response
|
|
49
|
+
|
|
50
|
+
<Tabs>
|
|
51
|
+
<TabItem value="JSON">
|
|
52
|
+
|
|
53
|
+
```json
|
|
54
|
+
[
|
|
55
|
+
"*/MASTERPAGE",
|
|
56
|
+
"*/STYLE LIBRARY",
|
|
57
|
+
"*/CLIENTSIDEASSETS"
|
|
58
|
+
]
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
</TabItem>
|
|
62
|
+
<TabItem value="Text">
|
|
63
|
+
|
|
64
|
+
```text
|
|
65
|
+
*/MASTERPAGE
|
|
66
|
+
*/STYLE LIBRARY
|
|
67
|
+
*/CLIENTSIDEASSETS
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
</TabItem>
|
|
71
|
+
<TabItem value="CSV">
|
|
72
|
+
|
|
73
|
+
```csv
|
|
74
|
+
*/MASTERPAGE
|
|
75
|
+
*/STYLE LIBRARY
|
|
76
|
+
*/CLIENTSIDEASSETS
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
</TabItem>
|
|
80
|
+
<TabItem value="Markdown">
|
|
81
|
+
|
|
82
|
+
```md
|
|
83
|
+
*/MASTERPAGE
|
|
84
|
+
*/STYLE LIBRARY
|
|
85
|
+
*/CLIENTSIDEASSETS
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
</TabItem>
|
|
89
|
+
</Tabs>
|
|
90
|
+
|
|
46
91
|
## More information
|
|
47
92
|
|
|
48
93
|
- Use Microsoft 365 CDN with SharePoint Online: [https://learn.microsoft.com/microsoft-365/enterprise/use-microsoft-365-cdn-with-spo?view=o365-worldwide](https://learn.microsoft.com/microsoft-365/enterprise/use-microsoft-365-cdn-with-spo?view=o365-worldwide)
|
|
@@ -14,13 +14,13 @@ m365 spo cdn origin remove [options]
|
|
|
14
14
|
|
|
15
15
|
```md definition-list
|
|
16
16
|
`-t, --type [type]`
|
|
17
|
-
: Type of CDN to manage. `Public
|
|
17
|
+
: Type of CDN to manage. Allowed values are: `Public`, `Private`. Default `Public`.
|
|
18
18
|
|
|
19
19
|
`-r, --origin <origin>`
|
|
20
|
-
: Origin to remove from the current CDN configuration
|
|
20
|
+
: Origin to remove from the current CDN configuration.
|
|
21
21
|
|
|
22
22
|
`-f, --force`
|
|
23
|
-
: Don't prompt for confirming removal of a tenant property
|
|
23
|
+
: Don't prompt for confirming removal of a tenant property.
|
|
24
24
|
```
|
|
25
25
|
|
|
26
26
|
<Global />
|
|
@@ -37,12 +37,16 @@ To use this command you have to have permissions to access the tenant admin site
|
|
|
37
37
|
|
|
38
38
|
## Examples
|
|
39
39
|
|
|
40
|
-
Remove _*/CDN_ from the list of origins of the Public CDN
|
|
40
|
+
Remove _*/CDN_ from the list of origins of the Public CDN.
|
|
41
41
|
|
|
42
42
|
```sh
|
|
43
43
|
m365 spo cdn origin remove --type Public --origin */CDN
|
|
44
44
|
```
|
|
45
45
|
|
|
46
|
+
## Response
|
|
47
|
+
|
|
48
|
+
The command won't return a response on success.
|
|
49
|
+
|
|
46
50
|
## More information
|
|
47
51
|
|
|
48
52
|
- Use Microsoft 365 CDN with SharePoint Online: [https://learn.microsoft.com/microsoft-365/enterprise/use-microsoft-365-cdn-with-spo?view=o365-worldwide](https://learn.microsoft.com/microsoft-365/enterprise/use-microsoft-365-cdn-with-spo?view=o365-worldwide)
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# spo cdn policy list
|
|
4
6
|
|
|
@@ -14,7 +16,7 @@ m365 spo cdn policy list [options]
|
|
|
14
16
|
|
|
15
17
|
```md definition-list
|
|
16
18
|
`-t, --cdnType [cdnType]`
|
|
17
|
-
: Type of CDN to manage. `Public
|
|
19
|
+
: Type of CDN to manage. Allowed values are: `Public`, `Private`. Default `Public`.
|
|
18
20
|
```
|
|
19
21
|
|
|
20
22
|
<Global />
|
|
@@ -31,18 +33,66 @@ To use this command you have to have permissions to access the tenant admin site
|
|
|
31
33
|
|
|
32
34
|
## Examples
|
|
33
35
|
|
|
34
|
-
Show the list of policies configured for the Public CDN
|
|
36
|
+
Show the list of policies configured for the Public CDN.
|
|
35
37
|
|
|
36
38
|
```sh
|
|
37
39
|
m365 spo cdn policy list
|
|
38
40
|
```
|
|
39
41
|
|
|
40
|
-
Show the list of policies configured for the Private CDN
|
|
42
|
+
Show the list of policies configured for the Private CDN.
|
|
41
43
|
|
|
42
44
|
```sh
|
|
43
45
|
m365 spo cdn policy list --cdnType Private
|
|
44
46
|
```
|
|
45
47
|
|
|
48
|
+
## Response
|
|
49
|
+
|
|
50
|
+
<Tabs>
|
|
51
|
+
<TabItem value="JSON">
|
|
52
|
+
|
|
53
|
+
```json
|
|
54
|
+
[
|
|
55
|
+
{
|
|
56
|
+
"Policy": "IncludeFileExtensions",
|
|
57
|
+
"Value": "CSS,EOT,GIF,ICO,JPEG,JPG,JS,MAP,PNG,SVG,TTF,WOFF,JSON"
|
|
58
|
+
}
|
|
59
|
+
]
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
</TabItem>
|
|
63
|
+
<TabItem value="Text">
|
|
64
|
+
|
|
65
|
+
```text
|
|
66
|
+
Policy Value
|
|
67
|
+
------------------------------------ -----------------------------------------------------
|
|
68
|
+
IncludeFileExtensions CSS,EOT,GIF,ICO,JPEG,JPG,JS,MAP,PNG,SVG,TTF,WOFF,JSON
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
</TabItem>
|
|
72
|
+
<TabItem value="CSV">
|
|
73
|
+
|
|
74
|
+
```csv
|
|
75
|
+
Policy,Value
|
|
76
|
+
IncludeFileExtensions,"CSS,EOT,GIF,ICO,JPEG,JPG,JS,MAP,PNG,SVG,TTF,WOFF,JSON"
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
</TabItem>
|
|
80
|
+
<TabItem value="Markdown">
|
|
81
|
+
|
|
82
|
+
```md
|
|
83
|
+
# spo cdn policy list
|
|
84
|
+
|
|
85
|
+
Date: 10/2/2023
|
|
86
|
+
|
|
87
|
+
Property | Value
|
|
88
|
+
---------|-------
|
|
89
|
+
Policy | IncludeFileExtensions
|
|
90
|
+
Value | CSS,EOT,GIF,ICO,JPEG,JPG,JS,MAP,PNG,SVG,TTF,WOFF,JSON
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
</TabItem>
|
|
94
|
+
</Tabs>
|
|
95
|
+
|
|
46
96
|
## More information
|
|
47
97
|
|
|
48
98
|
- Use Microsoft 365 CDN with SharePoint Online: [https://learn.microsoft.com/microsoft-365/enterprise/use-microsoft-365-cdn-with-spo?view=o365-worldwide](https://learn.microsoft.com/microsoft-365/enterprise/use-microsoft-365-cdn-with-spo?view=o365-worldwide)
|