vmware / PowerCLI-Example-Scripts

http://blogs.vmware.com/powercli
Other
743 stars 601 forks source link

VMware.vSphere.SsoAdmin: Get-IdentitySource -External does not list IWA as Identity Sources #591

Open salcinad opened 1 year ago

salcinad commented 1 year ago

Describe the bug

Get-IdentitySource or Get-IdentitySource -External does not list the Active Directory (Integrated Windows Authentication) IWA Identity sources. I can list it just fine with the vCSA script "/opt/vmware/bin/sso-config.sh -get_identity_sources"

Reproduction steps

1. Get-IdentitySource -External
2. Get-IdentitySource
3.
...

Output

Name         
----         
localos      
vsphere.local

After removing IWA and adding LDAPs, I get listed also external one: Get-IdentitySource -Server $vcsso

Name          
----          
localos       
vsphere.local 
myfakedomain.com

Expected behavior

List also External IWA source

Additional context

We are in process of migrating the IWA to LDAPs as Identity Sources, Seems we need to remove IWA over Web GUI first and add it by using this module.

Tested with vCenter Server 7.0 Update 3e (7.0.3.00600) | 2022-05-12 | 19717403 | 19717403 vCenter Server 7.0 Update 3g (7.0.3.00800) | 2022-07-23 | 20150588 | 20150588