The case should be compatible to microBTX, but you will have to get a new power supply with a PCIe power connector to run a 1050TI.
The motherboard is not ATX standard, so you will have to get an adapter from ATX power supply connectors to HP motherboard power connector as well.
Easiest way to go would get a GTX1050 without TI, without extra power needed and low profile.