Unfortunately not all external devices or drives are compatible with an M-Series Mac. I have seen multiple items not work on an M-series Mac.
As for a hard drive, it is hard to say. If you have had that drive for years and it is always connected to the Mac, then most likely that drive is worn out or failing. macOS is known for causing premature hard drive failures due to the very aggressive wake & sleep of connected drives, so it is best to uncheck "Put hard drive to sleep when possible" in the System Settings (with Sonoma this option is only visible/available when an external drive is connected).
Another factor which can affect external drives is whether they are connected directly to the computer or with an adapter, dock, or hub. If you connect the drive directly to the computer, then perhaps try connecting it to a powered USB hub in case the drive requires more power than the computer is providing.
Also, try disconnecting all other external devices from the computer in case one of them is causing a problem (Wacom Tablets are known to cause issues with some external drives as an example).
You may also want to try accessing the drives while booted into Safe Mode in case some third party software is interfering. If you use a third party to access the external drive, then Safe Mode is not an option.
Denisdessoliers wrote:
In this early year I try to use a SSD ex-HD. ( I bought this Mac 3 at the end of February) I plug it in to USB-c direct. It shows the SSD on desktop but it won’t let me open it just flash on and off. So that all I can describe .
Try using another USB-C cable. Even if the cable is from the drive manufacturer. FYI, there are a lot of variations in USB-C cables so make sure to use a quality cable which supports the data transfer protocol(s) needed. The Apple Thunderbolt 3 USB-C cable supports both Thunderbolt 3 & USB3 data transfer protocols (it has a lightning bolt icon on the USB-C connector).
Try accessing the drive while booted into Safe Mode.
If you have sufficient Free storage space on the internal SSD (you need about 80GB+ of Free space, ignore the "Available" amount), then you can try creating a new APFS volume (give it a unique name such as "Sonoma") and install macOS onto it. During setup, do NOT install any third party software, do NOT restore from a backup, and do NOT log into your AppleID or iCloud. This option allows you to easily test a nearly clean install of macOS while not interfering with your main OS. Test if you have the same issues with the external drive under these conditions with the new OS. If this works, then you have some sort of software or configuration issue with your original main OS. Before deleting the new APFS volume, make sure to reselect the default Startup Disk in System Settings for the OS which will remain.
Do you have any other computers you can use to test these external drives (Windows PC or Mac with an older OS or older hardware)?