你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
New-AzureADExternalDomainFederation
在 Azure Active Directory 中创建新的 externalDomainFederation
语法
New-AzureADExternalDomainFederation
[-ExternalDomainName <String>]
[-FederationSettings <DomainFederationSettings>]
[<CommonParameters>]
示例
示例 1:创建新的外部域联合。
$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
此命令创建新的外部联合域设置。
参数
-ExternalDomainName
Azure Active Directory 中 externalDomainFederation 的唯一标识符
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-FederationSettings
外部域的联合设置。
类型: | DomainFederationSettings |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |