Microsoft announced today that it's getting out of the online music business. Music purchases in the Windows Store will cease, and the Groove Music Pass subscription service is also ending.

The company says that it will continue to develop the Groove Music app (formerly known as Xbox Music) for playing local and owned music (including files stored on OneDrive), but the music subscription capabilities will be removed from the app.

Existing Music Pass subscribers will be able to migrate their playlists and collections to Spotify in app updates that are going to become broadly available on October 9. Users will have until January 31, 2018 to migrate. Owned music bought from the store will also have to be downloaded (and backed up!) by that date.

The decision leaves Microsoft as the only major platform owner to not have its own music service.

Spotify is the largest streaming media service, with around 140 million customers, but it's wildly unprofitable; in June, it reported losses of $601 million on revenue of $3.3 billion for 2016. The company has been expected to become publicly traded this year or next, a move that would stave off bankruptcy for a number of years, but Spotify appears to be no closer to developing a viable business model and payment structure that would enable it to turn a consistent profit. The company is also facing stiff competition from deep-pocketed competitors: Apple has Apple Music, Google has Google Play Music and YouTube Red/YouTube Music, and Amazon has Amazon Music.