Harley was selected by the Dallas Stars in the first round, 18th overall, at the 2019 NHL Entry Draft. He was the first player from the Ontario Hockey League selected at the draft. On September 23, 2019, the Stars signed Harley to a three-year, entry-level contract.