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

1 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.