@pnp/cli-microsoft365 4.0.0-beta.f87506e → 4.1.0-beta.6c0929c
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 +3 -3
- package/dist/Auth.js +25 -9
- package/dist/Utils.js +6 -0
- package/dist/cli/Cli.js +4 -4
- package/dist/m365/aad/commands/app/app-add.js +1 -1
- package/dist/m365/aad/commands/app/app-role-add.js +1 -1
- package/dist/m365/aad/commands/o365group/o365group-get.js +0 -4
- package/dist/m365/aad/commands/o365group/o365group-teamify.js +14 -4
- package/dist/m365/aad/commands/o365group/o365group-user-list.js +5 -24
- package/dist/m365/aad/commands/siteclassification/siteclassification-disable.js +2 -2
- package/dist/m365/aad/commands/user/user-set.js +90 -0
- package/dist/m365/aad/commands.js +2 -1
- package/dist/m365/base/SpoCommand.js +13 -0
- package/dist/m365/commands/login.js +12 -0
- package/dist/m365/file/commands/convert/convert-pdf.js +2 -2
- package/dist/m365/onedrive/commands/onedrive-list.js +41 -24
- package/dist/m365/pa/commands/pcf/pcf-init.js +1 -1
- package/dist/m365/pa/commands/solution/solution-init.js +1 -1
- package/dist/m365/planner/commands/plan/plan-get.js +116 -0
- package/dist/m365/planner/commands/task/task-list.js +157 -7
- package/dist/m365/planner/commands.js +1 -0
- package/dist/m365/spfx/commands/package/package-generate.js +1 -1
- package/dist/m365/spfx/commands/project/project-rename.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/DependencyRule.js +3 -3
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN006004_CFG_PS_developer.js +7 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN023001_GITIGNORE_release.js +3 -9
- package/dist/m365/spfx/commands/project/project-upgrade/{upgrade-1.13.0-beta.15.js → upgrade-1.13.0-beta.20.js} +26 -28
- package/dist/m365/spfx/commands/project/project-upgrade.js +3 -3
- package/dist/m365/spfx/commands/spfx-doctor.js +1 -1
- package/dist/m365/spo/commands/app/app-instance-list.js +59 -0
- package/dist/m365/spo/commands/file/file-add.js +1 -1
- package/dist/m365/spo/commands/file/file-list.js +2 -1
- package/dist/m365/spo/commands/group/group-user-list.js +66 -0
- package/dist/m365/spo/commands/listitem/listitem-get.js +5 -5
- package/dist/m365/spo/commands/page/Page.js +1 -1
- package/dist/m365/spo/commands/page/page-clientsidewebpart-add.js +3 -3
- package/dist/m365/spo/commands/page/page-control-get.js +9 -1
- package/dist/m365/spo/commands/page/page-control-list.js +10 -13
- package/dist/m365/spo/commands/page/page-section-add.js +1 -1
- package/dist/m365/spo/commands/page/page-text-add.js +2 -2
- package/dist/m365/spo/commands/site/site-apppermission-remove.js +162 -0
- package/dist/m365/spo/commands/site/site-classic-list.js +41 -24
- package/dist/m365/spo/commands/site/site-list.js +44 -28
- package/dist/m365/spo/commands/sitedesign/sitedesign-set.js +7 -0
- package/dist/m365/spo/commands/spo-search.js +3 -3
- package/dist/m365/spo/commands/term/term-add.js +1 -1
- package/dist/m365/spo/commands/term/term-group-add.js +1 -1
- package/dist/m365/spo/commands/term/term-set-add.js +1 -1
- package/dist/m365/spo/commands/theme/theme-list.js +1 -1
- package/dist/m365/spo/commands.js +3 -0
- package/dist/m365/teams/commands/channel/channel-list.js +5 -4
- package/dist/m365/teams/commands/conversationmember/conversationmember-add.js +9 -8
- package/dist/m365/teams/commands/conversationmember/conversationmember-list.js +20 -22
- package/dist/m365/teams/commands/team/team-get.js +91 -0
- package/dist/m365/teams/commands/team/team-list.js +6 -4
- package/dist/m365/teams/commands/user/user-list.js +5 -24
- package/dist/m365/viva/commands/connections/connections-app-create.js +1 -1
- package/docs/docs/cmd/aad/o365group/o365group-teamify.md +0 -5
- package/docs/docs/cmd/aad/o365group/o365group-user-list.md +2 -17
- package/docs/docs/cmd/aad/siteclassification/siteclassification-disable.md +0 -5
- package/docs/docs/cmd/aad/user/user-set.md +60 -0
- package/docs/docs/cmd/login.md +11 -2
- package/docs/docs/cmd/planner/plan/plan-get.md +45 -0
- package/docs/docs/cmd/planner/task/task-list.md +49 -1
- package/docs/docs/cmd/spfx/project/project-upgrade.md +1 -1
- package/docs/docs/cmd/spo/app/app-instance-list.md +24 -0
- package/docs/docs/cmd/spo/group/group-user-list.md +36 -0
- package/docs/docs/cmd/spo/listitem/listitem-get.md +3 -3
- package/docs/docs/cmd/spo/site/site-apppermission-remove.md +48 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-set.md +3 -0
- package/docs/docs/cmd/teams/team/team-get.md +33 -0
- package/docs/docs/cmd/teams/user/user-list.md +2 -23
- package/npm-shrinkwrap.json +432 -333
- package/package.json +22 -20
|
@@ -32,7 +32,7 @@ m365 spfx project upgrade [options]
|
|
|
32
32
|
|
|
33
33
|
## Remarks
|
|
34
34
|
|
|
35
|
-
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.12.1). If you specify the `preview` option without a specific version, the command will upgrade your project to the latest preview version v1.13.0-beta.
|
|
35
|
+
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.12.1). If you specify the `preview` option without a specific version, the command will upgrade your project to the latest preview version v1.13.0-beta.20.
|
|
36
36
|
|
|
37
37
|
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.
|
|
38
38
|
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# spo app instance list
|
|
2
|
+
|
|
3
|
+
Retrieve apps installed in a site
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 spo app instance list [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-u, --siteUrl <siteUrl>`
|
|
14
|
+
: URL of the site collection to retrieve the apps for
|
|
15
|
+
|
|
16
|
+
--8<-- "docs/cmd/_global.md"
|
|
17
|
+
|
|
18
|
+
## Examples
|
|
19
|
+
|
|
20
|
+
Return a list of installed apps on site _https://contoso.sharepoint.com/sites/site1_.
|
|
21
|
+
|
|
22
|
+
```sh
|
|
23
|
+
m365 spo app instance list --siteUrl https://contoso.sharepoint.com/sites/site1
|
|
24
|
+
```
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# spo group user list
|
|
2
|
+
|
|
3
|
+
List members of a SharePoint Group
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 spo group user list [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-u, --webUrl <webUrl>`
|
|
14
|
+
: URL of the SharePoint site
|
|
15
|
+
|
|
16
|
+
`--groupId [groupId]`
|
|
17
|
+
: Id of the SharePoint group. Use either `groupName` or `groupId`, but not both
|
|
18
|
+
|
|
19
|
+
`--groupName [groupName]`
|
|
20
|
+
: Name of the SharePoint group. Use either `groupName` or `groupId`, but not both
|
|
21
|
+
|
|
22
|
+
--8<-- "docs/cmd/_global.md"
|
|
23
|
+
|
|
24
|
+
## Examples
|
|
25
|
+
|
|
26
|
+
List the members of the group with ID _5_ for web _https://contoso.sharepoint.com/sites/SiteA_
|
|
27
|
+
|
|
28
|
+
```sh
|
|
29
|
+
m365 spo group user list --webUrl https://contoso.sharepoint.com/sites/SiteA --groupId 5
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
List the members of the group with name _Contoso Site Members_ for web _https://contoso.sharepoint.com/sites/SiteA_
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
m365 spo group user list --webUrl https://contoso.sharepoint.com/sites/SiteA --groupName "Contoso Site Members"
|
|
36
|
+
```
|
|
@@ -22,8 +22,8 @@ m365 spo listitem get [options]
|
|
|
22
22
|
`-t, --listTitle [listTitle]`
|
|
23
23
|
: Title of the list from which to retrieve the item. Specify `listId` or `listTitle` but not both
|
|
24
24
|
|
|
25
|
-
`-
|
|
26
|
-
: Comma-separated list of
|
|
25
|
+
`-p, --properties [properties]`
|
|
26
|
+
: Comma-separated list of properties to retrieve. Will retrieve all properties if not specified and json output is requested
|
|
27
27
|
|
|
28
28
|
--8<-- "docs/cmd/_global.md"
|
|
29
29
|
|
|
@@ -39,5 +39,5 @@ m365 spo listitem get --listTitle "Demo List" --id 147 --webUrl https://contoso.
|
|
|
39
39
|
Get an items Title and Created column and with ID _147_ from list with title _Demo List_ in site _https://contoso.sharepoint.com/sites/project-x_
|
|
40
40
|
|
|
41
41
|
```sh
|
|
42
|
-
m365 spo listitem get --listTitle "Demo List" --id 147 --webUrl https://contoso.sharepoint.com/sites/project-x --
|
|
42
|
+
m365 spo listitem get --listTitle "Demo List" --id 147 --webUrl https://contoso.sharepoint.com/sites/project-x --properties "Title,Created"
|
|
43
43
|
```
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# spo site apppermission remove
|
|
2
|
+
|
|
3
|
+
Removes a specific application permission from a site
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 spo site apppermission remove [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-u, --siteUrl <siteUrl>`
|
|
14
|
+
: URL of the site collection where the permission to remove is located
|
|
15
|
+
|
|
16
|
+
`--appId [appId]`
|
|
17
|
+
: App Id
|
|
18
|
+
|
|
19
|
+
`-n, --appDisplayName [appDisplayName]`
|
|
20
|
+
: App display name
|
|
21
|
+
|
|
22
|
+
`-i, --permissionId [permissionId]`
|
|
23
|
+
: ID of the permission to remove
|
|
24
|
+
|
|
25
|
+
`--confirm`
|
|
26
|
+
: Don't prompt for confirmation
|
|
27
|
+
|
|
28
|
+
--8<-- "docs/cmd/_global.md"
|
|
29
|
+
|
|
30
|
+
## Example
|
|
31
|
+
|
|
32
|
+
Removes all application permissions for application with id _89ea5c94-7736-4e25-95ad-3fa95f62b66e_ on site _https://contoso.sharepoint.com/sites/project-x_
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
m365 spo site apppermission remove --siteUrl https://contoso.sharepoint.com/sites/project-x --appId 89ea5c94-7736-4e25-95ad-3fa95f62b66e
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Removes all application permissions for application named _Foo_ on site _https://contoso.sharepoint.com/sites/project-x_
|
|
39
|
+
|
|
40
|
+
```sh
|
|
41
|
+
m365 spo site apppermission remove --siteUrl https://contoso.sharepoint.com/sites/project-x --appDisplayName Foo
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
Removes the application permission with the specified ID on site _https://contoso.sharepoint.com/sites/project-x_
|
|
45
|
+
|
|
46
|
+
```sh
|
|
47
|
+
m365 spo site apppermission remove --siteUrl https://contoso.sharepoint.com/sites/project-x --permissionId aTowaS50fG1zLnNwLmV4dHw4OWVhNWM5NC03NzM2LTRlMjUtOTVhZC0zZmE5NWY2MmI2NmVAZGUzNDhiYzctMWFlYi00NDA2LThjYjMtOTdkYjAyMWNhZGI0
|
|
48
|
+
```
|
|
@@ -31,6 +31,9 @@ m365 spo sitedesign set [options]
|
|
|
31
31
|
`-a, --previewImageAltText [previewImageAltText]`
|
|
32
32
|
: The new alt text description of the image for accessibility
|
|
33
33
|
|
|
34
|
+
`--thumbnailUrl [thumbnailUrl]`
|
|
35
|
+
: The new URL of a thumbnail image. If none is specified SharePoint will use a generic image
|
|
36
|
+
|
|
34
37
|
`-v, --version [version]`
|
|
35
38
|
: The new version number for the site design
|
|
36
39
|
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# teams team get
|
|
2
|
+
|
|
3
|
+
Gets information about the specified Microsoft Teams team
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 teams team get
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-i, --id [id]`
|
|
14
|
+
: The ID of the Microsoft Teams team to retrieve information for. Specify either id or name but not both
|
|
15
|
+
|
|
16
|
+
`-n, --name [name]`
|
|
17
|
+
: The display name of the Microsoft Teams team to retrieve information for. Specify either id or name but not both
|
|
18
|
+
|
|
19
|
+
--8<-- "docs/cmd/_global.md"
|
|
20
|
+
|
|
21
|
+
## Examples
|
|
22
|
+
|
|
23
|
+
Get information about the Microsoft Teams team with id _2eaf7dcd-7e83-4c3a-94f7-932a1299c844_
|
|
24
|
+
|
|
25
|
+
```sh
|
|
26
|
+
m365 teams team get --id 2eaf7dcd-7e83-4c3a-94f7-932a1299c844
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Get information about Microsoft Teams team with name _Team Name_
|
|
30
|
+
|
|
31
|
+
```sh
|
|
32
|
+
m365 teams team get --name "Team Name"
|
|
33
|
+
```
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# teams user list
|
|
2
2
|
|
|
3
|
-
Lists users for the specified Microsoft
|
|
3
|
+
Lists users for the specified Microsoft Teams team
|
|
4
4
|
|
|
5
5
|
## Usage
|
|
6
6
|
|
|
@@ -10,10 +10,7 @@ m365 teams user list [options]
|
|
|
10
10
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
|
-
`-i, --
|
|
14
|
-
: The ID of the Microsoft 365 group for which to list users
|
|
15
|
-
|
|
16
|
-
`--teamId [teamId]`
|
|
13
|
+
`-i, --teamId <teamId>`
|
|
17
14
|
: The ID of the Microsoft Teams team for which to list users
|
|
18
15
|
|
|
19
16
|
`-r, --role [role]`
|
|
@@ -34,21 +31,3 @@ List all owners and their role in the specified Microsoft teams team
|
|
|
34
31
|
```sh
|
|
35
32
|
m365 teams user list --teamId '00000000-0000-0000-0000-000000000000' --role Owner
|
|
36
33
|
```
|
|
37
|
-
|
|
38
|
-
List all users and their role in the specified Microsoft 365 group
|
|
39
|
-
|
|
40
|
-
```sh
|
|
41
|
-
m365 teams user list --groupId '00000000-0000-0000-0000-000000000000'
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
List all owners and their role in the specified Microsoft 365 group
|
|
45
|
-
|
|
46
|
-
```sh
|
|
47
|
-
m365 teams user list --groupId '00000000-0000-0000-0000-000000000000' --role Owner
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
List all guests and their role in the specified Microsoft 365 group
|
|
51
|
-
|
|
52
|
-
```sh
|
|
53
|
-
m365 teams user list --groupId '00000000-0000-0000-0000-000000000000' --role Guest
|
|
54
|
-
```
|