I am setting up a new NUC5i7RYHR that I have purchased. It works well when the bottom is off, but as soon as I press the case shut, it powers off and wont power on again, even if I take the bottom off again. If I unplug and replug the power, it will then start fine and run until it push it back on again. I can't see that it is one side particularly, it just happens once I click it back in fully.
I assume it needs sending back to the distributor,
Yes, it seems to be a problem with power switch or grounding issue. My recommendation would be contacting Intel Customer Support for warranty replacement of your NUC. You can use our Web Ticketing system to do that.
Chat support: Contact Support