web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
Suggested answer

Connection interruption when trying to edit Power App

(0) ShareShare
ReportReport
Posted on by 46

Hello everyone,

I am currently facing an issue where my Power App frequently encounters connection interruptions or unexpected errors in edit mode. This problem occurs especially when editing gallery elements or creating forms that attempt to perform an auto-selection (e.g., when accessing data sources with relationships). Below, you will find a screenshot with the error message in German

 

The error message in German translates to: “The connection was disconnected. This may be due to a temporary issue or a problem with your network.”

The issue occurs on various devices and in different networks, so it seems to be independent of specific devices or networks.

Any Solutions?
 
I have the same question (1)
  • Suggested answer
    VASANTH KUMAR BALMADI Profile Picture
    266 on at
    Connection interruption when trying to edit Power App

    Hi,

    The issue you're describing, where Power Apps frequently encounters connection interruptions or unexpected errors in edit mode, can be frustrating, especially when it occurs consistently across devices and networks. Below are potential solutions and troubleshooting steps to address the issue:

    1. Check the App Performance and Data Sources

    • Data Source Health:
      Ensure the data sources (e.g., SharePoint, SQL Server, etc.) are not experiencing performance issues or throttling. Monitor these sources for latency or availability problems.

    • Delegation Warnings:
      If your app is using non-delegable queries, it might attempt to retrieve too much data, leading to connection disruptions. Optimize your queries to avoid delegation limits.

    • Reduce Data Load:

      • Limit the amount of data fetched in edit mode.
      • Use Collections to preload necessary data rather than fetching it dynamically.

    2. Optimize Gallery and Form Auto-Selection

    • Delay Auto-Selection Logic:
      If your gallery or forms attempt to auto-select items, ensure that the logic is not causing conflicts. For instance, delay the execution of DefaultSelectedItems or Selected by wrapping it in a condition like:

      If(!IsBlank(DataSource), DefaultItem)
    • Disable Auto-Selection Temporarily:
      Temporarily remove auto-selection logic and see if the issue persists. This helps isolate whether the problem is due to these elements.

    3. Improve Network Stability

    • Test Network Speed and Latency:
      Even though the issue occurs across different networks, ensure each network meets Power Apps' recommended speed (at least 1 Mbps for upload/download).

    • Disable Browser Extensions or VPNs:
      Some browser extensions or VPNs can interfere with Power Apps connections. Try disabling these and test again.

    • Test in Private Browsing Mode:
      Use an incognito/private window to rule out browser caching or extension issues.

    4. Use a Supported Browser

    • Ensure you’re using a browser supported by Power Apps:

      • Microsoft Edge (latest version)
      • Google Chrome (latest version)
    • Clear browser cache and cookies or use a different supported browser to test.

    5. Monitor Session Timeouts

    • Reauthenticate Frequently:
      If the app is in edit mode for an extended period, session tokens may expire. Refreshing the browser or reauthenticating can resolve this.

    • Increase Timeout Duration (if possible):
      Check with your admin to adjust session timeout policies for your environment.

    6. Investigate Environment and Licensing

    • Environment Throttling:
      Some environments, especially in Power Apps community plans or shared environments, may face throttling under heavy load. Consider creating a dedicated environment for your app.

    • Licensing Plan:
      Ensure you are using a suitable license plan (e.g., premium connectors require specific licenses).

    7. Debugging Steps

    • Session Monitoring:
      Enable session monitoring in the Power Platform Admin Center to gather logs on what might be causing the connection to drop.

    • Error Details:
      Take a closer look at error details in the Power Apps editor or browser developer tools (F12). Look for failed network requests or API calls.

    8. Contact Microsoft Support

    If the issue persists, it might be a problem with Power Apps' backend services. Open a support ticket with Microsoft and provide:

    • App ID and environment details.
    • The exact error message and any logs.
    • A detailed description of when the issue occurs.

    Quick Tip for Immediate Relief

    While you troubleshoot, save your work frequently in edit mode to avoid losing progress during interruptions.

    ----------------------------------------------------------------------------------
    If this Post helped you, please click "Does this answer your question" and give it a like to help others in the community find the answer too!

  • LukasW Profile Picture
    46 on at
    Connection interruption when trying to edit Power App

    Thank you very much for the response. Some of the suggestions might be helpful. I will try them out.

  • PC-30101308-0 Profile Picture
    2 on at
    Connection interruption when trying to edit Power App
    was this resolved? having same issue. Danke in advance 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Tom Macfarlan – Community Spotlight

We are honored to recognize Tom Macfarlan as our Community Spotlight for October…

Leaderboard > Power Apps

Last 30 days Overall leaderboard