In a previous blogpost I showed you how to create new domains in Office 365 using the Microsoft Online Portal. You can do the same using PowerShell which can be much more interesting, especially for partner reselling Office 365 through the Cloud Solution Provider (CSP) program. If you want to know more about PowerShell, check my previous blog post Manage Office 365 with PowerShell.
Add a new domain
Adding a new domain in Windows Azure Active Directory can be broken down into three steps as we’ve seen in adding a domain using the Microsoft Online Portal:
- Add and validate the actual domain;
- Configure and validate DNS records (domain purpose);
- Configure or add users;
These steps will be described in the following sections
Add and validate the actual domain
To add a new domain you can use the New-MsolDomain command. The –Name option is used to pass the domain name and the –Authentication option is used to pass the type of domain, which is either Managed or Federated. The latter is used in a federated environment with Directory Synchronization and ADFS, so in this example we use ‘Managed’:
New-MsolDomain –Authentication Managed –Name office365labs.nl
Continue reading Manage Domains in Office 365 using PowerShell