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 / SQL Stored Procedure C...
Power Apps
Suggested Answer

SQL Stored Procedure Call from PowerApps | Missing all my stored procedures

(0) ShareShare
ReportReport
Posted on by 55
Hi,
 
I have a PowerApp connecting to on-premise SQL via a gateway.  All is good, I am able to read and write to any table and call any view.  We decided to start trying to use Stored Procedures for the obvious performance benefits.
 
But, I cannot see any stored procedures other than what appears to be a few built-in ones.
 
These are the type of stored procedures I can see when selecting (Showing when I start typing sp_)
 
 
Here is when you don't search, shows about 56 stored procs, none of my own custom ones.
 
 
 
 
 
These are the ones I really want to see. 
 
 
Does anyone have any ideas here or had a similar issue and how did you resolve it?  I am 100% I am using the correct SQL connection as I am seeing all the tables and views.
 
 
Thanks,
Warren
 
 
I have the same question (0)
  • Pstork1 Profile Picture
    69,129 Most Valuable Professional on at
    Are you running the SQL connection as your account? Or using a SQL authentication? Could it be that the account used in the connection doesn't have permissions for the Stored Procedures?
  • Warren-GenPoint Profile Picture
    55 on at
    Hi, I created the stored procs. 
  • Pstork1 Profile Picture
    69,129 Most Valuable Professional on at
    I understand that they are your Stored Procedures. But the connector is probably running using a different account. If it is then the stored procedures would only be visible if that account has access to the stored procedures. When you set up the SQL connection what type of authentication did you use?
  • Warren-GenPoint Profile Picture
    55 on at
    Hi,
     
    Okay I get what you mean, its using SQL authentication.  Same account I used to create the procs.
  • Pstork1 Profile Picture
    69,129 Most Valuable Professional on at
    The only other thing I can suggest is to try creating a Power Automate flow and see if the Stored Procedures are visible there. If they aren't then its definitely a problem with authentication through the connector. If they do then its some kind of bug in the Power Apps support. Stored Procedures in Power Apps is a very new feature.
  • Warren-GenPoint Profile Picture
    55 on at
    Thats great idea.  I will try that also.
  • Warren-GenPoint Profile Picture
    55 on at
    oh no....bug?  I am seeing all sprocs in powerautomate via same gateway
     
  • Suggested answer
    Warren-GenPoint Profile Picture
    55 on at
     @Pstork1 - turns out my account didnt have execute stored procedures permissions on test database.  You DID mention that earlier.  Thanks!
  • MichaelFP Profile Picture
    1,943 Moderator on at
    Are you using Datagateway for that? If it is, try to remove and include the SQL connection again in power apps.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard