From ab6f308c19b57026b8d9efe5910ca93bfdaf8286 Mon Sep 17 00:00:00 2001 From: BCBuizer <112906720+BCBuizer@users.noreply.github.com> Date: Sun, 13 Apr 2025 23:13:32 +0300 Subject: [PATCH 1/3] Fixed typo Fixed a type in one of the error titles and improved the readability of the related mitigation options. --- .../best-practices-when-updating-a-flow.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/support/power-platform/power-apps/connections/best-practices-when-updating-a-flow.md b/support/power-platform/power-apps/connections/best-practices-when-updating-a-flow.md index 0ea466e753..b8a7818542 100644 --- a/support/power-platform/power-apps/connections/best-practices-when-updating-a-flow.md +++ b/support/power-platform/power-apps/connections/best-practices-when-updating-a-flow.md @@ -173,7 +173,7 @@ The reason is that there might be a change to the flow in the target environment > [!NOTE] > There can be no unmanaged layers on either the flow or the app because this can cause issues in connection to the flow. -## Error code "NotAllowedConnectionReferenceon" on Flow run +## Error code "NotAllowedConnectionReference" on Flow run ```output { @@ -196,6 +196,7 @@ This error means that the app has flow metadata that specifies that a SQL connec > 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. #### Mitigation option 1 +Resetting the flows in the app: 1. In the source environment, edit the app. Remove and then re-add the flows to the app. Save and publish the changes. 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 > There can be no unmanaged layers on either the flow or the app because this can cause issues in connection to the flow. #### Mitigation option 2 +Change the connection from **Embedded** to **Invoker**: -1. Change the connection from **Embedded** to **Invoker**. -2. Navigate to the flow portal to edit and update the flow settings. -3. On the flow details page, in the **Run only users** section, select **Edit**. -4. To update the flow connection source to **Invoker**, select **Provided by run-only user** and save. -5. To update the flow connection source to **Embedded**, select **Use this connection** and save. -6. Verify by triggering the flow. You see that the "install flow network" calls now are succeeding. +1. Navigate to the flow portal to edit and update the flow settings. +2. On the flow details page, in the **Run only users** section, select **Edit**. +3. To update the flow connection source to **Invoker**, select **Provided by run-only user** and save. +4. To update the flow connection source to **Embedded**, select **Use this connection** and save. +5. Verify by triggering the flow. You see that the "install flow network" calls now are succeeding. ## Other symptoms From 19d663bf83bfec02cb36da0617cdf01462747c49 Mon Sep 17 00:00:00 2001 From: Lucy Zou <66099815+lucciz01@users.noreply.github.com> Date: Tue, 15 Apr 2025 13:36:55 +0800 Subject: [PATCH 2/3] minor updates --- .../connections/best-practices-when-updating-a-flow.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/support/power-platform/power-apps/connections/best-practices-when-updating-a-flow.md b/support/power-platform/power-apps/connections/best-practices-when-updating-a-flow.md index b8a7818542..b2b10678e5 100644 --- a/support/power-platform/power-apps/connections/best-practices-when-updating-a-flow.md +++ b/support/power-platform/power-apps/connections/best-practices-when-updating-a-flow.md @@ -2,7 +2,7 @@ title: Error codes on Flow run description: Describes best practices and steps to mitigate common errors when running Microsoft flows in Power Apps. ms.reviewer: mlalavat -ms.date: 03/01/2024 +ms.date: 04/15/2025 ms.custom: sap:Connections\Creating or updating connections --- # Best practices when updating a flow used by a Power App @@ -196,7 +196,8 @@ This error means that the app has flow metadata that specifies that a SQL connec > 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. #### Mitigation option 1 -Resetting the flows in the app: + +Reset the flows in the app: 1. In the source environment, edit the app. Remove and then re-add the flows to the app. Save and publish the changes. 2. In the target environment, remove all unmanaged layers on the app and flow. @@ -206,13 +207,13 @@ Resetting the flows in the app: > There can be no unmanaged layers on either the flow or the app because this can cause issues in connection to the flow. #### Mitigation option 2 + Change the connection from **Embedded** to **Invoker**: 1. Navigate to the flow portal to edit and update the flow settings. 2. On the flow details page, in the **Run only users** section, select **Edit**. 3. To update the flow connection source to **Invoker**, select **Provided by run-only user** and save. -4. To update the flow connection source to **Embedded**, select **Use this connection** and save. -5. Verify by triggering the flow. You see that the "install flow network" calls now are succeeding. +4. Verify by triggering the flow. You see that the "install flow network" calls now are succeeding. ## Other symptoms From a3a93482c448ca5cae8d4331e735d2c8237f8679 Mon Sep 17 00:00:00 2001 From: Lucy Zou <66099815+lucciz01@users.noreply.github.com> Date: Fri, 18 Apr 2025 09:48:29 +0800 Subject: [PATCH 3/3] edit review --- .../connections/best-practices-when-updating-a-flow.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/support/power-platform/power-apps/connections/best-practices-when-updating-a-flow.md b/support/power-platform/power-apps/connections/best-practices-when-updating-a-flow.md index b2b10678e5..64342e11d7 100644 --- a/support/power-platform/power-apps/connections/best-practices-when-updating-a-flow.md +++ b/support/power-platform/power-apps/connections/best-practices-when-updating-a-flow.md @@ -2,7 +2,7 @@ title: Error codes on Flow run description: Describes best practices and steps to mitigate common errors when running Microsoft flows in Power Apps. ms.reviewer: mlalavat -ms.date: 04/15/2025 +ms.date: 04/18/2025 ms.custom: sap:Connections\Creating or updating connections --- # Best practices when updating a flow used by a Power App @@ -213,7 +213,7 @@ Change the connection from **Embedded** to **Invoker**: 1. Navigate to the flow portal to edit and update the flow settings. 2. On the flow details page, in the **Run only users** section, select **Edit**. 3. To update the flow connection source to **Invoker**, select **Provided by run-only user** and save. -4. Verify by triggering the flow. You see that the "install flow network" calls now are succeeding. +4. Verify by triggering the flow. You see that the "install flow network" calls are now successful. ## Other symptoms