@pnp/cli-microsoft365 6.2.0-beta.329fd79 → 6.2.0-beta.7b9fc77

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.
@@ -0,0 +1,95 @@
1
+ # pp aibuildermodel list
2
+
3
+ List available AI builder models in the specified Power Platform environment
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ pp aibuildermodel list [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-e, --environment <environment>`
14
+ : The name of the environment
15
+
16
+ `--asAdmin`
17
+ : Run the command as admin for environments you do not have explicitly assigned permissions to
18
+
19
+ --8<-- "docs/cmd/_global.md"
20
+
21
+ ## Examples
22
+
23
+ List all AI Builder models in a specific environment
24
+
25
+ ```sh
26
+ m365 pp aibuildermodel list --environment "Default-d87a7535-dd31-4437-bfe1-95340acd55c5"
27
+ ```
28
+
29
+ List all AI Builder models in a specific environment as admin
30
+
31
+ ```sh
32
+ m365 pp aibuildermodel list --environment "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" --asAdmin
33
+ ```
34
+
35
+ ## Response
36
+
37
+ === "JSON"
38
+
39
+ ```json
40
+ [
41
+ {
42
+ "statecode": 0,
43
+ "_msdyn_templateid_value": "10707e4e-1d56-e911-8194-000d3a6cd5a5",
44
+ "msdyn_modelcreationcontext": "{}",
45
+ "createdon": "2022-11-29T11:58:45Z",
46
+ "_ownerid_value": "5fa787c1-1c4d-ed11-bba1-000d3a2caf7f",
47
+ "modifiedon": "2022-11-29T11:58:45Z",
48
+ "msdyn_sharewithorganizationoncreate": false,
49
+ "msdyn_aimodelidunique": "b0328b67-47e2-4202-8189-e617ec9a88bd",
50
+ "solutionid": "fd140aae-4df4-11dd-bd17-0019b9312238",
51
+ "ismanaged": false,
52
+ "versionnumber": 1458121,
53
+ "msdyn_name": "Document Processing 11/29/2022, 12:58:43 PM",
54
+ "introducedversion": "1.0",
55
+ "statuscode": 0,
56
+ "_modifiedby_value": "5fa787c1-1c4d-ed11-bba1-000d3a2caf7f",
57
+ "overwritetime": "1900-01-01T00:00:00Z",
58
+ "componentstate": 0,
59
+ "_createdby_value": "5fa787c1-1c4d-ed11-bba1-000d3a2caf7f",
60
+ "_owningbusinessunit_value": "6da087c1-1c4d-ed11-bba1-000d3a2caf7f",
61
+ "_owninguser_value": "5fa787c1-1c4d-ed11-bba1-000d3a2caf7f",
62
+ "msdyn_aimodelid": "08ffffbe-ec1c-4e64-b64b-dd1db926c613",
63
+ "_msdyn_activerunconfigurationid_value": null,
64
+ "overriddencreatedon": null,
65
+ "_msdyn_retrainworkflowid_value": null,
66
+ "importsequencenumber": null,
67
+ "_msdyn_scheduleinferenceworkflowid_value": null,
68
+ "_modifiedonbehalfby_value": null,
69
+ "utcconversiontimezonecode": null,
70
+ "_createdonbehalfby_value": null,
71
+ "_owningteam_value": null,
72
+ "timezoneruleversionnumber": null,
73
+ "iscustomizable": {
74
+ "Value": true,
75
+ "CanBeChanged": true,
76
+ "ManagedPropertyLogicalName": "iscustomizableanddeletable"
77
+ }
78
+ }
79
+ ]
80
+ ```
81
+
82
+ === "Text"
83
+
84
+ ```text
85
+ createdon modifiedon msdyn_aimodelid msdyn_name
86
+ -------------------- -------------------- ------------------------------------ -------------------------------------------
87
+ 2022-10-25T14:44:48Z 2022-10-25T14:44:48Z 08ffffbe-ec1c-4e64-b64b-dd1db926c613 Document Processing 11/29/2022, 12:58:43 PM
88
+ ```
89
+
90
+ === "CSV"
91
+
92
+ ```csv
93
+ msdyn_name,msdyn_aimodelid,createdon,modifiedon
94
+ "Document Processing 11/29/2022, 12:58:43 PM",08ffffbe-ec1c-4e64-b64b-dd1db926c613,2022-11-29T11:58:45Z,2022-11-29T11:58:45Z
95
+ ```
@@ -0,0 +1,97 @@
1
+ # spo file sharinglink list
2
+
3
+ Lists all the sharing links of a specific file
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 spo file sharinglink list [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-u, --webUrl <webUrl>`
14
+ : The URL of the site where the file is located.
15
+
16
+ `-f, --fileUrl [fileUrl]`
17
+ : The server-relative (decoded) URL of the file. Specify either `fileUrl` or `fileId` but not both.
18
+
19
+ `-i, --fileId [fileId]`
20
+ : The UniqueId (GUID) of the file. Specify either `fileUrl` or `fileId` but not both.
21
+
22
+ --8<-- "docs/cmd/_global.md"
23
+
24
+ ## Examples
25
+
26
+ List sharing links of a file by id
27
+
28
+ ```sh
29
+ m365 spo file sharinglink list --webUrl https://contoso.sharepoint.com/sites/demo --fileId daebb04b-a773-4baa-b1d1-3625418e3234
30
+ ```
31
+
32
+ List sharing links of a file by url
33
+
34
+ ```sh
35
+ m365 spo file sharinglink list --webUrl https://contoso.sharepoint.com/sites/demo --fileUrl "/sites/demo/shared documents/document.docx"
36
+ ```
37
+
38
+ ## Response
39
+
40
+ === "JSON"
41
+
42
+ ```json
43
+ [
44
+ {
45
+ "id": "2a021f54-90a2-4016-b3b3-5f34d2e7d932",
46
+ "roles": [
47
+ "read"
48
+ ],
49
+ "hasPassword": false,
50
+ "grantedToIdentitiesV2": [
51
+ {
52
+ "user": {
53
+ "displayName": "John Doe",
54
+ "email": "john@contoso.onmicrosoft.com",
55
+ "id": "fe36f75e-c103-410b-a18a-2bf6df06ac3a"
56
+ },
57
+ "siteUser": {
58
+ "displayName": "John Doe",
59
+ "email": "john@contoso.onmicrosoft.com",
60
+ "id": "9",
61
+ "loginName": "i:0#.f|membership|john@contoso.onmicrosoft.com"
62
+ }
63
+ }
64
+ ],
65
+ "grantedToIdentities": [
66
+ {
67
+ "user": {
68
+ "displayName": "John Doe",
69
+ "email": "john@contoso.onmicrosoft.com",
70
+ "id": "fe36f75e-c103-410b-a18a-2bf6df06ac3a"
71
+ }
72
+ }
73
+ ],
74
+ "link": {
75
+ "scope": "anonymous",
76
+ "type": "view",
77
+ "webUrl": "https://contoso.sharepoint.com/:b:/s/demo/EY50lub3559MtRKfj2hrZqoBWnHOpGIcgi4gzw9XiWYJ-A",
78
+ "preventsDownload": false
79
+ }
80
+ }
81
+ ]
82
+ ```
83
+
84
+ === "Text"
85
+
86
+ ```text
87
+ id roles link
88
+ ------------------------------------ ----- -----------------------------------------------------------------------------------------------------------
89
+ 2a021f54-90a2-4016-b3b3-5f34d2e7d932 read https://contoso.sharepoint.com/:b:/s/demo/EY50lub3559MtRKfj2hrZqoBWnHOpGIcgi4gzw9XiWYJ-A
90
+ ```
91
+
92
+ === "CSV"
93
+
94
+ ```csv
95
+ id,roles,link
96
+ 2a021f54-90a2-4016-b3b3-5f34d2e7d932,read,https://contoso.sharepoint.com/:b:/s/demo/EY50lub3559MtRKfj2hrZqoBWnHOpGIcgi4gzw9XiWYJ-A
97
+ ```
@@ -1,6 +1,6 @@
1
1
  # teams chat list
2
2
 
3
- Lists all Microsoft Teams chat conversations for the current user.
3
+ Lists all Microsoft Teams chat conversations for the current or a specific user.
4
4
 
5
5
  ## Usage
6
6
 
@@ -10,9 +10,15 @@ m365 teams chat list [options]
10
10
 
11
11
  ## Options
12
12
 
13
- `-t, --type [chatType]`
13
+ `-t, --type [type]`
14
14
  : The chat type to optionally filter chat conversations by type. The value can be `oneOnOne`, `group` or `meeting`.
15
15
 
16
+ `--userId [userId]`
17
+ : ID of the user. Has to be specified when using application permissions. Specify either `userId` or `userName`, but not both.
18
+
19
+ `--userName [userName]`
20
+ : UPN of the user. Has to be specified when using application permissions. Specify either `userId` or `userName`, but not both.
21
+
16
22
  --8<-- "docs/cmd/_global.md"
17
23
 
18
24
  ## Examples
@@ -23,10 +29,16 @@ List all the Microsoft Teams chat conversations of the current user.
23
29
  m365 teams chat list
24
30
  ```
25
31
 
26
- List only the one on one Microsoft Teams chat conversations.
32
+ List only the one on one Microsoft Teams chat conversations of a specific user retrieved by id.
33
+
34
+ ```sh
35
+ m365 teams chat list --userId e6296ed0-4b7d-4ace-aed4-f6b7371ce060 --type oneOnOne
36
+ ```
37
+
38
+ List only the group Microsoft Teams chat conversations of a specific user retrieved by mail
27
39
 
28
40
  ```sh
29
- m365 teams chat list --type oneOnOne
41
+ m365 teams chat list --userName 'john@contoso.com' --type group
30
42
  ```
31
43
 
32
44
  ## Response