Improve Logging by removing '$VerbosePreference = 'SilentlyContinue'' Connect-M365Tenant
Is there a chance $VerbosePreference = 'SilentlyContinue' can be removed in Connect-M365Tenant
https://github.com/microsoft/MSCloudLoginAssistant/blob/79054795d8586191335cd8498c3d45ef5d2bdc91/Modules/MSCloudLoginAssistant/MSCloudLoginAssistant.psm1#L146
as it would make debugging connections in other workloads such as Microsoft365DSC much easier?
It kind of contradicts the fact that all output in the script is being produced by write-verbose.
I ran into this today while troubleshooting an issue with M365DSC and spent a while figuring out why all those Write-Verbose lines exist, if they are not displayed anyway. :) Should I offer a PR for this? An optional parameter?
Discussed in https://github.com/microsoft/Microsoft365DSC/issues/4982, should be resolved under https://github.com/microsoft/MSCloudLoginAssistant/pull/188