Unregister-AdfsAuthenticationProvider

Unregister-AdfsAuthenticationProvider

Deletes an external authentication provider from AD FS.

Syntax

Parameter Set: Default
Unregister-AdfsAuthenticationProvider [-Name] <String> [-Confirm] [-WhatIf] [ <CommonParameters>]

Detailed 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.

Parameters

-Name<String>

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

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before running the cmdlet.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

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

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • System.Object

Examples

Example 1: Delete a registered authentication provider

This command deletes the additional authentication provider named ContosoExternalAuthProvider.

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

Get-AdfsAuthenticationProvider

Register-AdfsAuthenticationProvider