cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
virtual43
New Member

powershell and flow

Hi,

 

I need to run a powershell script from azure automation in flow once a month.  Can you please provide steps or a good article how to do this?

 

The scripts works on my local Powershell ISE. It check for an AD account attribute set to XX and O365 email license... send email of user list....

1 ACCEPTED SOLUTION

Accepted Solutions
Jay-Encodian
Community Champion
Community Champion

Hey @virtual43 

This article may help: Start your Azure Automation PowerShell Runbook with a Microsoft Flow Button 

Simply change the trigger to use a schedule as opposed to a button.

HTH

Jay

-------------------------------------------------------------------------

If I have answered your question, please mark your post as Solved.

If you like my response, please give it a Thumbs Up

View solution in original post

3 REPLIES 3
Jay-Encodian
Community Champion
Community Champion

Hey @virtual43 

This article may help: Start your Azure Automation PowerShell Runbook with a Microsoft Flow Button 

Simply change the trigger to use a schedule as opposed to a button.

HTH

Jay

-------------------------------------------------------------------------

If I have answered your question, please mark your post as Solved.

If you like my response, please give it a Thumbs Up

View solution in original post

The PS script exports to CSV and email the file. 

Can Azure automation & Flow accomplish the same things?

I should add my script connects to AD & O365 to obtain data and output the report to CSV

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (1,879)