Hi
Why is PnP PowerShell not supported by Flow. (or even CSOM PowerShell) as most administrative work is now done by PnP PowerShell. ?
Regards
Nigel
I feel your pain Nigel, and agree using PowerShell for administration is a great time saver.
In the Fow environment, the process is running on Microsoft servers in the cloud so to excute the PowerShell on your local machine would need some sort of connector, and/or gateway to your on-premises environment. I'd be interested to know if that is on any roadmap, but wouldn't be surprised if it had a low priority if was even on the list.
Hi DaveKO365
Thats why I specifically wanted PnP PowerShell as it runs on the local machine and uses remoting to update the lists on SharePoint Online.
I use PnP PowerShell all of the time to administer SharePoint Online.
So all I am asking for is to automate what I currently do when running PnP PowerShell scripts
I dont have access to the company Azure tenancy so using Azure functions is not an option.
Regards
Nigel
I doubt there will be an ETA. Microsoft don't give you any option to run your code (in this case PowerShell) on their servers. This is why using something like an Azure Function is suggested.
Hi
I do not have access to the company's Azure plan. So this solution will not work for me.
When will this be fixed in Flow so that Flow will be able to call PnP PowerShell ?
Do we have an ETA for this fix ?
Thanks
Nigel
Hi @NigelP,
You could run the PnP PowerShell in an Azure function and then trigger the Azure function from flow. Please take this documentation on Calling the PnP provisioning engine from a site script for more details:
Best regards,
Mabel Mao