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 Automate / Microsoft Flows Stored...
Power Automate
Unanswered

Microsoft Flows Stored Procedure Permission denied to Azure SQL Database

(0) ShareShare
ReportReport
Posted on by 4

I created a stored procedure in an Azure SQL Database and granted EXECUTE permission, but Microsoft Flow keeps erroring out with 

The EXECUTE permission was denied on the object 'HelloTest'
Any ideas why?
We use the account SvcFlowAccess to access the SQL server. If we connect with SSMS using that account it can execute the procedure.
The procedure was created with:
CREATE PROCEDURE HelloTest
AS
SELECT 'A' AS A
GO
GRANT EXECUTE ON HelloTest TO SvcFlowAccess
GO
 
 
Categories:
  • Pstork1 Profile Picture
    69,665 Most Valuable Professional on at

    Is SvcFlowAccess the SQL account used to authenticate the connector?  For Azure SQL that has to be a SQL account and that's the account that needs to be able to run the stored procedure.

  • StefanCuypersQ Profile Picture
    4 on at

    Yes, this is a SQL account.

    Note that we moved to an on-prem SQL Server and there it works fine.

     

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

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 321 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 244

#3
Henil Profile Picture

Henil 102

Last 30 days Overall leaderboard