Anxiety activates a natural stress response which causes the body to increase perspiration. It's the readying of the body for the perceived threat of danger.
Sweating is a part of what we call the fight or flight response where the body prepares for danger.
Perspiration or sweating isn't harmful, in fact, sweating is actually good for you. It uses perspiration as a means to expel toxins from the body.