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
Copy file name to clipboardExpand all lines: support/power-platform/power-apps/connections/best-practices-when-updating-a-flow.md
+8-7Lines changed: 8 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -173,7 +173,7 @@ The reason is that there might be a change to the flow in the target environment
173
173
> [!NOTE]
174
174
> There can be no unmanaged layers on either the flow or the app because this can cause issues in connection to the flow.
175
175
176
-
## Error code "NotAllowedConnectionReferenceon" on Flow run
176
+
## Error code "NotAllowedConnectionReference" on Flow run
177
177
178
178
```output
179
179
{
@@ -196,6 +196,7 @@ This error means that the app has flow metadata that specifies that a SQL connec
196
196
> Make sure to perform the following steps in the source or development environment and update the solution. Once the solution is updated, import it to all the target or production environments.
197
197
198
198
#### Mitigation option 1
199
+
Resetting the flows in the app:
199
200
200
201
1. In the source environment, edit the app. Remove and then re-add the flows to the app. Save and publish the changes.
201
202
2. In the target environment, remove all unmanaged layers on the app and flow.
@@ -205,13 +206,13 @@ This error means that the app has flow metadata that specifies that a SQL connec
205
206
> There can be no unmanaged layers on either the flow or the app because this can cause issues in connection to the flow.
206
207
207
208
#### Mitigation option 2
209
+
Change the connection from **Embedded** to **Invoker**:
208
210
209
-
1. Change the connection from **Embedded** to **Invoker**.
210
-
2. Navigate to the flow portal to edit and update the flow settings.
211
-
3. On the flow details page, in the **Run only users** section, select **Edit**.
212
-
4. To update the flow connection source to **Invoker**, select **Provided by run-only user** and save.
213
-
5. To update the flow connection source to **Embedded**, select **Use this connection** and save.
214
-
6. Verify by triggering the flow. You see that the "install flow network" calls now are succeeding.
211
+
1. Navigate to the flow portal to edit and update the flow settings.
212
+
2. On the flow details page, in the **Run only users** section, select **Edit**.
213
+
3. To update the flow connection source to **Invoker**, select **Provided by run-only user** and save.
214
+
4. To update the flow connection source to **Embedded**, select **Use this connection** and save.
215
+
5. Verify by triggering the flow. You see that the "install flow network" calls now are succeeding.
0 commit comments