@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.
@@ -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 <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` but not both.
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` but not both.
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnp/cli-microsoft365",
3
- "version": "7.3.0-beta.d293309",
3
+ "version": "7.3.0-beta.e0b37b9",
4
4
  "description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
5
5
  "license": "MIT",
6
6
  "main": "./dist/api.js",