Connect-MgGraph -Debug should write MSAL logs to the debug stream. This is needed to help debug and troubleshoot auth related errors that originate from MSAL. See https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/wiki/logging for more details.