Nope, the trailer wiring is a separate purchase for your 2017 Nissan Rogue Sport, and does not come with the etrailer Trailer Hitch Receiver # e79YR.
The correct trailer wiring harness for your '17 Rogue Sport is the Curt T-Connector Vehicle Wiring Harness with 4-Pole Flat Trailer Connector # C56397. view full answer...