@pnp/cli-microsoft365 10.0.0-beta.58166a8 → 10.0.0-beta.66db729
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/entra/commands/group/{group-user-add.js → group-member-add.js} +18 -18
- package/dist/m365/entra/commands/group/{group-user-list.js → group-member-list.js} +17 -17
- package/dist/m365/entra/commands/group/{group-user-set.js → group-member-set.js} +19 -19
- package/dist/m365/entra/commands.js +3 -3
- package/dist/m365/spfx/commands/project/project-doctor/{doctor-1.20.0-rc.1.js → doctor-1.20.0.js} +4 -2
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN002021_DEVDEP_rushstack_eslint_config.js +10 -0
- package/dist/m365/spfx/commands/project/project-doctor.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/{upgrade-1.20.0-rc.1.js → upgrade-1.20.0.js} +28 -26
- package/dist/m365/spfx/commands/project/project-upgrade.js +13 -15
- package/dist/m365/spfx/commands/spfx-doctor.js +1 -1
- package/docs/docs/cmd/entra/group/group-member-add.mdx +62 -0
- package/docs/docs/cmd/entra/group/{group-user-list.mdx → group-member-list.mdx} +14 -14
- package/docs/docs/cmd/entra/group/group-member-set.mdx +62 -0
- package/docs/docs/cmd/spfx/project/project-upgrade.mdx +1 -1
- package/package.json +1 -1
- package/docs/docs/cmd/entra/group/group-user-add.mdx +0 -62
- package/docs/docs/cmd/entra/group/group-user-set.mdx +0 -62
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
|
|
3
|
+
# entra group member set
|
|
4
|
+
|
|
5
|
+
Updates role of members in a Microsoft Entra ID group
|
|
6
|
+
|
|
7
|
+
## Usage
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
m365 entra group member set [options]
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Options
|
|
14
|
+
|
|
15
|
+
```md definition-list
|
|
16
|
+
`-i, --groupId [groupId]`
|
|
17
|
+
: The ID of the Entra ID group. Specify `groupId` or `groupDisplayName` but not both.
|
|
18
|
+
|
|
19
|
+
`-n, --groupDisplayName [groupDisplayName]`
|
|
20
|
+
: The display name of the Entra ID group. Specify `groupId` or `groupDisplayName` but not both.
|
|
21
|
+
|
|
22
|
+
`--ids [ids]`
|
|
23
|
+
: Comma-separated list of user IDs. Specify either `ids` or `userNames` but not both.
|
|
24
|
+
|
|
25
|
+
`--userNames [userNames]`
|
|
26
|
+
: The user principal names of users. You can also pass a comma-separated list of UPNs. Specify either `ids` or `userNames` but not both.
|
|
27
|
+
|
|
28
|
+
`-r, --role <role>`
|
|
29
|
+
: The new role to be assigned to the members. Valid values: `Owner`, `Member`.
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
<Global />
|
|
33
|
+
|
|
34
|
+
## Examples
|
|
35
|
+
|
|
36
|
+
Update a single member specified by ID to a member of a group specified by display name
|
|
37
|
+
|
|
38
|
+
```sh
|
|
39
|
+
m365 entra group member set --groupDisplayName Developers --ids 098b9f52-f48c-4401-819f-29c33794c3f5 --role Member
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
Update multiple members specified by ID to members of a group specified by ID
|
|
43
|
+
|
|
44
|
+
```sh
|
|
45
|
+
m365 entra group member set --groupId a03c0c35-ef9a-419b-8cab-f89e0a8d2d2a --ids "098b9f52-f48c-4401-819f-29c33794c3f5,f1e06e31-3abf-4746-83c2-1513d71f38b8" --role Member
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
Update a single member specified by UPN to an owner of a group specified by display name
|
|
49
|
+
|
|
50
|
+
```sh
|
|
51
|
+
m365 entra group member set --groupDisplayName Developers --userNames john.doe@contoso.com --role Owner
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Update multiple members specified by UPN to owners of a group specified by ID
|
|
55
|
+
|
|
56
|
+
```sh
|
|
57
|
+
m365 entra group member set --groupId a03c0c35-ef9a-419b-8cab-f89e0a8d2d2a --userNames "john.doe@contoso.com,adele.vance@contoso.com" --role Owner
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
## Response
|
|
61
|
+
|
|
62
|
+
The command won't return a response on success.
|
|
@@ -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.
|
|
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.20.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
|
|
package/package.json
CHANGED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
-
|
|
3
|
-
# entra group user add
|
|
4
|
-
|
|
5
|
-
Adds a user to a Microsoft Entra ID group
|
|
6
|
-
|
|
7
|
-
## Usage
|
|
8
|
-
|
|
9
|
-
```sh
|
|
10
|
-
m365 entra group user add [options]
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
## Options
|
|
14
|
-
|
|
15
|
-
```md definition-list
|
|
16
|
-
`-i, --groupId [groupId]`
|
|
17
|
-
: The ID of the Microsoft Entra group. Specify `groupId` or `groupDisplayName` but not both.
|
|
18
|
-
|
|
19
|
-
`-n, --groupDisplayName [groupDisplayName]`
|
|
20
|
-
: The display name of the Microsoft Entra group. Specify `groupId` or `groupDisplayName` but not both.
|
|
21
|
-
|
|
22
|
-
`--ids [ids]`
|
|
23
|
-
: Microsoft Entra IDs of users. You can also pass a comma-separated list of IDs. Specify either `ids` or `userNames` but not both.
|
|
24
|
-
|
|
25
|
-
`--userNames [userNames]`
|
|
26
|
-
: The user principal names of users. You can also pass a comma-separated list of UPNs. Specify either `ids` or `userNames` but not both.
|
|
27
|
-
|
|
28
|
-
`-r, --role <role>`
|
|
29
|
-
: The role to be assigned to the new users. Valid values: `Owner`, `Member`.
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
<Global />
|
|
33
|
-
|
|
34
|
-
## Examples
|
|
35
|
-
|
|
36
|
-
Add a single user specified by ID as a member to a group specified by display name.
|
|
37
|
-
|
|
38
|
-
```sh
|
|
39
|
-
m365 entra group user add --groupDisplayName Developers --ids 098b9f52-f48c-4401-819f-29c33794c3f5 --role Member
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
Add multiple users specified by ID as members to a group specified by ID.
|
|
43
|
-
|
|
44
|
-
```sh
|
|
45
|
-
m365 entra group user add --groupId a03c0c35-ef9a-419b-8cab-f89e0a8d2d2a --ids "098b9f52-f48c-4401-819f-29c33794c3f5,f1e06e31-3abf-4746-83c2-1513d71f38b8" --role Member
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
Add a single user specified by UPN as an owner to a group specified by display name.
|
|
49
|
-
|
|
50
|
-
```sh
|
|
51
|
-
m365 entra group user add --groupDisplayName Developers --userNames john.doe@contoso.com --role Owner
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
Adds multiple users specified by UPN as owners to a group specified by ID.
|
|
55
|
-
|
|
56
|
-
```sh
|
|
57
|
-
m365 entra group user add --groupId a03c0c35-ef9a-419b-8cab-f89e0a8d2d2a --userNames "john.doe@contoso.com,adele.vance@contoso.com" --role Owner
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
## Response
|
|
61
|
-
|
|
62
|
-
The command won't return a response on success.
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
-
|
|
3
|
-
# entra group user set
|
|
4
|
-
|
|
5
|
-
Updates role of users in a Microsoft Entra ID group
|
|
6
|
-
|
|
7
|
-
## Usage
|
|
8
|
-
|
|
9
|
-
```sh
|
|
10
|
-
m365 entra group user set [options]
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
## Options
|
|
14
|
-
|
|
15
|
-
```md definition-list
|
|
16
|
-
`-i, --groupId [groupId]`
|
|
17
|
-
: The ID of the Entra ID group. Specify `groupId` or `groupDisplayName` but not both.
|
|
18
|
-
|
|
19
|
-
`-n, --groupDisplayName [groupDisplayName]`
|
|
20
|
-
: The display name of the Entra ID group. Specify `groupId` or `groupDisplayName` but not both.
|
|
21
|
-
|
|
22
|
-
`--ids [ids]`
|
|
23
|
-
: Comma-separated list of user IDs. Specify either `ids` or `userNames` but not both.
|
|
24
|
-
|
|
25
|
-
`--userNames [userNames]`
|
|
26
|
-
: The user principal names of users. You can also pass a comma-separated list of UPNs. Specify either `ids` or `userNames` but not both.
|
|
27
|
-
|
|
28
|
-
`-r, --role <role>`
|
|
29
|
-
: The new role to be assigned to the users. Valid values: `Owner`, `Member`.
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
<Global />
|
|
33
|
-
|
|
34
|
-
## Examples
|
|
35
|
-
|
|
36
|
-
Update a single user specified by ID to a member of a group specified by display name
|
|
37
|
-
|
|
38
|
-
```sh
|
|
39
|
-
m365 entra group user set --groupDisplayName Developers --ids 098b9f52-f48c-4401-819f-29c33794c3f5 --role Member
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
Update multiple users specified by ID to members of a group specified by ID
|
|
43
|
-
|
|
44
|
-
```sh
|
|
45
|
-
m365 entra group user set --groupId a03c0c35-ef9a-419b-8cab-f89e0a8d2d2a --ids "098b9f52-f48c-4401-819f-29c33794c3f5,f1e06e31-3abf-4746-83c2-1513d71f38b8" --role Member
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
Update a single user specified by UPN to an owner of a group specified by display name
|
|
49
|
-
|
|
50
|
-
```sh
|
|
51
|
-
m365 entra group user set --groupDisplayName Developers --userNames john.doe@contoso.com --role Owner
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
Update multiple users specified by UPN to owners of a group specified by ID
|
|
55
|
-
|
|
56
|
-
```sh
|
|
57
|
-
m365 entra group user set --groupId a03c0c35-ef9a-419b-8cab-f89e0a8d2d2a --userNames "john.doe@contoso.com,adele.vance@contoso.com" --role Owner
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
## Response
|
|
61
|
-
|
|
62
|
-
The command won't return a response on success.
|