@pnp/cli-microsoft365 11.10.0-beta.6b0583b → 11.10.0-beta.fdeb2ae
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/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/m365/planner/commands/roster/roster-add.js +5 -0
- package/dist/m365/planner/commands/roster/roster-get.js +8 -18
- package/dist/m365/planner/commands/roster/roster-member-add.js +29 -45
- package/dist/m365/planner/commands/roster/roster-member-get.js +28 -44
- package/dist/m365/planner/commands/roster/roster-member-list.js +8 -18
- package/dist/m365/planner/commands/roster/roster-member-remove.js +30 -48
- package/dist/m365/planner/commands/roster/roster-plan-list.js +28 -46
- package/dist/m365/planner/commands/roster/roster-remove.js +9 -27
- package/dist/m365/planner/commands/task/task-add.js +97 -111
- package/dist/m365/planner/commands/task/task-checklistitem-add.js +10 -23
- package/dist/m365/planner/commands/task/task-checklistitem-list.js +16 -26
- package/dist/m365/planner/commands/task/task-checklistitem-remove.js +10 -23
- package/dist/m365/planner/commands/task/task-get.js +46 -69
- package/dist/m365/planner/commands/task/task-list.js +33 -69
- package/dist/m365/planner/commands/task/task-reference-add.js +15 -35
- package/dist/m365/planner/commands/task/task-reference-list.js +8 -18
- package/dist/m365/planner/commands/task/task-reference-remove.js +26 -36
- package/dist/m365/planner/commands/task/task-remove.js +47 -71
- package/dist/m365/planner/commands/task/task-set.js +92 -113
- package/dist/m365/pp/commands/website/Webrole.js +2 -0
- package/dist/m365/pp/commands/website/website-remove.js +80 -0
- package/dist/m365/pp/commands/website/website-webrole-list.js +61 -0
- package/dist/m365/pp/commands.js +3 -1
- package/dist/m365/purview/commands/auditlog/auditlog-list.js +36 -60
- package/dist/m365/purview/commands/retentionevent/retentionevent-add.js +34 -53
- package/dist/m365/purview/commands/retentionevent/retentionevent-get.js +10 -23
- package/dist/m365/purview/commands/retentionevent/retentionevent-remove.js +11 -32
- package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-add.js +9 -24
- package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-get.js +10 -23
- package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-remove.js +11 -32
- package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-set.js +21 -35
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-add.js +40 -82
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-get.js +10 -23
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-remove.js +11 -32
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-set.js +35 -78
- package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-get.js +19 -44
- package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-list.js +16 -39
- package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-policysettings-list.js +16 -39
- package/dist/m365/purview/commands/threatassessment/threatassessment-add.js +44 -67
- package/dist/m365/purview/commands/threatassessment/threatassessment-get.js +11 -33
- package/dist/m365/purview/commands/threatassessment/threatassessment-list.js +10 -33
- package/dist/utils/powerPlatform.js +20 -0
- package/docs/docs/cmd/pp/website/website-remove.mdx +89 -0
- package/docs/docs/cmd/pp/website/website-webrole-list.mdx +139 -0
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-add.mdx +21 -0
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-get.mdx +19 -0
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-list.mdx +19 -0
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-remove.mdx +21 -0
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-set.mdx +21 -0
- package/docs/docs/cmd/spo/cdn/cdn-get.mdx +19 -0
- package/docs/docs/cmd/spo/cdn/cdn-origin-add.mdx +21 -0
- package/docs/docs/cmd/spo/cdn/cdn-origin-list.mdx +19 -0
- package/docs/docs/cmd/spo/cdn/cdn-origin-remove.mdx +21 -0
- package/docs/docs/cmd/spo/cdn/cdn-policy-list.mdx +19 -0
- package/docs/docs/cmd/spo/cdn/cdn-policy-set.mdx +21 -0
- package/docs/docs/cmd/spo/cdn/cdn-set.mdx +21 -0
- package/docs/docs/cmd/spo/contenttype/contenttype-add.mdx +19 -0
- package/docs/docs/cmd/spo/contenttype/contenttype-get.mdx +19 -0
- package/docs/docs/cmd/spo/contenttype/contenttype-list.mdx +19 -0
- package/docs/docs/cmd/spo/contenttype/contenttype-remove.mdx +21 -0
- package/docs/docs/cmd/spo/contenttype/contenttype-set.mdx +21 -0
- package/docs/docs/cmd/spo/contenttype/contenttype-sync.mdx +19 -0
- package/docs/docs/cmd/spo/field/field-add.mdx +19 -0
- package/docs/docs/cmd/spo/field/field-get.mdx +19 -0
- package/docs/docs/cmd/spo/field/field-list.mdx +19 -0
- package/docs/docs/cmd/spo/field/field-remove.mdx +21 -0
- package/docs/docs/cmd/spo/field/field-set.mdx +21 -0
- package/package.json +1 -1
|
@@ -63,6 +63,26 @@ export const powerPlatform = {
|
|
|
63
63
|
}
|
|
64
64
|
return items[0];
|
|
65
65
|
},
|
|
66
|
+
/**
|
|
67
|
+
* Get a website record ID by unique name
|
|
68
|
+
* Returns the powerpagesiteid of the website
|
|
69
|
+
* @param dynamicsApiUrl The dynamics api url of the environment
|
|
70
|
+
* @param websiteUniqueName The unique name of the Power Pages website
|
|
71
|
+
*/
|
|
72
|
+
async getWebsiteIdByUniqueName(dynamicsApiUrl, websiteUniqueName) {
|
|
73
|
+
const requestOptions = {
|
|
74
|
+
url: `${dynamicsApiUrl}/api/data/v9.2/powerpagesites?$filter=name eq '${websiteUniqueName}'`,
|
|
75
|
+
headers: {
|
|
76
|
+
accept: 'application/json;odata.metadata=none'
|
|
77
|
+
},
|
|
78
|
+
responseType: 'json'
|
|
79
|
+
};
|
|
80
|
+
const result = await request.get(requestOptions);
|
|
81
|
+
if (result.value.length === 0) {
|
|
82
|
+
throw Error(`The specified website '${websiteUniqueName}' does not exist.`);
|
|
83
|
+
}
|
|
84
|
+
return result.value[0].powerpagesiteid;
|
|
85
|
+
},
|
|
66
86
|
/**
|
|
67
87
|
* Get a card by name
|
|
68
88
|
* Returns a card object
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import Global from '../../_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# pp website remove
|
|
6
|
+
|
|
7
|
+
Removes the specified Power Pages website from the list of active sites.
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 pp website remove [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`-u, --url [url]`
|
|
19
|
+
: The URL of the website to remove. Specify either `url`, `name` or `id`.
|
|
20
|
+
|
|
21
|
+
`-n, --name [name]`
|
|
22
|
+
: The name of the website to remove. Specify either `url`, `name` or `id`.
|
|
23
|
+
|
|
24
|
+
`-i, --id [id]`
|
|
25
|
+
: The WebSite Id (GUID) of the website to remove. Specify either `url`, `name` or `id`.
|
|
26
|
+
|
|
27
|
+
`-e, --environmentName <environmentName>`
|
|
28
|
+
: The name of the environment from which to remove the Power Pages website.
|
|
29
|
+
|
|
30
|
+
`-f, --force`
|
|
31
|
+
: Don't prompt for confirmation
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
<Global />
|
|
35
|
+
|
|
36
|
+
## Permissions
|
|
37
|
+
|
|
38
|
+
<Tabs>
|
|
39
|
+
<TabItem value="Delegated">
|
|
40
|
+
|
|
41
|
+
| Resource | Permissions |
|
|
42
|
+
|--------------------|---------------------------|
|
|
43
|
+
| Power Platform API | PowerPages.Websites.Write |
|
|
44
|
+
|
|
45
|
+
</TabItem>
|
|
46
|
+
</Tabs>
|
|
47
|
+
|
|
48
|
+
## Examples
|
|
49
|
+
|
|
50
|
+
Remove Power Pages website by name.
|
|
51
|
+
|
|
52
|
+
```sh
|
|
53
|
+
m365 pp website remove --name Demo --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
Remove Power Pages website by name without confirmation.
|
|
57
|
+
|
|
58
|
+
```sh
|
|
59
|
+
m365 pp website remove --name Demo --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --force
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
Remove Power Pages website by id.
|
|
63
|
+
|
|
64
|
+
```sh
|
|
65
|
+
m365 pp website remove --id 4916bb2c-91e1-4716-91d5-b6171928fac9 --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
Remove Power Pages website by id without confirmation.
|
|
69
|
+
|
|
70
|
+
```sh
|
|
71
|
+
m365 pp website remove --id 4916bb2c-91e1-4716-91d5-b6171928fac9 --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --force
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
Remove Power Pages website by url.
|
|
75
|
+
|
|
76
|
+
```sh
|
|
77
|
+
m365 pp website remove --url https://site-0uaq9.powerappsportals.com --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
Remove Power Pages website by url without confirmation.
|
|
81
|
+
|
|
82
|
+
```sh
|
|
83
|
+
m365 pp website remove --url https://site-0uaq9.powerappsportals.com --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --force
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
## Response
|
|
87
|
+
|
|
88
|
+
The command won't return a response on success.
|
|
89
|
+
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import Global from '../../_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# pp website webrole list
|
|
6
|
+
|
|
7
|
+
Lists all webroles for the specified Power Pages website.
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 pp website webrole list [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`--websiteId [websiteId]`
|
|
19
|
+
: ID of the Power Pages website. Specify either `websiteId` or `websiteName` but not both.
|
|
20
|
+
|
|
21
|
+
`--websiteName [websiteName]`
|
|
22
|
+
: The unique name (not the display name) of the Power Pages website. Specify either `websiteId` or `websiteName` but not both.
|
|
23
|
+
|
|
24
|
+
`-e, --environmentName <environmentName>`
|
|
25
|
+
: The name of the environment where the Power Pages websites are located.
|
|
26
|
+
|
|
27
|
+
`--asAdmin`
|
|
28
|
+
: Run the command as admin and retrieve Power Pages websites for environments you do not have explicitly assigned permissions to.
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
<Global />
|
|
32
|
+
|
|
33
|
+
## Permissions
|
|
34
|
+
|
|
35
|
+
<Tabs>
|
|
36
|
+
<TabItem value="Delegated">
|
|
37
|
+
|
|
38
|
+
| Resource | Permissions |
|
|
39
|
+
|--------------------|--------------------------|
|
|
40
|
+
| Power Platform API | PowerPages.Websites.Read |
|
|
41
|
+
| Dynamics CRM | user_impersonation |
|
|
42
|
+
|
|
43
|
+
</TabItem>
|
|
44
|
+
</Tabs>
|
|
45
|
+
|
|
46
|
+
## Examples
|
|
47
|
+
|
|
48
|
+
List all webroles for the site by name.
|
|
49
|
+
|
|
50
|
+
```sh
|
|
51
|
+
m365 pp website webrole list --websiteName "Contoso" --environmentName "Default-2ca3eaa5-140f-4175-8261-3272edf9f339"
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
List all webroles for the site by name as admin.
|
|
55
|
+
|
|
56
|
+
```sh
|
|
57
|
+
m365 pp website webrole list --websiteName "Contoso" --environmentName "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --asAdmin
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
List all webroles for the site by id.
|
|
61
|
+
|
|
62
|
+
```sh
|
|
63
|
+
m365 pp website webrole list --websiteId "2ca3eaa5-140f-4175-8261-3272edf9f339" --environmentName "Default-2ca3eaa5-140f-4175-8261-3272edf9f339"
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
List all webroles for the site by id as admin.
|
|
67
|
+
|
|
68
|
+
```sh
|
|
69
|
+
m365 pp website webrole list --websiteId "2ca3eaa5-140f-4175-8261-3272edf9f339" --environmentName "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --asAdmin
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
## Response
|
|
73
|
+
|
|
74
|
+
<Tabs>
|
|
75
|
+
<TabItem value="JSON">
|
|
76
|
+
|
|
77
|
+
```json
|
|
78
|
+
[
|
|
79
|
+
{
|
|
80
|
+
"mspp_webroleid": "a242a363-6077-4cb7-b2d1-1714502d129a",
|
|
81
|
+
"mspp_name": "Anonymous Users",
|
|
82
|
+
"mspp_description": "Role for anonymous users",
|
|
83
|
+
"mspp_key": null,
|
|
84
|
+
"mspp_authenticatedusersrole": false,
|
|
85
|
+
"mspp_anonymoususersrole": true,
|
|
86
|
+
"mspp_createdon": "2026-01-21T22:10:56Z",
|
|
87
|
+
"mspp_modifiedon": "2026-01-21T22:10:56Z",
|
|
88
|
+
"statecode": 0,
|
|
89
|
+
"statuscode": 1,
|
|
90
|
+
"_mspp_websiteid_value": "5eb107a6-5ac2-4e1c-a3b9-d5c21bbc10ce",
|
|
91
|
+
"_mspp_createdby_value": "b7aa2026-a8c1-f011-bbd2-000d3a66196e",
|
|
92
|
+
"_mspp_modifiedby_value": "b7aa2026-a8c1-f011-bbd2-000d3a66196e"
|
|
93
|
+
}
|
|
94
|
+
]
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
</TabItem>
|
|
98
|
+
<TabItem value="Text">
|
|
99
|
+
|
|
100
|
+
```text
|
|
101
|
+
mspp_webroleid mspp_name statuscode
|
|
102
|
+
------------------------------------ --------------- ----------
|
|
103
|
+
a242a363-6077-4cb7-b2d1-1714502d129a Anonymous Users 1
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
</TabItem>
|
|
107
|
+
<TabItem value="CSV">
|
|
108
|
+
|
|
109
|
+
```csv
|
|
110
|
+
mspp_modifiedon,mspp_key,mspp_description,mspp_authenticatedusersrole,statecode,_mspp_createdby_value,statuscode,mspp_anonymoususersrole,mspp_webroleid,mspp_createdon,_mspp_modifiedby_value,mspp_name,_mspp_websiteid_value
|
|
111
|
+
2026-01-21T22:10:56Z,,Role for anonymous users,0,0,b7aa2026-a8c1-f011-bbd2-000d3a66196e,1,1,a242a363-6077-4cb7-b2d1-1714502d129a,2026-01-21T22:10:56Z,b7aa2026-a8c1-f011-bbd2-000d3a66196e,Anonymous Users,5eb107a6-5ac2-4e1c-a3b9-d5c21bbc10ce
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
</TabItem>
|
|
115
|
+
<TabItem value="Markdown">
|
|
116
|
+
|
|
117
|
+
```md
|
|
118
|
+
# pp website webrole list --websiteName "Contoso" --environmentName "Default-2ca3eaa5-140f-4175-8261-3272edf9f339"
|
|
119
|
+
|
|
120
|
+
Date: 2/8/2026
|
|
121
|
+
|
|
122
|
+
Property | Value
|
|
123
|
+
---------|-------
|
|
124
|
+
mspp\_modifiedon | 2026-01-21T22:10:53Z
|
|
125
|
+
mspp\_description | Role for anonymous users
|
|
126
|
+
mspp\_authenticatedusersrole | true
|
|
127
|
+
statecode | 0
|
|
128
|
+
\_mspp\_createdby\_value | b7aa2026-a8c1-f011-bbd2-000d3a66196e
|
|
129
|
+
statuscode | 1
|
|
130
|
+
mspp\_anonymoususersrole | false
|
|
131
|
+
mspp\_webroleid | cc3bf86b-204c-4a97-b0b6-f788c62ae5e8
|
|
132
|
+
mspp\_createdon | 2026-01-21T22:10:53Z
|
|
133
|
+
\_mspp\_modifiedby\_value | b7aa2026-a8c1-f011-bbd2-000d3a66196e
|
|
134
|
+
mspp\_name | Authenticated Users
|
|
135
|
+
\_mspp\_websiteid\_value | 5eb107a6-5ac2-4e1c-a3b9-d5c21bbc10ce
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
</TabItem>
|
|
139
|
+
</Tabs>
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '../../_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# spo applicationcustomizer add
|
|
4
6
|
|
|
@@ -37,6 +39,25 @@ m365 spo applicationcustomizer add [options]
|
|
|
37
39
|
|
|
38
40
|
<Global />
|
|
39
41
|
|
|
42
|
+
## Permissions
|
|
43
|
+
|
|
44
|
+
<Tabs>
|
|
45
|
+
<TabItem value="Delegated">
|
|
46
|
+
|
|
47
|
+
| Resource | Permissions |
|
|
48
|
+
|------------|----------------------|
|
|
49
|
+
| SharePoint | AllSites.FullControl |
|
|
50
|
+
|
|
51
|
+
</TabItem>
|
|
52
|
+
<TabItem value="Application">
|
|
53
|
+
|
|
54
|
+
| Resource | Permissions |
|
|
55
|
+
|------------|-----------------------|
|
|
56
|
+
| SharePoint | Sites.FullControl.All |
|
|
57
|
+
|
|
58
|
+
</TabItem>
|
|
59
|
+
</Tabs>
|
|
60
|
+
|
|
40
61
|
## Remarks
|
|
41
62
|
|
|
42
63
|
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 an Application Customizer can be created from the Windows cmd.exe:
|
|
@@ -36,6 +36,25 @@ m365 spo applicationcustomizer get [options]
|
|
|
36
36
|
|
|
37
37
|
<Global />
|
|
38
38
|
|
|
39
|
+
## Permissions
|
|
40
|
+
|
|
41
|
+
<Tabs>
|
|
42
|
+
<TabItem value="Delegated">
|
|
43
|
+
|
|
44
|
+
| Resource | Permissions |
|
|
45
|
+
|------------|---------------|
|
|
46
|
+
| SharePoint | AllSites.Read |
|
|
47
|
+
|
|
48
|
+
</TabItem>
|
|
49
|
+
<TabItem value="Application">
|
|
50
|
+
|
|
51
|
+
| Resource | Permissions |
|
|
52
|
+
|------------|----------------|
|
|
53
|
+
| SharePoint | Sites.Read.All |
|
|
54
|
+
|
|
55
|
+
</TabItem>
|
|
56
|
+
</Tabs>
|
|
57
|
+
|
|
39
58
|
## Remarks
|
|
40
59
|
|
|
41
60
|
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.
|
|
@@ -24,6 +24,25 @@ m365 spo applicationcustomizer list [options]
|
|
|
24
24
|
|
|
25
25
|
<Global />
|
|
26
26
|
|
|
27
|
+
## Permissions
|
|
28
|
+
|
|
29
|
+
<Tabs>
|
|
30
|
+
<TabItem value="Delegated">
|
|
31
|
+
|
|
32
|
+
| Resource | Permissions |
|
|
33
|
+
|------------|---------------|
|
|
34
|
+
| SharePoint | AllSites.Read |
|
|
35
|
+
|
|
36
|
+
</TabItem>
|
|
37
|
+
<TabItem value="Application">
|
|
38
|
+
|
|
39
|
+
| Resource | Permissions |
|
|
40
|
+
|------------|----------------|
|
|
41
|
+
| SharePoint | Sites.Read.All |
|
|
42
|
+
|
|
43
|
+
</TabItem>
|
|
44
|
+
</Tabs>
|
|
45
|
+
|
|
27
46
|
## Remarks
|
|
28
47
|
|
|
29
48
|
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.
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '../../_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# spo applicationcustomizer remove
|
|
4
6
|
|
|
@@ -34,6 +36,25 @@ m365 spo applicationcustomizer remove [options]
|
|
|
34
36
|
|
|
35
37
|
<Global />
|
|
36
38
|
|
|
39
|
+
## Permissions
|
|
40
|
+
|
|
41
|
+
<Tabs>
|
|
42
|
+
<TabItem value="Delegated">
|
|
43
|
+
|
|
44
|
+
| Resource | Permissions |
|
|
45
|
+
|------------|----------------------|
|
|
46
|
+
| SharePoint | AllSites.FullControl |
|
|
47
|
+
|
|
48
|
+
</TabItem>
|
|
49
|
+
<TabItem value="Application">
|
|
50
|
+
|
|
51
|
+
| Resource | Permissions |
|
|
52
|
+
|------------|-----------------------|
|
|
53
|
+
| SharePoint | Sites.FullControl.All |
|
|
54
|
+
|
|
55
|
+
</TabItem>
|
|
56
|
+
</Tabs>
|
|
57
|
+
|
|
37
58
|
## Remarks
|
|
38
59
|
|
|
39
60
|
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.
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '../../_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# spo applicationcustomizer set
|
|
4
6
|
|
|
@@ -43,6 +45,25 @@ m365 spo applicationcustomizer set [options]
|
|
|
43
45
|
|
|
44
46
|
<Global />
|
|
45
47
|
|
|
48
|
+
## Permissions
|
|
49
|
+
|
|
50
|
+
<Tabs>
|
|
51
|
+
<TabItem value="Delegated">
|
|
52
|
+
|
|
53
|
+
| Resource | Permissions |
|
|
54
|
+
|------------|----------------------|
|
|
55
|
+
| SharePoint | AllSites.FullControl |
|
|
56
|
+
|
|
57
|
+
</TabItem>
|
|
58
|
+
<TabItem value="Application">
|
|
59
|
+
|
|
60
|
+
| Resource | Permissions |
|
|
61
|
+
|------------|-----------------------|
|
|
62
|
+
| SharePoint | Sites.FullControl.All |
|
|
63
|
+
|
|
64
|
+
</TabItem>
|
|
65
|
+
</Tabs>
|
|
66
|
+
|
|
46
67
|
## Remarks
|
|
47
68
|
|
|
48
69
|
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 `clientSideComponentProperties` and `hostProperties` options that have JSON value because the command shell treats quotes differently. For example, this is how Application Customizer can be updated from the Windows cmd.exe:
|
|
@@ -21,6 +21,25 @@ m365 spo cdn get [options]
|
|
|
21
21
|
|
|
22
22
|
<Global />
|
|
23
23
|
|
|
24
|
+
## Permissions
|
|
25
|
+
|
|
26
|
+
<Tabs>
|
|
27
|
+
<TabItem value="Delegated">
|
|
28
|
+
|
|
29
|
+
| Resource | Permissions |
|
|
30
|
+
|------------|----------------------|
|
|
31
|
+
| SharePoint | AllSites.FullControl |
|
|
32
|
+
|
|
33
|
+
</TabItem>
|
|
34
|
+
<TabItem value="Application">
|
|
35
|
+
|
|
36
|
+
| Resource | Permissions |
|
|
37
|
+
|------------|-----------------------|
|
|
38
|
+
| SharePoint | Sites.FullControl.All |
|
|
39
|
+
|
|
40
|
+
</TabItem>
|
|
41
|
+
</Tabs>
|
|
42
|
+
|
|
24
43
|
## Remarks
|
|
25
44
|
|
|
26
45
|
Using the `-t, --type` option you can choose whether you want to manage the settings of the Public (default) or Private CDN. If you don't use the option, the command will use the Public CDN.
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '../../_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# spo cdn origin add
|
|
4
6
|
|
|
@@ -22,6 +24,25 @@ m365 spo cdn origin add [options]
|
|
|
22
24
|
|
|
23
25
|
<Global />
|
|
24
26
|
|
|
27
|
+
## Permissions
|
|
28
|
+
|
|
29
|
+
<Tabs>
|
|
30
|
+
<TabItem value="Delegated">
|
|
31
|
+
|
|
32
|
+
| Resource | Permissions |
|
|
33
|
+
|------------|----------------------|
|
|
34
|
+
| SharePoint | AllSites.FullControl |
|
|
35
|
+
|
|
36
|
+
</TabItem>
|
|
37
|
+
<TabItem value="Application">
|
|
38
|
+
|
|
39
|
+
| Resource | Permissions |
|
|
40
|
+
|------------|-----------------------|
|
|
41
|
+
| SharePoint | Sites.FullControl.All |
|
|
42
|
+
|
|
43
|
+
</TabItem>
|
|
44
|
+
</Tabs>
|
|
45
|
+
|
|
25
46
|
## Remarks
|
|
26
47
|
|
|
27
48
|
Using the `-t, --type` option you can choose whether you want to manage the settings of the Public (default) or Private CDN. If you don't use the option, the command will use the Public CDN.
|
|
@@ -21,6 +21,25 @@ m365 spo cdn origin list [options]
|
|
|
21
21
|
|
|
22
22
|
<Global />
|
|
23
23
|
|
|
24
|
+
## Permissions
|
|
25
|
+
|
|
26
|
+
<Tabs>
|
|
27
|
+
<TabItem value="Delegated">
|
|
28
|
+
|
|
29
|
+
| Resource | Permissions |
|
|
30
|
+
|------------|----------------------|
|
|
31
|
+
| SharePoint | AllSites.FullControl |
|
|
32
|
+
|
|
33
|
+
</TabItem>
|
|
34
|
+
<TabItem value="Application">
|
|
35
|
+
|
|
36
|
+
| Resource | Permissions |
|
|
37
|
+
|------------|-----------------------|
|
|
38
|
+
| SharePoint | Sites.FullControl.All |
|
|
39
|
+
|
|
40
|
+
</TabItem>
|
|
41
|
+
</Tabs>
|
|
42
|
+
|
|
24
43
|
## Remarks
|
|
25
44
|
|
|
26
45
|
Using the `-t, --type` option you can choose whether you want to manage the settings of the Public (default) or Private CDN. If you don't use the option, the command will use the Public CDN.
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '../../_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# spo cdn origin remove
|
|
4
6
|
|
|
@@ -25,6 +27,25 @@ m365 spo cdn origin remove [options]
|
|
|
25
27
|
|
|
26
28
|
<Global />
|
|
27
29
|
|
|
30
|
+
## Permissions
|
|
31
|
+
|
|
32
|
+
<Tabs>
|
|
33
|
+
<TabItem value="Delegated">
|
|
34
|
+
|
|
35
|
+
| Resource | Permissions |
|
|
36
|
+
|------------|----------------------|
|
|
37
|
+
| SharePoint | AllSites.FullControl |
|
|
38
|
+
|
|
39
|
+
</TabItem>
|
|
40
|
+
<TabItem value="Application">
|
|
41
|
+
|
|
42
|
+
| Resource | Permissions |
|
|
43
|
+
|------------|-----------------------|
|
|
44
|
+
| SharePoint | Sites.FullControl.All |
|
|
45
|
+
|
|
46
|
+
</TabItem>
|
|
47
|
+
</Tabs>
|
|
48
|
+
|
|
28
49
|
## Remarks
|
|
29
50
|
|
|
30
51
|
Using the `-t, --type` option you can choose whether you want to manage the settings of the Public (default) or Private CDN. If you don't use the option, the command will use the Public CDN.
|
|
@@ -21,6 +21,25 @@ m365 spo cdn policy list [options]
|
|
|
21
21
|
|
|
22
22
|
<Global />
|
|
23
23
|
|
|
24
|
+
## Permissions
|
|
25
|
+
|
|
26
|
+
<Tabs>
|
|
27
|
+
<TabItem value="Delegated">
|
|
28
|
+
|
|
29
|
+
| Resource | Permissions |
|
|
30
|
+
|------------|----------------------|
|
|
31
|
+
| SharePoint | AllSites.FullControl |
|
|
32
|
+
|
|
33
|
+
</TabItem>
|
|
34
|
+
<TabItem value="Application">
|
|
35
|
+
|
|
36
|
+
| Resource | Permissions |
|
|
37
|
+
|------------|-----------------------|
|
|
38
|
+
| SharePoint | Sites.FullControl.All |
|
|
39
|
+
|
|
40
|
+
</TabItem>
|
|
41
|
+
</Tabs>
|
|
42
|
+
|
|
24
43
|
## Remarks
|
|
25
44
|
|
|
26
45
|
Using the `-t, --cdnType` option you can choose whether you want to manage the settings of the Public (default) or Private CDN. If you don't use the option, the command will use the Public CDN.
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '../../_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# spo cdn policy set
|
|
4
6
|
|
|
@@ -25,6 +27,25 @@ m365 spo cdn policy set [options]
|
|
|
25
27
|
|
|
26
28
|
<Global />
|
|
27
29
|
|
|
30
|
+
## Permissions
|
|
31
|
+
|
|
32
|
+
<Tabs>
|
|
33
|
+
<TabItem value="Delegated">
|
|
34
|
+
|
|
35
|
+
| Resource | Permissions |
|
|
36
|
+
|------------|----------------------|
|
|
37
|
+
| SharePoint | AllSites.FullControl |
|
|
38
|
+
|
|
39
|
+
</TabItem>
|
|
40
|
+
<TabItem value="Application">
|
|
41
|
+
|
|
42
|
+
| Resource | Permissions |
|
|
43
|
+
|------------|-----------------------|
|
|
44
|
+
| SharePoint | Sites.FullControl.All |
|
|
45
|
+
|
|
46
|
+
</TabItem>
|
|
47
|
+
</Tabs>
|
|
48
|
+
|
|
28
49
|
## Remarks
|
|
29
50
|
|
|
30
51
|
Using the `-t, --cdnType` option you can choose whether you want to manage the settings of the Public (default) or Private CDN. If you don't use the option, the command will use the Public CDN.
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '../../_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# spo cdn set
|
|
4
6
|
|
|
@@ -25,6 +27,25 @@ m365 spo cdn set [options]
|
|
|
25
27
|
|
|
26
28
|
<Global />
|
|
27
29
|
|
|
30
|
+
## Permissions
|
|
31
|
+
|
|
32
|
+
<Tabs>
|
|
33
|
+
<TabItem value="Delegated">
|
|
34
|
+
|
|
35
|
+
| Resource | Permissions |
|
|
36
|
+
|------------|----------------------|
|
|
37
|
+
| SharePoint | AllSites.FullControl |
|
|
38
|
+
|
|
39
|
+
</TabItem>
|
|
40
|
+
<TabItem value="Application">
|
|
41
|
+
|
|
42
|
+
| Resource | Permissions |
|
|
43
|
+
|------------|-----------------------|
|
|
44
|
+
| SharePoint | Sites.FullControl.All |
|
|
45
|
+
|
|
46
|
+
</TabItem>
|
|
47
|
+
</Tabs>
|
|
48
|
+
|
|
28
49
|
## Remarks
|
|
29
50
|
|
|
30
51
|
Using the `-t, --type` option you can choose whether you want to manage the settings of the Public (default), Private CDN or both. If you don't use the option, the command will use the Public CDN.
|
|
@@ -48,6 +48,25 @@ If the specified content type already exists, you will get a _A duplicate conten
|
|
|
48
48
|
|
|
49
49
|
The ID of the content type specifies the parent content type from which this content type inherits.
|
|
50
50
|
|
|
51
|
+
## Permissions
|
|
52
|
+
|
|
53
|
+
<Tabs>
|
|
54
|
+
<TabItem value="Delegated">
|
|
55
|
+
|
|
56
|
+
| Resource | Permissions |
|
|
57
|
+
|------------|-----------------|
|
|
58
|
+
| SharePoint | AllSites.Manage |
|
|
59
|
+
|
|
60
|
+
</TabItem>
|
|
61
|
+
<TabItem value="Application">
|
|
62
|
+
|
|
63
|
+
| Resource | Permissions |
|
|
64
|
+
|------------|------------------|
|
|
65
|
+
| SharePoint | Sites.Manage.All |
|
|
66
|
+
|
|
67
|
+
</TabItem>
|
|
68
|
+
</Tabs>
|
|
69
|
+
|
|
51
70
|
## Examples
|
|
52
71
|
|
|
53
72
|
Create a site content type that inherits from the List item content type.
|
|
@@ -40,6 +40,25 @@ m365 spo contenttype get [options]
|
|
|
40
40
|
|
|
41
41
|
If no content type with the specified is found in the site or the list, you will get the _Content type with ID 0x010012 not found_ error.
|
|
42
42
|
|
|
43
|
+
## Permissions
|
|
44
|
+
|
|
45
|
+
<Tabs>
|
|
46
|
+
<TabItem value="Delegated">
|
|
47
|
+
|
|
48
|
+
| Resource | Permissions |
|
|
49
|
+
|------------|---------------|
|
|
50
|
+
| SharePoint | AllSites.Read |
|
|
51
|
+
|
|
52
|
+
</TabItem>
|
|
53
|
+
<TabItem value="Application">
|
|
54
|
+
|
|
55
|
+
| Resource | Permissions |
|
|
56
|
+
|------------|----------------|
|
|
57
|
+
| SharePoint | Sites.Read.All |
|
|
58
|
+
|
|
59
|
+
</TabItem>
|
|
60
|
+
</Tabs>
|
|
61
|
+
|
|
43
62
|
## Examples
|
|
44
63
|
|
|
45
64
|
Retrieve site content type by id.
|