Wow,
What meds were you on, and what kinds of surgeries did you have? It's usually steroids like Prednisone long term which can cause adrenal failure. It's hard to know without more info.
Are they treating you for adrenal fatigue? How did they diagnose fatigue verses failure? What are you prescribed to take or do? Before diagnosis, I put myself on a strict diet, taking out any flour, sugar, and caffeine. It brought some sort of homeostasis for me. I also started taking Vit C, Super B complex vit, fish oil, and Betaine HCL (for digestion) and ensured that I rested a lot. It got me by until diagnosis.
I hope you will be feeling well soon!
MaryAnn