Import-AdfsAuthenticationProviderConfigurationData

Import-AdfsAuthenticationProviderConfigurationData

Imports the custom configuration for an authentication provider.

Syntaxe

Parameter Set: Default
Import-AdfsAuthenticationProviderConfigurationData -FilePath <String> -Name <String> [-Confirm] [-WhatIf] [ <CommonParameters>]

Description détaillée

The Import-AdfsAuthenticationProviderConfigurationData cmdlet imports custom configuration for an authentication provider from a file. Before you use this cmdlet, verify that the external authentication provider supports a custom configuration.

Use this cmdlet when the information specific to the authentication provider changes after you initially register the authentication provider. In some situations, the security key to access the authentication service can change and you must update the information in the services de fédération Active Directory (AD FS) configuration store for the authentication provider to function correctly.

Paramètres

-FilePath<String>

Specifies a file path. The cmdlet imports the configuration data from a file that you specify.

Alias

none

Obligatoire ?

true

Position ?

named

Valeur par défaut

none

Accepter l’entrée de pipeline ?

false

Accepter les caractères génériques ?

false

-Name<String>

Specifies the name of the authentication provider to import.

Alias

none

Obligatoire ?

true

Position ?

named

Valeur par défaut

none

Accepter l’entrée de pipeline ?

false

Accepter les caractères génériques ?

false

-Confirm

Votre confirmation sera requise avant l’exécution de l’applet de commande.

Obligatoire ?

false

Position ?

named

Valeur par défaut

false

Accepter l’entrée de pipeline ?

false

Accepter les caractères génériques ?

false

-WhatIf

Présente les conséquences éventuelles de l’exécution de l’applet de commande. L’applet de commande n’est pas exécutée.

Obligatoire ?

false

Position ?

named

Valeur par défaut

false

Accepter l’entrée de pipeline ?

false

Accepter les caractères génériques ?

false

<CommonParameters>

Cette applet de commande prend en charge les paramètres courants : -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer et -OutVariable. Pour plus d’informations, consultez about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entrées

Le type d’entrée correspond au type des objets que vous pouvez transmettre à l’applet de commande.

Sorties

Le type de sortie est le type des objets émis par l’applet de commande.

  • System.Object

Exemples

Example 1: Import authentication provider configuration data

This command imports the authentication provider configuration data. This command also overwrites existing configuration data for the specified authentication provider with the data from the file.

PS C:\> Import-AdfsAuthenticationProviderConfigurationData -Name "ContosoExternalAuthProvider" -FilePath "C:\share\test.txt"

Rubriques connexes

Export-AdfsAuthenticationProviderConfigurationData