According to the Michigan Department of Real Estate, Michigan requires that potential Agents complete 40 hours of prelicensure education courses and then take a test.
Therefore, you could get your license in Michigan as quickly as you could complete those steps. One thing to note, especially with classes moving online, is most states have a limit of how many hours of classes you can take in one day. For example, it is probably not reasonable for someone to take 24 hours of licensing courses in 24 hours. Make sure you ask those types of questions when finding a school to take your pre-licensing classes.
Here is a detailed list of the requirements needed to get your real estate license in Michigan.