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 / Request to API 'sql' o...
Power Automate
Unanswered

Request to API 'sql' operation 'GetProcedure_V2' failed with status code 'Forbidden'

(0) ShareShare
ReportReport
Posted on by
Hey All,
 
I have a flow which is triggered by Power Apps. I have created an action within this flow: Execute Stored Procedure (SQL Server V2). When I added this action, it showed the right Server name en db name setup by the connection reference. When I selected the servername and db name I could choose the right stored procedure. It even showed the right parameters. fd
 
AFter saving the flow as a draft, the I got the following error message: 
 
Failed to retrieve dynamic inputs. Error details: 'The dynamic operation request to API 'sql' operation 'GetProcedure_V2' failed with status code 'Forbidden'. This may indicate invalid input parameters. Error response: {"status":403,"source":"https://europe002-002.token.azure-apihub.net:443/tokens/europe-002/sql/***********************/exchange","message":"Error from token exchange: Permission denied due to missing connection ACL: Connection https://europe-002.azure-apihub.net/@europe-002/logicflows/************************** version -9223372036854775808, connection=europe-002/sql/**********************"}
 
Is this firewall related? The SQL Server is installed on our server and uses a gateway. Or has this something to do with the way we have setup our connections and connection references? 
Categories:
I have the same question (0)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 77 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 68

#3
Expiscornovus Profile Picture

Expiscornovus 56 Most Valuable Professional

Last 30 days Overall leaderboard