Class Based DSC Resource Credentials

Welcome Forums DSC (Desired State Configuration) Class Based DSC Resource Credentials

This topic contains 1 reply, has 1 voice, and was last updated by

 
Participant
3 years, 4 months ago.

  • Author
    Posts
  • #28180

    Participant
    Points: 0
    Rank: Member

    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

    Participant
    Points: 0
    Rank: Member

    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

The topic ‘Class Based DSC Resource Credentials’ is closed to new replies.