Test-ConflictingResources : A conflict was detected between resources '[cCredentialManager]Present (::6::9::cCredentialManager)' and '[cCredentialManager]Present2 (::14::9::cCr
edentialManager)' in node 'localhost'. Resources have identical key properties but there are differences in the following non-key properties: 'PsDscRunAsCredential'. Values 'Sy
stem.Management.Automation.PSCredential' don't match values 'NULL'. Please update these property values so that they are identical in both cases.
At line:271 char:9
+ Test-ConflictingResources $keywordName $canonicalizedValue $k ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Write-Error], InvalidOperationException
+ FullyQualifiedErrorId : ConflictingDuplicateResource,Test-ConflictingResources
Errors occurred while processing configuration 'Test'.
At C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\PSDesiredStateConfiguration\PSDesiredStateConfiguration.psm1:3705 char:5
+ throw $ErrorRecord
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (Absent_System:String) [], InvalidOperationException
+ FullyQualifiedErrorId : FailToProcessConfiguration
Expectation
It's should support Same Target, Credential configuration for multiple PsDscRunAsCredential Accounts.
Description of Issue
CredentialManager supporting PsRunAsCredential to manage not only SYSTEM Account but others.
However if you wan to manage "same target with same credential" for multiple account is not supported.
Reproduce
With following configuration.
You will see following errors.
Expectation
It's should support Same Target, Credential configuration for multiple PsDscRunAsCredential Accounts.