@pnp/cli-microsoft365 9.0.0-beta.e16d09c → 9.0.0-beta.e69e8d0
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/config.js +1 -1
- package/dist/m365/app/commands/permission/permission-add.js +9 -9
- package/dist/m365/commands/status.js +2 -2
- package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-add.js +13 -13
- package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-get.js +18 -18
- package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-list.js +1 -1
- package/dist/m365/entra/commands/group/group-user-list.js +4 -4
- package/dist/m365/entra/commands/m365group/m365group-conversation-post-list.js +4 -4
- package/dist/m365/entra/commands/m365group/m365group-recyclebinitem-list.js +3 -3
- package/dist/m365/entra/commands/m365group/m365group-user-add.js +109 -32
- package/dist/m365/entra/commands/m365group/m365group-user-list.js +6 -9
- package/dist/m365/entra/commands/m365group/m365group-user-set.js +159 -84
- package/dist/m365/flow/commands/flow-get.js +1 -1
- package/dist/m365/outlook/commands/message/message-get.js +11 -11
- package/dist/m365/pa/commands/app/app-export.js +13 -7
- package/dist/m365/spfx/commands/project/DeployWorkflow.js +1 -1
- package/dist/m365/spfx/commands/project/project-github-workflow-add.js +1 -10
- package/dist/m365/spo/commands/file/file-copy.js +55 -34
- package/dist/m365/spo/commands/folder/folder-set.js +0 -4
- package/dist/m365/spo/commands/folder/folder-sharinglink-get.js +86 -0
- package/dist/m365/spo/commands/folder/folder-sharinglink-list.js +110 -0
- package/dist/m365/spo/commands/list/ListInstance.js +6 -1
- package/dist/m365/spo/commands/list/list-get.js +9 -3
- package/dist/m365/spo/commands/list/list-list.js +1 -4
- package/dist/m365/spo/commands/site/site-appcatalog-remove.js +48 -24
- package/dist/m365/spo/commands/site/site-remove.js +1 -7
- package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-restore.js +2 -22
- package/dist/m365/spo/commands.js +2 -1
- package/dist/utils/drive.js +61 -0
- package/dist/utils/spo.js +106 -0
- package/docs/docs/cmd/app/permission/permission-add.mdx +5 -5
- package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-add.mdx +12 -12
- package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-get.mdx +14 -14
- package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-list.mdx +5 -5
- package/docs/docs/cmd/entra/group/group-user-list.mdx +7 -7
- package/docs/docs/cmd/entra/m365group/m365group-conversation-post-list.mdx +5 -5
- package/docs/docs/cmd/entra/m365group/m365group-recyclebinitem-list.mdx +3 -3
- package/docs/docs/cmd/entra/m365group/m365group-user-add.mdx +28 -10
- package/docs/docs/cmd/entra/m365group/m365group-user-list.mdx +1 -1
- package/docs/docs/cmd/entra/m365group/m365group-user-set.mdx +35 -11
- package/docs/docs/cmd/flow/flow-get.mdx +149 -283
- package/docs/docs/cmd/outlook/message/message-get.mdx +5 -5
- package/docs/docs/cmd/pa/app/app-export.mdx +15 -9
- package/docs/docs/cmd/spfx/project/project-github-workflow-add.mdx +11 -12
- package/docs/docs/cmd/spo/app/app-uninstall.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-copy.mdx +119 -12
- package/docs/docs/cmd/spo/folder/folder-set.mdx +0 -6
- package/docs/docs/cmd/spo/folder/folder-sharinglink-get.mdx +110 -0
- package/docs/docs/cmd/spo/folder/folder-sharinglink-list.mdx +114 -0
- package/docs/docs/cmd/spo/list/list-get.mdx +6 -0
- package/docs/docs/cmd/spo/list/list-list.mdx +5 -7
- package/docs/docs/cmd/spo/site/site-appcatalog-remove.mdx +11 -2
- package/docs/docs/cmd/spo/site/site-remove.mdx +0 -3
- package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-restore.mdx +2 -49
- package/npm-shrinkwrap.json +572 -477
- package/package.json +22 -22
|
@@ -62,352 +62,218 @@ m365 flow get --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --n
|
|
|
62
62
|
|
|
63
63
|
```json
|
|
64
64
|
{
|
|
65
|
-
"name": "
|
|
66
|
-
"id": "/providers/Microsoft.ProcessSimple/environments/Default-
|
|
65
|
+
"name": "a18e89d1-4c75-41e4-9517-e90aedc079be",
|
|
66
|
+
"id": "/providers/Microsoft.ProcessSimple/environments/Default-e1dd4023-a656-480a-8a0e-c1b1eec51e1d/flows/a18e89d1-4c75-41e4-9517-e90aedc079be",
|
|
67
67
|
"type": "Microsoft.ProcessSimple/environments/flows",
|
|
68
68
|
"properties": {
|
|
69
69
|
"apiId": "/providers/Microsoft.PowerApps/apis/shared_logicflows",
|
|
70
|
-
"displayName": "
|
|
70
|
+
"displayName": "TEST",
|
|
71
71
|
"userType": "Owner",
|
|
72
72
|
"definition": {
|
|
73
73
|
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
|
|
74
74
|
"contentVersion": "1.0.0.0",
|
|
75
75
|
"parameters": {
|
|
76
|
-
"$connections": {
|
|
77
|
-
"defaultValue": {},
|
|
78
|
-
"type": "Object"
|
|
79
|
-
},
|
|
80
76
|
"$authentication": {
|
|
81
77
|
"defaultValue": {},
|
|
82
78
|
"type": "SecureObject"
|
|
79
|
+
},
|
|
80
|
+
"$connections": {
|
|
81
|
+
"defaultValue": {},
|
|
82
|
+
"type": "Object"
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
85
|
"triggers": {
|
|
86
|
-
"
|
|
87
|
-
"recurrence": {
|
|
88
|
-
"frequency": "Minute",
|
|
89
|
-
"interval": 1
|
|
90
|
-
},
|
|
86
|
+
"manual": {
|
|
91
87
|
"metadata": {
|
|
92
|
-
"
|
|
93
|
-
"operationMetadataId": "2e0aa276-5536-4f67-a7b7-c1a37a91b8ca",
|
|
94
|
-
"%252fShared%2bDocuments": "/Shared Documents"
|
|
88
|
+
"operationMetadataId": "04077d6a-9fdd-4c79-b742-09a8d5c022eb"
|
|
95
89
|
},
|
|
96
|
-
"type": "
|
|
90
|
+
"type": "Request",
|
|
91
|
+
"kind": "Button",
|
|
97
92
|
"inputs": {
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
93
|
+
"schema": {
|
|
94
|
+
"type": "object",
|
|
95
|
+
"properties": {
|
|
96
|
+
"text": {
|
|
97
|
+
"description": "Please enter your input",
|
|
98
|
+
"title": "Text",
|
|
99
|
+
"type": "string",
|
|
100
|
+
"x-ms-content-hint": "TEXT",
|
|
101
|
+
"x-ms-dynamically-added": true
|
|
102
|
+
},
|
|
103
|
+
"boolean": {
|
|
104
|
+
"description": "Please select yes or no",
|
|
105
|
+
"title": "Boolean",
|
|
106
|
+
"type": "boolean",
|
|
107
|
+
"x-ms-content-hint": "BOOLEAN",
|
|
108
|
+
"x-ms-dynamically-added": true
|
|
109
|
+
},
|
|
110
|
+
"number": {
|
|
111
|
+
"description": "Please enter a number",
|
|
112
|
+
"title": "Number",
|
|
113
|
+
"type": "number",
|
|
114
|
+
"x-ms-content-hint": "NUMBER",
|
|
115
|
+
"x-ms-dynamically-added": true
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"required": [
|
|
119
|
+
"text",
|
|
120
|
+
"boolean",
|
|
121
|
+
"number"
|
|
122
|
+
]
|
|
123
|
+
}
|
|
109
124
|
}
|
|
110
125
|
}
|
|
111
126
|
},
|
|
112
127
|
"actions": {
|
|
113
|
-
"Analyze_Image": {
|
|
114
|
-
"runAfter": {
|
|
115
|
-
"Initialize_variable": [
|
|
116
|
-
"Succeeded"
|
|
117
|
-
]
|
|
118
|
-
},
|
|
119
|
-
"metadata": {
|
|
120
|
-
"operationMetadataId": "82b95160-9c96-4507-ad8c-c688ea95c2b1"
|
|
121
|
-
},
|
|
122
|
-
"type": "OpenApiConnection",
|
|
123
|
-
"inputs": {
|
|
124
|
-
"host": {
|
|
125
|
-
"apiId": "/providers/Microsoft.PowerApps/apis/shared_cognitiveservicescomputervision",
|
|
126
|
-
"connectionName": "shared_cognitiveservicescomputervision",
|
|
127
|
-
"operationId": "AnalyzeImageV2"
|
|
128
|
-
},
|
|
129
|
-
"parameters": {
|
|
130
|
-
"format": "Image Content",
|
|
131
|
-
"Image": "@triggerOutputs()?['body']"
|
|
132
|
-
},
|
|
133
|
-
"authentication": "@parameters('$authentication')"
|
|
134
|
-
}
|
|
135
|
-
},
|
|
136
|
-
"Compose": {
|
|
137
|
-
"runAfter": {
|
|
138
|
-
"Analyze_Image": [
|
|
139
|
-
"Succeeded"
|
|
140
|
-
]
|
|
141
|
-
},
|
|
142
|
-
"metadata": {
|
|
143
|
-
"operationMetadataId": "cbd09106-eb7a-4743-b553-8b11cd09a90c"
|
|
144
|
-
},
|
|
145
|
-
"type": "Compose",
|
|
146
|
-
"inputs": "@outputs('Analyze_Image')?['body/tags']"
|
|
147
|
-
},
|
|
148
128
|
"Initialize_variable": {
|
|
149
129
|
"runAfter": {},
|
|
150
|
-
"metadata": {
|
|
151
|
-
"operationMetadataId": "818f9da8-8ebf-4081-8d7b-8fe37470cd57"
|
|
152
|
-
},
|
|
153
130
|
"type": "InitializeVariable",
|
|
154
131
|
"inputs": {
|
|
155
132
|
"variables": [
|
|
156
133
|
{
|
|
157
|
-
"name": "
|
|
158
|
-
"type": "string"
|
|
159
|
-
"value": "@{decodeUriComponent(decodeUriComponent(triggerOutputs()?['headers/x-ms-file-id']))}"
|
|
134
|
+
"name": "TEST",
|
|
135
|
+
"type": "string"
|
|
160
136
|
}
|
|
161
137
|
]
|
|
162
138
|
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
"triggerSchema": {
|
|
143
|
+
"type": "object",
|
|
144
|
+
"properties": {
|
|
145
|
+
"text": {
|
|
146
|
+
"description": "Please enter your input",
|
|
147
|
+
"title": "Text",
|
|
148
|
+
"type": "string",
|
|
149
|
+
"x-ms-content-hint": "TEXT",
|
|
150
|
+
"x-ms-dynamically-added": true
|
|
163
151
|
},
|
|
164
|
-
"
|
|
165
|
-
"
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
"metadata": {
|
|
171
|
-
"operationMetadataId": "0e9b2bf7-c52e-4b28-8351-2850a3373186"
|
|
172
|
-
},
|
|
173
|
-
"type": "OpenApiConnection",
|
|
174
|
-
"inputs": {
|
|
175
|
-
"host": {
|
|
176
|
-
"apiId": "/providers/Microsoft.PowerApps/apis/shared_sharepointonline",
|
|
177
|
-
"connectionName": "shared_sharepointonline",
|
|
178
|
-
"operationId": "HttpRequest"
|
|
179
|
-
},
|
|
180
|
-
"parameters": {
|
|
181
|
-
"dataset": "https://contoso.sharepoint.com/sites/contosoHome",
|
|
182
|
-
"parameters/method": "GET",
|
|
183
|
-
"parameters/uri": "_api/web/getFileByServerRelativeURL('@{concat('/sites/contosoHome/', variables('FilePath'))}')?$select=ListItemAllFields/ID&$expand=ListItemAllFields"
|
|
184
|
-
},
|
|
185
|
-
"authentication": "@parameters('$authentication')"
|
|
186
|
-
}
|
|
187
|
-
},
|
|
188
|
-
"Parse_JSON": {
|
|
189
|
-
"runAfter": {
|
|
190
|
-
"Send_an_HTTP_request_to_SharePoint": [
|
|
191
|
-
"Succeeded"
|
|
192
|
-
]
|
|
193
|
-
},
|
|
194
|
-
"metadata": {
|
|
195
|
-
"operationMetadataId": "7d758c3f-f603-44d0-94b6-26cb08590fb3"
|
|
196
|
-
},
|
|
197
|
-
"type": "ParseJson",
|
|
198
|
-
"inputs": {
|
|
199
|
-
"content": "@body('Send_an_HTTP_request_to_SharePoint')",
|
|
200
|
-
"schema": {
|
|
201
|
-
"type": "object",
|
|
202
|
-
"properties": {
|
|
203
|
-
"d": {
|
|
204
|
-
"type": "object",
|
|
205
|
-
"properties": {
|
|
206
|
-
"__metadata": {
|
|
207
|
-
"type": "object",
|
|
208
|
-
"properties": {
|
|
209
|
-
"id": {
|
|
210
|
-
"type": "string"
|
|
211
|
-
},
|
|
212
|
-
"uri": {
|
|
213
|
-
"type": "string"
|
|
214
|
-
},
|
|
215
|
-
"type": {
|
|
216
|
-
"type": "string"
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
},
|
|
220
|
-
"ListItemAllFields": {
|
|
221
|
-
"type": "object",
|
|
222
|
-
"properties": {
|
|
223
|
-
"__metadata": {
|
|
224
|
-
"type": "object",
|
|
225
|
-
"properties": {
|
|
226
|
-
"id": {
|
|
227
|
-
"type": "string"
|
|
228
|
-
},
|
|
229
|
-
"uri": {
|
|
230
|
-
"type": "string"
|
|
231
|
-
},
|
|
232
|
-
"etag": {
|
|
233
|
-
"type": "string"
|
|
234
|
-
},
|
|
235
|
-
"type": {
|
|
236
|
-
"type": "string"
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
},
|
|
240
|
-
"Id": {
|
|
241
|
-
"type": "integer"
|
|
242
|
-
},
|
|
243
|
-
"ID": {
|
|
244
|
-
"type": "integer"
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
}
|
|
152
|
+
"boolean": {
|
|
153
|
+
"description": "Please select yes or no",
|
|
154
|
+
"title": "Boolean",
|
|
155
|
+
"type": "boolean",
|
|
156
|
+
"x-ms-content-hint": "BOOLEAN",
|
|
157
|
+
"x-ms-dynamically-added": true
|
|
253
158
|
},
|
|
254
|
-
"
|
|
255
|
-
"
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
"metadata": {
|
|
261
|
-
"operationMetadataId": "c1a801a8-1f96-498a-a356-82c9d0dd8188"
|
|
262
|
-
},
|
|
263
|
-
"type": "OpenApiConnection",
|
|
264
|
-
"inputs": {
|
|
265
|
-
"host": {
|
|
266
|
-
"apiId": "/providers/Microsoft.PowerApps/apis/shared_sharepointonline",
|
|
267
|
-
"connectionName": "shared_sharepointonline",
|
|
268
|
-
"operationId": "PatchFileItem"
|
|
269
|
-
},
|
|
270
|
-
"parameters": {
|
|
271
|
-
"dataset": "https://contoso.sharepoint.com/sites/contosoHome",
|
|
272
|
-
"table": "13e0b5a3-f626-4272-a73b-a3e84978199b",
|
|
273
|
-
"id": "@body('Parse_JSON')?['d']?['ListItemAllFields']?['Id']",
|
|
274
|
-
"item/CognitiveTags": "@join(outputs('Analyze_Image')?['body/description/tags'], ', ')"
|
|
275
|
-
},
|
|
276
|
-
"authentication": "@parameters('$authentication')"
|
|
277
|
-
}
|
|
159
|
+
"number": {
|
|
160
|
+
"description": "Please enter a number",
|
|
161
|
+
"title": "Number",
|
|
162
|
+
"type": "number",
|
|
163
|
+
"x-ms-content-hint": "NUMBER",
|
|
164
|
+
"x-ms-dynamically-added": true
|
|
278
165
|
}
|
|
279
166
|
},
|
|
280
|
-
"
|
|
167
|
+
"required": [
|
|
168
|
+
"text",
|
|
169
|
+
"boolean",
|
|
170
|
+
"number"
|
|
171
|
+
]
|
|
281
172
|
},
|
|
282
173
|
"state": "Started",
|
|
283
|
-
"
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
"
|
|
288
|
-
"
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
174
|
+
"plan": "NotSpecified",
|
|
175
|
+
"connectionReferences": {},
|
|
176
|
+
"installedConnectionReferences": {
|
|
177
|
+
"shared_approvals": {
|
|
178
|
+
"connectionName": "shared-approvals-068230cf-43ef-455d-b823-ee6f989d0193",
|
|
179
|
+
"apiDefinition": {
|
|
180
|
+
"name": "shared_approvals",
|
|
181
|
+
"id": "/providers/Microsoft.PowerApps/apis/shared_approvals",
|
|
182
|
+
"type": "/providers/Microsoft.PowerApps/apis",
|
|
183
|
+
"properties": {
|
|
184
|
+
"displayName": "Approvals",
|
|
185
|
+
"iconUri": "https://connectoricons-prod.azureedge.net/releases/v1.0.1682/1.0.1682.3671/approvals/icon.png",
|
|
186
|
+
"purpose": "NotSpecified",
|
|
187
|
+
"connectionParameters": {},
|
|
188
|
+
"runtimeUrls": [
|
|
189
|
+
"https://europe-002.azure-apim.net/apim/approvals"
|
|
190
|
+
],
|
|
191
|
+
"primaryRuntimeUrl": "https://europe-002.azure-apim.net/apim/approvals",
|
|
192
|
+
"metadata": {
|
|
193
|
+
"source": "marketplace",
|
|
194
|
+
"brandColor": "#6464F5",
|
|
195
|
+
"connectionLimits": {
|
|
196
|
+
"*": 1
|
|
197
|
+
},
|
|
198
|
+
"useNewApimVersion": "true",
|
|
199
|
+
"version": {
|
|
200
|
+
"previous": "releases/v1.0.1679\\1.0.1679.3643",
|
|
201
|
+
"current": "releases/v1.0.1682\\1.0.1682.3671"
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
"capabilities": [
|
|
205
|
+
"actions"
|
|
206
|
+
],
|
|
207
|
+
"tier": "Standard",
|
|
208
|
+
"isCustomApi": false,
|
|
209
|
+
"description": "Enables approvals in workflows.",
|
|
210
|
+
"createdTime": "2018-09-16T08:09:23.9434372Z",
|
|
211
|
+
"changedTime": "2024-03-11T18:25:46.7755101Z",
|
|
212
|
+
"publisher": "Microsoft"
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
"source": "Invoker",
|
|
216
|
+
"id": "/providers/Microsoft.PowerApps/apis/shared_approvals",
|
|
217
|
+
"displayName": "Approvals",
|
|
218
|
+
"iconUri": "https://connectoricons-prod.azureedge.net/releases/v1.0.1682/1.0.1682.3671/approvals/icon.png",
|
|
219
|
+
"brandColor": "#6464F5",
|
|
300
220
|
"tier": "Standard"
|
|
301
221
|
}
|
|
302
222
|
},
|
|
303
|
-
"createdTime": "
|
|
304
|
-
"lastModifiedTime": "
|
|
223
|
+
"createdTime": "2023-07-25T18:42:15.7693633Z",
|
|
224
|
+
"lastModifiedTime": "2024-03-08T10:24:12.0147046Z",
|
|
305
225
|
"flowSuspensionReason": "None",
|
|
306
226
|
"environment": {
|
|
307
|
-
"name": "Default-
|
|
227
|
+
"name": "Default-e1dd4023-a656-480a-8a0e-c1b1eec51e1d",
|
|
308
228
|
"type": "Microsoft.ProcessSimple/environments",
|
|
309
|
-
"id": "/providers/Microsoft.ProcessSimple/environments/Default-
|
|
229
|
+
"id": "/providers/Microsoft.ProcessSimple/environments/Default-e1dd4023-a656-480a-8a0e-c1b1eec51e1d"
|
|
310
230
|
},
|
|
311
231
|
"definitionSummary": {
|
|
312
232
|
"triggers": [
|
|
313
233
|
{
|
|
314
|
-
"type": "
|
|
315
|
-
"
|
|
234
|
+
"type": "Request",
|
|
235
|
+
"kind": "Button",
|
|
316
236
|
"metadata": {
|
|
317
|
-
"
|
|
318
|
-
"operationMetadataId": "2e0aa276-5536-4f67-a7b7-c1a37a91b8ca",
|
|
319
|
-
"%252fShared%2bDocuments": "/Shared Documents"
|
|
237
|
+
"operationMetadataId": "04077d6a-9fdd-4c79-b742-09a8d5c022eb"
|
|
320
238
|
}
|
|
321
239
|
}
|
|
322
240
|
],
|
|
323
241
|
"actions": [
|
|
324
242
|
{
|
|
325
|
-
"type": "
|
|
326
|
-
"swaggerOperationId": "AnalyzeImageV2",
|
|
327
|
-
"metadata": {
|
|
328
|
-
"operationMetadataId": "82b95160-9c96-4507-ad8c-c688ea95c2b1"
|
|
329
|
-
}
|
|
330
|
-
},
|
|
331
|
-
{
|
|
332
|
-
"type": "Compose",
|
|
333
|
-
"metadata": {
|
|
334
|
-
"operationMetadataId": "cbd09106-eb7a-4743-b553-8b11cd09a90c"
|
|
335
|
-
}
|
|
336
|
-
},
|
|
337
|
-
{
|
|
338
|
-
"type": "InitializeVariable",
|
|
339
|
-
"metadata": {
|
|
340
|
-
"operationMetadataId": "818f9da8-8ebf-4081-8d7b-8fe37470cd57"
|
|
341
|
-
}
|
|
342
|
-
},
|
|
343
|
-
{
|
|
344
|
-
"type": "OpenApiConnection",
|
|
345
|
-
"swaggerOperationId": "HttpRequest",
|
|
346
|
-
"metadata": {
|
|
347
|
-
"operationMetadataId": "0e9b2bf7-c52e-4b28-8351-2850a3373186"
|
|
348
|
-
}
|
|
349
|
-
},
|
|
350
|
-
{
|
|
351
|
-
"type": "ParseJson",
|
|
352
|
-
"metadata": {
|
|
353
|
-
"operationMetadataId": "7d758c3f-f603-44d0-94b6-26cb08590fb3"
|
|
354
|
-
}
|
|
355
|
-
},
|
|
356
|
-
{
|
|
357
|
-
"type": "OpenApiConnection",
|
|
358
|
-
"swaggerOperationId": "PatchFileItem",
|
|
359
|
-
"metadata": {
|
|
360
|
-
"operationMetadataId": "c1a801a8-1f96-498a-a356-82c9d0dd8188"
|
|
361
|
-
}
|
|
243
|
+
"type": "InitializeVariable"
|
|
362
244
|
}
|
|
363
245
|
]
|
|
364
246
|
},
|
|
365
247
|
"creator": {
|
|
366
|
-
"tenantId": "
|
|
367
|
-
"objectId": "
|
|
368
|
-
"userId": "
|
|
248
|
+
"tenantId": "e1dd4023-a656-480a-8a0e-c1b1eec51e1d",
|
|
249
|
+
"objectId": "fe36f75e-c103-410b-a18a-2bf6df06ac3a",
|
|
250
|
+
"userId": "fe36f75e-c103-410b-a18a-2bf6df06ac3a",
|
|
369
251
|
"userType": "ActiveDirectory"
|
|
370
252
|
},
|
|
371
|
-
"
|
|
253
|
+
"flowTriggerUri": "https://europe-002.azure-apim.net:443/apim/logicflows/A18E89D14C7541E49517E90AEDC079BE-5FA12B1209B98E3B/triggers/manual/run?api-version=2016-06-01",
|
|
254
|
+
"installationStatus": "Installed",
|
|
372
255
|
"provisioningMethod": "FromDefinition",
|
|
373
256
|
"flowFailureAlertSubscribed": true,
|
|
374
|
-
"referencedResources": [
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
"
|
|
378
|
-
"
|
|
379
|
-
}
|
|
380
|
-
"referencers": [
|
|
381
|
-
{
|
|
382
|
-
"referenceSourceType": "Triggers",
|
|
383
|
-
"operationId": "/providers/Microsoft.PowerApps/apis/shared_sharepointonline/apiOperations/OnNewFile"
|
|
384
|
-
},
|
|
385
|
-
{
|
|
386
|
-
"referenceSourceType": "Actions",
|
|
387
|
-
"operationId": "/providers/Microsoft.PowerApps/apis/shared_sharepointonline/apiOperations/HttpRequest"
|
|
388
|
-
}
|
|
389
|
-
]
|
|
257
|
+
"referencedResources": [],
|
|
258
|
+
"licenseData": {
|
|
259
|
+
"performanceProfile": {
|
|
260
|
+
"throttles": {
|
|
261
|
+
"mode": "High"
|
|
262
|
+
}
|
|
390
263
|
},
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
"referenceSourceType": "Actions",
|
|
400
|
-
"operationId": "/providers/Microsoft.PowerApps/apis/shared_sharepointonline/apiOperations/PatchFileItem"
|
|
401
|
-
}
|
|
402
|
-
]
|
|
403
|
-
}
|
|
404
|
-
],
|
|
405
|
-
"isManaged": false
|
|
264
|
+
"flowLicenseName": "placeholder"
|
|
265
|
+
},
|
|
266
|
+
"isManaged": false,
|
|
267
|
+
"machineDescriptionData": {},
|
|
268
|
+
"flowOpenAiData": {
|
|
269
|
+
"isConsequential": false,
|
|
270
|
+
"isConsequentialFlagOverwritten": false
|
|
271
|
+
}
|
|
406
272
|
},
|
|
407
|
-
"displayName": "
|
|
273
|
+
"displayName": "TEST",
|
|
408
274
|
"description": "",
|
|
409
|
-
"triggers": "
|
|
410
|
-
"actions": "
|
|
275
|
+
"triggers": "Request-Button",
|
|
276
|
+
"actions": "InitializeVariable"
|
|
411
277
|
}
|
|
412
278
|
```
|
|
413
279
|
|
|
@@ -19,10 +19,10 @@ m365 outlook message get [options]
|
|
|
19
19
|
: ID of the message.
|
|
20
20
|
|
|
21
21
|
`--userId [userId]`
|
|
22
|
-
: ID of the user from which to retrieve the message. Specify either `userId` or `
|
|
22
|
+
: ID of the user from which to retrieve the message. Specify either `userId` or `userName`, but not both. This option is required when using application permissions.
|
|
23
23
|
|
|
24
|
-
`--
|
|
25
|
-
: UPN of the user from which to retrieve the message Specify either `userId` or `
|
|
24
|
+
`--userName [userName]`
|
|
25
|
+
: UPN of the user from which to retrieve the message Specify either `userId` or `userName`, but not both. This option is required when using application permissions.
|
|
26
26
|
```
|
|
27
27
|
|
|
28
28
|
<Global />
|
|
@@ -38,7 +38,7 @@ m365 outlook message get --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYm
|
|
|
38
38
|
Get a specific message using delegated permissions from a shared mailbox.
|
|
39
39
|
|
|
40
40
|
```sh
|
|
41
|
-
m365 outlook message get --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAEMAAAiIsqMbYjsT5e-T7KzowPTAALvuv07AAA= --
|
|
41
|
+
m365 outlook message get --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAEMAAAiIsqMbYjsT5e-T7KzowPTAALvuv07AAA= --userName sharedmailbox@tenant.com
|
|
42
42
|
```
|
|
43
43
|
|
|
44
44
|
Get a specific message from a specific user retrieved by user ID using application permissions.
|
|
@@ -50,7 +50,7 @@ m365 outlook message get --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYm
|
|
|
50
50
|
Get a specific message from a specific user retrieved by user principal name using application permissions.
|
|
51
51
|
|
|
52
52
|
```sh
|
|
53
|
-
m365 outlook message get --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAEMAAAiIsqMbYjsT5e-T7KzowPTAALvuv07AAA= --
|
|
53
|
+
m365 outlook message get --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAEMAAAiIsqMbYjsT5e-T7KzowPTAALvuv07AAA= --userName user@tenant.com
|
|
54
54
|
```
|
|
55
55
|
|
|
56
56
|
## Response
|
|
@@ -14,25 +14,25 @@ m365 pa app export [options]
|
|
|
14
14
|
|
|
15
15
|
```md definition-list
|
|
16
16
|
`-n, --name <name>`
|
|
17
|
-
: The name (GUID) of the Power Apps app to export
|
|
17
|
+
: The name (GUID) of the Power Apps app to export.
|
|
18
18
|
|
|
19
19
|
`-e, --environmentName <environmentName>`
|
|
20
|
-
: The name of the environment for which to export the app
|
|
20
|
+
: The name of the environment for which to export the app.
|
|
21
21
|
|
|
22
22
|
`--packageDisplayName [packageDisplayName]`
|
|
23
|
-
: The display name to use in the exported package
|
|
23
|
+
: The display name to use in the exported package.
|
|
24
24
|
|
|
25
25
|
`-d, --packageDescription [packageDescription]`
|
|
26
|
-
: The description to use in the exported package
|
|
26
|
+
: The description to use in the exported package.
|
|
27
27
|
|
|
28
28
|
`-c, --packageCreatedBy [packageCreatedBy]`
|
|
29
|
-
: The name of the person to be used as the creator of the exported package
|
|
29
|
+
: The name of the person to be used as the creator of the exported package.
|
|
30
30
|
|
|
31
31
|
`-s, --packageSourceEnvironment [packageSourceEnvironment]`
|
|
32
|
-
: The name of the source environment from which the exported package was taken
|
|
32
|
+
: The name of the source environment from which the exported package was taken.
|
|
33
33
|
|
|
34
34
|
`-p, --path [path]`
|
|
35
|
-
: The path to save the exported package to. If not specified the app will be exported in the current working directory
|
|
35
|
+
: The path to save the exported package to. If not specified the app will be exported in the current working directory.
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
<Global />
|
|
@@ -42,13 +42,19 @@ m365 pa app export [options]
|
|
|
42
42
|
Export the specified Power App as a ZIP file
|
|
43
43
|
|
|
44
44
|
```sh
|
|
45
|
-
m365 pa app export --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d
|
|
45
|
+
m365 pa app export --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
Export the specified Power App as a ZIP file with a custom package name
|
|
49
|
+
|
|
50
|
+
```sh
|
|
51
|
+
m365 pa app export --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d --packageDisplayName "Assets app"
|
|
46
52
|
```
|
|
47
53
|
|
|
48
54
|
Export the specified Power App as a ZIP file with the package displayname, package description, the one who created it, the package source environment and the path
|
|
49
55
|
|
|
50
56
|
```sh
|
|
51
|
-
m365 pa app export --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d --packageDisplayName "
|
|
57
|
+
m365 pa app export --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d --packageDisplayName "Assets app" --packageDescription "App to track assets of people" --packageCreatedBy "John Doe" --packageSourceEnvironment "Contoso" --path "C:/Users/John/Documents"
|
|
52
58
|
```
|
|
53
59
|
|
|
54
60
|
## Response
|
|
@@ -14,28 +14,25 @@ m365 spfx project github workflow add [options]
|
|
|
14
14
|
|
|
15
15
|
```md definition-list
|
|
16
16
|
`-n, --name [name]`
|
|
17
|
-
: Name of the workflow that will be created. If none is specified a default name will be used 'Deploy Solution ${name of sppkg file}'
|
|
17
|
+
: Name of the workflow that will be created. If none is specified a default name will be used 'Deploy Solution ${name of sppkg file}'.
|
|
18
18
|
|
|
19
19
|
`-b, --branchName [branchName]`
|
|
20
|
-
: Specify the branch name which should trigger the workflow on push. If none is specified a default will be used which is 'main'
|
|
20
|
+
: Specify the branch name which should trigger the workflow on push. If none is specified a default will be used which is 'main'.
|
|
21
21
|
|
|
22
22
|
`-m, --manuallyTrigger`
|
|
23
|
-
: When specified a manual trigger option will be added to the workflow: `workflow_dispatch
|
|
23
|
+
: When specified a manual trigger option will be added to the workflow: `workflow_dispatch`.
|
|
24
24
|
|
|
25
25
|
`-l, --loginMethod [loginMethod]`
|
|
26
|
-
: Specify the login method used for the login action. Possible options are: `user`, `application`. Default `application
|
|
26
|
+
: Specify the login method used for the login action. Possible options are: `user`, `application`. Default `application`.
|
|
27
27
|
|
|
28
28
|
`-s, --scope [scope]`
|
|
29
|
-
: Scope of the app catalog: `tenant`, `sitecollection`. Default is `tenant
|
|
29
|
+
: Scope of the app catalog: `tenant`, `sitecollection`. Default is `tenant`.
|
|
30
30
|
|
|
31
31
|
`-u, --siteUrl [siteUrl]`
|
|
32
|
-
: The URL of the site collection where the solution package will be added. Required if scope is set to `sitecollection
|
|
32
|
+
: The URL of the site collection where the solution package will be added. Required if scope is set to `sitecollection`.
|
|
33
33
|
|
|
34
34
|
`--skipFeatureDeployment`
|
|
35
|
-
: When specified and the app supports tenant-wide deployment, deploy it to the whole tenant
|
|
36
|
-
|
|
37
|
-
`--overwrite`
|
|
38
|
-
: When specified the workflow will overwrite the existing .sppkg if it is already deployed in the app catalog.
|
|
35
|
+
: When specified and the app supports tenant-wide deployment, deploy it to the whole tenant.
|
|
39
36
|
```
|
|
40
37
|
|
|
41
38
|
<Global />
|
|
@@ -59,6 +56,8 @@ For the `user` login method you will need to create the following secrets in Git
|
|
|
59
56
|
|
|
60
57
|
This method is perfect to test your workflow, in a dev context, for personal usage. It will not work for accounts with MFA.
|
|
61
58
|
|
|
59
|
+
The workflow will overwrite the existing .sppkg if it is already deployed in the app catalog. Overwriting your sppkg file on every deployment is required to make continuous delivery of the latest version of your app which is the aim of the continuous delivery pipeline.
|
|
60
|
+
|
|
62
61
|
:::info
|
|
63
62
|
|
|
64
63
|
Run this command in the SPFx solution folder.
|
|
@@ -67,7 +66,7 @@ Run this command in the SPFx solution folder.
|
|
|
67
66
|
|
|
68
67
|
## Examples
|
|
69
68
|
|
|
70
|
-
Adds a GitHub workflow for a SharePoint Framework project with `application` login method triggered on push to main
|
|
69
|
+
Adds a GitHub workflow for a SharePoint Framework project with `application` login method triggered on push to main.
|
|
71
70
|
|
|
72
71
|
```sh
|
|
73
72
|
m365 spfx project github workflow add
|
|
@@ -79,7 +78,7 @@ Adds a GitHub workflow for a SharePoint Framework project with `user` login meth
|
|
|
79
78
|
m365 spfx project github workflow add --manuallyTrigger --loginMethod "user"
|
|
80
79
|
```
|
|
81
80
|
|
|
82
|
-
Adds a GitHub workflow for a SharePoint Framework project with deployment to a site collection app catalog
|
|
81
|
+
Adds a GitHub workflow for a SharePoint Framework project with deployment to a site collection app catalog.
|
|
83
82
|
|
|
84
83
|
```sh
|
|
85
84
|
m365 spfx project github workflow add --scope "sitecollection" --siteUrl "https://some.sharepoint.com/sites/someSite"
|