Hi Claire! This is a great question. Unfortunately, the answer varies for all people. Personally, I eat both grains and dairy, and my illness is well managed by my Remicade/Inflectra infusions. However, I know others who prefer to manage with diet, or need to be more careful about what they eat, even with medications.
My GI actually asked me to go dairy-free for a bit to see if I had any lactose intolerance. I wonder if you could ask for some testing to check if you have any food sensitivities or allergies as well? I also know some people have used a food diary to check and see what foods might be triggers. (More on that here: https://inflammatoryboweldisease.net/living/food-diary) It seems to me that trying out different diets and seeing what works for you might be a good idea! But going slowly might be the best way for you, since these big changes have been hard. You might even consider going to a nutritionist for support!
Hope these thoughts help. I hope you'll share how your journey goes! -Eshani (IBD Team Member)