@pnp/cli-microsoft365 7.8.0-beta.5f64790 → 7.8.0
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/cli/cli.js +3 -6
- package/dist/m365/entra/commands/app/app-permission-add.js +25 -6
- package/dist/m365/entra/commands/app/app-permission-list.js +17 -5
- package/dist/m365/entra/commands/group/group-add.js +12 -14
- package/dist/m365/entra/commands/group/group-user-add.js +6 -7
- package/dist/m365/entra/commands/user/user-registrationdetails-list.js +6 -7
- package/dist/m365/planner/commands/bucket/bucket-add.js +4 -7
- package/dist/m365/planner/commands/bucket/bucket-get.js +7 -30
- package/dist/m365/planner/commands/bucket/bucket-list.js +3 -6
- package/dist/m365/planner/commands/bucket/bucket-remove.js +8 -25
- package/dist/m365/planner/commands/bucket/bucket-set.js +12 -34
- package/dist/m365/planner/commands/plan/plan-add.js +17 -7
- package/dist/m365/planner/commands/plan/plan-get.js +12 -22
- package/dist/m365/planner/commands/plan/plan-list.js +1 -2
- package/dist/m365/planner/commands/plan/plan-remove.js +5 -3
- package/dist/m365/planner/commands/plan/plan-set.js +18 -10
- package/dist/m365/planner/commands/roster/roster-add.js +1 -2
- package/dist/m365/planner/commands/task/task-add.js +15 -21
- package/dist/m365/planner/commands/task/task-checklistitem-add.js +1 -1
- package/dist/m365/planner/commands/task/task-checklistitem-remove.js +1 -1
- package/dist/m365/planner/commands/task/task-get.js +5 -26
- package/dist/m365/planner/commands/task/task-list.js +11 -37
- package/dist/m365/planner/commands/task/task-reference-remove.js +1 -1
- package/dist/m365/planner/commands/task/task-remove.js +12 -29
- package/dist/m365/planner/commands/task/task-set.js +15 -21
- package/dist/m365/spfx/commands/project/project-doctor/{doctor-1.19.0-beta.0.js → doctor-1.19.0.js} +1 -1
- package/dist/m365/spfx/commands/project/project-doctor.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/{upgrade-1.19.0-beta.0.js → upgrade-1.19.0.js} +22 -22
- package/dist/m365/spfx/commands/project/project-upgrade.js +13 -15
- package/dist/m365/spfx/commands/spfx-doctor.js +1 -1
- package/dist/m365/spo/commands/listitem/listitem-batch-remove.js +222 -0
- package/dist/m365/spo/commands/navigation/navigation-node-add.js +3 -2
- package/dist/m365/spo/commands/navigation/navigation-node-set.js +3 -2
- package/dist/m365/spo/commands/site/site-recyclebinitem-move.js +5 -2
- package/dist/m365/spo/commands/site/site-recyclebinitem-remove.js +3 -2
- package/dist/m365/spo/commands/spo-set.js +6 -2
- package/dist/m365/spo/commands.js +1 -0
- package/dist/m365/teams/commands/meeting/meeting-add.js +3 -3
- package/dist/m365/teams/commands/team/team-add.js +22 -16
- package/dist/utils/planner.js +87 -8
- package/dist/utils/validation.js +8 -5
- package/docs/docs/cmd/entra/app/app-permission-add.mdx +7 -4
- package/docs/docs/cmd/entra/app/app-permission-list.mdx +14 -5
- package/docs/docs/cmd/spfx/project/project-upgrade.mdx +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-batch-remove.mdx +70 -0
- package/npm-shrinkwrap.json +168 -228
- package/package.json +17 -17
|
@@ -23,10 +23,13 @@ m365 entra appregistration permission add [options]
|
|
|
23
23
|
|
|
24
24
|
```md definition-list
|
|
25
25
|
`-i, --appId [appId]`
|
|
26
|
-
: Client ID of the Microsoft Entra app to add the API permissions to. Specify `appId` or `appObjectId
|
|
26
|
+
: Client ID of the Microsoft Entra app to add the API permissions to. Specify either `appId`, `appName` or `appObjectId`.
|
|
27
|
+
|
|
28
|
+
`-n, --appName [appName]`
|
|
29
|
+
: Display name of the Microsoft Entra app to add the API permissions to. Specify either `appId`, `appName` or `appObjectId`.
|
|
27
30
|
|
|
28
31
|
`--appObjectId [appObjectId]`
|
|
29
|
-
: Object ID of the Microsoft Entra app to add the API permissions to. Specify `appId` or `appObjectId
|
|
32
|
+
: Object ID of the Microsoft Entra app to add the API permissions to. Specify either `appId`, `appName` or `appObjectId`.
|
|
30
33
|
|
|
31
34
|
`-a, --applicationPermissions [applicationPermissions]`
|
|
32
35
|
: Space-separated list of application permissions to add. Specify at least `applicationPermissions` or `delegatedPermissions`.
|
|
@@ -58,10 +61,10 @@ Grant multiple delegated API permissions to a Microsoft Entra app specified by o
|
|
|
58
61
|
m365 entra app permission add --appObjectId 'e0306bb2-bf0b-4cc5-a845-a0b2cf11f690' --delegatedPermissions 'https://management.azure.com/user_impersonation https://service.flow.microsoft.com/Flows.Read.All https://graph.microsoft.com/Agreement.Read.All'
|
|
59
62
|
```
|
|
60
63
|
|
|
61
|
-
Grant multiple app-only permissions to a Microsoft Entra app specified by
|
|
64
|
+
Grant multiple app-only permissions to a Microsoft Entra app specified by app display name and grant admin consent.
|
|
62
65
|
|
|
63
66
|
```sh
|
|
64
|
-
m365 entra app permission add --
|
|
67
|
+
m365 entra app permission add --appName 'Contoso App' --applicationPermissions 'https://graph.microsoft.com/Sites.FullControl.All https://microsoft.sharepoint-df.com/Sites.FullControl.All' --grantAdminConsent
|
|
65
68
|
```
|
|
66
69
|
|
|
67
70
|
## Response
|
|
@@ -22,10 +22,13 @@ m365 aad app permission list [options]
|
|
|
22
22
|
|
|
23
23
|
```md definition-list
|
|
24
24
|
`-i, --appId [appId]`
|
|
25
|
-
: Client ID of the
|
|
25
|
+
: Client ID of the Entra application registration to retrieve the permissions for. Specify either `appId`, `appName` or `appObjectId`.
|
|
26
|
+
|
|
27
|
+
`-n, --appName [appName]`
|
|
28
|
+
: Display name of the Entra application registration to add the API permissions to. Specify either `appId`, `appName` or `appObjectId`.
|
|
26
29
|
|
|
27
30
|
`--appObjectId [appObjectId]`
|
|
28
|
-
: Object ID of the
|
|
31
|
+
: Object ID of the Entra application registration to retrieve the permissions for. Specify either `appId`, `appName` or `appObjectId`.
|
|
29
32
|
|
|
30
33
|
`--type [type]`
|
|
31
34
|
: The type of permissions to retrieve. Allowed values: `delegated`, `application`, `all`. Defaults to `all`.
|
|
@@ -39,16 +42,22 @@ For best performance use the `objectId` option to reference the Entra applicatio
|
|
|
39
42
|
|
|
40
43
|
## Examples
|
|
41
44
|
|
|
42
|
-
Retrieves all permissions for an Entra
|
|
45
|
+
Retrieves all permissions for an Entra application registration specified by client id.
|
|
43
46
|
|
|
44
47
|
```sh
|
|
45
48
|
m365 entra app permission list --appId 'f1417aa3-bf0b-4cc5-a845-a0b2cf11f690'
|
|
46
49
|
```
|
|
47
50
|
|
|
48
|
-
Retrieves all
|
|
51
|
+
Retrieves all permissions for an Entra application registration by specified by app display name.
|
|
52
|
+
|
|
53
|
+
```sh
|
|
54
|
+
m365 entra app permission list --appName 'Contoso App'
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
Retrieves all delegated permissions for an Entra application registration specified by object id.
|
|
49
58
|
|
|
50
59
|
```sh
|
|
51
|
-
m365 entra app permission list --
|
|
60
|
+
m365 entra app permission list --appObjectId '64381cda-d40d-4fb0-bce2-bece391546a2' --type delegated
|
|
52
61
|
```
|
|
53
62
|
|
|
54
63
|
## Response
|
|
@@ -35,7 +35,7 @@ m365 spfx project upgrade [options]
|
|
|
35
35
|
|
|
36
36
|
## Remarks
|
|
37
37
|
|
|
38
|
-
The `spfx project upgrade` command helps you upgrade your SharePoint Framework project to the specified version. If no version is specified, the command will upgrade to the latest version of the SharePoint Framework it supports (v1.19.0
|
|
38
|
+
The `spfx project upgrade` command helps you upgrade your SharePoint Framework project to the specified version. If no version is specified, the command will upgrade to the latest version of the SharePoint Framework it supports (v1.19.0).
|
|
39
39
|
|
|
40
40
|
This command doesn't change your project files. Instead, it gives you a report with all steps necessary to upgrade your project to the specified version of the SharePoint Framework. Changing project files is error-prone, especially when it comes to updating your solution's code. This is why at this moment, this command produces a report that you can use yourself to perform the necessary updates and verify that everything is working as expected.
|
|
41
41
|
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
|
|
3
|
+
# spo listitem batch remove
|
|
4
|
+
|
|
5
|
+
Removes items from a list in batch
|
|
6
|
+
|
|
7
|
+
## Usage
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
m365 spo listitem batch remove [options]
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Options
|
|
14
|
+
|
|
15
|
+
```md definition-list
|
|
16
|
+
`-u, --webUrl <webUrl>`
|
|
17
|
+
: URL of the SharePoint site.
|
|
18
|
+
|
|
19
|
+
`-l, --listId [listId]`
|
|
20
|
+
: ID of the list. Specify either `listTitle`, `listId` or `listUrl`, but not multiple.
|
|
21
|
+
|
|
22
|
+
`-t, --listTitle [listTitle]`
|
|
23
|
+
: Title of the list. Specify either `listTitle`, `listId` or `listUrl`, but not multiple.
|
|
24
|
+
|
|
25
|
+
`--listUrl [listUrl]`
|
|
26
|
+
: Server- or site-relative URL of the list. Specify either `listTitle`, `listId` or `listUrl`, but not multiple.
|
|
27
|
+
|
|
28
|
+
`-p, --filePath [filePath]`
|
|
29
|
+
: The absolute or relative path to a flat CSV file containing the list items. Specify `filePath` or `ids`, but not both.
|
|
30
|
+
|
|
31
|
+
`-i, --ids [ids]`
|
|
32
|
+
: Comma separated list of list item IDs. Specify `filePath` or `ids`, but not both.
|
|
33
|
+
|
|
34
|
+
`-r, --recycle`
|
|
35
|
+
: Recycle the list items. Otherwise, they will be permanently deleted.
|
|
36
|
+
|
|
37
|
+
`-f, --force`
|
|
38
|
+
: Don't prompt for confirmation.
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
<Global />
|
|
42
|
+
|
|
43
|
+
## Remarks
|
|
44
|
+
|
|
45
|
+
A sample CSV can be found below. The first line of the CSV-file should contain the internal column name of the ID-column.
|
|
46
|
+
|
|
47
|
+
```csv
|
|
48
|
+
ID
|
|
49
|
+
123
|
|
50
|
+
234
|
|
51
|
+
345
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
## Examples
|
|
55
|
+
|
|
56
|
+
Remove a list of IDs from a list with a csv
|
|
57
|
+
|
|
58
|
+
```sh
|
|
59
|
+
m365 spo listitem batch remove --filePath ./IDlist.csv --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle "Demo List"
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
Remove a list of IDs from a list by specifying the IDs
|
|
63
|
+
|
|
64
|
+
```sh
|
|
65
|
+
m365 spo listitem batch remove --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle "Demo List" --ids "123,234,345"
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
## Response
|
|
69
|
+
|
|
70
|
+
The command won't return a response on success.
|