ADCY1 and magnesium deficiency: Since both iPTH secretion and end organ effects of iPTH are mediated by cAMP, altered adenylate cyclase function in magnesium deficiency causes impairment in iPTH levels [4, 14, 15].