Import-AdfsAuthenticationProviderConfigurationData
Import-AdfsAuthenticationProviderConfigurationData is accessible with the help of adfs module. To install adfs on your system please refer to this adfs.
Synopsis
Imports the custom configuration for an authentication provider.
Description
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 Active Directory Federation Services (AD FS) configuration store for the authentication provider to function correctly.
Parameters
-FilePath
Specifies a file path. The cmdlet imports the configuration data from a file that you specify.
Required? true
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-Name <String>
Specifies the name of the authentication provider to import.
Required? true
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-Confirm <SwitchParameter>
Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.
Required? false
Position? named
Default value false
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf <SwitchParameter>
Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? false
Position? named
Default value false
Accept pipeline input? false
Accept wildcard characters? false
Syntax
Import-AdfsAuthenticationProviderConfigurationData -Name <String> -FilePath <String> [-WhatIf] [-Confirm] [<CommonParameters>]
—————-Example 1—————-
Import authentication provider configuration data
PS C:> Import-AdfsAuthenticationProviderConfigurationData -Name “TOSSExternalAuthProvider” -FilePath “C:\share\test.txt”
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.
You can check the Version, CommandType and Source of this cmdlet by giving below command.
Get-Command Import-AdfsAuthenticationProviderConfigurationData
You can also read about
- Export-AdfsAuthenticationProviderConfigurationData