New-MsolFederatedDomain
Updated: July 30, 2015
Applies To: Azure, Office 365, Windows Intune
Note
- The cmdlets were previously known as the Microsoft Online Services Module for Windows PowerShell cmdlets.
The New-MSOLFederatedDomain cmdlet adds a new single sign-on domain (also known as identity-federated domain) to and configures the relying party trust settings between the on-premises AD FS server and . Due to domain verification requirements, you may need to run this cmdlet several times in order to complete the process of adding the new single sign-on domain.
Syntax
New-MsolFederatedDomain -DomainName <string> [-SupportMultipleDomain] [-Confirm] [-WhatIf] [<CommonParameters>]
Parameters
-DomainName <string>
The name of the new single sign-on domain (also known as
identity-federated domain) to create in Office 365.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-SupportMultipleDomain [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Prompts you for confirmation before executing the command.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Describes what would happen if you executed the command without
actually executing the command.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".
Examples
The following command adds a new federated domain named cpandl.com
New-MsolFederatedDomain -DomainName cpandl.com
Additional Resources
There are several other places you can get more information and help. These include: