Skip to content

Commit 73d8354

Browse files
Merge pull request #297456 from ecfan/patch-1
Add troubleshooting help for environment not found
2 parents 7d975c0 + 60fbe14 commit 73d8354

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

articles/logic-apps/call-from-power-apps.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,22 @@ Here are errors that might happen when you export your logic app as a custom con
9191

9292
1. To confirm deletion, select **OK**.
9393

94-
## Next steps
94+
## Troubleshoot problems
95+
96+
### Environment not found
97+
98+
This error usually happens when the connection to a logic app workflow is unavailable or incorrect. To help you troubleshoot this problem, try the following options:
99+
100+
| Option | Details |
101+
|---|---|
102+
| Check the environment name | Make sure that the environment name in the connection matches the deployment environment for your logic app resource. |
103+
| Check environment availability | Make sure that the logic app resource environment is available and not disabled or deleted. To check environment status, go to the Power Platform admin center. |
104+
| Check connection settings | In Power Apps, check that connection to the logic app is correctly set up and points to the correct environment. |
105+
| Check permissions | Make sure you have the required permissions to access the logic app workflow and environment. You might need specific roles assigned to you. For more information, see the following documentation: <br><br>- [Secure data and access to workflows](/azure/logic-apps/logic-apps-securing-a-logic-app?tabs=azure-portal#access-to-logic-app-operations) <br><br>- [Access for inbound calls to request-based triggers](/azure/logic-apps/logic-apps-securing-a-logic-app?tabs=azure-portal#access-for-inbound-calls-to-request-based-triggers) |
106+
| Update the logic app | Check whether the logic app workflow has recent changes. For example, if the resource moved to a different environment, update the connection in Power Apps to reflect these changes. |
107+
| Review logs | Check the logs in Power Apps and Azure Logic Apps for any other error messages or information that might help identify the problem. |
108+
109+
## Related content
95110

96111
* [Managed connectors for Azure Logic Apps](/connectors/connector-reference/connector-reference-logicapps-connectors)
97112
* [Built-in connectors for Azure Logic Apps](../connectors/built-in.md)

0 commit comments

Comments
 (0)