If the creature Iroas's Blessing would enchant is an illegal target by the time the Aura spell resolves, the entire spell doesn't resolve. It won't enter the battlefield, so its ability won't trigger.

Artwork
Loading artwork…
Iroas's Blessing
Theros Beyond Death · #142 · EN
Nonfoil—Foil—
Card rules
Enchant creature you control
When this Aura enters, it deals 4 damage to target creature or planeswalker an opponent controls.
Enchanted creature gets +1/+1.
The blessing is not the strength itself, but the knowledge of how to use it.
Common · Illustrated by Victor Adame Minguez
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pauper Legal
Pauper Commander Legal
Pioneer Legal
Timeless Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School Not Legal
Penny Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions