Can I ask why this module has a connect-msgraph cmdlet when the main microsoft.graph.authenication contains this cmdlet Connect-MgGraph.
It just causes confusion as the connect-MgGraph supports Modern authenticaion and we use an Azure App with required roles
But your Connect-msgraph cannot use the same connection methods.