New-AzureADExternalDomainFederation
Create a new externalDomainFederation in Azure Active Directory
Syntax
New-AzureADExternalDomainFederation
[-ExternalDomainName <String>]
[-FederationSettings <DomainFederationSettings>]
[<CommonParameters>]
Examples
Example 1: Create a new external domain federation.
$federationSettings = New-Object Microsoft.Open.AzureAD.Model.DomainFederationSettings
$federationSettings.ActiveLogOnUri="https://adfs.com/adfs/ls"
$federationSettings.IssuerUri = "http://adfs.com/adfs/services/trust"
$federationSettings.LogOffUri = $federationSettings.ActiveLogOnUri
$federationSettings.FederationBrandName = "Contoso Misa1 US"
$federationSettings.MetadataExchangeUri="http://adfs.com/FederationMetadata.xml"
$federationSettings.PassiveLogOnUri=$federationSettings.ActiveLogOnUri
$federationSettings.PreferredAuthenticationProtocol="WsFed"
$federationSettings.SigningCertificate="X509 signing public key"
New-AzureADExternalDomainFederation -ExternalDomainName "adfs.com" -FederationSettings $federationSettings
This command creates a new external federation domain settings.
Parameters
-ExternalDomainName
The unique identifer of an externalDomainFederation in Azure Active Directory
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-FederationSettings
The federation settings for the external domain.
Type: | DomainFederationSettings |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |