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
Dual Super User
Dual 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

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

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 Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (6,073)