SecurityPolicyDsc icon indicating copy to clipboard operation
SecurityPolicyDsc copied to clipboard

DSC Conversion Breaks

Open joelymalookey opened this issue 3 years ago • 1 comments

https://github.com/dsccommunity/SecurityPolicyDsc/blob/16bd0e2cc678e3c456468b10da5071d97e5d5906/DSCResources/MSFT_SecurityOption/MSFT_SecurityOption.schema.mof#L68

This definition in the descriptions breaks the conversion with the error listed below, if I remove the definition --> EmbeddedInstance("MSFT_RestrictedRemoteSamSecurityDescriptor") then the below error does not appear.

Write-Error: Invalid MOF definition for node 'localhost': Exception calling "ValidateInstanceText" with "1" argument(s): "Convert property 'Network_access_Restrict_clients_allowed_to_make_remote_calls_to_SAM' value from type 'STRING' to type 'INSTANCE[]' failed At line:2522, char:2 Buffer: ionName = "sctest"; };^ insta "

joelymalookey avatar Feb 15 '22 14:02 joelymalookey

https://github.com/dsccommunity/SecurityPolicyDsc/blob/16bd0e2cc678e3c456468b10da5071d97e5d5906/DSCResources/MSFT_SecurityOption/MSFT_SecurityOption.schema.mof#L68

This definition in the descriptions breaks the conversion with the error listed below, if I remove the definition --> EmbeddedInstance("MSFT_RestrictedRemoteSamSecurityDescriptor") then the below error does not appear.

Write-Error: Invalid MOF definition for node 'localhost': Exception calling "ValidateInstanceText" with "1" argument(s): "Convert property 'Network_access_Restrict_clients_allowed_to_make_remote_calls_to_SAM' value from type 'STRING' to type 'INSTANCE[]' failed At line:2522, char:2 Buffer: ionName = "sctest"; };^ insta "

Has there been any progress with this? I'm having the same problem.

PMLIO avatar Jul 10 '24 18:07 PMLIO