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

Get-Command Import-AdfsAuthenticationProviderConfigurationData powershell script command cmdlet adfs

You can also read about

  • Export-AdfsAuthenticationProviderConfigurationData

To know more PowerShell cmdlets(Commands) on Active Directory Federation Services(ADFS) click here

Click on this Link for an Single place where you get all the PowerShell cmdlet sorted based on the modules.

You can also refer other blogs on PowerShell at link

You can also refer other blogs on Microsoft at link

And also if you required any technology you want to learn, let us know below we will publish them in our site http://tossolution.com/

Like our page in Facebook and follow us for New technical information.

References are taken from Microsoft

Leave a Reply

Your email address will not be published. Required fields are marked *