Hi, I've got a strange one and not sure how to even troubleshoot it. I've setup a runbook to run on a hybrid worker, if I run it through the automation account on azure it completes successfully and I can verify its completed the task within my onprem AD.
Since its part of a larger project I added it to my LogicApp and it says its completed successfully but when checking onprem AD I can see it hasnt actually done the task. I then thought I would create a basic Power Automate flow to only run this runbook and again it says its completed successfully but when looking at AD I can see it hasn't.
I found a post which I guess had a similar issue and they mentioned creating a "PowerShell Workflow" runbook instead of a regular "Powershell" runbook, which I did but it still doesn't actual do the task within the script (but does say it completed successfully?
Any ideas or suggestions?

Report
All responses (
Answers (