Microsoft 365 features that help users manage their subscriptions, account settings, and billing information.
Hello,
My name is Jackson and thank you for your question.
You will need to cancel the subscription through google play and then buy with Microsoft. You get 30 days to renew the subscription without loss to the data.
See steps to cancel subscription made via google play in the link;
https://support.google.com/googleplay/answer/7018481
Warm regards.
Jackson E.