In vivo, Vitamin D deficiency causes dysregulation of glucose metabolism by increasing insulin resistance through deteriorating β-cell function and mass. Here, INS is linked to vitamin D deficiency.