Mayonnaise is short on acidity, so it doesn't make a good yogurt substitute. When a recipe calls for yogurt, it's formulated to account for the yogurt's acid. When you substitute mayo, you're missing out on having the acid react with the leavener (like baking soda).