Summary
This article describe a straightforward way to use PowerShell to add sub domain to Office 365 Online Portal
How implement these steps:
1. Download and install the Microsoft Online Services Module for Windows PowerShell (new version):
Microsoft Online Services Module for Windows PowerShell 32-bit
Microsoft Online Services Module for Windows PowerShell 64-bit
2. Create a new remote PowerShell connection against the PowerShell endpoint for Office 365:
Import-Module msonline $cred = Get-Credential Connect-MsolService -cred $cred Get-Command *msol*
3. Add domain to MS Online Services by using below commands:
Set-MSOLContextCredential –MSOLadminCrendentials (get-credential)Add-MSOLFederatedDomain –DomainName <string>
More Information
Install and Configure Windows PowerShell
http://help.outlook.com/en-us/140/cc952756.aspx
Applies To
Microsoft Office 365 for Enterprise
Hi, I'm aware that Sub-Domain capability is not available in Plan P1, but can you tell me whether Sub Domains are available with the Academic Plans?.
Thanks.....
Hi Nadeem,
Sub Domains are still available with Academic plan, You can manage your domains from:
http://domains.live.com/
Small correction to the command:
New-MSOLFederatedDomain –DomainName <string>
There is no Add-MSOLFederatedDomain options.
Thanks!