Running a VRO workflow to Configure package discovery in Aria Operations fails for specific service accounts while succeeding for administrators.
The vRO workflow execution logs display the following error:
yyyy-mm-dd 13:35:00.140 +##:## ERROR (mr.vrops.action/configureVroPackageDiscovery) Error in (Dynamic Script Module name : ####) REST Status Code : 500REST Response: {"message":"Internal Server error, cause unknown.", "moreInformation":[{"name":"errorMessage","value":"User does not have the privilege to perform the action. Action nottaken"}],"httpstatusCode":500,"apiErrorCode":500}.The "Configure Package Discovery" action is missing under Configurations → Inventory Management → Orchestrator Adapter Instance → Actions when logged into Aria Operations as the service user used to run the VRO workflow.
Aria Automation Orchestrator 8.x
Aria Automation 8.18.x
The workflow failed because the service user account assigned to execute the process lacked the specific permission required to Configure package discovery.
Sign into Aria Operations with the local admin user
Navigate to Administration → Control Panel → Access Control
Select the Roles tab → Select Power User role → Click on 3 dots → Edit
Expand Inventory → Actions → Scroll down the list of specific inventory actions and locate Configure Package Discovery. Select the checkbox next to it to enable this specific management privilege → Click Save.
Click the User Accounts tab → Locate and select the service user → Click on 3 dots → Click Edit
Under Assign Roles and Scope → Click on + to add a new role → Select Role PowerUser → Select the appropriate scope → Click Save
Configure package discovery workflow in vRO with the service user.