Skip to content

Commit 1f5555a

Browse files
Merge pull request SharePoint#8461 from Steven-Jia/patch-8
Add notes about deprecated trigger and actions
2 parents ed9fd6b + 6d19e9f commit 1f5555a

File tree

1 file changed

+24
-10
lines changed

1 file changed

+24
-10
lines changed

docs/business-apps/power-automate/sharepoint-connector-actions-triggers.md

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Microsoft SharePoint Connector for Power Automate
33
description: In Power Automate, Microsoft SharePoint Connector supports the following flow triggers and actions.
4-
ms.date: 06/28/2022
4+
ms.date: 09/27/2022
55
ms.service: power-automate
66
search.app:
77
- Flow
@@ -50,14 +50,24 @@ For more info about when SharePoint Syntex and how it classifies files see: [Int
5050

5151
Triggers the flow when you create a file in a document library, and returns only the custom file properties associated with that file.
5252

53-
### When a file is created in a folder
53+
### When a file is created in a folder [deprecated]
54+
55+
> [!NOTE]
56+
> This trigger is deprecated and may not work as expected.
5457
5558
Triggers the flow when you create a file in a SharePoint folder. This trigger does not run if you add or update a file in a subfolder inside the folder this trigger is operating on. If the flow is required to trigger on subfolders, create different flows for one or more subfolder(s).
5659

5760
### When a file is created or modified (properties only)
5861

5962
Triggers the flow when you create a file, and each time you modify the file properties in a library. Returns only the custom file properties associated with that file.
6063

64+
### When a file is created or modified in a folder [deprecated]
65+
66+
> [!NOTE]
67+
> This trigger is deprecated and may not work as expected.
68+
69+
Triggers when a file is created, and also each time it is modified in a SharePoint folder. The trigger does not fire if a file is added/updated in a subfolder. If it is required to trigger on subfolders, multiple triggers should be created.
70+
6171
### When a file is created or modified in a folder (properties only)
6272

6373
Triggers the flow when you create a file, and each time you modify the file properties in the selected SharePoint folder. The trigger does not activate if you add or update a file in a subfolder. If the flow is required to trigger on subfolders, create different flows for one or more subfolder(s).
@@ -103,7 +113,10 @@ Checks out a file in a document library to prevent others from editing the docum
103113

104114
Copies a file. Works similarly to the **Copy to** command in SharePoint libraries. After copying, returns info about the new file.
105115

106-
### Copy file (deprecated)
116+
### Copy file [deprecated]
117+
118+
> [!NOTE]
119+
> This action is deprecated and may not work as expected.
107120
108121
Copies a file to a SharePoint site.
109122

@@ -318,7 +331,7 @@ The following tables list all of the actions and triggers that are supported for
318331
| Get file content | Yes | Yes | Yes |
319332
| Create file | Yes<sup>1</sup> | Yes<sup>1</sup> | Yes<sup>1</sup> |
320333
| Update file | Yes | Yes | Yes |
321-
| Copy file (deprecated)<sup>2</sup>| Yes | Yes | Yes |
334+
| Copy file [deprecated]<sup>2</sup>| Yes | Yes | Yes |
322335
| List folder | Yes | Yes | Yes |
323336
| Extract folder | Yes | Yes | Yes |
324337
| Get attachments | Yes | Yes | Yes |
@@ -333,18 +346,19 @@ The following tables list all of the actions and triggers that are supported for
333346

334347
> [!NOTE]
335348
> 1. Does not support creating a large file by uploading it as a set of chunks.
336-
> 1. This action includes "(deprecated)" in its display name. The "Copy file" action is different from this action.
349+
> 1. This action includes "[deprecated]" in its display name. The "Copy file" action is different from this action.
337350
> 1. This action only supports OData parameters, which excludes parameters such as "Limit Entries to Folder", "Include Nested Items", and "Limit Columns by View".
338351
> 1. Does not support “Limit Columns by View”.
339352
340-
### Deprecated triggers
353+
### Deprecated triggers and actions
341354

342355
These triggers are deprecated and are no longer actively maintained. While they are still present in the Microsoft SharePoint Connector, we recommend not utilizing deprecated triggers or actions in any new applications or solutions.
343356

344-
| Trigger | Supported Version | Suggested Alternative |
345-
| :-- | :-- | :-- |
346-
| When a file is created in a folder | SharePoint 2019 | When a file is created (properties only) |
347-
| When a file is created or modified in a folder | SharePoint 2019 | When a file is created or modified (properties only) |
357+
| Name | Type | Supported Version | Suggested Alternative |
358+
| :-- | :-- | :-- | :-- |
359+
| When a file is created in a folder [deprecated] | Trigger |SharePoint 2019 | When a file is created (properties only) |
360+
| When a file is created or modified in a folder [deprecated] | Trigger | SharePoint 2019 | When a file is created or modified (properties only) |
361+
| Copy file [deprecated] | Action | SharePoint 2019 | Copy file |
348362

349363
## Known limitations
350364

0 commit comments

Comments
 (0)