@pnp/cli-microsoft365 11.7.0-beta.b9f508d → 11.7.0-beta.bd906c5
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/outlook/commands/calendargroup/calendargroup-set.js +115 -0
- package/dist/m365/outlook/commands.js +1 -0
- package/dist/m365/spfx/commands/SpfxCompatibilityMatrix.js +21 -6
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.23.0-rc.0.js +19 -0
- package/dist/m365/spfx/commands/project/project-doctor.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002021_DEVDEP_rushstack_eslint_config.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002032_DEVDEP_typescript_eslint_parser.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015008_FILE_eslintrc_js.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015016_FILE_eslint_config_js.js +10 -0
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.23.0-rc.0.js +84 -0
- package/dist/m365/spfx/commands/project/project-upgrade.js +12 -11
- package/docs/docs/cmd/entra/user/user-groupmembership-list.mdx +19 -0
- package/docs/docs/cmd/entra/user/user-guest-add.mdx +19 -0
- package/docs/docs/cmd/entra/user/user-password-validate.mdx +12 -0
- package/docs/docs/cmd/entra/user/user-recyclebinitem-clear.mdx +21 -0
- package/docs/docs/cmd/entra/user/user-recyclebinitem-list.mdx +19 -0
- package/docs/docs/cmd/entra/user/user-recyclebinitem-remove.mdx +21 -0
- package/docs/docs/cmd/entra/user/user-recyclebinitem-restore.mdx +19 -0
- package/docs/docs/cmd/entra/user/user-registrationdetails-list.mdx +19 -0
- package/docs/docs/cmd/entra/user/user-session-revoke.mdx +21 -0
- package/docs/docs/cmd/entra/user/user-signin-list.mdx +19 -0
- package/docs/docs/cmd/exo/approleassignment/approleassignment-add.mdx +19 -0
- package/docs/docs/cmd/file/convert/convert-pdf.mdx +21 -0
- package/docs/docs/cmd/file/file-add.mdx +21 -0
- package/docs/docs/cmd/file/file-copy.mdx +21 -0
- package/docs/docs/cmd/file/file-list.mdx +19 -0
- package/docs/docs/cmd/file/file-move.mdx +21 -0
- package/docs/docs/cmd/outlook/calendargroup/calendargroup-set.mdx +83 -0
- package/docs/docs/cmd/spfx/project/project-upgrade.mdx +1 -1
- package/package.json +1 -1
|
@@ -65,6 +65,25 @@ To use this command you must be at least **Privileged Role Administrator**.
|
|
|
65
65
|
|
|
66
66
|
:::
|
|
67
67
|
|
|
68
|
+
## Permissions
|
|
69
|
+
|
|
70
|
+
<Tabs>
|
|
71
|
+
<TabItem value="Delegated">
|
|
72
|
+
|
|
73
|
+
| Resource | Permissions |
|
|
74
|
+
|-----------------|------------------------------|
|
|
75
|
+
| Microsoft Graph | RoleManagement.ReadWrite.Exchange |
|
|
76
|
+
|
|
77
|
+
</TabItem>
|
|
78
|
+
<TabItem value="Application">
|
|
79
|
+
|
|
80
|
+
| Resource | Permissions |
|
|
81
|
+
|-----------------|------------------------------|
|
|
82
|
+
| Microsoft Graph | RoleManagement.ReadWrite.Exchange |
|
|
83
|
+
|
|
84
|
+
</TabItem>
|
|
85
|
+
</Tabs>
|
|
86
|
+
|
|
68
87
|
## Examples
|
|
69
88
|
|
|
70
89
|
Assign a role specified by id to a service principal specified by id and scope the assignment to the whole tenant
|
|
@@ -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
|
# file convert pdf
|
|
4
6
|
|
|
@@ -30,6 +32,25 @@ If you choose to store the converted file in a document library, CLI will store
|
|
|
30
32
|
|
|
31
33
|
If the conversion process fails, CLI will attempt to clean up the temporary files (the source file uploaded to your tenant, if you're converting a local file to PDF, and the converted PDF file on your disk if you chose to upload the converted file to your tenant). If removing the temporary files fails, you will need to clean them up yourself. CLI will list the URL and/or path of the files to remove.
|
|
32
34
|
|
|
35
|
+
## Permissions
|
|
36
|
+
|
|
37
|
+
<Tabs>
|
|
38
|
+
<TabItem value="Delegated">
|
|
39
|
+
|
|
40
|
+
| Resource | Permissions |
|
|
41
|
+
|-----------------|---------------------------------|
|
|
42
|
+
| Microsoft Graph | Files.ReadWrite, Sites.Read.All |
|
|
43
|
+
|
|
44
|
+
</TabItem>
|
|
45
|
+
<TabItem value="Application">
|
|
46
|
+
|
|
47
|
+
| Resource | Permissions |
|
|
48
|
+
|-----------------|-------------------------------------|
|
|
49
|
+
| Microsoft Graph | Files.ReadWrite.All, Sites.Read.All |
|
|
50
|
+
|
|
51
|
+
</TabItem>
|
|
52
|
+
</Tabs>
|
|
53
|
+
|
|
33
54
|
## Examples
|
|
34
55
|
|
|
35
56
|
Converts local file to PDF and stores the converted file on the disk
|
|
@@ -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
|
# file add
|
|
4
6
|
|
|
@@ -31,6 +33,25 @@ The `folderUrl` must be an absolute URL to the document library where the file s
|
|
|
31
33
|
|
|
32
34
|
By default, the `file add` command will automatically lookup the ID of the site where you want to upload the file based on the specified `folderUrl`. It will do this, by breaking the URL into chunks and incrementally calling Microsoft Graph to retrieve site information. This is necessary, because there is no other way looking at the URL to distinguish where the site URL ends and the document library URL starts. If you want to speed up uploading files, or you use resource-specific consent and your Microsoft Entra app only has access to the specific site, you can use the `siteUrl` option to specify the URL of the site yourself.
|
|
33
35
|
|
|
36
|
+
## Permissions
|
|
37
|
+
|
|
38
|
+
<Tabs>
|
|
39
|
+
<TabItem value="Delegated">
|
|
40
|
+
|
|
41
|
+
| Resource | Permissions |
|
|
42
|
+
|-----------------|----------------------------------|
|
|
43
|
+
| Microsoft Graph | Files.ReadWrite, Sites.ReadWrite.All |
|
|
44
|
+
|
|
45
|
+
</TabItem>
|
|
46
|
+
<TabItem value="Application">
|
|
47
|
+
|
|
48
|
+
| Resource | Permissions |
|
|
49
|
+
|-----------------|---------------------|
|
|
50
|
+
| Microsoft Graph | Sites.ReadWrite.All |
|
|
51
|
+
|
|
52
|
+
</TabItem>
|
|
53
|
+
</Tabs>
|
|
54
|
+
|
|
34
55
|
## Examples
|
|
35
56
|
|
|
36
57
|
Uploads file from the current folder to the root folder of a document library in the root site collection
|
|
@@ -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
|
# file copy
|
|
4
6
|
|
|
@@ -31,6 +33,25 @@ m365 file copy [options]
|
|
|
31
33
|
|
|
32
34
|
<Global />
|
|
33
35
|
|
|
36
|
+
## Permissions
|
|
37
|
+
|
|
38
|
+
<Tabs>
|
|
39
|
+
<TabItem value="Delegated">
|
|
40
|
+
|
|
41
|
+
| Resource | Permissions |
|
|
42
|
+
|-----------------|---------------------|
|
|
43
|
+
| Microsoft Graph | Sites.ReadWrite.All |
|
|
44
|
+
|
|
45
|
+
</TabItem>
|
|
46
|
+
<TabItem value="Application">
|
|
47
|
+
|
|
48
|
+
| Resource | Permissions |
|
|
49
|
+
|-----------------|---------------------|
|
|
50
|
+
| Microsoft Graph | Sites.ReadWrite.All |
|
|
51
|
+
|
|
52
|
+
</TabItem>
|
|
53
|
+
</Tabs>
|
|
54
|
+
|
|
34
55
|
## Examples
|
|
35
56
|
|
|
36
57
|
Copy a file by server-relative URL to a document library in another site collection with server relative URL
|
|
@@ -31,6 +31,25 @@ m365 file list [options]
|
|
|
31
31
|
|
|
32
32
|
This command is an improved version of the `spo file list` command. The main difference between the two commands is, that `file list` uses Microsoft Graph and properly supports retrieving files from large folders. Because `file list` uses Microsoft Graph and `spo file list` uses SharePoint REST APIs, the data returned by both commands is different.
|
|
33
33
|
|
|
34
|
+
## Permissions
|
|
35
|
+
|
|
36
|
+
<Tabs>
|
|
37
|
+
<TabItem value="Delegated">
|
|
38
|
+
|
|
39
|
+
| Resource | Permissions |
|
|
40
|
+
|-----------------|----------------------------|
|
|
41
|
+
| Microsoft Graph | Files.Read, Sites.Read.All |
|
|
42
|
+
|
|
43
|
+
</TabItem>
|
|
44
|
+
<TabItem value="Application">
|
|
45
|
+
|
|
46
|
+
| Resource | Permissions |
|
|
47
|
+
|-----------------|--------------------------------|
|
|
48
|
+
| Microsoft Graph | Files.Read.All, Sites.Read.All |
|
|
49
|
+
|
|
50
|
+
</TabItem>
|
|
51
|
+
</Tabs>
|
|
52
|
+
|
|
34
53
|
## Examples
|
|
35
54
|
|
|
36
55
|
Return all files from the folder _Shared Documents_ located in site _https://contoso.sharepoint.com/sites/project-x_
|
|
@@ -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
|
# file move
|
|
4
6
|
|
|
@@ -36,6 +38,25 @@ m365 file move [options]
|
|
|
36
38
|
- If the source and target locations are within the same document library or drive, the command will utilize the Move DriveItem API, preserving the version history of the file.
|
|
37
39
|
- If the source and target locations are in different document libraries or drives, the command will use a copy-and-delete combination to move the file. Please note that in this case, version history will not be retained.
|
|
38
40
|
|
|
41
|
+
## Permissions
|
|
42
|
+
|
|
43
|
+
<Tabs>
|
|
44
|
+
<TabItem value="Delegated">
|
|
45
|
+
|
|
46
|
+
| Resource | Permissions |
|
|
47
|
+
|-----------------|---------------------|
|
|
48
|
+
| Microsoft Graph | Sites.ReadWrite.All |
|
|
49
|
+
|
|
50
|
+
</TabItem>
|
|
51
|
+
<TabItem value="Application">
|
|
52
|
+
|
|
53
|
+
| Resource | Permissions |
|
|
54
|
+
|-----------------|---------------------|
|
|
55
|
+
| Microsoft Graph | Sites.ReadWrite.All |
|
|
56
|
+
|
|
57
|
+
</TabItem>
|
|
58
|
+
</Tabs>
|
|
59
|
+
|
|
39
60
|
## Examples
|
|
40
61
|
|
|
41
62
|
Move a file by server-relative URL to a folder in the same document library
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import Global from '../../_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# outlook calendargroup set
|
|
6
|
+
|
|
7
|
+
Updates a calendar group for a user.
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 outlook calendargroup set [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`--id [id]`
|
|
19
|
+
: ID of the calendar group. Specify either `id` or `name`, but not both.
|
|
20
|
+
|
|
21
|
+
`--name [name]`
|
|
22
|
+
: Name of the calendar group. Specify either `id` or `name`, but not both.
|
|
23
|
+
|
|
24
|
+
`--userId [userId]`
|
|
25
|
+
: ID of the user. Specify either `userId` or `userName`, but not both.
|
|
26
|
+
|
|
27
|
+
`--userName [userName]`
|
|
28
|
+
: UPN of the user. Specify either `userId` or `userName`, but not both.
|
|
29
|
+
|
|
30
|
+
`--newName <newName>`
|
|
31
|
+
: New name of the calendar group.
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
<Global />
|
|
35
|
+
|
|
36
|
+
## Permissions
|
|
37
|
+
|
|
38
|
+
<Tabs>
|
|
39
|
+
<TabItem value="Delegated">
|
|
40
|
+
|
|
41
|
+
| Resource | Permissions |
|
|
42
|
+
|-----------------|----------------------------------------|
|
|
43
|
+
| Microsoft Graph | Calendars.ReadWrite, Calendars.ReadWrite.Shared |
|
|
44
|
+
|
|
45
|
+
</TabItem>
|
|
46
|
+
<TabItem value="Application">
|
|
47
|
+
|
|
48
|
+
| Resource | Permissions |
|
|
49
|
+
|-----------------|----------------------|
|
|
50
|
+
| Microsoft Graph | Calendars.ReadWrite |
|
|
51
|
+
|
|
52
|
+
</TabItem>
|
|
53
|
+
</Tabs>
|
|
54
|
+
|
|
55
|
+
:::note
|
|
56
|
+
|
|
57
|
+
When using delegated permissions, specifying `userId` or `userName` for a different user requires the `Calendars.ReadWrite.Shared` scope. When the specified user matches the signed-in user, no shared scope is needed.
|
|
58
|
+
|
|
59
|
+
:::
|
|
60
|
+
|
|
61
|
+
## Examples
|
|
62
|
+
|
|
63
|
+
Update the calendar group specified by name for the current user.
|
|
64
|
+
|
|
65
|
+
```sh
|
|
66
|
+
m365 outlook calendargroup set --name "Personal Evts" --newName "Personal Events"
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
Update the calendar group specified by id for a user.
|
|
70
|
+
|
|
71
|
+
```sh
|
|
72
|
+
m365 outlook calendargroup set --id "AAMkADIxYjJiYm" --newName "Personal Events" --userId "44288f7d-7710-4293-8c8e-36f310ed2e6a"
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
Update the calendar group specified by name for a user specified by email.
|
|
76
|
+
|
|
77
|
+
```sh
|
|
78
|
+
m365 outlook calendargroup set --name "Personal Evts" --newName "Personal Events" --userName "john.doe@contoso.com"
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
## Response
|
|
82
|
+
|
|
83
|
+
The command won't return a response on success.
|
|
@@ -45,7 +45,7 @@ m365 spfx project upgrade [options]
|
|
|
45
45
|
|
|
46
46
|
## Remarks
|
|
47
47
|
|
|
48
|
-
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.
|
|
48
|
+
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.23.0-rc.0).
|
|
49
49
|
|
|
50
50
|
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.
|
|
51
51
|
|
package/package.json
CHANGED