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 / SQL execute stored pro...
Power Automate
Answered

SQL execute stored procedure V2

(0) ShareShare
ReportReport
Posted on by

Hi

 

I'm trying to execute a stored procedure with an SQL Server connecter via on-prem gateway and I get the below error.

I have older flows that use 'execute stored procedure (v1)' on the same gateway and are running daily without any issue.

I've tried to remove and recreate the connector and that did not help.

Thanks

SP_GW.png

 

 

 

Categories:
I have the same question (0)
  • v-alzhan-msft Profile Picture
    on at

    Hi @Anonymous ;

     

    Could you choose the server from the drop-down list in the Execute stored procedure?

     

    Best regards,

    Alice       

     

    Community Support Team _ Alice Zhang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Community Power Platform Member Profile Picture
    on at

    Hi Alice,

     

    Yes - for the 'Database Name' and 'Server Name' I'm abale to select the value from the dropdown menu, i.e. without typing it in.

    The error occurs when I try to do the same for the 'Procedure Name' field.

     

    Thanks!

  • Verified answer
    Community Power Platform Member Profile Picture
    on at

    For anyone reaching this post. If you need to reference the port in the database address, you must do it with ":".

    Address convention should be <server_address>:<port> and NOT <server_address>,<port>.

     

    This solves the issue.

     

    Cheers

  • knives Profile Picture
    74 on at

    Hi @Anonymous,

     

    I am having this issue too but am unsure what your solution means, could you please share a screenshot of your configuration please so I can see what I have to do to rectify?

  • Community Power Platform Member Profile Picture
    on at

    Hey

     

    If you need to reference the port in the connection string it should be using    ":"

     

    For example:

    db_address:403    whereas 403 is the port

  • sagardhamani Profile Picture
    2 on at

    Hi ,

    I am facing an issue in the power automate flow in a step of 'Execute_stored_procedure_(V2)'.

    Please find the error message below.   Invalid connection settings inner exception: Not a valid data source. clientRequestId: c338b978-c6fb-42b1-85f1-57a199f946f6   { "status" : 400 , "message" : "Invalid connection settings\r\n inner exception: Not a valid data source.\r\nclientRequestId: c338b978-c6fb-42b1-85f1-57a199f946f6" , "error" : { "message" : "Invalid connection settings\r\n inner exception: Not a valid data source." }, "source" : "sql-we.azconn-we.p.azurewebsites.net" }

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 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard