What kind of mic do you have? Is the jack cable hard wired into it?
You also need to know if it's balanced or unbalanced.
Looking at the jack will usually tell you this. Tip and sleeve only = unbalanced. Tip, ring and sleeve = balanced.
It'd be a better choice to just cut the jack off and wire on an XLR socket.
The reason is that as you plug in a jack, the tip and ring briefly contact ground.
If Phantom power was turned on, you'd short 48v to ground every time you plug in/out with phantom on.
With XLR, there's no cross contamination, if you like, and pin1 is slightly long so that ground makes contact first.
There's also another reason why some mics have jacks hardwired, and that reason is that they usually aren't 'professional' quality microphones.
Tell us more.