PowerCLI-Example-Scripts icon indicating copy to clipboard operation
PowerCLI-Example-Scripts copied to clipboard

VMware.vSphere.SsoAdmin: AddActiveDirectoryExternalDomain

Open Alta2048 opened this issue 4 years ago • 2 comments

Hi All, my understanding is that Add-ExternalDomainIdentitySource is in reality:

$connection.Client.AddActiveDirectoryExternalDomain(
    $DomainName,
    $DomainAlias,
    $Name,
    $PrimaryUrl,
    $BaseDNUsers,
    $BaseDNGroups,
    $Username,
    $Password,
    $DomainServerType)

I do not see the option for:

  • Identity source type Active Directory (windows integrated authentication)
  • Domain Name
  • Use Machine account OR SPN This will require only 3 properties. Is that possible via cli ?

Alta2048 avatar Nov 01 '21 15:11 Alta2048

Hi,

  • The DomainServerType parameter is the Identity Source Type. It is limited to ActiveDirectory at the moment
  • The DomainName parameter is available
  • Only password authentication method is exposed at the moment. Machine account and SPN can be exposed as well. This would go as a feature request.

dmilov avatar Nov 02 '21 08:11 dmilov

Thanks for your quick answer , I have added the feature request here: Powercli 361 .Maybe the integration depend on domain join ?

"/opt/likewise/bin/domainjoin-cli join --ou 'DomainOU' DomainName Domainusername Domainpassword "

Sorry I have another remark : Is this possible to use a PS Credential object as parameter instead of two properties username and password ?

Alta2048 avatar Nov 05 '21 13:11 Alta2048