Unable to amend domain name

Kane 0 Reputation points
2026-11-27T23:22:39.83+00:00

Hi,

I'm attempting to change my domain name (which I own) on outlook and I keep getting the error An exception of type Microsoft.Online.BOX.Util.Exceptions.InternalException (EXOBadRequest) was thrown.

I'd really appreciate some assistance.

Many Thanks,

Microsoft 365 and Office | Subscription, account, billing | For business | Other
0 comments No comments

Answer accepted by question author
Aetherin 5,000 Reputation points Independent Advisor
2026-11-27T23:54:38.3166667+00:00

Hi @Kane,

This error is returned by Exchange Online, but EXOBadRequest / InternalException alone does not confirm the specific cause.

Could you first confirm whether you are the Microsoft 365 administrator for the organization or an end user?

If you are an end user, you will need to contact your IT administrator because domain changes cannot be made from an individual Outlook account.

If you are the administrator, please verify that:

  • The custom domain is listed and verified in Microsoft 365 admin center > Settings > Domains.
  • Its required DNS records have been configured correctly.
  • Your account has the required administrator role.

Also, if you are trying to change the original tenant.onmicrosoft.com domain, it cannot be renamed or removed. The supported approach is to add your owned custom domain and then assign it to the appropriate user accounts.

If there are any updates, please reply by posting a comment or answer in this thread. That's the best way for me to receive notifications and follow up with you promptly.

Was this answer helpful?

1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. AI answer

    2026-11-27T23:23:28.0333333+00:00

    For Microsoft 365 Business, replace the domain through the Microsoft 365 admin center—add and verify the new domain, move users and groups to it, and then remove the old domain—instead of attempting to amend it in Outlook.

    Replace a custom domain

    You must be a Domain Name Administrator for a Microsoft 365 business or enterprise tenant; a regular user or custom administrator cannot modify tenant domains.^1^

    1. Sign in to the Microsoft 365 admin center.
    2. Go to Show all → Settings → Domains → Add domain.
    3. Enter the new domain and select Use this domain.
    4. Verify ownership:
      • With Domain Connect, sign in to the registrar when prompted and authorize the DNS changes.
      • Otherwise, add the TXT verification record displayed by Microsoft to the domain’s DNS records, then select Verify.
    5. Add the DNS records requested for Microsoft 365 services. If email currently operates through another provider, create the Microsoft 365 users and mailboxes before changing the MX record, to avoid interrupting mail delivery.^1^
    6. Change your account to the new domain:
      • Go to Users → Active users.
      • Select your account.
      • Under Account, select Manage username.
      • Choose the new domain and select Save changes.
      • Sign out and sign back in with the new address and the same password.^2^
    7. Move any remaining users through Users → Active users → Change domains.
    8. Move Microsoft 365 groups, Teams-connected groups, and distribution lists through Teams & groups → Active teams & groups, editing each group’s primary email address.^2^
    9. If the old domain is no longer required, ensure it is not the default and is not referenced by users, aliases, mailboxes, contacts, groups, Teams, or administrator sign-ins. Then go to Settings → Domains → select the old domain → Remove domain.^2^

    If you are the only Global Administrator using the old domain, create or retain another Global Administrator on a different domain before changing your own username.

    If this is an onmicrosoft.com domain

    An existing *.onmicrosoft.com domain cannot be renamed or deleted. You can create another onmicrosoft.com domain and designate it as the fallback domain, but Microsoft 365 permits only one fallback domain and a total of five onmicrosoft.com domains.^3^

    For a branded email address, add your owned custom domain using the procedure above and assign it to the users instead.

    If EXOBadRequest continues

    The available Microsoft documentation does not identify a specific cause for this exact Microsoft.Online.BOX.Util.Exceptions.InternalException (EXOBadRequest) message, so avoid deleting DNS records or the existing domain merely to test it.

    After verifying that the new domain appears under Settings → Domains and that the account has the required administrator role:

    1. In the Microsoft 365 admin center, select Help & Support at the bottom right.
    2. Enter the complete exception text and describe the operation that fails.
    3. If the suggested results do not resolve it, select Contact support.^1^

    Include the affected domain, timestamp, admin-center page, and a screenshot, but do not post tenant identifiers or DNS verification values publicly.


    References

    1. Add a custom domain to Microsoft 365
    2. Remove a domain from Microsoft 365
    3. Add or replace a onmicrosoft.com fallback domain in Microsoft 365
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.