Skip to main content
Community site session details

Community site session details

Session Id : 6W3cBRMRXmzs1YMdzye8WL
Power Automate - Using Connectors
Unanswered

Microsoft Flows Stored Procedure Permission denied to Azure SQL Database

Like (0) ShareShare
ReportReport
Posted on 21 Jun 2019 14:44:00 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
 
 
  • StefanCuypersQ Profile Picture
    4 on 21 Aug 2019 at 06:07:39
    Re: Microsoft Flows Stored Procedure Permission denied to Azure SQL Database

    Yes, this is a SQL account.

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

     

  • Pstork1 Profile Picture
    67,351 Most Valuable Professional on 20 Aug 2019 at 16:37:28
    Re: Microsoft Flows Stored Procedure Permission denied to Azure SQL Database

    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.

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

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Featured topics

Loading complete