I want to share an interesting information for you

So I've been using the arduino micro for the past month, and suddenly ran into this issue while trying to upload my code to my board. There are a couple of things:

  1. My device manager does not recognize the port for the arduino micro. I plug in anything else other than the micro and can establish a connection.
  2. When the arduino is plugged in, only the blue light is lit, and not the green one or any other light unless i reset it.
  3. When I do reset the board, it blinks for a couple of seconds and then goes out.

Honestly have no clue what's going on and whether I should buy another micro and how I can avoid this happening in the future

Just to make sure, you're talking about Arduino Micro — Arduino Official Store?

In device manager, observe what happens when you press and release reset. It should give you a bootloader port for a few seconds. If so

enable "verbose output during upload" in file->preferences
2)
upload the blink example
3)
when you see something like below, press and release the reset button

Sketch uses 4128 bytes (14%) of program storage space. Maximum is 28672 bytes.
Global variables use 149 bytes (5%) of dynamic memory, leaving 2411 bytes for local variables. Maximum is 2560 bytes.
Forcing reset using 1200bps open/close on port COM26
PORTS {COM3, COM4, COM26, } / {COM3, COM4, COM26, } => {}
PORTS {COM3, COM4, COM26, } / {COM3, COM4, COM26, } => {}