@pnp/cli-microsoft365 7.4.0-beta.5c123d7 → 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/.eslintrc.cjs +6 -0
- package/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/Auth.js +2 -1
- package/dist/appInsights.js +2 -0
- package/dist/m365/entra/aadCommands.js +1 -0
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-roleassignment-add.js +102 -0
- package/dist/m365/entra/commands.js +1 -0
- package/dist/m365/external/commands/connection/connection-urltoitemresolver-add.js +69 -0
- package/dist/m365/external/commands.js +1 -0
- 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/dist/m365/teams/commands/user/user-app-add.js +35 -3
- package/dist/request.js +16 -0
- package/dist/utils/roleAssignment.js +42 -0
- package/dist/utils/roleDefinition.js +24 -0
- package/docs/docs/cmd/entra/administrativeunit/administrativeunit-roleassignment-add.mdx +116 -0
- package/docs/docs/cmd/external/connection/connection-urltoitemresolver-add.mdx +47 -0
- 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/docs/docs/cmd/teams/user/user-app-add.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
|
|
@@ -13,8 +13,11 @@ m365 teams user app add [options]
|
|
|
13
13
|
## Options
|
|
14
14
|
|
|
15
15
|
```md definition-list
|
|
16
|
-
`--id
|
|
17
|
-
: The ID of the app to install.
|
|
16
|
+
`--id [id]`
|
|
17
|
+
: The ID of the app to install. Specify either `id` or `name` but not both.
|
|
18
|
+
|
|
19
|
+
`--name [name]`
|
|
20
|
+
: Name of the app to install. Specify either `id` or `name` but not both.
|
|
18
21
|
|
|
19
22
|
`--userId [userId]`
|
|
20
23
|
: The ID of the user to install the app for. Specify either `userId` or `userName` but not both.
|
|
@@ -31,16 +34,16 @@ The `id` has to be the ID of the app from the Microsoft Teams App Catalog. Do no
|
|
|
31
34
|
|
|
32
35
|
## Examples
|
|
33
36
|
|
|
34
|
-
Install an app from the catalog for the specified user by id.
|
|
37
|
+
Install an app by id from the catalog for the specified user by id.
|
|
35
38
|
|
|
36
39
|
```sh
|
|
37
40
|
m365 teams user app add --id 4440558e-8c73-4597-abc7-3644a64c4bce --userId 2609af39-7775-4f94-a3dc-0dd67657e900
|
|
38
41
|
```
|
|
39
42
|
|
|
40
|
-
Install an app from the catalog for the specified user by name.
|
|
43
|
+
Install an app by name from the catalog for the specified user by name.
|
|
41
44
|
|
|
42
45
|
```sh
|
|
43
|
-
m365 teams user app add --
|
|
46
|
+
m365 teams user app add --name HelloWorld --userName admin@contoso.com
|
|
44
47
|
```
|
|
45
48
|
|
|
46
49
|
## Response
|
package/package.json
CHANGED