@MOHSIN ALI Thanks for posting in our Q&A. For this issue, it is not related to windows 365. It is more related to Microsoft 365.
I have done a lot of research. I find that we can refer to the following article to change the domain.
change domain with office 365
And I find that it will not lose data when changing domains. Please refer to this.
I'm an intune engineer and the resource about Microsoft 365 that I have is limited. So, it is suggested to post this issue in the Microsoft 365 and Office answer forum to get accurate help. Here is the support link.
Thanks for understanding.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.