When you face large Office 365 implementations you might need to add many domains, going through the wizard will take up much time.
Recently I had to work through an extensive list of domains as well, so I created a quick few lines of PowerShell that helped me solve this in seconds instead of hours.
Using PowerShell and an input file I added the domains and additional to that got a list of all DNS txt records that were needed to be created.
Here is the PowerShell script: here is the PowerShell script I used
$domains=import-csv .\domains.csv
$txtrecord=@()
foreach($domain in $domains){
new-msoldomain -Name $domain.domain
$txtrecord+=(Get-MsolDomainVerificationDNS -DomainName $domain.domain -mode dnstxtrecord)
}
$txtrecord | select-object text,label,ttl | export-csv c:\temp\txtrecord.csv
This will give you a nice CSV file with the required DNS txt records per domain, which you can send to your DNS gurus to do their thing.
As input file I used a CSV file that was built as following:
Domain
contoso.com
Tailspintoys.com
Fabrikam.com
Contoso.net
Tailspintoys.net
Fabrikam.net
Of course you will need the Windows Azure Active Directory Module to do this.
Find more details at: http://technet.microsoft.com/library/jj151815.aspx