diff --git a/src/Microsoft.Graph.Cli.Core/Authentication/AuthenticationServiceFactory.cs b/src/Microsoft.Graph.Cli.Core/Authentication/AuthenticationServiceFactory.cs index 111bbc4e..06626b34 100644 --- a/src/Microsoft.Graph.Cli.Core/Authentication/AuthenticationServiceFactory.cs +++ b/src/Microsoft.Graph.Cli.Core/Authentication/AuthenticationServiceFactory.cs @@ -103,7 +103,6 @@ private async Task GetInteractiveBrowserCredential TokenCachePersistenceOptions tokenCacheOptions = new() { Name = Constants.TokenCacheName }; credOptions.TokenCachePersistenceOptions = tokenCacheOptions; credOptions.AuthenticationRecord = await authenticationCacheManager.ReadAuthenticationRecordAsync(cancellationToken); - credOptions.LoginHint = credOptions.AuthenticationRecord?.Username; return new InteractiveBrowserCredential(credOptions); }