Disable-AdfsRelyingPartyTrust

Disables a relying party trust of the Federation Service.

Syntax

Disable-AdfsRelyingPartyTrust
       [-Confirm]
       [-PassThru]
       -TargetIdentifier <String>
       [-WhatIf]
       [<CommonParameters>]
Disable-AdfsRelyingPartyTrust
       [-Confirm]
       [-PassThru]
       -TargetName <String>
       [-WhatIf]
       [<CommonParameters>]
Disable-AdfsRelyingPartyTrust
       [-Confirm]
       [-PassThru]
       -TargetRelyingParty <RelyingPartyTrust>
       [-WhatIf]
       [<CommonParameters>]

Description

The Disable-AdfsRelyingPartyTrust cmdlet disables a relying party trust of the Federation Service. When disabled, AD FS does not issue tokens when users attempt to access this relying party.

Required Parameters

-TargetIdentifier

Specifies the identifier of the relying party trust to disable.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-TargetName

Specifies the name of the relying party trust to disable.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-TargetRelyingParty

Specifies the relying party trust to disable. This value is typically taken from the pipeline.

Type:RelyingPartyTrust
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-PassThru

Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

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

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

System.Object