The Book of Revelation has them offering the prayers of the faithful to God.
It's the fallen angels (demons) who encourage idolatry.
1. I’m apparently unfamiar with anyone in scripture *praying to an angel* - please post those verses here so we can discuss.
2. Idolatry comes from your heart, when you put something in the place of God and not from the thing you idolized.
In other words, don’t blame Michael! He has no control over someone’s choice to make him into an idol, whether putting him in God’s place by prayer or by manufacturing medals to wear, etc. This stems from the fallen heart of man, pursuing pagan religion.
This is why the apostle John, at the end of his life warned believers against idolatry.
Best