SharePoint

SharePoint domain rename error 757: the domain name isn't valid

SharePoint domain rename error 757 means the target domain is not a verified domain of the tenant. Add the new .onmicrosoft.com domain, wait for Healthy, retry.

By EpiFive Editorial TeamSources checked How we check our guides

What the error means

Error code 757 comes from the SharePoint Online domain rename process, which changes the domain in your SharePoint and OneDrive URLs, for example from contoso.sharepoint.com to fabrikam.sharepoint.com. Microsoft's list of domain rename errors gives the message for 757 as "The domain name isn't valid." and explains that the domain name isn't in the list of verified domains for the tenant.

A SharePoint domain rename does not take any name you type. Microsoft's rename guide requires you to first add the new name to the tenant as a new .onmicrosoft.com domain in the Microsoft 365 admin center, and to check that it shows a Healthy state. Only then can Start-SPOTenantRename schedule the rename to that name. When the name passed to the cmdlet is not one of the tenant's verified domains, the request stops with 757.

Code 758 shares the same message text but means something different: the value you passed is empty, longer than 48 characters, or contains a hyphen or other special characters. If you see "The domain name isn't valid." without the code, check both possibilities.

Common causes

  • The new .onmicrosoft.com domain was never added to the tenant.
  • The domain was added with the Add domain option on the Domains page, which Microsoft says doesn't create a .onmicrosoft.com domain.
  • The domain was added but is not yet showing a Healthy status.
  • The -DomainName value does not match the added domain, for example because of a typo.

How to fix it

1. Check that the new name is available

Microsoft suggests opening the new address in a browser, for example https://fabrikam.sharepoint.com. A "couldn't be found" (404) message means the name is probably available. A sign-in screen, or a message that your username couldn't be found in that directory, means the domain is taken and you need a different one. If you own the domain in another subscription, that tenant must be deleted in Microsoft Entra ID first, which Microsoft says typically takes three days.

2. Add the new .onmicrosoft.com domain correctly

Add the new .onmicrosoft.com domain using the Domains page in the Microsoft 365 admin center, following Microsoft's "Add a new onmicrosoft.com" steps. Don't use the Add domain option shown directly on the Domains page, and don't make this domain your fallback domain.

3. Wait for a Healthy status

Go back to the Domains page and check that the newly added .onmicrosoft.com domain appears in a Healthy state. Microsoft's solution for 757 is to confirm the verified domain shows Healthy and then start the rename with it.

4. Start the rename with the verified domain

In the latest SharePoint Online Management Shell, connect as at least a SharePoint Administrator and run the rename with the part of the domain before .sharepoint.com or .onmicrosoft.com:

Connect-SPOService -Url "https://contoso-admin.sharepoint.com"
Start-SPOTenantRename -DomainName "fabrikam" -ScheduledDateTime "2026-12-05T10:25:00"

The scheduled time must be at least 24 hours in the future but not more than 30 days away; otherwise you get error 772 or 775 instead. Check progress with Get-SPOTenantRenameStatus.

If nothing works

If the domain shows Healthy and the name is typed correctly but 757 persists, compare the value with the 758 rules: no hyphens or special characters and no more than 48 characters. As a general step, wait a while after adding the domain and run the cmdlet again from a new PowerShell session, then open a Microsoft support request with the exact error if it still fails.

What we checked

Two Microsoft Learn pages were read. "Errors when you rename a SharePoint domain" lists error 757 with its message, cause and solution, and 758 with the same message but a format cause. "Change your SharePoint domain name" explains how to check availability, add a .onmicrosoft.com domain the correct way, check for a Healthy state, and schedule the rename with Start-SPOTenantRename within 24 hours to 30 days. The error was not reproduced for this page.

Last checked: 2026-11-21.

Official sources

Questions people ask

What does SharePoint rename error 757 mean?

Microsoft lists 757 as "The domain name isn't valid" because the domain is not in the tenant's list of verified domains. The new .onmicrosoft.com domain has to be added and showing Healthy before the rename can be scheduled.

What is the difference between error 757 and 758?

Both show "The domain name isn't valid." 757 means the domain is not a verified domain of the tenant. 758 means the value itself is badly formed: empty, longer than 48 characters, or containing a hyphen or other special characters.

Can I use the Add domain button on the Domains page?

No. Microsoft says that option does not create a .onmicrosoft.com domain. Follow its "Add a new onmicrosoft.com" steps instead, and do not make the new domain your fallback domain.

  • 783 (SharePoint)

    SharePoint domain rename error 783 means the tenant already used its two supported domain renames. A further rename needs a Microsoft support request.

  • ERR_INVALID_RESPONSE (SharePoint)

    ERR_INVALID_RESPONSE on a SharePoint site, in a browser or Teams, usually means the site homepage was deleted. Restore it or make another page the homepage.

Not your code?

Search the error code library, or report a code we don't cover. Spotted something out of date on this page? Report a correction.