Remove-AdfsWebApplicationProxyRelyingPartyTrust

Remove-AdfsWebApplicationProxyRelyingPartyTrust

Removes the relying party trust object for the Web Application Proxy.

Syntax

Remove-AdfsWebApplicationProxyRelyingPartyTrust [-Confirm] [-WhatIf] [ <CommonParameters>]

Detailed Description

The Remove-AdfsWebApplicationProxyRelyingPartyTrust cmdlet removes the relying party trust object for Web Application Proxy. If you remove the relying party trust, Web Application Proxy blocks all external access through the proxy. Use this cmdlet if you plan to recreate the trust later. To temporarily block access through the proxy, you can, instead, disable the relying party trust by using the Disable-AdfsWebApplicationProxyRelyingPartyTrust cmdlet.

The Web Application Proxy relying party trust is useful to manage global network access from outside the corporate network. By setting authentication and authorization policies, an administrator can restrict access to internal web applications and services that are published through the Web Application Proxy.

Parameters

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

Examples

Example 1: Remove the relying party trust

This command removes the relying party trust object for the Web Application Proxy, which denies all access to web applications through the proxy.

PS C:\> Remove-AdfsWebApplicationProxyRelyingPartyTrust

Add-AdfsWebApplicationProxyRelyingPartyTrust

Disable-AdfsWebApplicationProxyRelyingPartyTrust

Enable-AdfsWebApplicationProxyRelyingPartyTrust

Get-AdfsWebApplicationProxyRelyingPartyTrust

Set-AdfsWebApplicationProxyRelyingPartyTrust