Catalyzes the hydroxylation of isoflavones, daidzein and formononetin, to yield 2'-hydroxyisoflavones, 2'-hydroxydaidzein, and 2'-hydroxyformononetin, respectively. a 2'-unsubstituted isoflavone + O2 + reduced [NADPH--hemoprotein reductase] = a 2'-hydroxyisoflavone + H(+) + H2O + oxidized [NADPH--hemoprotein reductase] By fungal elicitor. Involved in the biosynthesis of isoflavonoid-derived antimicrobial compounds of legumes. Belongs to the cytochrome P450 family.