Here is the Maintenance and Service Guide for the laptop. In Chapter 6, Removal and replacement procedures for authorized service provider parts, Page 44, is a list of compatible M.2 SSD's. As you will see, there are SATA and PCIe models. I like Samsung SSD's because they seem to work best with the HP BIOS.
Please click the Thumbs up + button if I have helped you and click Accept as Solution if your problem is solved.