The series has M.2 slot for flash cache. You can also use it for an M.2 SATA drive after disable Intel SRT (Smart Response Technology). Your machine may not have 32GB flash cache therefore you and use it for an M.2 SATA SSD.
You bought a Samsung model MZ-ALQ1280 SSD which is an M.2 NVMe SSD, this won't work in the first place.
BH *** **Click the KUDOS thumb up on the left to say 'Thanks'** Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.
Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".