Skip to content

Improve Logging by removing '$VerbosePreference = 'SilentlyContinue'' Connect-M365Tenant #116

@SebastianGoers

Description

@SebastianGoers

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions