Enrolment status display Expired for users just assigned into the course.
Enrolment status shows Expired for users just assigned into a course because Course Access Expiration is set to a past date. Set Remove Access to None or a future date, check Update this date for all people already assigned to the course, and save.