@pnp/cli-microsoft365 8.0.0-beta.d20a60e → 8.0.0-beta.e6f9331

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.
@@ -4,7 +4,7 @@ import TabItem from '@theme/TabItem';
4
4
 
5
5
  # flow list
6
6
 
7
- Lists Power Automate flow in the given environment
7
+ Lists Power Automate flows in the given environment
8
8
 
9
9
  ## Usage
10
10
 
@@ -83,85 +83,61 @@ m365 flow list --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --
83
83
  ```json
84
84
  [
85
85
  {
86
- "name": "00afcb83-df7b-4fe0-ab9c-1542a1dc66a9",
87
- "id": "/providers/Microsoft.ProcessSimple/environments/Default-00000000-0000-0000-0000-000000000000/flows/00afcb83-df7b-4fe0-ab9c-1542a1dc66a9",
86
+ "name": "fc2d4ef5-4151-4e93-9aaa-1f380d7ed95d",
87
+ "id": "/providers/Microsoft.ProcessSimple/environments/Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4/flows/fc2d4ef5-4151-4e93-9aaa-1f380d7ed95d",
88
88
  "type": "Microsoft.ProcessSimple/environments/flows",
89
89
  "properties": {
90
90
  "apiId": "/providers/Microsoft.PowerApps/apis/shared_logicflows",
91
- "displayName": "Contoso Invoicing Flow",
91
+ "displayName": "Invoicing flow",
92
92
  "userType": "Owner",
93
93
  "state": "Started",
94
94
  "connectionReferences": {
95
- "shared_contoso-20invoicing-5fdd00e4805bfffb8f-5fbaee43593a7efda0": {
96
- "connectionName": "bd877f62e4224011aa936d706fc68902",
97
- "source": "Invoker",
98
- "id": "/providers/Microsoft.PowerApps/apis/shared_contoso-20invoicing-5fdd00e4805bfffb8f-5fbaee43593a7efda0",
99
- "displayName": "Contoso Invoicing",
100
- "iconUri": "https://az787822.vo.msecnd.net/defaulticons/api-dedicated.png",
101
- "brandColor": "#007ee5",
102
- "tier": "NotSpecified"
103
- },
104
- "shared_flowpush": {
105
- "connectionName": "shared-flowpush-d2c01136-3f7d-4449-b4f1-cb2d03a35ba8",
106
- "source": "Invoker",
107
- "id": "/providers/Microsoft.PowerApps/apis/shared_flowpush",
108
- "displayName": "Notifications",
109
- "iconUri": "https://connectoricons-prod.azureedge.net/releases/v1.0.1599/1.0.1599.3017/flowpush/icon.png",
110
- "brandColor": "#FF3B30",
95
+ "shared_office365": {
96
+ "connectionName": "shared-office365-19528cc4-23c1-4b39-abea-f010eb9fe3f9",
97
+ "source": "Embedded",
98
+ "id": "/providers/Microsoft.PowerApps/apis/shared_office365",
99
+ "displayName": "Office 365 Outlook",
100
+ "iconUri": "https://connectoricons-prod.azureedge.net/releases/v1.0.1686/1.0.1686.3706/office365/icon.png",
101
+ "brandColor": "#0078D4",
111
102
  "tier": "Standard"
112
103
  }
113
104
  },
114
- "createdTime": "2022-06-11T10:34:03.7241198Z",
115
- "lastModifiedTime": "2022-06-11T10:35:54.1920032Z",
105
+ "createdTime": "2024-07-09T21:32:14.5918501Z",
106
+ "lastModifiedTime": "2024-07-09T21:32:15.2349507Z",
116
107
  "environment": {
117
- "name": "Default-00000000-0000-0000-0000-000000000000",
108
+ "name": "Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4",
118
109
  "type": "Microsoft.ProcessSimple/environments",
119
- "id": "/providers/Microsoft.ProcessSimple/environments/Default-00000000-0000-0000-0000-000000000000"
110
+ "id": "/providers/Microsoft.ProcessSimple/environments/Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4"
120
111
  },
121
112
  "definitionSummary": {
122
113
  "triggers": [
123
114
  {
124
- "type": "Request",
125
- "kind": "Button",
115
+ "type": "Recurrence",
126
116
  "metadata": {
127
- "operationMetadataId": "0cc0490e-e1b6-4a19-b313-f54862d64f02"
117
+ "operationMetadataId": "57317efe-4f87-47bc-b69c-179452c75f87"
128
118
  }
129
119
  }
130
120
  ],
131
121
  "actions": [
132
122
  {
133
123
  "type": "OpenApiConnection",
134
- "swaggerOperationId": "ListInvoices",
124
+ "swaggerOperationId": "SendEmailV2",
135
125
  "metadata": {
136
- "operationMetadataId": "d76a7b54-48bb-49a0-86b8-dd3d21b3d5ce"
137
- }
138
- },
139
- {
140
- "type": "Table",
141
- "metadata": {
142
- "operationMetadataId": "1164ebc4-b501-46bc-bc88-cc99660f92c3"
143
- }
144
- },
145
- {
146
- "type": "OpenApiConnection",
147
- "swaggerOperationId": "SendEmailNotification",
148
- "metadata": {
149
- "operationMetadataId": "9febe29f-2e36-4765-81ab-83645d28332d"
126
+ "operationMetadataId": "474e8016-6a45-466a-a021-3fedf5a766be"
150
127
  }
151
128
  }
152
129
  ]
153
130
  },
154
131
  "creator": {
155
- "tenantId": "00000000-0000-0000-0000-000000000000",
156
- "objectId": "00000000-0000-0000-0000-000000000000",
157
- "userId": "00000000-0000-0000-0000-000000000000",
132
+ "tenantId": "1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4",
133
+ "objectId": "9723d9b0-b8d6-48af-b381-fb4a9f0403e4",
134
+ "userId": "9723d9b0-b8d6-48af-b381-fb4a9f0403e4",
158
135
  "userType": "ActiveDirectory"
159
136
  },
160
137
  "provisioningMethod": "FromDefinition",
161
138
  "flowFailureAlertSubscribed": true,
162
139
  "isManaged": false
163
- },
164
- "displayName": "Contoso Invoicing Flow"
140
+ }
165
141
  }
166
142
  ]
167
143
  ```
@@ -171,16 +147,16 @@ m365 flow list --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --
171
147
 
172
148
  ```text
173
149
  name displayName
174
- ------------------------------------ -----------------------------------------------
175
- 00afcb83-df7b-4fe0-ab9c-1542a1dc66a9 Contoso Invoicing Flow
150
+ ------------------------------------ --------------
151
+ fc2d4ef5-4151-4e93-9aaa-1f380d7ed95d Invoicing Flow
176
152
  ```
177
153
 
178
154
  </TabItem>
179
155
  <TabItem value="CSV">
180
156
 
181
157
  ```csv
182
- name,displayName
183
- 00afcb83-df7b-4fe0-ab9c-1542a1dc66a9,Contoso Invoicing Flow
158
+ name,id,type,displayName
159
+ fc2d4ef5-4151-4e93-9aaa-1f380d7ed95d,/providers/Microsoft.ProcessSimple/environments/Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4/flows/fc2d4ef5-4151-4e93-9aaa-1f380d7ed95d,Microsoft.ProcessSimple/environments/flows,Invoicing flow
184
160
  ```
185
161
 
186
162
  </TabItem>
@@ -189,18 +165,100 @@ m365 flow list --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --
189
165
  ```md
190
166
  # flow list --environmentName "Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4"
191
167
 
192
- Date: 2023-05-18
168
+ Date: 09/07/2024
193
169
 
194
- ## Contoso Invoicing Flow (/providers/Microsoft.ProcessSimple/environments/Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4/flows/00afcb83-df7b-4fe0-ab9c-1542a1dc66a9)
170
+ ## Invoicing flow (/providers/Microsoft.ProcessSimple/environments/Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4/flows/fc2d4ef5-4151-4e93-9aaa-1f380d7ed95d)
195
171
 
196
172
  Property | Value
197
173
  ---------|-------
198
- name | 00afcb83-df7b-4fe0-ab9c-1542a1dc66a9
199
- id | /providers/Microsoft.ProcessSimple/environments/Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4/flows/00afcb83-df7b-4fe0-ab9c-1542a1dc66a9
174
+ name | fc2d4ef5-4151-4e93-9aaa-1f380d7ed95d
175
+ id | /providers/Microsoft.ProcessSimple/environments/Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4/flows/fc2d4ef5-4151-4e93-9aaa-1f380d7ed95d
200
176
  type | Microsoft.ProcessSimple/environments/flows
201
- displayName | Contoso Invoicing Flow
177
+ displayName | Invoicing flow
202
178
  ```
203
179
 
204
180
  </TabItem>
205
181
  </Tabs>
206
182
 
183
+ ### `asAdmin` response
184
+
185
+ <Tabs>
186
+ <TabItem value="JSON">
187
+
188
+ ```json
189
+ [
190
+ {
191
+ "name": "fc2d4ef5-4151-4e93-9aaa-1f380d7ed95d",
192
+ "id": "/providers/Microsoft.ProcessSimple/environments/Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4/flows/fc2d4ef5-4151-4e93-9aaa-1f380d7ed95d",
193
+ "type": "Microsoft.ProcessSimple/environments/flows",
194
+ "properties": {
195
+ "apiId": "/providers/Microsoft.PowerApps/apis/shared_logicflows",
196
+ "displayName": "Invoicing flow",
197
+ "state": "Started",
198
+ "createdTime": "2024-07-09T21:32:15Z",
199
+ "lastModifiedTime": "2024-07-09T21:32:15Z",
200
+ "flowSuspensionReason": "None",
201
+ "environment": {
202
+ "name": "Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4",
203
+ "type": "Microsoft.ProcessSimple/environments",
204
+ "id": "/providers/Microsoft.ProcessSimple/environments/Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4"
205
+ },
206
+ "definitionSummary": {
207
+ "triggers": [],
208
+ "actions": []
209
+ },
210
+ "creator": {
211
+ "tenantId": "1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4",
212
+ "objectId": "9723d9b0-b8d6-48af-b381-fb4a9f0403e4",
213
+ "userId": "9723d9b0-b8d6-48af-b381-fb4a9f0403e4",
214
+ "userType": "ActiveDirectory"
215
+ },
216
+ "flowFailureAlertSubscribed": false,
217
+ "isManaged": false,
218
+ "machineDescriptionData": {},
219
+ "flowOpenAiData": {
220
+ "isConsequential": false,
221
+ "isConsequentialFlagOverwritten": false
222
+ }
223
+ }
224
+ }
225
+ ]
226
+ ```
227
+
228
+ </TabItem>
229
+ <TabItem value="Text">
230
+
231
+ ```text
232
+ name displayName
233
+ ------------------------------------ --------------
234
+ fc2d4ef5-4151-4e93-9aaa-1f380d7ed95d Invoicing Flow
235
+ ```
236
+
237
+ </TabItem>
238
+ <TabItem value="CSV">
239
+
240
+ ```csv
241
+ name,id,type,displayName
242
+ fc2d4ef5-4151-4e93-9aaa-1f380d7ed95d,/providers/Microsoft.ProcessSimple/environments/Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4/flows/fc2d4ef5-4151-4e93-9aaa-1f380d7ed95d,Microsoft.ProcessSimple/environments/flows,Invoicing flow
243
+ ```
244
+
245
+ </TabItem>
246
+ <TabItem value="Markdown">
247
+
248
+ ```md
249
+ # flow list --environmentName "Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4"
250
+
251
+ Date: 09/07/2024
252
+
253
+ ## Invoicing flow (/providers/Microsoft.ProcessSimple/environments/Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4/flows/fc2d4ef5-4151-4e93-9aaa-1f380d7ed95d)
254
+
255
+ Property | Value
256
+ ---------|-------
257
+ name | fc2d4ef5-4151-4e93-9aaa-1f380d7ed95d
258
+ id | /providers/Microsoft.ProcessSimple/environments/Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4/flows/fc2d4ef5-4151-4e93-9aaa-1f380d7ed95d
259
+ type | Microsoft.ProcessSimple/environments/flows
260
+ displayName | Invoicing flow
261
+ ```
262
+
263
+ </TabItem>
264
+ </Tabs>
@@ -17,10 +17,10 @@ m365 spo cdn set [options]
17
17
  : Set to true to enable CDN or to false to disable it. Allowed values: `true`, `false`.
18
18
 
19
19
  `-t, --type [type]`
20
- : Type of CDN to manage. Allowed values: `Public`, `Private`, `Both`. Defaults to `Public`.
20
+ : Type of CDN to update. Allowed values: `Public`, `Private`, `Both`. Defaults to `Public`.
21
21
 
22
22
  `--noDefaultOrigins`
23
- : pass to not create the default origins.
23
+ : Specify this flag to not create the default origins.
24
24
  ```
25
25
 
26
26
  <Global />
@@ -35,7 +35,7 @@ Using the `--noDefaultOrigins` option you can specify to skip the creation of th
35
35
 
36
36
  :::info
37
37
 
38
- To use this command you have to have permissions to access the tenant admin site.
38
+ To use this command you must be a Global or SharePoint administrator.
39
39
 
40
40
  :::
41
41
 
@@ -110,17 +110,21 @@ m365 spo group member add --webUrl https://contoso.sharepoint.com/sites/SiteA --
110
110
  ```json
111
111
  [
112
112
  {
113
- "AllowedRoles": [
114
- 0
115
- ],
116
- "CurrentRole": 0,
117
- "DisplayName": "John Doe",
118
- "Email": "john.doe@contoso.onmicrosoft.com",
119
- "InvitationLink": null,
120
- "IsUserKnown": true,
121
- "Message": null,
122
- "Status": true,
123
- "User": "i:0#.f|membership|john.doe@contoso.onmicrosoft.com"
113
+ "Id": 11,
114
+ "IsHiddenInUI": false,
115
+ "LoginName": "i:0#.f|membership|adelev@contoso.onmicrosoft.com",
116
+ "Title": "Adele Vance",
117
+ "PrincipalType": 1,
118
+ "Email": "Adele.Vance@contoso.onmicrosoft.com",
119
+ "Expiration": "",
120
+ "IsEmailAuthenticationGuestUser": false,
121
+ "IsShareByEmailGuestUser": false,
122
+ "IsSiteAdmin": false,
123
+ "UserId": {
124
+ "NameId": "10032001f5ac2029",
125
+ "NameIdIssuer": "urn:federation:microsoftonline"
126
+ },
127
+ "UserPrincipalName": "adelev@contoso.onmicrosoft.com"
124
128
  }
125
129
  ]
126
130
  ```
@@ -129,39 +133,42 @@ m365 spo group member add --webUrl https://contoso.sharepoint.com/sites/SiteA --
129
133
  <TabItem value="Text">
130
134
 
131
135
  ```text
132
- DisplayName Email
133
- ----------- ---------------------------------
134
- John Doe john.doe@contoso.onmicrosoft.com
136
+ Title UserPrincipalName
137
+ ----------- -------------------------------------
138
+ Adele Vance Adele.Vance@contoso.onmicrosoft.com
135
139
  ```
136
140
 
137
141
  </TabItem>
138
142
  <TabItem value="CSV">
139
143
 
140
144
  ```csv
141
- DisplayName,Email
142
- John Doe,john.doe@contoso.onmicrosoft.com
145
+ Id,IsHiddenInUI,LoginName,Title,PrincipalType,Email,Expiration,IsEmailAuthenticationGuestUser,IsShareByEmailGuestUser,IsSiteAdmin,UserPrincipalName
146
+ 11,,i:0#.f|membership|adelev@contoso.onmicrosoft.com,Adele Vance,1,Adele.Vance@contoso.onmicrosoft.com,,,,,adelev@contoso.onmicrosoft.com
143
147
  ```
144
148
 
145
149
  </TabItem>
146
150
  <TabItem value="Markdown">
147
151
 
148
152
  ```md
149
- # spo group member add --webUrl "https://contoso.sharepoint.com" --groupId "5" --aadGroupIds "f2fb2f10-cfd2-4054-8ffd-64533657a5ab"
153
+ # spo group member add --webUrl "https://contoso.sharepoint.com/sites/Marketing" --groupId "5" --userNames "AdeleV@contoso.onmicrosoft.com"
150
154
 
151
- Date: 13/2/2023
155
+ Date: 10/07/2024
152
156
 
153
- ## All Company Members
157
+ ## Adele Vance (11)
154
158
 
155
159
  Property | Value
156
160
  ---------|-------
157
- CurrentRole | 0
158
- DisplayName | All Company Members
159
- Email | allcompany@contoso.onmicrosoft.com
160
- InvitationLink | null
161
- IsUserKnown | true
162
- Message | null
163
- Status | true
164
- User | c:0o.c\|federateddirectoryclaimprovider\|f2fb2f10-cfd2-4054-8ffd-64533657a5ab
161
+ Id | 11
162
+ IsHiddenInUI | false
163
+ LoginName | i:0#.f\|membership\|adelev@contoso.onmicrosoft.com
164
+ Title | Adele Vance
165
+ PrincipalType | 1
166
+ Email | Adele.Vance@contoso.onmicrosoft.com
167
+ Expiration |
168
+ IsEmailAuthenticationGuestUser | false
169
+ IsShareByEmailGuestUser | false
170
+ IsSiteAdmin | false
171
+ UserPrincipalName | adelev@contoso.onmicrosoft.com
165
172
  ```
166
173
 
167
174
  </TabItem>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnp/cli-microsoft365",
3
- "version": "8.0.0-beta.d20a60e",
3
+ "version": "8.0.0-beta.e6f9331",
4
4
  "description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
5
5
  "license": "MIT",
6
6
  "main": "./dist/api.js",