In primary adrenal insufficiency, the adrenal glands either become damaged or have a genetic problem that prevents them from working properly. They cannot make enough of the hormone cortisol.