You can get one of these but they are expensive also be aware there are SATA and nvme M.2 SSD types they are not compatible.
Although you did not mention if your old drive is also M.2. Consider a USB M.2 housing. With software you can then clone the existing drive to the new one and you can then use the old SSD in the housing as a flash drive.
If you have a free pcie 4x or higher slot, you can throw in a cheap card to adapt to m.2 nvme, like 12 bucks. I'm running one in my older hp desktop that doesn't have m.2 and it's been working great.
There's a few ways to go, I have used dd in the past to clone the existing drive out to a disk image on a USB SSD, then installed the new SSD in the system and did the process in reverse (and then used gparted to expand the partitions out to size).
There's also cloning devices that can do this but I've only ever done that with traditional 3.5" and 2.5" disks, not m.2.
Whatever you do, make sure you have a backup of your important data before you make any attempt.
They have devices that will clone one disk to another. I did this for my kids computer to increase the drive size without having to reload all of his apps.
If your elitedesk can fit two drives and has a USB slot, honestly just a flash drive with a bootable Linux image. The 'dd' command has the capability to copy one drive to another