Microsoft 365 features that help users manage their subscriptions, account settings, and billing information.
When you purchase or activate a Microsoft 365 subscription, that automatically gets linked to the Microsoft account used at the time as a digital licence, and there is no native process provided to move the licence to another Microsoft account.
You can either cancel the subscription to get a pro-rata refund using the steps provided on this link (https://support.microsoft.com/en-us/accounts-billing/subscriptions/cancel-a-microsoft-365-subscription) and then take out a new subscription on the correct Microsoft account, or you will need to contact Microsoft Support directly to ask them if it is possible to move the subscription for you, try using this method to contact their support.
Go to this link: https://support.microsoft.com/contactus
Select Microsoft 365
Click 'Get Home Support'.
In the box provided, type billing.
Press Enter, then on the next page, scroll down and click 'Sign in to Contact Support'.
Navigate to Microsoft 365 and Office - Manage my Subscription.
Select the 'Chat with support agent in web browser' option