I. To determine the safe and tolerable dose of midostaurin in combination with azacitidine in patients with acute myelogenous leukemia. (Phase I) II. To describe the toxicity profile of the combination of midostaurin and azacitidine in patients with acute myelogenous leukemia. (Phase I/II) III. To determine the complete and partial response rate and rate of hematologic improvement of midostaurin and 5-azacitidine in untreated acute myelogenous leukemia. (Phase I/II)