Decode & Fix : Shared App host initialization has timed out in Microsoft Power Apps
Issue :
While working with apps in the Microsoft Power Platform, we encountered a critical issue where the application failed to load properly. This error appeared intermittently, especially when using custom pages and embedded components.
Shared App host initialization has timed out
Error Log :
Shared App host initialization has timed out
UciError: Shared App host initialization has timed out at s (https://content.powerapps.com/resource/uci-infra-web/scripts/app.4e71963626213ae9901b5ff59d931193.js:38:222131) at Object.execute (https://content.powerapps.com/resource/uci-infra-web/scripts/mds.ca217cfe2bc4dbe9b337ff1da6ed7c28.js:4:9805) at https://content.powerapps.com/resource/uci-infra-web/scripts/app.4e71963626213ae9901b5ff59d931193.js:14:669926 at new Promise (<anonymous>) at w._executeAsyncAction (https://content.powerapps.com/resource/uci-infra-web/scripts/app.4e71963626213ae9901b5ff59d931193.js:14:669627) at w._executeAsync (https://content.powerapps.com/resource/uci-infra-web/scripts/app.4e71963626213ae9901b5ff59d931193.js:14:669471) at w.executeAction (https://content.powerapps.com/resource/uci-infra-web/scripts/app.4e71963626213ae9901b5ff59d931193.js:14:668736) at t.dispatch (https://content.powerapps.com/resource/uci-infra-web/scripts/app.4e71963626213ae9901b5ff59d931193.js:14:674161) at Object.dispatch (https://content.powerapps.com/resource/uci-infra-web/scripts/app.4e71963626213ae9901b5ff59d931193.js:14:934840) at Object.dispatch (https://content.powerapps.com/resource/uci-infra-web/scripts/app.4e71963626213ae9901b5ff59d931193.js:14:673586) at dispatch (https://content.powerapps.com/resource/uci-infra-web/scripts/app.4e71963626213ae9901b5ff59d931193.js:14:669794) at Object.execute (https://content.powerapps.com/resource/uci-infra-web/scripts/custompage.7d14da912497527952785eaa16d9f3bc.js:4:25788) at https://content.powerapps.com/resource/uci-infra-web/scripts/app.4e71963626213ae9901b5ff59d931193.js:14:669926 at new Promise (<anonymous>) at w._executeAsyncAction (https://content.powerapps.com/resource/uci-infra-web/scripts/app.4e71963626213ae9901b5ff59d931193.js:14:669627) at w._executeAsync (https://content.powerapps.com/resource/uci-infra-web/scripts/app.4e71963626213ae9901b5ff59d931193.js:14:669471)
- Heavy data loading during app initialization
- Complex logic in OnStart / OnVisible events
- Multiple API calls executed simultaneously
- Large datasets retrieved from Microsoft Dataverse
- Custom pages or scripts taking longer to render
- Loaded only required data instead of full datasets
- Used filtering instead of retrieving entire tables
- Improved performance of multiple data calls
- Loaded data only when needed (on demand)
- Removed unnecessary controls and logic
- Eliminated long-running or blocking operations
- Avoid heavy logic in App OnStart
- Always use delegation-friendly queries
- Load minimal data initially
- Use lazy loading for better performance
- Regularly monitor app performance using tools
- Keep custom pages lightweight and optimized
Published on:
Learn moreRelated posts
Power Apps Vibe Coded Experience [Preview]
Here's how you can now create a Canvas App using a Vibe coded experience. This is Node based and the type is Code. Let's see how we can get to...
Power Apps Code Apps – Trigger a Power Automate Flow
In this article, I walk you through how to add and trigger a Power Automate cloud flow from a Power Apps code app. What type of flows can be a...
Power Apps – Dataverse Agent users with Microsoft Entra Agent ID
We’re introducing a new feature in public preview, Dataverse Agent users, powered by Microsoft Entra Agent ID. Rollout of this feature will st...
Power Platform Fundamentals #5: Building Your First Canvas App in Power Apps: Step-by-Step Guide from Setup to Deployment: Quick Read Series
Introduction Organizations today need quick, user-friendly business applications that can be built rapidly without heavy development effort. T...
Power Apps- Information regarding the end of support for the preview Analytics experience in Power Apps
On June 8, 2026, the preview Analytics experience in Power Apps, which allows makers to view usage, performance, and error metrics for apps, w...
Power Apps – Enhanced Search Experience in Grid Filters and Lookup Fields
We are introducing a faster, more intuitive search experience in Power Apps grid filters and lookup fields. This update replaces the legacy se...
Accelerating Model-Driven App Development with Power Apps Generative Pages: A Simpler Way – Part 1
We frequently work with clients who need modern, interactive, and visually appealing custom pages inside their model-driven apps. Most clients...