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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Timeout on SQL from Pa...
Power Apps
Unanswered

Timeout on SQL from Patch()

(0) ShareShare
ReportReport
Posted on by 236

While testing some behaviors with Azure SQL, Patch() and Errors() , I purposely put a lock on a record in SSMS and then tried to update it from PowerApps with a simple Patch(). However, PowerApps was locked up until I rolled it back. Expected behavior, but made me realize I can't seem to set a QueryTimeOut value. Anyone know if and how this can be configured?

Thanks 

Categories:
  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @mike528 ,

    Do you want the QueryTimeOut configuration in your SQL Table to take effect in canvas app?

     

    If you want the QueryTimeOut configuration in your SQL Table to take effect in canvas app, I afraid that there is no way to achieve your needs in PowerApps currently.

     

    If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Forum:

    https://powerusers.microsoft.com/t5/Power-Apps-Ideas/idb-p/PowerAppsIdeas

     

    More details about Error Kinds supported in PowerApps, please check the following article:

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-errors#description

     

    Best regards,

  • mike528 Profile Picture
    236 on at

    Appreciate the reply. This is another reason to use stored procedures for updating SQL data as opposed to directly updating tables Patch() commands. Anyone reading, please vote up the ability for supporting stored procedure calls without requiring a flow for each one. 

    https://powerusers.microsoft.com/t5/Power-Apps-Ideas/Calling-a-Stored-Procedure-in-PowerApps/idi-p/146116

    Thanks

  • v-xida-msft Profile Picture
    Microsoft Employee on at

    HI @mike528 ,

    I have voted the idea that you posted. Thanks for your feedback.

     

    If the reply I provided above could help in your scenario, please consider go ahead to click "Accept as Solution" to identify this thread has been "closed".

     

    If you have any other questions about PowerApps, please feel free to contact us here.

     

    Best regards,

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 395 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 260 Most Valuable Professional

Last 30 days Overall leaderboard