Unable to configure identity broker for NSX: API call failed with status 403 FORBIDDEN
search cancel

Unable to configure identity broker for NSX: API call failed with status 403 FORBIDDEN

book

Article ID: 455660

calendar_today

Updated On:

Products

VCF Operations VMware NSX

Issue/Introduction

In VMware Cloud Foundation (VCF), administrators may observe that they are unable to configure the identity broker for a workload domain NSX instance.

The component configuration task fails, and the system displays the following error message:

  • API call https://<NSX_FQDN>/api/v1/trust-management/oidc-uris/action/configure-vidb-oidc-endpoint failed with status 403 and error { "httpStatus" : "FORBIDDEN", "error_code" : 401, "module_name" : "common-services", "error_message" : "User is not authorized to perform this operation on the application. Please contact the system administrator to get access." }

Environment

VMware Cloud Foundation 9.1.1

VMware NSX 9.1.1

Cause

This issue occurs because the System Managed Credential Activate option is not selected for the affected NSX adapter.

As a result, the Credential field remains blank under the integrations configuration.

Without active and valid system-managed credentials, the platform cannot successfully authenticate to the target NSX Manager to execute the required API calls, resulting in a 403 Forbidden and 401 Unauthorized error sequence during the identity broker configuration.

Resolution

To resolve this issue and successfully configure the identity broker, you must activate the system-managed credentials for the affected NSX adapter. Follow these steps:

  1. Log in to the VMware Cloud Foundation management interface.

  2. Navigate to Administration > Integrations.

  3. Locate the affected NSX adapter in the list of configured integrations.

  4. Edit the adapter configuration.

  5. Check the System Managed Credential Activate option to ensure the system properly manages and supplies the credentials.

  6. Verify that the Credential field is no longer blank.

  7. Save the adapter configuration changes.

  8. Navigate back to the Component Configuration screen and retry the identity broker configuration for the workload domain NSX instance. The task will now complete successfully.

Additional Information