Forum Discussion

Nigel_Price9911's avatar
Nigel_Price9911
Iron Contributor
Jun 14, 2018

Can I run PnP PowerShell or CSOM PowerShell using Flow ?

Hi

 

I want Flow to kick off a PnP Powershell script.

 

This seems a pretty out of the box sort of thing to want to do.

 

Can I found anything on this ?

 

No

 

Anybody any ideas ?

 

Regards

 

Nigel

5 Replies

  • BenStegink's avatar
    BenStegink
    Iron Contributor

    Do do this I always use Azure Automation and call a Runbook from Flow.  Personally, I found that a lot simpler to get going with coming from an IT Pro background,  However, as others have said, I've also heard Azure Function work well.

     

    If you have Office 365, you already have Azure to some extent for your Azure AD instance.

     

    Also, Azure Automation is free for the first 500 minutes of running PowerShell/Runbooks, so even if you need to create an Azure tenant to do it, you won't have to spend a dime unless you have REALLY long running scripts.

    • Nigel_Price9911's avatar
      Nigel_Price9911
      Iron Contributor

      Thanks Pieter.

       

      Unfortunately, I do not have access to Azure.

       

      Is there another way of calling either PnP PowerShell or CSOM Powershell ?

       

      Regards

       

      Nigel

Resources