Class Based DSC Resource Credentials

Hi All ,

When I run DSC on remote machine I receive following error :

Invalid embedded (reference) property value was found. The value object is of
class type ‘MSFT_Credential’, which is not ‘MSFT_KeyValuePair’ or its derived

I’m passing my credentials to set schedule job .

When I run DSC on the localhost is working fine .

I would appreciate any help .



Hi all ,

I found whats the problem .

On Windows 10 Build 10240 a PSCredential Parameter in a Desired State Configuration Class Based Resource is treated as a Hashtable and not as a PSCredential.

Someone already reported that issue on connect .