The question may not even be the right way to ask that but it is what I have come up with after researching a for a short amount of time. I have a 250gb ssd with windows on it and some programs then a 2tb hdd and a 1tb hdd. I use a Asus Z490 E motherboard and have tried both m.2 slots.
As I said, I tried both ports. I believe the issue is my windows is on a "legacy" drive(my sandisk 256 gig ssd) and I have to boot my pc in CSM mode to get out of the bios. I can't use the Samsung ssd in csm mode because I don't think it utilizes UEFI which the samsung ssd needs. The drive itself is completely unrecognized by Windows or the BIOS, so idk what to do.