Drain and rinse canned beans.
Preheat oven to 350° F .
In a large bowl combine green beans, cream of mushroom soup, onion flakes, cheese, and garlic powder.
Transfer to a 2 quart casserole dish.
Bake for 30 minutes, or until bubbly.
Sprinkle fried onions on top and return to oven until onions brown.