Some USB ports don’t supply enough power, and on some machines, the ports can switch to a lower power state. E.g. on my laptop I can normally power from a USB port. However, if I disconnect the power supply and run from battery, the USB ports switch to a low power mode which is not enough to run the board.
You could also try connecting to a USB power socket if you don’t have a power brick for your board.
Cathal