Class Based DSC Resource Credentials

Tagged: 

This topic contains 1 reply, has 1 voice, and was last updated by Profile photo of Mariusz Serwin Mariusz Serwin 1 year, 11 months ago.

  • Author
    Posts
  • #28180
    Profile photo of Mariusz Serwin
    Mariusz Serwin
    Participant

    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
    classes.

    I'm passing my credentials to set schedule job .

    When I run DSC on the localhost is working fine .

    I would appreciate any help .

    Regards

    Mariusz

  • #28181
    Profile photo of Mariusz Serwin
    Mariusz Serwin
    Participant

    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 .

    Regards

    Mariusz

You must be logged in to reply to this topic.