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 / Microsoft Flow & Power...
Power Automate
Unanswered

Microsoft Flow & Powershell

(2) ShareShare
ReportReport
Posted on by 4

Hi,

 

I have been tasked with creating a automation process for creating and disabling user's access from Active Directory.  Is there a way to trigger a powershell script to run from within Flow?

 

Thank you

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

    Hi dazler1977,

     

    I am afraid that your scenario currently is not available. I have seen similar request at Flow Ideas Forum, please vote and comment the idea at here, I will help collect and report it on my side:
    https://powerusers.microsoft.com/t5/Flow-Ideas/Fire-on-premise-PowerShell-script-with-data-gateway/idi-p/67754

     

    Best regards,
    Mabel Mao

  • sergeluca Profile Picture
    500 on at

    Actually yes you can: I did it :

     

    read my blog post: https://sergeluca.wordpress.com/2017/12/01/upload-and-run-a-remote-powershell-script-from-microsoft-flow/

    and if you like it share it on twitter 🙂

     

    Kind regards

     

     

    Serge Luca

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard