You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -31,7 +31,7 @@ This document covers the following error codes along with their causes and mitig
31
31
32
32
## Error code "InvokerConnectionOverrideFailed" on Power Automate flow run
33
33
34
-
Some Power Automate flows may fail to run in Power Apps and you might see an error that resembles the following in the Power Automate flow run history or the Power Apps telemetry:
34
+
Some Power Automate flows might fail to run in Power Apps and you might see an error that resembles the following in the Power Automate flow run history or the Power Apps telemetry:
35
35
36
36
```output
37
37
{
@@ -41,20 +41,20 @@ Some Power Automate flows may fail to run in Power Apps and you might see an err
41
41
```
42
42
43
43
> [!NOTE]
44
-
> This error may also occur when you call the install API on Dataverse (formerly Common Data Service), resulting in a generic error message: "Install flow failed."
44
+
> This error might also occur when you call the install API on Dataverse (formerly Common Data Service), resulting in a generic error message: "Install flow failed."
45
45
46
46
### Cause
47
47
48
-
This issue occurs when the Power Automate flow has been updated to use a new connection, but the app still uses the old flow metadata. Even though the flow is updated, the apps that reference the flow still retain the previous flow metadata. To resolve this, manually edit the app so changes appear in the app and the flow works.
48
+
This issue occurs when the Power Automate flow is updated to use a new connection, but the app still uses the old flow metadata. Even though the flow is updated, the apps that reference the flow still retain the previous flow metadata. To resolve this error, manually edit the app so changes appear in the app and the flow works.
49
49
50
50
### Mitigation steps
51
51
52
52
> [!NOTE]
53
-
> Make sure to perform the following steps in the source or development environment and update the solution. After updating the solution in the source or development environment, export and import it into all target or production environments.
53
+
> Make sure to perform the following steps in the source or development environment and update the solution. After you update the solution in the source or development environment, export and import it into all target or production environments.
54
54
55
55
1. Open the app for editing using the [latest version of Power Apps Studio](/power-platform/released-versions/powerapps).
56
56
2.[Remove the Power Automate flows from the app](/power-apps/maker/canvas-apps/working-with-flows#remove-a-flow).
57
-
3.Re-add the flows to the app.
57
+
3.Readd the flows to the app.
58
58
4. Save and republish the app.
59
59
60
60
## Error code "ConnectionAuthorizationFailed" on Power Automate flow run
@@ -68,12 +68,12 @@ This issue occurs when the Power Automate flow has been updated to use a new con
68
68
69
69
### Cause
70
70
71
-
This error means that although the maker has permissions to the Power Automate flow, the maker doesn't have permissions to the dependent connections that are used in the flow actions. This is a limitation of the Power Apps and Power Automate flow integration.
71
+
This error means that the maker doesn't have permissions to the dependent connections that are used in the flow actions. This error can occur even if the maker has permissions to the Power Automate flow itself. This issue is a limitation of the Power Apps and Power Automate flow integration.
72
72
73
73
### Mitigation steps
74
74
75
75
> [!NOTE]
76
-
> Make sure to perform the following steps in the source or development environment and update the solution. After updating the solution in the source or development environment, export and import it into all target or production environments.
76
+
> Make sure to perform the following steps in the source or development environment and update the solution. After you update the solution in the source or development environment, export and import it into all target or production environments.
77
77
78
78
To mitigate this issue, ensure that all connections used in the Power Automate flow are authorized for the user who is adding the flow to the app. The user must have the necessary permissions for each connection referenced by the Power Automate flow. For more information, see [Understand flow ownership and access](/power-automate/guidance/coding-guidelines/understand-access-to-flows).
79
79
@@ -88,12 +88,12 @@ To mitigate this issue, ensure that all connections used in the Power Automate f
88
88
89
89
### Cause
90
90
91
-
The Power Automate flow has been disabled or turned off.
91
+
The Power Automate flow is disabled or turned off.
92
92
93
93
### Mitigation steps
94
94
95
95
> [!NOTE]
96
-
> Make sure to perform the following steps in the source or development environment and update the solution. After updating the solution in the source or development environment, export and import it into all target or production environments.
96
+
> Make sure to perform the following steps in the source or development environment and update the solution. After you update the solution in the source or development environment, export and import it into all target or production environments.
97
97
98
98
Ensure that the [Power Automate flow is turned on](/power-automate/disable-flow#turn-on-a-flow) and verify the flow run by testing it manually.
99
99
@@ -123,7 +123,7 @@ This error indicates that a synchronous Power Automate flow run exceeds the maxi
123
123
### Mitigation steps
124
124
125
125
> [!NOTE]
126
-
> Make sure to perform the following steps in the source or development environment and update the solution. After updating the solution in the source or development environment, export and import it into all target or production environments.
126
+
> Make sure to perform the following steps in the source or development environment and update the solution. After you update the solution in the source or development environment, export and import it into all target or production environments.
127
127
128
128
To mitigate this issue, [identify which Power Automate flow runs are exceeding the timeout limit](/power-automate/fix-flow-failures#identify-specific-flow-runs) and optimize the flow's actions to complete within 120 seconds. Review the recommendations in [Troubleshoot slow running flows](~/power-platform/power-automate/flow-run-issues/troubleshoot-slow-running-flows.md).
129
129
@@ -147,9 +147,9 @@ To mitigate this issue, [identify which Power Automate flow runs are exceeding t
147
147
### Mitigation steps
148
148
149
149
> [!NOTE]
150
-
> Make sure to perform the following steps in the source or development environment and update the solution. After updating the solution in the source or development environment, export and import it into all target or production environments.
150
+
> Make sure to perform the following steps in the source or development environment and update the solution. After you update the solution in the source or development environment, export and import it into all target or production environments.
151
151
152
-
Try the mitigation steps described for the following error codes, as the underlying causes may be similar:
152
+
Try the mitigation steps described for the following error codes, as the underlying causes might be similar:
Power App and Power Automate flow metadata must always be synchronized. When changes are made to a Power Automate flow, the app maker must edit the apps that use the flow to remove or re-add the changed flow.
173
+
Power App and Power Automate flow metadata must always be synchronized. When changes are made to a Power Automate flow, the app maker must edit the apps that use the flow to remove or readd the changed flow.
174
174
175
-
For apps or flows included in a solution, an app may successfully invoke the flow in the source environment but fail in the target environment with this error message:
175
+
For apps or flows included in a solution, an app might successfully invoke the flow in the source environment but fail in the target environment with this error message:
176
176
177
177
> Connection not configured for this service.
178
178
179
-
This occurs when the flow in the target environment has changes that are not present in the source environment, leading to mismatched connection references or metadata.
179
+
This error occurs when the flow in the target environment has changes that aren't present in the source environment, leading to mismatched connection references or metadata.
180
180
181
181
### Mitigation steps
182
182
183
183
> [!NOTE]
184
-
> Make sure to perform the following steps in the source or development environment and update the solution. After updating the solution in the source or development environment, export and import it into all target or production environments.
184
+
> Make sure to perform the following steps in the source or development environment and update the solution. After you update the solution in the source or development environment, export and import it into all target or production environments.
185
185
186
-
1. In the source environment, edit the app. Remove and then re-add the flows to the app. Save and publish the changes.
186
+
1. In the source environment, edit the app. Remove and then readd the flows to the app. Save and publish the changes.
187
187
2. In the target environment, remove all unmanaged solution layers from the app and flow.
188
188
3. Export the solution and import it into the target environment.
189
189
190
190
> [!NOTE]
191
-
> Ensure that neither the flow nor the app has unmanaged solution layers, as these can interfere with connection references and cause integration issues.
191
+
> Ensure that both the flow and the app have no unmanaged solution layers. Unmanaged solution layers can interfere with connection references and cause integration issues.
192
192
193
193
## Error code "NotAllowedConnectionReference" on Power Automate flow run
194
194
@@ -205,48 +205,48 @@ Example error:
205
205
206
206
### Cause
207
207
208
-
This error occurs when the app's flow metadata expects a specific connection reference (such as a SQL connection) during installation, but the flow's current metadata does not match this expectation.
208
+
This error occurs when the app's flow metadata expects a specific connection reference (such as a SQL connection) during installation. If flow's current metadata doesn't match this expectation, an error occurs.
209
209
210
210
### Mitigation steps
211
211
212
212
> [!NOTE]
213
-
> Make sure to perform the following steps in the source or development environment and update the solution. After updating the solution in the source or development environment, export and import it into all target or production environments.
213
+
> Make sure to perform the following steps in the source or development environment and update the solution. After you update the solution in the source or development environment, export and import it into all target or production environments.
214
214
215
215
#### Mitigation option 1
216
216
217
217
Reset the Power Automate flows in the app:
218
218
219
-
1. In the source environment, edit the app. Remove and then re-add the Power Automate flows to the app. Save and publish the changes.
219
+
1. In the source environment, edit the app. Remove and then readd the Power Automate flows to the app. Save and publish the changes.
220
220
2. In the target environment, remove all unmanaged solution layers from the app and Power Automate flow.
221
221
3. Export the solution and import it into the target environment.
222
222
223
223
> [!NOTE]
224
-
> Ensure that neither the flow nor the app has unmanaged solution layers, as these can interfere with connection references and cause integration issues.
224
+
> Ensure that both the flow and the app have no unmanaged solution layers. Unmanaged solution layers can interfere with connection references and cause integration issues.
225
225
226
226
#### Mitigation option 2
227
227
228
228
Change the connection from **Embedded** to **Invoker**:
229
229
230
-
1.Navigate to the Power Automate flow portal to edit and update the flow settings.
230
+
1.To edit and update the flow settings, navigate to the Power Automate flow portal.
231
231
2. On the flow details page, in the **Run only users** section, select **Edit**.
232
232
3. To update the flow connection source to **Invoker**, select **Provided by run-only user** and save.
233
233
4. Verify by triggering the flow. You should now find the "install flow network" calls to be successful.
234
234
235
235
## Failures caused by Power Automate flow updates
236
236
237
-
When flow updates cause integration problems, you might see these additional symptoms that can help you identify and troubleshoot the specific issue.
237
+
When flow updates cause integration problems, you might see these other symptoms that can help you identify and troubleshoot the specific issue.
238
238
239
239
### Symptom 1
240
240
241
-
When new input is added to a Power Automate flow but the Power App is not updated, the flow may fail with an error message that resembles the following:
241
+
When new input is added to a Power Automate flow but the Power App isn't updated, the flow might fail. If the flow fails, it returns an error message that resembles the following example:
242
242
243
243
> Unable to process template language expressions in action 'Send_me_a_mobile_notification' inputs at line '1' and column '1900': 'The template language expression 'triggerBody()['Sendmeamobilenotification_Text']' cannot be evaluated because property 'Sendmeamobilenotification_Text' cannot be selected. Please see `https://aka.ms/logicexpressions` for usage details.'.
244
244
245
245
:::image type="content" source="media/best-practices-when-updating-a-flow/flow-fail-error-message.png" alt-text="Screenshot of the error message when adding the new input to the flow without updating the Power App." lightbox="media/best-practices-when-updating-a-flow/flow-fail-error-message.png":::
246
246
247
247
### Symptom 2
248
248
249
-
If the connections required to run a Power Automate flow change, you may receive an error.
249
+
If the connections required to run a Power Automate flow change, you might receive an error.
250
250
251
251
In Power Apps, it might look like:
252
252
@@ -260,7 +260,7 @@ In Power Automate flow, it might look like:
260
260
261
261
### Symptom 3
262
262
263
-
If a response output is removed, Power Apps will treat the value as blank and the app will behave unexpectedly.
263
+
If a response output is removed, Power Apps treats the value as blank and the app behaves unexpectedly.
264
264
265
265
### Cause
266
266
@@ -284,7 +284,7 @@ Types of changes most likely to break a Power Apps ability to call a Power Autom
284
284
285
285
:::image type="content" source="media/best-practices-when-updating-a-flow/remove-output.png" alt-text="Screenshot of removing an output from a Respond to Power Apps action.":::
286
286
287
-
Other changes to the inputs or outputs may not break the integration between Power Apps and the Power Automate flow, but the app must be updated to recognize and utilize the new or modified inputs and outputs.
287
+
Other changes to the inputs or outputs might not break the integration between Power Apps and the Power Automate flow. However, the app must be updated to recognize and utilize new or modified inputs and outputs.
288
288
289
289
### Resolution
290
290
@@ -321,8 +321,8 @@ Follow these steps:
321
321
322
322
:::image type="content" source="media/best-practices-when-updating-a-flow/reselect-flow.png" alt-text="Screenshot of updating a flow definition in Power Apps.":::
323
323
324
-
This process updates your app to use the flow's new configuration. Since the app isn't published yet, no users are affected by your changes.
324
+
This process updates your app to use the flow's new configuration. Since the app isn't published yet, your changes don't affect users.
325
325
326
326
## References
327
327
328
-
[Create, add and edit flows using Power Apps Studio](/power-apps/maker/canvas-apps/working-with-flows)
328
+
-[Use Power Automate pane](/power-apps/maker/canvas-apps/working-with-flows)
0 commit comments