Your organization has recently migrated to Microsoft 365 and needs to manage licenses for its users. You have been assigned the task of assigning licenses to users based on their roles and departments. What approach should you take to achieve this efficiently and accurately?