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 / Running Python script ...
Power Automate
Unanswered

Running Python script using flow

(0) ShareShare
ReportReport
Posted on by

Team,

 

We have a python script that collects data from Kusto and we have a parser for categorization. Currently we run it on our desktop machine. Is there a way to run this python script on Azure using Flow and email the results. A sample code would be very helpful. 

Categories:
I have the same question (0)
  • Helper Profile Picture
    2 on at

    If you have an Azure subscription you could use Azure Functions on a Consumption Plan to 'wrap' the script and return results, then bring that API into Flows:

     

    https://docs.microsoft.com/en-us/azure/azure-functions/functions-flow-scenario

     

    Python Example:

    https://github.com/yokawasa/azure-functions-python-samples/blob/master/docs/create-function-app-in-azure-portal.md

     

    Note that Python is experimental inside Azure Functions:

     

    https://docs.microsoft.com/en-us/azure/azure-functions/supported-languages

     

  • skmsflow Profile Picture
    on at

    Thanks for the information. I am trying to create function apps but for the subscriptions I have, it doesnt allow me to create function apps in any one of them . What would be easiest way to get around that issue ? 

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

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard