No it will not be compatible Actualización (03/09/19): A1419 late 2012 its compatible with M.2 NGFF SATA SSD like example “ KingSpec 1TB 2242 M.2 SSD NGFF “ only you get around 480 Mb\s due to the motherboard capabilities A1419 late 2013 its compatible with M.2 Nvme + Adapter + your drive samsung 970 evo or adata 8200 pro. But only will work to around 900 Mb\s due to the motherboard capabilities. Newer iMacs late 2015 can handle to 1500 Mb\s 2017 and 2019 you can get of course faster speed with your same drive.
I have a imac late 2013 27” and always felt the buzz when i touch it. Now my imac suddenly is not starting anymore and i cant feel the buzz either, i bought a new power supply and still the same. The led #1 keep blinking but nothing happend. So let me tell you how much i missing that lil buzz :-(