You need to check the mic.
Most mic signals are very low - much too low in fact to work with line-level input.
Also the mic *may* need phantom power which is a dc supply and will be a number of different voltages depending on type (12, 24, or 48V)
There are line-level mics, but they are usually specific like the Apple one which only plugged into a specific active port that provided power.
If it's a bog standard 'passive' mic, then you'll almost certainly need a preamp of some kind - you can get small, cheapish, battery-powered ones from Radio Shack or similar places.
But you do really need to know where you are starting from....