Edit

Share via


Unregister-AdfsAuthenticationProvider

Deletes an external authentication provider from AD FS.

Syntax

Default (Default)

Unregister-AdfsAuthenticationProvider
    [-Name] <String>
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Description

The Unregister-AdfsAuthenticationProvider cmdlet deletes an external authentication provider from Active Directory Federation Services (AD FS). Use the Get-AdfsAuthenticationProvider cmdlet to get a list of registered authentication providers.

Examples

Example 1: Delete a registered authentication provider

PS C:\> Unregister-AdfsAuthenticationProvider -Name "ContosoExternalAuthProvider"

This command deletes the additional authentication provider named ContosoExternalAuthProvider.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Parameter properties

Type:SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Name

Specifies the name of an authentication provider to delete from AD FS.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:0
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Parameter properties

Type:SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

Object