On Pages 47 thru 49 is a list of compatible M.2 drives and instructions for removing and replacing them. Here is the 512 GB M.2 on HP PartSurfer. If you decide not to buy one from HP you can use the specifications that I provided to buy from another manufacturer.
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".