Deployments are failing on Aria Automation with error message: Error: Unauthorized (com.vmware.vapi.std.errors.unauthorized)
search cancel

Deployments are failing on Aria Automation with error message: Error: Unauthorized (com.vmware.vapi.std.errors.unauthorized)

book

Article ID: 320599

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Symptoms:

New virtual machine (VM) deployments are failing with the following error message:

Error: Unauthorized (com.vmware.vapi.std.errors.unauthorized) => { messages = [], data = struct => {error_message=The credentials were incorrect or the account specified has been locked., error_code=403, module_name=common-services}, errorType = UNAUTHORIZED }

 

 

Environment

VMware vRealize Automation 8.x
NSX 4.x
vIDM 3.3.7

Cause

This error could occur because the NSX-T endpoint might not be functioning due to invalid credentials being used for authentication.

This can happen if NSX's authentication provider is set to the vIDM server and there are issues with the vIDM services.

 

Resolution

  1. Identify the Root Cause:
    a) Verify that the NSX-T endpoint configuration within vCenter is using the correct credentials.
    b) Verify Validation for NSX-T Endpoint in Cloud Accounts. 
  2. Update Credentials: Replace the invalid credentials with valid administrative credentials for NSX-T endpoint.
  3. Check vIDM for issues: Troubleshooting VMware Identity Manager postgres cluster deployed through vRealize Suite Lifecycle ManagerREST API to VMware NSX Manager fails while using it with vIDM authentication, and REST API calls using a vIDM user fail in NSX-T.