Why is my XBox One not turning on?

Recently received an XBox One from a friend, and was told it is not working. When I plug the power supply into the wall, the power supply light holds solid orange, but when I plug the cable into the console, the light on the power supply turns off after ~1 second, and remains off until the power supply is unplugged from the console and wall, then only plugged back into the wall.

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0