Sign-in & Login Problems

Fix OneDrive and Office Sign-In After an Email Domain Change

Rana GarciaRana Garcia Nov 18, 2026 869 views

Question details

The user needs to sign in to OneDrive and Office with a new business email address after an email domain change.

Fix OneDrive and Office Sign-In After an Email Domain Change
Product
Microsoft OneDrive and Microsoft 365 Office
Device & OS
Windows; version not provided
Scenario
A business changed its email domain, but computers previously connected to OneDrive and Office still reference the old address.
Observed behavior
OneDrive shows error 0x8004de40, and Office apps may continue to show the old domain even after Office is reinstalled.
Before you start

Confirm the new Microsoft 365 sign-in address with your administrator and check whether you can sign in at microsoft365.com. Note whether the issue affects multiple users or only one Windows profile.

Solution 1Recommended

Check for software blocking OneDrive authentication

Use this approach when OneDrive shows error 0x8004de40 or cannot prompt for credentials.

1
Check the connection

Open a browser and sign in at microsoft365.com with the new address. If the sign-in fails there too, report the result to your Microsoft 365 administrator.

2
Test security and network services

Ask your IT administrator to check firewall, proxy, antivirus, and related services for blocked Microsoft 365 or OneDrive authentication traffic. With authorization, temporarily stop the suspected service for testing.

3
Restart and sign in

Select the OneDrive cloud icon in the Windows notification area, open the Help & Settings menu, and quit OneDrive. Reopen OneDrive from the Start menu and sign in with the new address.

4
Restore the service

Restart the service that was stopped, then check the OneDrive cloud icon and confirm that files are uploading and downloading. If sign-in fails again, ask IT to correct the service configuration.

Check for software blocking OneDrive authentication
Keep security controls enabled: Do not leave antivirus, firewall, or other security services disabled. Any temporary test should follow your organization's security policy.
Free Microsoft Office alternative

Edit Office Files with WPS Office

WPS Office is a free, lightweight alternative with a familiar interface and support for common Microsoft Office formats. Open existing files to make the transition easier while your administrator resolves Microsoft 365 sign-in issues.

Open and edit documents without relying on an Office app sign-inCompatible with common Microsoft Office formats, including DOCX, XLSX, and PPTXFamiliar editing interface for a smoother transitionFree and lightweight office suite
microsoft office alternative - wps office

Frequently Asked Questions

What does OneDrive error 0x8004de40 mean?

It can indicate a connection or authentication problem. Check browser access to microsoft365.com, then ask IT to investigate firewall, proxy, antivirus, and related services that may block OneDrive.

Why does Word still show my old email domain after reinstalling Office?

Reinstalling Office may not remove saved credentials or change the account's sign-in name. Check File > Account in Word, review relevant entries in Windows Credential Manager, and ask your administrator to verify the Microsoft 365 sign-in name.

Does changing my email address automatically change my Microsoft 365 sign-in name?

Not necessarily. Ask your administrator to check the user's sign-in name in the Microsoft 365 admin center before signing in to OneDrive or Office.

How can I tell whether the problem is limited to my Windows profile?

Sign in to another Windows profile and open OneDrive from the Start menu. If the same account works there, the original profile may need further investigation.

Can WPS Office fix my OneDrive sign-in?

No. OneDrive authentication is managed by Microsoft and your organization. WPS Office can open and edit compatible Office files, but your administrator must resolve the OneDrive sign-in issue.