Muscle cramping can be caused by calcium deficiency.
In the early stages of adrenal fatigue, a lot of magnesium is lost. However, as per the link I included, it appears that hypermagnesium is possible with Addisons or adrenal insufficiency.
I think at one point we switch from losing magnesium to losing calcium. For years I was constipated (low magnesium) and then I switched to mostly soft stools (possibly high magnesium).