Agent Client Collector- Check command denied by Agent allow list
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2022 01:51 AM
Hi All,
I have built a sub flow in Flow Designer to run a command on Agent machine (Host) to stop a process running on host machine. For this I have used Agent Client Collector Spoke and Selected Run Command on Agent as Action. After running the flow, the error reads "check command denied by the agent allow list"
In any case, can I run the command by modifying Agent Allow List file? or Is there any alternate way of making the agent, run the command on the Host machine it is installed on? So that we can stop the process remotely using Agent.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2022 08:47 PM
We followed all the above steps mentioned, but still we are getting same error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2022 07:52 AM
Hi Manikandan,
There may be possibility that your global check-allow-list.json is having the invalid character. Replace the text in the C:/ProgramData/ServiceNow/agent-client-collector/config/check-allow-list.json with the same generated json shown in the previous comment and try whether it works.
While pasting the JSON, use any json validation tool online to cross verify whether you have copied the json correctly without having any hidden functional character.
Regards,
Parag Sanyashiv