Showing results for 
Search instead for 
Did you mean: 
Not applicable

Azure SQL Server database calls takes minutes instead of seconds

Since today everyone using the app noticed extreme delays. After my investigation, it seems that the calls to Azure SQL Server are taking minutes instead of seconds. Was anything changed in PowerApps that impact the load times so much? The app was working perfectly (database calls taking few seconds) until today.


Strangely enough, the Azure SQL Server actually hosts two databases for two separate apps. Other app database call times are fine it seems that only the other app is affected. Moreover, the app which is super slow today has the better database (S2 Standard 50 DTUs vs Basic 5 DTUs).


Anyone noticing something similar with their apps? Any tips on how to solve? Again, the app was working fast for past two weeks only today everything seems to be extremely slow in the app anytime there is a call to the database.

Not applicable

Slow SQL calls again today...

I highly recommend using Collections instead of direct queries to SQL. That has fixed all of my issues.


Hope this helps!

The issue is not related with queries and Collections. It's the internal gateway between PowerApps and Azure SQL that slow things down. I only use Collections and my queries used to load them are optimized.


Anyway... I hadn't any report from users on my side about slowness. I think the PowerApps/Azure teams figured it out.

Not applicable

Thanks, @lero! I will definitely check it out!

Hey Lero, 

What do you mean by your queries are optimized and you only use collections? 


Do you mean onstart -> load all necessary data to collections? 



I mean I apply filters on columns with proper indexing and never load a lot of rows. On average my queries returns no more than 50 rows.


To load everything onstart causes the app to spend a long time starting. A best practice is to load ondemand according to screen usage or using the timer component.


Most of my loading time is spent on onvisible events and besides that I try not to load a Collection twice unless necessary.



Not applicable

Same problems here. It´s also a frustrating experience to patch a row to the Azure database. Sometimes it needs only 0.2 seconds and then it needs 28 seconds to write a simple row to the Azure database. 

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.


New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Users online (1,975)