Caveats of not having the role directly assigned to the user are listed in blogs from Alex Meyer and André Arnaud de Calavon (me).
With a new enhanced feature, we should strive to have the roles linked to the Entra ID group directly associated with the user.