You can't remove this learning path or course because it's assigned via a team

You can't remove this learning path" or "You can't remove this course" appears when the user is assigned via a team; remove the learner from the team or remove the learning path/course assignment from the team to unassign it, noting direct user assignments remain until removed. Questions this answers: Why can't I remove a course that says it's assigned via a team? How do I unassign one learner from a learning path assigned through a team? How do I remove a course or learning path from everyone on a team? Why is a course still assigned after removing it from the team?