Forum Discussion
MrMrkn
Mar 26, 2020Brass Contributor
Powershell script "completed" but not doing anything
Hi, I am trying to run Powershell scripts from Flow, using this guide: https://practical365.com/microsoft-365/how-to-run-powershell-scripts-to-automate-manual-processes-in-office-365%C2%A0 Durin...
MrMrkn
Apr 02, 2020Brass Contributor
No one got an idea?
I could really need some help.
- kengpMar 04, 2022
Microsoft
I was having same issue because I created the runbook as Powershell type but using a workflow block, so it just ignores the code. Creating the runbook again with type Powershell Workflow worked.
- MrMrknMar 07, 2022Brass Contributor
kengp Oh, nice, thanks! I haven't given this any more thought since öast post, but now I think I'll give it another try!
- kengpMar 07, 2022
Microsoft
MrMrkn Glad to help. I used this tutorial and was successful setting up my automation: https://docs.microsoft.com/en-us/azure/automation/learn/automation-tutorial-runbook-textual
It is now recommended to use user assigned identities for logging in to Azure, rather than credentials.