Here is the issue in the Microsoft DSC Resource Kit GitHub repo: https://github.com/PowerShell/ActiveDirectoryCSDsc/issues/43#issuecomment-392248745
Thanks for the feedback! I have personally heard this request from a number of customers. IMHO having the ability to use GMS accounts would be a quite useful in DSC configurations. If this is an important feature for you as well, vote it up so that we can appropriately prioritize it as we move forward.
I also have an issue I can't resolve in xComputerManagement because of this issue : https://github.com/PowerShell/xComputerManagement/issues/130.
I could work around it with a breaking change (split the ExecuteAsCredential into separate parameters or put an "ugly" work around in place). But I'd rather not do this. Is there any update?
Can you take a look below and leave a comment to let me know if the workaround is sufficient for your purposes? If so, I will close this item. If not, I will keep it marked as survey.
This should be resolved with WMF 5.0. Please let us know if this is reproducible with WMF 5.0 RTM.
This problem will occur when calling Get-DSCConfiguration where any of the used resources attempt to return an array as one of the parameters in Get-TargetResource - even if the parameters are declared as arrays in the MOF file. I have several DSC Resources that try to output array parameters but I've had to disable these parameters in the Get-TargetResource functions until this can be resolved.