Upravit

Sdílet prostřednictvím


Revoke-AdfsProxyTrust

Revokes trust for all federation server proxies configured for the Federation Service.

Syntax

Revoke-AdfsProxyTrust
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

The Revoke-AdfsProxyTrust cmdlet revokes trust for all federation server proxies by resetting the trust ID for the Federation Service. Use this cmdlet for lockdown purposes in the event of an attack or confirmed possible threat to your deployment. The cmdlet effectively revokes trust to all configured proxies immediately.

Examples

Example 1: Revoke trust

PS C:\> Revoke-AdfsProxyTrust

This command revokes all trust between the current federation server and any of its configured federation server proxies.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Required:False
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
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

None

Notes

  • Use this cmdlet only in the event of a security breach in a live deployment. We recommend that, if you want to practice using this cmdlet, you use a test lab environment.