If you try to add a generic top-level domain (gTLD) to Office365 you will probably get the below error…
“You’ve typed a domain name that includes an extension that is not valid. Type a domain name that includes .com or another valid extension.”
The solution to this is to add the domain through Powershell.
- Microsoft Online Services Sign-In Assistant for IT Professionals BETA – http://www.microsoft.com/en-us/download/details.aspx?id=39267 (32 bit or 64 bit according to the OS)
- Windows Azure Active Directory Module for Windows PowerShell (32-bit version) or Windows Azure Active Directory Module for Windows PowerShell (64-bit version)
- Run the “Windows Azure Active Directory Module for Powershell” as administratot
Enter the below commands
$LiveCred = Get-Credential
You will be prompted for your office365 administrator credentials
Connect-MSOLservice -Credential $livecred
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection
New-MsolDomain -Name jimbobtest.tips
Get-MsolDomain -domain jimbobtest.tips
Get-MSOLDomainVerificationDNS -DomainName jimbobtest.tips -Mode DNSTXTRecord
This will give you the data needed to put into a DNS TXT record needed to prove domain ownership
Create DNS TXT record
You now need to create a DNS TXT record called “@” with data shown from the output of the above command. The value is shown next to the “Text :” field. I won’t go through the steps for this as they will be different depending on who manages the internet domain. An example is below.
Note that it might take a while for the new TXT record to be created.
Verify Domain Ownership
Logon to the Microsoft portal and navigate to the domains section as shown below.
Select “setup in progress” and then “start step 1”.
Then click “done, verify now”. As long as the TXT record has been created and made live this should work and your domain is now available for use.