@pnp/cli-microsoft365 7.4.0-beta.5820537 → 7.4.0-beta.8d6724f
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/flow/commands/run/run-get.js +52 -13
- package/dist/m365/spo/commands/group/group-member-add.js +21 -4
- package/dist/m365/spo/commands/group/group-member-remove.js +27 -10
- package/dist/m365/spo/commands/user/user-ensure.js +16 -6
- package/docs/docs/cmd/flow/run/run-get.mdx +167 -4
- package/docs/docs/cmd/spo/group/group-member-add.mdx +19 -7
- package/docs/docs/cmd/spo/group/group-member-remove.mdx +12 -6
- package/docs/docs/cmd/spo/user/user-ensure.mdx +8 -5
- package/package.json +1 -1
|
@@ -18,24 +18,27 @@ m365 spo user ensure [options]
|
|
|
18
18
|
`-u, --webUrl <webUrl>`
|
|
19
19
|
: Absolute URL of the site.
|
|
20
20
|
|
|
21
|
+
`--entraId [--entraId]`
|
|
22
|
+
: Id of the user in Entra. Specify either `aadId`, `entraId`, or `userName`.
|
|
23
|
+
|
|
21
24
|
`--aadId [--aadId]`
|
|
22
|
-
: Id of the user in Azure AD. Specify either `aadId` or `userName
|
|
25
|
+
: (deprecated. Use `entraId` instead) Id of the user in Azure AD. Specify either `aadId`, `entraId`, or `userName`.
|
|
23
26
|
|
|
24
27
|
`--userName [userName]`
|
|
25
|
-
: User's UPN (user principal name, e.g. john@contoso.com). Specify either `aadId` or `userName
|
|
28
|
+
: User's UPN (user principal name, e.g. john@contoso.com). Specify either `aadId`, `entraId`, or `userName`.
|
|
26
29
|
```
|
|
27
30
|
|
|
28
31
|
<Global />
|
|
29
32
|
|
|
30
33
|
## Examples
|
|
31
34
|
|
|
32
|
-
Ensures a user by its
|
|
35
|
+
Ensures a user by its Entra Id.
|
|
33
36
|
|
|
34
37
|
```sh
|
|
35
|
-
m365 spo user ensure --webUrl https://contoso.sharepoint.com/sites/project --
|
|
38
|
+
m365 spo user ensure --webUrl https://contoso.sharepoint.com/sites/project --entraId e254750a-eaa4-44f6-9517-b74f65cdb747
|
|
36
39
|
```
|
|
37
40
|
|
|
38
|
-
Ensures a user by its user principal name
|
|
41
|
+
Ensures a user by its user principal name.
|
|
39
42
|
|
|
40
43
|
```sh
|
|
41
44
|
m365 spo user ensure --webUrl https://contoso.sharepoint.com/sites/project --userName john@contoso.com
|
package/package.json
CHANGED