@pnp/cli-microsoft365 7.3.0-beta.d293309 → 7.3.0-beta.e0b37b9
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/aad/commands/administrativeunit/administrativeunit-member-add.js +137 -0
- package/dist/m365/aad/commands/app/app-permission-add.js +237 -0
- package/dist/m365/aad/commands.js +3 -1
- package/dist/m365/teams/commands/user/user-app-add.js +23 -5
- package/dist/utils/aadDevice.js +25 -0
- package/docs/docs/cmd/aad/administrativeunit/administrativeunit-member-add.mdx +93 -0
- package/docs/docs/cmd/aad/app/app-permission-add.mdx +62 -0
- package/docs/docs/cmd/teams/user/user-app-add.mdx +12 -3
- package/docs/docs/cmd/teams/user/user-app-remove.mdx +2 -2
- package/package.json +1 -1
|
@@ -16,8 +16,11 @@ m365 teams user app add [options]
|
|
|
16
16
|
`--id <id>`
|
|
17
17
|
: The ID of the app to install.
|
|
18
18
|
|
|
19
|
-
`--userId
|
|
20
|
-
: The ID of the user to install the app for.
|
|
19
|
+
`--userId [userId]`
|
|
20
|
+
: The ID of the user to install the app for. Specify either `userId` or `userName` but not both.
|
|
21
|
+
|
|
22
|
+
`--userName [userName]`
|
|
23
|
+
: The UPN of the user to install the app for. Specify either `userId` or `userName` but not both.
|
|
21
24
|
```
|
|
22
25
|
|
|
23
26
|
<Global />
|
|
@@ -28,12 +31,18 @@ The `id` has to be the ID of the app from the Microsoft Teams App Catalog. Do no
|
|
|
28
31
|
|
|
29
32
|
## Examples
|
|
30
33
|
|
|
31
|
-
Install an app from the catalog for the specified user.
|
|
34
|
+
Install an app from the catalog for the specified user by id.
|
|
32
35
|
|
|
33
36
|
```sh
|
|
34
37
|
m365 teams user app add --id 4440558e-8c73-4597-abc7-3644a64c4bce --userId 2609af39-7775-4f94-a3dc-0dd67657e900
|
|
35
38
|
```
|
|
36
39
|
|
|
40
|
+
Install an app from the catalog for the specified user by name.
|
|
41
|
+
|
|
42
|
+
```sh
|
|
43
|
+
m365 teams user app add --id 4440558e-8c73-4597-abc7-3644a64c4bce --userName admin@contoso.com
|
|
44
|
+
```
|
|
45
|
+
|
|
37
46
|
## Response
|
|
38
47
|
|
|
39
48
|
The command won't return a response on success.
|
|
@@ -20,10 +20,10 @@ m365 teams user app remove [options]
|
|
|
20
20
|
: Name of the app instance installed for the user. Specify either `id` or `name`.
|
|
21
21
|
|
|
22
22
|
`--userId [userId]`
|
|
23
|
-
: The ID of the user to uninstall the app for. Specify `userId` or `userName
|
|
23
|
+
: The ID of the user to uninstall the app for. Specify either `userId` or `userName`.
|
|
24
24
|
|
|
25
25
|
`--userName [userName]`
|
|
26
|
-
: The UPN of the user to uninstall the app for. Specify `userId` or `userName
|
|
26
|
+
: The UPN of the user to uninstall the app for. Specify either `userId` or `userName`.
|
|
27
27
|
|
|
28
28
|
`-f, --force`
|
|
29
29
|
: Confirm removal of app for user.
|
package/package.json
CHANGED