It would be nice to have wildcard support (*|role_name) in the o365 role mapping configuration, allowing administrators to assign a default role to all users upon login, regardless of their Microsoft 365 group membership.
This would ensure that all users have a baseline role (e.g., basic_user) without needing explicit group membership.
It simplifies role management for organizations where some users do not belong to predefined groups but still require access.
Users would be able to define a wildcard mapping in o365.role_settings such as:
*|basic_role
This ensures that all users automatically receive the specified roles upon login.
Active
5.0
Code