@pnp/cli-microsoft365 10.11.0-beta.b1eeb91 → 10.11.0

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.
@@ -57,6 +57,7 @@ m365 spo file version list --webUrl https://contoso.sharepoint.com/sites/project
57
57
  {
58
58
  "CheckInComment": "",
59
59
  "Created": "2022-10-30T12:03:06Z",
60
+ "ExpirationDate": "2026-01-31T08:23:43.0000000Z",
60
61
  "ID": 512,
61
62
  "IsCurrentVersion": false,
62
63
  "Length": "18898",
@@ -71,17 +72,17 @@ m365 spo file version list --webUrl https://contoso.sharepoint.com/sites/project
71
72
  <TabItem value="Text">
72
73
 
73
74
  ```text
74
- Created ID IsCurrentVersion VersionLabel
75
- -------------------- ---- ---------------- ------------
76
- 2022-10-30T12:03:06Z 512 false 1.0
75
+ Created ID IsCurrentVersion VersionLabel ExpirationDate
76
+ -------------------- ---- ---------------- ------------ ----------------------------
77
+ 2022-10-30T12:03:06Z 512 false 1.0 2026-01-31T08:23:43.0000000Z
77
78
  ```
78
79
 
79
80
  </TabItem>
80
81
  <TabItem value="CSV">
81
82
 
82
83
  ```csv
83
- Created,ID,IsCurrentVersion,VersionLabel
84
- 2022-10-30T12:03:06Z,512,false,1.0
84
+ CheckInComment,Created,ExpirationDate,ID,IsCurrentVersion,Length,Size,Url,VersionLabel
85
+ ,2022-10-30T12:03:06Z,2026-01-31T08:23:43.0000000Z,512,0,18898,18898,_vti_history/512/Shared Documents/Document.docx,1.0
85
86
  ```
86
87
 
87
88
  </TabItem>
@@ -98,6 +99,7 @@ m365 spo file version list --webUrl https://contoso.sharepoint.com/sites/project
98
99
  ---------|-------
99
100
  CheckInComment |
100
101
  Created | 2022-10-30T12:03:06Z
102
+ ExpirationDate | 2026-01-31T08:23:43.0000000Z
101
103
  ID | 512
102
104
  IsCurrentVersion | false
103
105
  Length | 18898
@@ -0,0 +1,102 @@
1
+ import Global from '/docs/cmd/_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
4
+
5
+ # viva engage role list
6
+
7
+ Lists all Viva Engage roles
8
+
9
+ ## Usage
10
+
11
+ ```sh
12
+ m365 viva engage role list [options]
13
+ ```
14
+
15
+ ## Options
16
+
17
+ <Global />
18
+
19
+ ## Remarks
20
+
21
+ :::warning
22
+
23
+ This command is based on an API that is currently in preview and is subject to change once the API reaches general availability.
24
+
25
+ :::
26
+
27
+ ## Permissions
28
+
29
+ <Tabs>
30
+ <TabItem value="Delegated">
31
+
32
+ | Resource | Permissions |
33
+ |-----------------|-------------------------|
34
+ | Microsoft Graph | EngagementRole.Read.All |
35
+
36
+ </TabItem>
37
+ <TabItem value="Application">
38
+
39
+ | Resource | Permissions |
40
+ |-----------------|-------------------------|
41
+ | Microsoft Graph | EngagementRole.Read.All |
42
+
43
+ </TabItem>
44
+ </Tabs>
45
+
46
+ ## Examples
47
+
48
+ List all Viva Engage roles
49
+
50
+ ```sh
51
+ m365 viva engage role list
52
+ ```
53
+
54
+ ## Response
55
+
56
+ <Tabs>
57
+ <TabItem value="JSON">
58
+
59
+ ```json
60
+ [
61
+ {
62
+ "id": "ec759127-089f-4f91-8dfc-03a30b51cb38",
63
+ "displayName": "Network Admin"
64
+ }
65
+ ]
66
+ ```
67
+
68
+ </TabItem>
69
+ <TabItem value="Text">
70
+
71
+ ```text
72
+ id displayName
73
+ ------------------------------------ -------------
74
+ ec759127-089f-4f91-8dfc-03a30b51cb38 Network Admin
75
+ ```
76
+
77
+ </TabItem>
78
+ <TabItem value="CSV">
79
+
80
+ ```csv
81
+ id,displayName
82
+ ec759127-089f-4f91-8dfc-03a30b51cb38,Network Admin
83
+ ```
84
+
85
+ </TabItem>
86
+ <TabItem value="Markdown">
87
+
88
+ ```md
89
+ # viva engage role list
90
+
91
+ Date: 7/11/2025
92
+
93
+ ## Network Admin (ec759127-089f-4f91-8dfc-03a30b51cb38)
94
+
95
+ Property | Value
96
+ ---------|-------
97
+ id | ec759127-089f-4f91-8dfc-03a30b51cb38
98
+ displayName | Network Admin
99
+ ```
100
+
101
+ </TabItem>
102
+ </Tabs>
@@ -0,0 +1,118 @@
1
+ import Global from '/docs/cmd/_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
4
+
5
+ # viva engage role member list
6
+
7
+ Lists all users assigned to a Viva Engage role
8
+
9
+ ## Usage
10
+
11
+ ```sh
12
+ m365 viva engage role member list [options]
13
+ ```
14
+
15
+ ## Options
16
+
17
+ ```md definition-list
18
+ `-i, --roleId [roleId]`
19
+ : The id of the Viva Engage role. Specify either `roleId` or `roleName`, but not both.
20
+
21
+ `-n, --roleName [roleName]`
22
+ : The name of the Viva Engage role. Specify either `roleId` or `roleName`, but not both.
23
+ ```
24
+
25
+ <Global />
26
+
27
+ ## Remarks
28
+
29
+ :::warning
30
+
31
+ This command is based on an API that is currently in preview and is subject to change once the API reaches general availability.
32
+
33
+ :::
34
+
35
+ ## Permissions
36
+
37
+ <Tabs>
38
+ <TabItem value="Delegated">
39
+
40
+ | Resource | Permissions |
41
+ |-----------------|-------------------------|
42
+ | Microsoft Graph | EngagementRole.Read.All |
43
+
44
+ </TabItem>
45
+ <TabItem value="Application">
46
+
47
+ | Resource | Permissions |
48
+ |-----------------|-------------------------|
49
+ | Microsoft Graph | EngagementRole.Read.All |
50
+
51
+ </TabItem>
52
+ </Tabs>
53
+
54
+ ## Examples
55
+
56
+ Get all users assigned to a Viva Engage role specified by id
57
+
58
+ ```sh
59
+ m365 viva engage role member list --roleId 77aa47ad-96fe-4ecc-8024-fd1ac5e28f17
60
+ ```
61
+
62
+ Get all users assigned to a Viva Engage role specified by name
63
+
64
+ ```sh
65
+ m365 viva engage role member list --roleName 'Verified Admin'
66
+ ```
67
+
68
+ ## Response
69
+
70
+ <Tabs>
71
+ <TabItem value="JSON">
72
+
73
+ ```json
74
+ [
75
+ {
76
+ "id": "1f5595b2-aa07-445d-9801-a45ea18160b2",
77
+ "createdDateTime": "2024-05-22T15:43:08.368Z",
78
+ "userId": "1f5595b2-aa07-445d-9801-a45ea18160b2"
79
+ }
80
+ ]
81
+ ```
82
+
83
+ </TabItem>
84
+ <TabItem value="Text">
85
+
86
+ ```text
87
+ id userId
88
+ ------------------------------------ ------------------------------------
89
+ 1f5595b2-aa07-445d-9801-a45ea18160b2 1f5595b2-aa07-445d-9801-a45ea18160b2
90
+ ```
91
+
92
+ </TabItem>
93
+ <TabItem value="CSV">
94
+
95
+ ```csv
96
+ id,createdDateTime,userId
97
+ 1f5595b2-aa07-445d-9801-a45ea18160b2,2024-05-22T15:43:08.406Z,1f5595b2-aa07-445d-9801-a45ea18160b2
98
+ ```
99
+
100
+ </TabItem>
101
+ <TabItem value="Markdown">
102
+
103
+ ```md
104
+ # viva engage role member list --roleId "966b8ec4-6457-4f22-bd3c-5a2520e98f4a"
105
+
106
+ Date: 8/1/2025
107
+
108
+ ## 1f5595b2-aa07-445d-9801-a45ea18160b2
109
+
110
+ Property | Value
111
+ ---------|-------
112
+ id | 1f5595b2-aa07-445d-9801-a45ea18160b2
113
+ createdDateTime | 2024-05-22T15:43:08.406Z
114
+ userId | 1f5595b2-aa07-445d-9801-a45ea18160b2
115
+ ```
116
+
117
+ </TabItem>
118
+ </Tabs>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnp/cli-microsoft365",
3
- "version": "10.11.0-beta.b1eeb91",
3
+ "version": "10.11.0",
4
4
  "description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
5
5
  "license": "MIT",
6
6
  "main": "./dist/api.js",
@@ -208,6 +208,7 @@
208
208
  "Raju, Arnie <arnie.raju@thesolutioncollective.com.au>",
209
209
  "Ramalho, David <dramalho@storm.ie>",
210
210
  "Rathi, Tanmay <tanmay_rathi@intuit.com>",
211
+ "Raval, Nirav <niravraval34@gmail.com>",
211
212
  "Reekmans, Yannick <reekmans.yannick@gmail.com>",
212
213
  "Raghwendra Rishabh <rishabhraghwendra2002@gmail.com>",
213
214
  "Rodrigues, Joel <19577724+joelfmrodrigues@users.noreply.github.com>",
@@ -315,4 +316,4 @@
315
316
  "sinon": "^21.0.0",
316
317
  "source-map-support": "^0.5.21"
317
318
  }
318
- }
319
+ }