This article has not been completed yet. However, it may already contain   helpful Information and therefore it has been published at this stage

Install-Module AsHciADArtifactsPreCreationTool -Repository PSGallery -Force
Add-KdsRootKey -EffectiveTime ((Get-Date).addhours(-10))

New-HciAdObjectsPreCreation -Deploy -AzureStackLCMUserCredential (Get-Credential) -AsHciOUName "OU=HCI,DC=hci,DC=it-infrastructure,DC=solutions" -AsHciPhysicalNodeList @("AzNode1") -DomainFQDN "hci.it-infrastructure.solutions" -AsHciClusterName "AzCl1" -AsHciDeploymentPrefix "Az"

# OU=HCI,DC=hci,DC=it-infrastructure,DC=solutions
# AzNode1
# hci.it-infrastructure.solutions
# AzCl1
# Az

A new User is created 👆.

Info: Make sure to meet the Azure Password Policy Complexity Requirements.

Reference:

Prepare Active Directory for new Azure Stack HCI, version 23H2 deployment - Azure Stack HCI
Learn how to prepare Active Directory before you deploy Azure Stack HCI, version 23H2.