cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
StefanCuypersQ
Level: Powered On

Microsoft Flows Stored Procedure Permission denied to Azure SQL Database

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
 
 
2 REPLIES 2
Super User
Super User

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.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
StefanCuypersQ
Level: Powered On

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.

 

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Users Online
Currently online: 429 members 4,639 guests
Please welcome our newest community members: