Not really enough information just yet.
BUT...
Not all micro USB cables are the same. Some are CHARGE only as opposed to CHARGE AND SYNC which you need for the MKR1000.
Did you install the boards packages in the IDE ?
UNPLUG the MKR1000
TOOLS
BOARD
BOARD MANAGER
SELECT "ARDUINO" from the first drop down
Now select "Arduino SAMD Boards (32-bits ARM Cortex-M0) and install.
Wait until it completes then I find it is usually better to restart the IDE.
Re-connect the MKR1000.