ADManagedServiceAccount: Fails when computer is not domain joined and the 'DomainController' and 'Credential' params are specified. #564
Labels
enhancement
The issue is an enhancement request.
help wanted
The issue is up for grabs for anyone in the community.
Details of the scenario you tried and the problem that is occurring
When the computer is not member of the domain and the 'DomainController' and 'Credential' properties are specified it fails. When the computer is member of the domain it works just fine.
Verbose logs showing the problem
The DSC Operations event log contains the following error:
Error Detail is:
Error Message is:
Suggested solution to the issue
Add the 'Credential' property to the 'getTargetResourceParameters' hash table in the Test-TargetResource and Set-TargetResource functions so that the Get-TargetResource function is able to connect to the domain controller using credential.
Existing:
Suggested:
The DSC configuration that is used to reproduce the issue (as detailed as possible)
N/A
The operating system the target node is running
Version and build of PowerShell the target node is running
Version of the DSC module that was used
5.0.0
The text was updated successfully, but these errors were encountered: