Admin user has lost permissions and cluster visibility in TMC following an AD modification
book
Article ID: 429700
calendar_today
Updated On:
Products
VMware Tanzu Mission Control
Issue/Introduction
Following an Active Directory (AD) configuration change, administrator users logging into Tanzu Mission Control (TMC) Self-Managed are incorrectly assigned default Read-Only (RO) permissions.
Authentication succeeds, but role-based access control (RBAC) authorization fails to grant admin access.
Validating the values.yaml file confirms the Identity Provider (IdP) group roles are correctly mapped:
###TCAD NO idpGroupRoles: admin: ADGroup_TMC_ADMIN member: ADGroup01_All_Users
Verifying the secret group confirms that the login process is creating a new secret.
Any user which is a member of "ADGroup01_All_Users" has no admin permissions, only RO permissions.
Cause
Changing the name of admin or member group for TMC-SM it is not supported.
TMC-SM automatically creates organization access policies based on the admin and member group names provided during initial setup. These access policies do not automatically update when TMC-SM is reconfigured with a new Active Directory server, causing an RBAC mismatch that prevents administrative access.
Resolution
Workaround:
Add the same groups on the new AD. OR
Manually change the groups in all access policies
Revert Identity Provider Settings: Temporarily reconfigure TMC-SM to use the previous AD settings. This ensures the admin can authenticate with full administrative privileges to perform the necessary policy modifications.
Log into the TMC-SM UI as an admin. Navigate to the left-hand sidebar and select Access Policies.
Select Organization to view the current organizational access policies.
Update Administrator Group Identity:
Locate the policy that grants the organization.admin permission to members of the legacy AD admin group.
Select Edit. In the Identities drop-down menu, select Groups.
Enter the name of the new AD administrator group in the Group Identity text field and select Add.
Confirm that both the legacy and new AD administrator groups are listed as identities, then select Save.
Update Member Group Identity:
Locate the policy that grants organization.credential.view permissions to members of the legacy AD member group.
Repeat the edit process from step 4 to add the new AD member group identity.
Select Save to ensure members of either group are recognized as organizational members.
Review the organizational access policies within the UI to verify that both organization.admin and organization.credential.view have been updated with the additional group identities.
Reconfigure TMC-SM with the settings for the new AD server.
Authenticate as an admin using the new AD credentials. Confirm the UI grants full administrative access and no longer defaults to a Read-Only view.
Authenticate as a non-admin member user to confirm the UI reflects the correct permissions and visibility for that role.
Once the new AD group permissions are verified, log in as an administrator to remove the legacy AD group names from the policies edited in steps 4 and 5. The organization.admin and organization.credential.view policies should eventually contain only the new AD group identities.
Inspect any other direct access policies within the UI. If additional policies were manually created using legacy AD group names, update them to reflect the new group identities. Note that inherited access policies do not require manual intervention, as they update automatically based on changes to the direct policies.