Forum Discussion
Unable to rename domain in M365
Hello everyone,
I am having issues with renaming domain in a M365 tenancy.
Here is a screenshot of the M365 admin centre. As you can see, excom.au is the default one currently. The second one below (Excomlogistics.au) is a custom domain that I created (after adding DNS record for this domain).
Now I am trying to change the domain from the default (Excom.au) to the custom one (Excomlogistics.au) using PowerShell as described in this link&Video :
https://learn.microsoft.com/en-us/sharepoint/change-your-sharepoint-domain-name
As per this link and the associated video, I ran SPO PowerShell to try and change it. But I am getting error code 769 as below (Get same error when I put the domain name parameter as excomlogistics, or excomlogistics.au)
When I check that error code, it says that "Use a target domain name that's different from the original domain name."
Please advice.
- TophhieCopper Contributor
The Start-SPOTenantRename command changes your SharePoint domain... looking at your list of domains "excomlogistics.onmicrosoft.com" is your initial onmicrosoft.com domain, so the command you're running is renaming your excomlogistics.sharepoint.com domain to excomlogistics.sharepoint.com, which will fail because you're renaming your SharePoint domain to exactly the same as it is right now?
What are you trying to achieve?
- vassp1980Copper Contributor
Hi thanks for the response. I am just posting my reply as a screenshot as it somehow doesnt allow me to post with html tags. So here is my reply below