You can use the TokenRequestContext
with AuthenticateAsync
as per
Micosoft Doc - InteractiveBrowserCredential.AuthenticateAsync Method
So in you code you can do this:
var tokenRequestContext = new TokenRequestContext(_scopes);
AuthenticationRecord authRecord = await interactiveCredential.AuthenticateAsync(tokenRequestContext);