Hi,
While you can’t rename or remove an existing onmicrosoft.com domain, you can create a new one and make it your default onmicrosoft.com domain (your “fallback domain”). For example, if the initial domain you chose was fourthcoffee.onmicrosoft.com, if needed you can create a new onmicrosoft.com domain called fourthcoffeecorp.onmicrsoft.com and set it to be your fallback domain.
Here is the detailed information for this add-or-replace-your-onmicrosoftcom-domain
Hope this helps.
JS
==
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.