On trigger, assign office 365 license to users. Would pair perfectly with a "new Azure AD user added" trigger.
Unfortunately, Microsoft states (via link provided avobe):
A paid or trial subscription for Azure AD Basic or a paid or trial Office 365 Enterprise E3, Office 365 A3 and above editions is required in the tenant to use group-based license management.
So this is not an option for everyone. I would love to see a flow action like 'Assign license' in the Azure AD connector, that would solve the problem.
@Ralph2when I wrote my reply above I had an Office 365 Enterprise E3 but the assignment to groups was not possible. When we added an Enterprise Mobility + Security E3 (which inlcudes Azure Active Directory Premium P1) it was available. So this may have changed now according to what you wrote and Office 365 Enterprise E3 may have the group license available - just wanted to let you know.