"User does not have the privilege to perform the action" in Management Pack Builder
search cancel

"User does not have the privilege to perform the action" in Management Pack Builder

book

Article ID: 458285

calendar_today

Updated On:

Products

VCF Operations

Issue/Introduction

In VCF Operations, when attempting to perform a "Make Request" action during the API Request process within Management Pack Builder, the request fails to execute. The primary error displayed in the user interface or API response is:

User does not have the privilege to perform the action. Action not taken.

This error typically occurs when the executing user account or API token lacks the specific role or access control privileges required to execute the API endpoint.

Environment

  • VCF Operations 9.1.x
  • Management Pack Builder 2.0

Cause

This issue occurs when the user account or API token used during the Management Pack Builder Make Request process lacks the required Run Request REST API action privilege in VCF Operations.

Resolution

  1.  Verify user account or API token permissions:
  2. Log in to VCF Operations using an administrator account.
  3. Navigate to Administration > Control Panel > Access Control > Roles (or User Management).
  4. Confirm that the user role assigned to the executing account or API token has the required permissions enabled.
  5. Enable required API permission:
  6. Select the role assigned to the user or API token and click Edit.
  7. Ensure the following permission path is enabled: Operate > Inventory > Actions > Run Request
  8. Click Save.
  9. Re-authenticate and execute the API request:
  10. Re-run the Make Request action.
  11. Verify the response returns an HTTP 200 OK status and expected payload rather than the privilege error.