Error in Aria Automation Orchestrator 8.17 or newer: "This method is disabled for security reasons. 'Command' is deprecated and will be removed in future release"
search cancel

Error in Aria Automation Orchestrator 8.17 or newer: "This method is disabled for security reasons. 'Command' is deprecated and will be removed in future release"

book

Article ID: 372769

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

This error is seen from vRA 8.17.0 onwards, when executing local system commands on the vRO server app via workflows utilising the JS script engine:

"This method is disabled for security reasons. 'Command' is deprecated and will be removed in future release"

Approvals for such activities with deprecated 'Command' are also marked with a red exclamation mark even if those were granted correctly.

Environment

VMware Aria Automation Orchestrator 8.17.0 or newer

Cause

A change was introduced in 8.17.0 to disable usage of the Command interface in javascript for security reasons.

Resolution

The permanent solution is to alter workflows so that they are not directly running commands via javascript, if at all possible.

If this presents a big challenge, there are two options:

  1. The upgrade to 8.17+ can be rolled back to pre-upgrade snapshot until workflows can be altered
  2. If no other option is available, please contact VMware Support, referencing this article