{"id":1667,"date":"2025-10-27T00:05:55","date_gmt":"2025-10-27T00:05:55","guid":{"rendered":"https:\/\/www.ultrexstaff.com\/?p=1667"},"modified":"2025-10-27T00:06:04","modified_gmt":"2025-10-27T00:06:04","slug":"defederate-steps-from-godaddy-to-ms365","status":"publish","type":"post","link":"https:\/\/www.ultrexstaff.com\/?p=1667","title":{"rendered":"Defederate Steps from GoDaddy to MS365"},"content":{"rendered":"\n<p>A few things to do first. Make sure you can login with the godaddy admin account to&nbsp;Portal.Azure.com<br>And change the password for the &#8220;admin@net&#8230;..&#8221; account. This will be your new admin account to login into MS365<\/p>\n\n\n\n<p><strong>1. PowerShell Execution Policy:<\/strong><\/p>\n\n\n\n<p>Problem: By default, PowerShell often blocks running scripts.<\/p>\n\n\n\n<p>Check: Run Get-ExecutionPolicy in PowerShell.<\/p>\n\n\n\n<p>Solution: If it shows &#8220;Restricted,&#8221; run Set-ExecutionPolicy Bypass -Scope Process.<\/p>\n\n\n\n<p>This temporarily allows scripts to run in the current PowerShell session.<\/p>\n\n\n\n<p><strong>2. Install Microsoft Graph Module:<\/strong><\/p>\n\n\n\n<p>Run: Install-Module Microsoft.Graph -Scope CurrentUser -Repository PSGallery -Force in PowerShell (as administrator).<\/p>\n\n\n\n<p>Wait: This may take time. Wait until it returns to the system prompt.<\/p>\n\n\n\n<p>3. Run the De-federation Script:<\/p>\n\n\n\n<p>Run the provided script from the blog post.&nbsp;<\/p>\n\n\n\n<p><a href=\"https:\/\/docs.tminus365.com\/configurations\/godaddy\/defederating-godaddy-365\">https:\/\/docs.tminus365.com\/configurations\/godaddy\/defederating-godaddy-365<\/a><\/p>\n\n\n\n<p><strong>Here is the primary Script to run<\/strong><\/p>\n\n\n\n<p>Write-Host &#8220;Checking for MSGraph module&#8230;&#8221;<\/p>\n\n\n\n<p>$Module = Get-Module -Name &#8220;Microsoft.Graph.Identity.DirectoryManagement&#8221; -ListAvailable<\/p>\n\n\n\n<p>if ($Module -eq $null) {<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp; Write-Host &#8220;MSGraph module not found, installing MSGraph&#8221;<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp; Install-Module -name Microsoft.Graph.Identity.DirectoryManagement<\/p>\n\n\n\n<p>&nbsp; &nbsp; }<\/p>\n\n\n\n<p>Connect-MgGraph -Scopes &#8220;Directory.Read.All&#8221;,&#8221;Domain.Read.All&#8221;,&#8221;Domain.ReadWrite.All&#8221;,&#8221;Directory.AccessAsUser.All&#8221;<\/p>\n\n\n\n<p>#Enter the Admin credentials from &#8220;Become a tenant Admin in GoDaddy&#8221;<\/p>\n\n\n\n<p>Get-MgDomain<\/p>\n\n\n\n<p>#See that the domain is \u201cfederated\u201d#<\/p>\n\n\n\n<p>Update-MgDomain -DomainId &#8220;&lt;InsertFederatedDomain&gt;&#8221; -Authentication Managed<\/p>\n\n\n\n<p>Prompts:<\/p>\n\n\n\n<p>You might be asked about allowing network paths and untrusted modules.<\/p>\n\n\n\n<p>Answer &#8220;Yes&#8221; or &#8220;Yes to All&#8221; to these prompts.<\/p>\n\n\n\n<p>You will be asked to enter your godaddy admin credentials.<\/p>\n\n\n\n<p>Action: The script will change the domain from &#8220;federated&#8221; to &#8220;managed.&#8221;<\/p>\n\n\n\n<p>Note &#8211; Don&#8217;t close Powershell yet!<\/p>\n\n\n\n<p>4. Post-Script Actions:<\/p>\n\n\n\n<p>Log in to the Microsoft 365 admin center.<\/p>\n\n\n\n<p>Remove GoDaddy from the partner list.<\/p>\n\n\n\n<p>Reset all the logins for the users.<\/p>\n\n\n\n<p>Remove Global Admin from any account not freshly created during this process.<\/p>\n\n\n\n<p>Assign proper licenses for users- often they&#8217;ll come over with only exchange online licenses.&nbsp;<\/p>\n\n\n\n<p>When all is done. Run&nbsp;Disconnect-MgGraph&nbsp; in powershell. This will disconnect from the domain so the computer can do a different migration without issues.&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A few things to do first. Make sure you can login with the godaddy admin account to&nbsp;Portal.Azure.comAnd change the password for the &#8220;admin@net&#8230;..&#8221; account. This will be your new admin account to login into MS365 1. PowerShell Execution Policy: Problem: By default, PowerShell often blocks running scripts. Check: Run Get-ExecutionPolicy in PowerShell. Solution: If it [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[117,121],"tags":[],"class_list":["post-1667","post","type-post","status-publish","format-standard","hentry","category-ms365","category-networking","post-preview"],"_links":{"self":[{"href":"https:\/\/www.ultrexstaff.com\/index.php?rest_route=\/wp\/v2\/posts\/1667","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ultrexstaff.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ultrexstaff.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ultrexstaff.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ultrexstaff.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1667"}],"version-history":[{"count":2,"href":"https:\/\/www.ultrexstaff.com\/index.php?rest_route=\/wp\/v2\/posts\/1667\/revisions"}],"predecessor-version":[{"id":1670,"href":"https:\/\/www.ultrexstaff.com\/index.php?rest_route=\/wp\/v2\/posts\/1667\/revisions\/1670"}],"wp:attachment":[{"href":"https:\/\/www.ultrexstaff.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1667"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ultrexstaff.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1667"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ultrexstaff.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1667"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}