The idiom "take someone to task" means to rebuke, criticize, or reprimand someone severely for something they have done wrong. It implies holding someone accountable for their failure.
১. It does not mean giving a physical task or work to someone as the literal wording might suggest.
২. Praising someone is the opposite of this idiom's meaning, and appointing is unrelated.
৩. For example: "The manager took the employee to task for his repeated lateness."
অতিরিক্ত তথ্য: Similar idioms include "to pull someone up" or "to tell someone off".