Export-M365DSCConfiguration: Getting You cannot call a method on a numm-valued expression
and empty report with PowerShell 7.
#4789
Labels
Description of the issue
I've been having some issues getting DSC to run, the amount of these errors it gets seems to cancel the script/module past a certain point. I've tried running M365DSC with the default configuration, and with various configurations from the web UI. This is all with PowerShell 7, as I haven't gotten the module to work correctly with PowerShell 5.
I've gone through and verified Graph API permissions for PowerShell and don't think this is the cause. The tool is able to grab some information but not all, and some cmdlets do error out due to a lack of licensing for the feature it's attempting to pull information from.
Verbose logs showing the problem
Environment Information + PowerShell Version
The text was updated successfully, but these errors were encountered: