Follow https://learn.microsoft.com/en-us/entra/identity/users/licensing-groups-assign
This uses security groups - no need to email enable them
If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.
hth
Marcin