Skip to content

After 4.26 release getting error: Could not find mandatory property Thumbprint. Add this property and try again. #1472

@JeffZhu-E2006182

Description

@JeffZhu-E2006182

Good day!

Below was working but not after 4.26 release. Please help me understand why and how to fix. thanks!

Configuration STIG_Windows_MS_baseline {

Import-DscResource -ModuleName PowerSTIG
$TechnologyVersion
$StigVersion
Node 'localhost' {
    WindowsServer BaseLine {
        OsVersion   = $TechnologyVersion
        OsRole      = 'MS'
        StigVersion = $StigVersion
        ## Example 
        ## Exception   = @{'V-1075'= @{'ValueData'='1'} }
        Exception   = @{

            'V-254439' = @{Identity = 'Guests' }
            'V-254435' = @{Identity = 'Guests' }
            'V-254436' = @{Identity = 'Guests' }
            'V-254438' = @{Identity = 'Guests' }

        }
        #SkipRule    = @('V-254353', 'V-254354')
    }
   
}

}
Test-DscConfiguration D:\Support\STIG

STIG_Windows_MS_baseline -OutputPath:"D:\Support\STIG"
Could not find mandatory property Thumbprint. Add this property and try again.
CategoryInfo : ObjectNotFound: (root/Microsoft/...gurationManager:String) [], CimException
FullyQualifiedErrorId : MI RESULT 6
PSComputerName : localhost

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions