New-AzureADExternalDomainFederation
Skapa en ny externalDomainFederation i Azure Active Directory
Syntax
New-AzureADExternalDomainFederation
[-ExternalDomainName <String>]
[-FederationSettings <DomainFederationSettings>]
[<CommonParameters>]
Exempel
Exempel 1: Skapa en ny extern domänfederation.
$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
Det här kommandot skapar en ny inställning för extern federationsdomän.
Parametrar
-ExternalDomainName
Den unika identifieraren för en externalDomainFederation i Azure Active Directory
Typ: | String |
Position: | Named |
Standardvärde: | None |
Obligatorisk: | False |
Godkänn pipeline-indata: | False |
Godkänn jokertecken: | False |
-FederationSettings
Federationsinställningarna för den externa domänen.
Typ: | DomainFederationSettings |
Position: | Named |
Standardvärde: | None |
Obligatorisk: | False |
Godkänn pipeline-indata: | False |
Godkänn jokertecken: | False |