| What this does | Gives the lab one login for vCenter and NSX, using the lab directory |
| Why now | The next parts add firewalling and networking, and I want named accounts with proper roles before anyone changes anything |
| Before you start | A working VCF Operations, a directory with LDAPS, and a CA your lab already trusts |
| You end with | Directory users signing in to vCenter and NSX, with admin and read-only roles that behave differently |
Every console in the lab has its own local admin account. That works for one person on day one. It gets messy once you want a read-only login for a colleague, or you want to know who changed what. VCF 9.1 has a single sign-on feature built into VCF Operations, and I set it up against the lab directory.
I am keeping this post to the decisions and the surprises. The full click-by-click is in my private notes.
The wizard has four cards: choose where the broker runs, connect an identity provider, switch SSO on for vCenter and NSX, and optionally assign roles. A short prerequisites page comes first. Two items on it matter: Enhanced Linked Mode has to be off on any vCenter taking part, and SDDC Manager stays on local accounts for its web UI.
Where the login broker lives
The first choice is where the identity broker runs. VCF offers a multi-node instance for resilience, or a single broker embedded in the management vCenter. This lab has one management domain and not much spare memory, so I picked embedded. The cost is that SSO is down whenever that vCenter is down. The local admin accounts keep working, so nobody gets locked out.
Connecting the directory
The directory side is a standard secure LDAP connection to Active Directory. The broker needs the root certificate of the CA that signed the domain controller certificates, and it wants it for each controller. If you did your certificate work properly earlier in the series, this part is quick.
I synced only two groups and three users, not the whole directory. A small sync means a small thing to reason about when something goes wrong.
The identity provider list is wider than a directory. Okta, Entra ID, ADFS, Ping, SAML and OIDC are all offered, so the lab directory is just the simplest option for me. I left the attribute mappings at their defaults. After the first sync the directory refreshes weekly, and users only become assignable for roles once they have signed in for the first time.
Roles
This is where I lost time. VCF 9.1 ships four built-in roles, and the two that cover everything were greyed out for me. They span every VCF component, and I had only enabled SSO on vCenter and NSX. VCF Automation and VCF Operations were still outside SSO, so the broad roles had nowhere to land.
The fix was two custom roles built from just the vCenter and NSX pieces, one administrator and one read-only. I assigned each to an AD group. The assignment takes effect at the next sign-in.
The built-in VCF Administrator and VCF Viewer roles each cover many products at once, which is why they were unavailable with only two components switched on. SDDC Manager has its own pair of roles. Custom roles let you pick per product, so that is what I used.
Does it work?
I tested with one read-only user and one admin, on both consoles. The read-only user could look at everything and change nothing: the folder and host actions in vCenter were greyed out, and Add Segment was greyed out in NSX. The admin account had all of them. I also checked that the local admin accounts still sign in, because that is the way back in if SSO breaks.



Two things that caught me
The setup wizard marked the vCenter and NSX step as completed when only vCenter was done. NSX showed Not configured until I went back and enabled it. Check the status column and not the tick.
The test-login button at the end of the identity provider setup leaves that account signed in. When I opened vCenter afterwards it let me straight in as the test user with no prompt. Use a private window for each test.
The overview page afterwards shows what is configured and what is not. VCF Operations and VCF Automation themselves showed as not configured, which is expected at this stage.
Two scripts I used
Two small PowerShell helpers on the directory side. The first lists who is in the SSO groups and which OU they sit in, which is how I found the right base for the user sync. It only reads. The second creates a read-only test user and prompts for the password, so nothing secret sits in the script. Both need the ActiveDirectory module. Both are free to download from my GitHub.
What I changed and left alone
I changed the identity setup in VCF Operations and the roles in VCF Roles. I did not touch the local accounts on vCenter, NSX or SDDC Manager. SDDC Manager does not take SSO logins in its own interface, so it keeps its local admin.
Next: Part 17, the NSX distributed firewall.
Sources
Streamline administrative access with VCF single sign-on (Broadcom blog)
