Skip to content

Connect-SsoAdminServer: Value cannot be null. (Parameter 'uri') #643

@rgb99

Description

@rgb99

Describe the bug

I am encountering an issue with the Connect-SsoAdminServer command from the VMware.SsoAdmin module (PowerCLI 13.1.0) when connecting to a specific vCenter Server running version 8.0.3 Build 24853646. While I am able to successfully connect to several other vCenter Servers using the same command, one particular server consistently returns the following error:

Connect-SsoAdminServer: Value cannot be null. (Parameter 'uri')

I initially opened a support case with Broadcom, not realizing that this module is considered third-party and therefore unsupported. During their investigation, Broadcom confirmed that there was no indication in the vCenter logs that a connection attempt was made from the module. Interestingly, the official VMware vSphere Security Configuration Guide relies on this module for its audit script to complete successfully, which makes this issue particularly problematic.

To troubleshoot, I verified connectivity and credentials, which are identical to those used with the other working vCenters. I also checked the certificate status using vCert, and found no issues. Additionally, I renewed the machine certificate on the affected vCenter Server, but the error persists.

I’m reaching out to see if anyone else has experienced this issue and might know of a workaround or solution. Thank you.

Reproduction steps

1.Connect-SsoAdminServer -SkipCertificateCheck -Server vblrvctr.rpega.com -User username
2.Supply the password.
3.
...

Expected behavior

It should display the connection information which includes IsConnected = true.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions