您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

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-AzureADExternalFederationDomain -ExternalDomainName "adfs.com" -FederationSettings $federationSettings

This command creates a new external federation domain settings.

Parameters

-ExternalDomainName

The unique idenfier of an externalDomainFederation in Azure Active Directory

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-FederationSettings

The federation settings for the external domain.

Type:DomainFederationSettings
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False