Xbox shuts off after a minute

Hello all, i have got a xbox one x that seems to be acting weird. It will power up though all the load up screen from first plug in then will sit at the xbox home screen for 30 second to a minute then hard shut down which will then take it back to the stage of need switching back on. I have attempted using 3 different power plugs 2 known good ones that are used on one s’s and have given all the internals a clean to check of any potential overheating. Has anyone else had a similar issue?