Access Denied for vIDM group-based roles in NSX
search cancel

Access Denied for vIDM group-based roles in NSX

book

Article ID: 447765

calendar_today

Updated On:

Products

VMware NSX VMware vSphere ESXi

Issue/Introduction

When logging into the NSX Manager UI using VMware Identity Manager (vIDM) integration, authentication fails with "Access Denied." This occurs specifically when permissions are assigned via vIDM Groups rather than individual users.

  • Failure message:
    Access Denied
    You are not authorized to perform this operation. Please check your permissions.
  • Affected users belong to one or more vIDM groups and assigned a role in NSX.
  • Individual user role assignments work correctly.
  • The issue is observed following an upgrade to NSX 9.1.0 (VCF 9).
  • Refreshed OAuth token doesn't fix the issue.
  • In /var/log/proton/nsxapi.log, the following error is observed: 
  • [Timestamp] ERROR NSX 7672 [nsx@4413 comp="nsx-manager" errorCode="MP401" level="ERROR" logger="UserInfoUtil" msgID="SYSTEM" subcomp="manager" threadName="http-nio-127.0.0.1-7440-exec-464"] User <vidm-username> with groups [ALL USERS] and incoming roles null is not authorized to access API with rbac_feature utilities_backup having required_permission read.
    [Timestamp]  ERROR NSX 7672 [nsx@4413 comp="nsx-manager" errorCode="MP401" level="ERROR" logger="UserInfoUtil" msgID="SYSTEM" subcomp="manager" threadName="http-nio-127.0.0.1-7440-exec-551"] User <vidm-username> with groups [ALL USERS] and incoming roles null is not authorized to access API with rbac_feature search having required_permission read.

Environment

  • VMware Cloud Foundation 9.1.0
  • VMware NSX 9.1.0
  • VMware Identity Manager (vIDM)

Cause

 A logic defect in the NSX Management Plane causes the RBAC framework to return a null role for group-based memberships during the authentication consolidation process.

Resolution

This issue is resolved in VCF 9.1.1, available at Broadcom downloads.

If you are having difficulty finding and downloading software, review the Download Broadcom products and software KB.

 

Workaround:

To workaround this issue, assign individual vIDM user roles directly on NSX.