Open ssoabx opened 7 months ago
@ssoabx Checking in to see if the issue is resolved with the latest release. Could you please check and report back? Thank you.
Also, could you share a minimal reproducible configuration example, so that we can have a look at it?
Using 2.0.0.3 of the module via the recently published Microsoft365DSC release I'm getting lots of errors. One is related to our own DSC resource being present in the master config. The following error related to this is thrown (German sorry..):
https://github.com/microsoft/DSCParser/blob/d6c7f365fb91e697890755db376b3fb2ef420ad0/Modules/DSCParser/Modules/DSCParser.psm1#L338-L357
Start of said MasterConfig.ps1:
On the old 1.4.0.4 version this didn't result in an error.
Removing it from the config removes the error (expected). Adding it as a separate line in the expected format ("Import-DscResource -ModuleName 'Microsoft365DSCCustomRes'") also works. https://github.com/microsoft/DSCParser/blob/d6c7f365fb91e697890755db376b3fb2ef420ad0/Modules/DSCParser/Modules/DSCParser.psm1#L325-L326