Here is an answer from an Adventist scholar, taken from his website (http://www.bibledoc.org/daniel-class/daniel-10-and-12-and-thoughts-on-michael-2/).
Here are the texts that speak about Michael in the Bible:
Da 10:13, 21 But the prince of the kingdom of Persia withstood me one
and twenty days: but, lo, Michael, one [that is, “first”, YLT] of the
chief princes, came to help me; and I remained there with the kings of
Persia. . . . [21] But I will shew thee that which is noted in the
scripture of truth: and there is none that holdeth with me in these
things, but Michael your prince.
Da 12:1 And at that time shall Michael stand up, the great prince
which standeth for the children of thy people: and there shall be a
time of trouble, such as never was since there was a nation even to
that same time: and at that time thy people shall be delivered, every
one that shall be found written in the book.
Jude 1:9 Yet Michael the archangel, when contending with the devil he
disputed about the body of Moses, durst not bring against him a
railing accusation, but said, The Lord rebuke thee.
Re 12:7 And there was war in heaven: Michael and his angels fought
against the dragon; and the dragon fought and his angels,
Here the Adventist scholar found the following points from these Bible texts:
Michael is an exalted being, one sent to help Gabriel in his struggles
Michael is either “one of the chief” [KJV] or “the first of the chief”
[Young’s Literal Translation] among the angels.
Michael is Daniel’s “prince” and a “great prince”
At the time of trouble Michael stands as prince in defense of Daniel’s
people.
Michael is the archangel.
Michael fought with the Devil regarding the resurrection of Moses’
body (and won…).
Michael was over the angels that fought against the devil and his
angels.
The positions ascribed to Michael in these verses include “prince” of
God’s people (i.e., Daniel’s people), archangel, and captain of the
faithful angels.
Now, when Jesus will come again, there are several things that the Bible says will happen, which have a connection with Michael the archangel:
There will be a resurrection of the bodies of the saints.
Commands will be given to the loyal angels to gather the saints.
The kingdoms of this earth will become the kingdoms of Christ.
The faithful will sit with him on his throne.
The resurrection will be called for by the mighty voice of Christ.
Here follows the Bible texts regarding each point:
Joh 5:25 Verily, verily, I say unto you, The hour is coming, and now
is, when the dead shall hear the voice of the Son of God: and they
that hear shall live.
It will be the Son of God (Christ) giving the command for the dead to resurrect
Mt 24:31 And he shall send his angels with a great sound of a
trumpet, and they shall gather together his elect from the four winds,
from one end of heaven to the other. {with…: or, with a trumpet, and a
great voice}
Mr 13:27 And then shall he send his angels, and shall gather together
his elect from the four winds, from the uttermost part of the earth to
the uttermost part of heaven.
There will be a sound of trumpet and the angels will be sent, under the command of Christ, to take his elect from the whole earth.
The kingdoms of this world become the kingdom of Christ
Re 11:15 And the seventh angel sounded; and there were great voices
in heaven, saying, The kingdoms of this world are become the kingdoms
of our Lord, and of his Christ; and he shall reign for ever and ever.
In light of this, the name "prince is reserved for Jesus, as ruler of the earth
On earth there are many princes, but in the kingdom of God we find only one
Ac 3:15 And killed the Prince of life, whom God hath raised from the
dead; whereof we are witnesses.
Ac 5:31 Him hath God exalted with his right hand to be a Prince and a
Saviour, for to give repentance to Israel, and forgiveness of sins.
Re 1:5 And from Jesus Christ, who is the faithful witness, and the
first begotten of the dead, and the prince of the kings of the earth.
Unto him that loved us, and washed us from our sins in his own blood,
Again we see here that the dead are resurrected by the voice of Jesus. It shows his rulership over Satan, that wanted to keep all of them in their grave, as he did regarding Moses
Joh 5:28 Marvel not at this: for the hour is coming, in the which all
that are in the graves shall hear his voice,
The voice of "the Lord" connected here, by Paul, to the resurrection, is also called the “voice of the archangel.”
1Th 4:16 For the Lord himself shall descend from heaven with a shout,
with the voice of the archangel, and with the trump of God: and the
dead in Christ shall rise first:
The point is here made by the author of the article:
This brings us to a good question. Is Jesus the captain, or prince, of
the armies of heaven? Or might he have an angel working under him in
that position? We find a definitive answer by comparing two texts of
scripture:
Jos 5:14 And he said, Nay; but as captain of the host of the LORD am
I now come. And Joshua fell on his face to the earth, and did worship,
and said unto him, What saith my lord unto his servant? {margin —
captain: or, prince}
Re 19:10 And I fell at his feet to worship him. And he said unto me,
See thou do it not: I am thy fellowservant, and of thy brethren that
have the testimony of Jesus: worship God: for the testimony of Jesus
is the spirit of prophecy.
Notice the contrast. The “captain of the host of the Lord” receives
the worship of Joshua. The mighty angel of Revelation refuses the
worship of John.
These observations lead, it seems to me, to the following inescapable
conclusion:
Either there are two captains of the Lord’s hosts, two beings with the
voice of the archangel, two beings exalted to be “prince” over God’s
people, two agents in the resurrection of the saints, two beings
giving commands to the angels of God,
Or…
Jesus, a name chosen by God for our Savior, had the name “Michael” in
the Old Testament.
In this regard, it is interesting to note that the New Testament references to Michael are all references to Old Testament events: the fall of Lucifer and the resurrection of Moses. We find no use of the name “Michael” for any being after the day that God’s Son is named
"Jesus"
In fact in Hebrews, when it is spoken of the difference between angels and the Son of God, it is said that he rightly receives worship.
Heb 1:5-6 For unto which of the angels said he at any time, Thou art
my Son, this day have I begotten thee? And again, I will be to him a
Father, and he shall be to me a Son? 6 And again, when he bringeth in
the firstbegotten into the world, he saith, And let all the angels of
God worship him.
Worship was given to the “captain of the host of the Lord” when he met with Joshua. Even more than this, Joshua was commanded to put off his shoes (see Josh 5:26) and this reminds us of what happened to Moses when he saw the burning bush and spoke with God Himself.
It is even more interesting to see how the Bible calls God in this context:
Ex 3:2 And the angel of the LORD appeared unto him in a flame of fire
out of the midst of a bush: and he looked, and, behold, the bush
burned with fire, and the bush was not consumed.
And also in Malachi, when speaking about Jesus, the Lord is called "messenger of the covenant", where the Hebrew for "messenger" the common word translated "angel" 111 times in the Old Testament.
Mal 3:1 Behold, I will send my messenger, and he shall prepare the
way before me: and the Lord, whom ye seek, shall suddenly come to his
temple, even the messenger of the covenant, whom ye delight in:
behold, he shall come, saith the LORD of hosts.
Here is the conclusion of the author:
Jesus, Michael, our Prince, our coming King, captain of the host of
the Lord, the Archangel, will descend and rout the prince of this
world, send the holy angels to gather the saints, and we will reign
with him.