Register-AdfsAuthenticationProvider

Register-AdfsAuthenticationProvider is accessible with the help of adfs module. To install adfs on your system please refer to this adfs.

Synopsis

Registers an external authentication provider in AD FS.

Description

The Register-AdfsAuthenticationProvider cmdlet registers an external authentication provider as a provider in Active Directory Federation Services (AD FS). Use the Get-AdfsAuthenticationProvider cmdlet to get a list of registered authentication providers.

Parameters

-ConfigurationFilePath
Specifies the fully qualified file path of a file that contains authentication provider configuration data.

    Required?                    false
    Position?                    named
    Default value                none
    Accept pipeline input?       false
    Accept wildcard characters?  false

-Name <String>
    Specifies the name of an authentication provider to register in AD FS.

    Required?                    true
    Position?                    named
    Default value                none
    Accept pipeline input?       false
    Accept wildcard characters?  false

-TypeName <String>
    Specifies the fully qualified type of the authentication provider assembly on the federation server.

    Required?                    true
    Position?                    named
    Default value                none
    Accept pipeline input?       false
    Accept wildcard characters?  false

Syntax

Register-AdfsAuthenticationProvider -TypeName <String> -Name <String> [-ConfigurationFilePath <String>] [<CommonParameters>]

——————–Example 1——————–
Register an authentication provider
PS C:> $TypeName = “ExternalAuthMethod.ExternalAuthProvider, ExternalAuthProvider, Version=1.0.0.0, Culture=neutral, PublicKeyToken=365143bb27e7ac8b, processorArchitecture=MSIL”
PS C:> Register-AdfsAuthenticationProvider -TypeName $TypeName -Name “MyExternalAuthProvider” -ConfigurationFilePath “.\configdata.txt”
The first command creates a variable named $TypeName that contains the configuration data for an external provider.
The second command registers the authentication provider by using the data stored in the $TypeName variable.

You can check the Version, CommandType and Source of this cmdlet by giving below command.

Get-Command Register-AdfsAuthenticationProvider

Get-Command Register-AdfsAuthenticationProvider powershell script command cmdlet adfs

You can also read about

  • Get-AdfsAuthenticationProvider
  • Unregister-AdfsAuthenticationProvider

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 *