If the microwave oven has metal shelves OR a metal turntable, don't microwave food in foil containers or metal pans, and don't let foil used for shielding touch or be close to the shelves or turntable. If you see arcing (sparks), immediately remove the foil shielding; transfer frozen food from foil container to a microwave-safe utensil. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.