I doing some research to send the information recopiled on "Create Single User" template via webhook to azure Automation account. The final porpouse is created a RPA to fill this values on another webpage.
The problems is when i doing a test, webhook respond correctly.... In azure i see the Runbook and see all its working fine.... But at the moment that i need share the real information, using Orchestration template, the ADManager show an error and dont send nothing....
I check logs on my ADManager server and i find this.
[17:55:02:111]|[03-18-2023]|[SYSERR]|[INFO]|[1989]: org.json.JSONException: JSONObject["RESPONSE_MGS"] not found.|
[17:55:02:111]|[03-18-2023]|[SYSERR]|[INFO]|[1989]: at org.json.JSONObject.get(JSONObject.java:573)|
[17:55:02:111]|[03-18-2023]|[SYSERR]|[INFO]|[1989]: at org.json.JSONObject.getString(JSONObject.java:836)|
[17:55:02:111]|[03-18-2023]|[SYSERR]|[INFO]|[1989]: at com.adventnet.sym.adsm.common.server.automation.orchestration.WebhookHandler.getResponse(WebhookHandler.java:250)|
[17:55:02:111]|[03-18-2023]|[SYSERR]|[INFO]|[1989]: at com.adventnet.sym.adsm.common.webclient.automation.orchestration.actions.IMWebhookHandler.execute(IMWebhookHandler.java:54)|
[17:55:02:111]|[03-18-2023]|[SYSERR]|[INFO]|[1989]: at com.manageengine.ads.fw.incident.imworkflow.actions.IMBlockAction.executeBlock(IMBlockAction.java:48)|
[17:55:02:111]|[03-18-2023]|[SYSERR]|[INFO]|[1989]: at com.manageengine.ads.fw.incident.imworkflow.IMDBlock.executeBlock(IMDBlock.java:137)|
[17:55:02:111]|[03-18-2023]|[SYSERR]|[INFO]|[1989]: at com.manageengine.ads.fw.incident.imworkflow.IMExecuteTemplateAction.run(IMExecuteTemplateAction.java:59)|
[17:55:02:111]|[03-18-2023]|[SYSERR]|[INFO]|[1989]: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)|
[17:55:02:111]|[03-18-2023]|[SYSERR]|[INFO]|[1989]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)|
[17:55:02:111]|[03-18-2023]|[SYSERR]|[INFO]|[1989]: at java.lang.Thread.run(Thread.java:748)|
[17:55:02:142]|[03-18-2023]|[SYSOUT]|[INFO]|[2051]: Domain name from audit object : salfa.cl|