Register-AdfsAuthenticationProvider
Registers an external authentication provider in AD FS.
Syntax
Register-AdfsAuthenticationProvider
-TypeName <String>
-Name <String>
[-ConfigurationFilePath <String>]
[<CommonParameters>]
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.
Examples
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.
Parameters
-ConfigurationFilePath
Specifies the fully qualified file path of a file that contains authentication provider configuration data.
You can also upload the file to the Active Directory Federation Services (AD FS) configuration store and make it available to the authentication provider. Use this method if you want to provide additional information that pertains to a specific customer when you initialize the authentication provider. Any usage of this method is specific to the vendor that supplies the authentication provider.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
Specifies the name of an authentication provider to register in AD FS.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-TypeName
Specifies the fully qualified type of the authentication provider assembly on the federation server.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Related Links
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈