Skip to content

Get-IdentitySource returns no value #645

@Gary0201

Description

@Gary0201

Describe the bug

On one of 8 vCenter servers, Get-IdentitySource returns no value even though an LDAP identity source is configured and functional.

If I manually remove the existing identity source and then use Add-LDAPIdentitySource, that returns a runtime error that we cannot explain.
"Exception: No connection could be made because the target machine actively refused it. (vCenterServerFQDN:7444)"

Reproduction steps

Expected behavior

Return of the existing identity source.

Further research appears that this one vCenter server (which was originally setup in the v4 era and continually upgraded to v8) when Connect-SsoAdminServer is invoked, the 'ServiceUri.Port' property returned is 7444. All of the other vCenter servers return a property value of 443.

Get-IdentitySource returns nothing (and does not trigger any type of error). At a minimum is should trigger the same error that "Get-SsoTokenLifetime" returns, which is an error indicating the connection was refused.

As to why this v8 vCenter server is returning properties indicating the use of a closed port is still unknown.

Additional context

Using PowerShell v7.4.6, VMware.PowerCLI 13.3.0 build 24145081, VMware.vSphere.SsoAdmin 1.4.0, vCenter v8.0.3 build 24853646.

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