Home / Guides

How to defederate Microsoft 365 from GoDaddy without losing email

If your business bought Microsoft 365 through GoDaddy, GoDaddy still controls more of it than most owners realize: your sign-ins, your billing, your email security and even who can reset a password. I recently moved a company with 37 licensed users off GoDaddy to direct Microsoft 365, including 26 former employee mailboxes converted to shared mailboxes and 21 former employees' OneDrive files moved to SharePoint, without losing any email. This guide is exactly how I did it, including the commands, the order that matters and every problem I hit along the way.

The short version: save former employees' data first, create a cloud-only emergency admin, buy direct Microsoft licenses and assign them, switch the domain from Federated to Managed from that emergency admin, reset everyone's password, move email security and mail records to Microsoft, then clean up and cancel GoDaddy last.

What GoDaddy controls when you buy Microsoft 365 through them

In the tenant I moved, GoDaddy had its hands in six places:

The goal is to remove every one of those, without interrupting email, and leave you with a normal Microsoft 365 tenant you fully own.

The one thing that makes or breaks it

You can't remove GoDaddy's federation while signed in as a user whose sign-in depends on it. If you run the switch as your normal admin on your own domain (like admin@yourdomain.com), it fails with Insufficient privileges / Authorization_RequestDenied (403), even when that account is a full Global Administrator.

The fix is a cloud-only Global Administrator on your tenant's built-in domain, like breakglass@yourtenant.onmicrosoft.com. Its sign-in doesn't go through GoDaddy, so switching the domain can't lock it out. Set this up before anything else. Everything after it is order and cleanup.

Step 1: Save former employees' data first

Do this before you remove a single license or account. A deleted user's OneDrive is kept for 30 days by default, and an unlicensed OneDrive goes read-only at 60 days and is archived at 93, after which getting the files back costs money.

Step 2: Set up your safety net

Step 3: Buy licenses directly from Microsoft

Buy new licenses billed by Microsoft and assign them to every active account before you cancel GoDaddy, so nobody loses service. Match the license to the person: for example, Microsoft 365 Business Premium for staff who need Office, Teams and device management, and Exchange Online Plan 1 for email-only accounts like board members or role mailboxes.

Then run a license audit: no active mailbox should still be sitting on a GoDaddy license, and every former employee should already be a free shared mailbox.

Step 4: Switch the domain from Federated to Managed

This is the defederation itself. Older guides use the MSOnline PowerShell module, which Microsoft has retired. Use Microsoft Graph PowerShell instead, and run it signed in as the cloud-only emergency admin:

Connect-MgGraph -Scopes "Domain.ReadWrite.All","Directory.AccessAsUser.All","User.ReadWrite.All"

# Switch the domain to Managed (this is the defederation)
Update-MgDomain -DomainId yourdomain.com -AuthenticationType "Managed"

# Check it worked (should say Managed)
Get-MgDomain -DomainId yourdomain.com | Select-Object Id, AuthenticationType

Microsoft documents the command on its Update-MgDomain page. Keep GoDaddy active until everything below is tested. Don't cancel anything on day one.

Step 5: Reset passwords

Switching to Managed means the old passwords no longer work, so every active user needs a new one. Reset your own first and make sure you can sign in before anyone else. If the admin center still won't let you reset passwords, do it through Graph:

Update-MgUser -UserId "user@yourdomain.com" -PasswordProfile @{ Password = "TempStrongPassword!"; ForceChangePasswordNextSignIn = $true }

Step 6: Replace Proofpoint with Microsoft's email security

Business Premium includes it, so there's nothing extra to buy:

Step 7: Move email over and set up SPF, DKIM and DMARC

Do the incoming and outgoing changes together, as one planned cutover:

The records you end up with look like this. Always copy the exact values from your own admin center:

RecordNameValue
MX@yourdomain-com.mail.protection.outlook.com
SPF (TXT)@v=spf1 include:spf.protection.outlook.com -all
CNAMEautodiscoverautodiscover.outlook.com
DKIM (CNAME)selector1._domainkeyselector1-yourdomain-com._domainkey.yourtenant.onmicrosoft.com
DKIM (CNAME)selector2._domainkeyselector2-yourdomain-com._domainkey.yourtenant.onmicrosoft.com
DMARC (TXT)_dmarcv=DMARC1; p=none; rua=mailto:admin@yourdomain.com

Turn on DKIM until it shows Valid. Start DMARC at p=none to watch for problems, then tighten it to p=reject after about two weeks.

Step 8: Clean up and cancel GoDaddy, last

Leave these alone: your domain registration and DNS hosting can stay at GoDaddy. Also leave the GoDaddy partner relationship until any refund is settled. The two "partner app for godaddy.com" entries in your Global Admin list belong to it, and removing the partner relationship under Settings > Partner relationships clears both at once.

Every problem I hit, and what fixed it

The switch fails with 403 Authorization_RequestDenied

You're signed in as an admin on your own federated domain. Sign in as the cloud-only emergency admin on yourtenant.onmicrosoft.com, with the Directory.AccessAsUser.All scope, and run it again.

It still fails after signing in as the emergency admin

PowerShell quietly reused the old sign-in. Disconnect first, then connect again and sign in fresh. If Windows asks to register the device, choose No, this app only. Signing in with a device code is a good fallback.

Disconnect-MgGraph
Connect-MgGraph -Scopes "Domain.ReadWrite.All","Directory.AccessAsUser.All","User.ReadWrite.All"

# Fallback: sign in with a code on another device
Connect-MgGraph -UseDeviceAuthentication -Scopes "Domain.ReadWrite.All","Directory.AccessAsUser.All","User.ReadWrite.All"

The admin center won't let you reset passwords or create users

That's GoDaddy's management lock. Use Graph PowerShell (Update-MgUser) instead. It works even while the lock is in place.

DMARC acts strange

There are two DMARC records: yours and an old GoDaddy one. A domain can only have one. Delete GoDaddy's.

A test email never arrives

Check quarantine first. When I sent a test from a personal account using an executive's name, impersonation protection caught it, which is exactly what it's supposed to do. Release it, and only loosen the policy if real senders keep getting caught.

The first encrypted test arrives as plain text

A new mail rule takes a few minutes to start working. Wait about 15 minutes and send it again.

Someone gets locked out after MFA is turned on

In Entra, open the user, go to Authentication methods and choose Require re-register MFA. They set it up fresh at their next sign-in.

Mistakes to avoid

After the move: securing the tenant

Once you own the tenant, you can finally turn on the protection GoDaddy kept out of reach: MFA for everyone through Conditional Access (with the emergency admin excluded), blocking old sign-in methods, and managing company computers with Intune, including BitLocker encryption and Defender. That's a project of its own, but it's the real payoff of leaving GoDaddy.

When to get help

This is very doable for an experienced admin, but it touches everyone's email at once. It's worth bringing in help if you don't have Global Administrator access, your users sync from an on-site server, you have a lot of former employees with files to save, or you just can't afford a mistake. My GoDaddy Microsoft 365 defederation service covers the whole job, with the cutover on a weekend.

I'm not affiliated with GoDaddy or Microsoft. These steps reflect what worked as of November 2026, and Microsoft changes its tools and screens often, so always check the current documentation.

Want it done for you?

I'm Matthew, an IT technician based in Glen Cove. I defederate businesses from GoDaddy to direct Microsoft 365, including former employee cleanup, Microsoft's email security and DKIM and DMARC, with the cutover on a weekend. Fully insured. Projects start at $1,500, after a free review of your tenant. See full pricing.

Common questions

What does it mean to defederate Microsoft 365 from GoDaddy?

When you buy Microsoft 365 through GoDaddy, your email domain is usually set to Federated, which means GoDaddy's systems handle everyone's sign-in. Defederating switches the domain to Managed, so sign-ins go straight to Microsoft. Your mailboxes, files and Teams stay in the same place; only who controls and bills the account changes.

Will we lose email when we move off GoDaddy?

No, not if it's done in the right order. The mailboxes never move. New Microsoft licenses are assigned before GoDaddy is cancelled, the domain is switched to Managed, and the mail records are repointed in one planned cutover. GoDaddy stays active until everything is tested.

Why does the defederation command fail with Authorization_RequestDenied?

Usually because you're signed in with an admin account on your own domain, which is still federated through GoDaddy. That account can't remove the federation its own sign-in depends on. Run the command from a cloud-only Global Administrator on your tenant's built-in onmicrosoft.com domain instead.

Do I need to move my domain away from GoDaddy?

No. The domain registration and DNS can stay at GoDaddy. Only the Microsoft 365 subscription gets cancelled. Your website and domain keep working as they are.

What happens to former employees' email and files?

Convert their mailboxes to shared mailboxes, which are usually free under 50 GB, and move their OneDrive files to SharePoint before you remove any license. A deleted account's OneDrive is kept for 30 days by default, and an unlicensed one goes read-only after 60 days, so the order matters.

How long does a GoDaddy defederation take?

The cutover itself is one evening for a small company. Plan a few days around it for buying licenses, cleaning up former employees, and testing, plus about two weeks of email monitoring before tightening DMARC.