I ran into the following issue which is resolved by using PS5.
microsoft/Microsoft365DSC#2054
Verbose logs
PowerShell 7 error: `Configuration: Cannot process argument transformation on parameter 'ResourceModuleTuplesToImport'. Cannot convert the "System.Collections.ArrayList" value of type "System.Collections.ArrayList" to type "System.Tuple`3[System.String[],Microsoft.PowerShell.Commands.ModuleSpecification[],System.Version]".`
Problem description
I ran into the following issue which is resolved by using PS5. microsoft/Microsoft365DSC#2054
Verbose logs
How to reproduce
Manually compile the following.
Expected behavior
Resource should compile
Current behavior
Resource fails to compile
Suggested solution
Move build and test pipeline to PS5.
Operating system the target node is running
PowerShell version and build the target node is running
Module version used