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

Notifications

Announcements

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:
I have the same question (0)
  • Pstork1 Profile Picture
    68,717 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard