MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.23k stars 21.39k forks source link

How to SSH and run a command in Logic Apps #12707

Closed rifaterdemsahin closed 6 years ago

rifaterdemsahin commented 6 years ago

How to SSH and run a command in Logic Apps Trying to run commands on linux boxes using logic apps how can that be possible.

This connector just creates the file

https://docs.microsoft.com/en-us/azure/connectors/connectors-create-api-sftp

https://www.reddit.com/r/LogicApps/comments/93pwq2/how_to_ssh_and_run_a_command_in_logic_apps/


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

BryanTrach-MSFT commented 6 years ago

@rifaterdemsahin Thanks for the feedback! We are currently investigating and will update you shortly.

mike-urnun-msft commented 6 years ago

Hi @rifaterdemsahin - As of this writing, there isn't any connector for SSH operation. However, you may use Azure Functions together with Logic Apps in order to achieve the results you're looking for. For example, you can create Azure Functions app in Nodejs and utilize this package for your SSH needs, and then, you can run your Functions app in your Logic Apps using this connector. Hope this help!

We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.

gvacaguzman commented 6 years ago

Are this will be improved in some time?

ecfan commented 6 years ago

Logic Apps has a new SFTP-SSH connector now:

https://docs.microsoft.com/azure/connectors/connectors-sftp-ssh

Tylersuard commented 4 years ago

Here's my question: I have a python file that I would like to run at the same time every day. How would I do that with Azure Logic apps?