Edit

Share via


Enable-AdfsWebApplicationProxyRelyingPartyTrust

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

Syntax

Enable-AdfsWebApplicationProxyRelyingPartyTrust
      [-PassThru]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

The Enable-AdfsWebApplicationProxyRelyingPartyTrust cmdlet enables the relying party trust object for the web application proxy. Use this cmdlet if you have temporarily disabled all external access 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 have been published through the Web Application Proxy.

Examples

Example 1: Enable relying party trust for the web application proxy

PS C:\> Enable-AdfsWebApplicationProxyRelyingPartyTrust

This command enables the relying party trust object for the web application proxy.

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

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