To make this dish gluten-free, use gluten-free cream of mushroom soup (many brands now offer this option), and substitute the French-fried onions with a certified gluten-free variety or homemade gluten-free crispy shallots. Always check labels to ensure all ingredients are certified gluten-free.