Dynamically fetch the team->security group mapping.