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
You can also read about
- Get-AdfsAuthenticationProvider
- Unregister-AdfsAuthenticationProvider