Set-WebApplicationProxyConfiguration

Set-WebApplicationProxyConfiguration

Modifies the configuration settings of a Web Application Proxy server.

Syntax

Parameter Set: Set1
Set-WebApplicationProxyConfiguration [-ADFSTokenSigningCertificatePublicKey <String> ] [-ADFSUrl <Uri> ] [-ADFSWebApplicationProxyRelyingPartyUri <Uri> ] [-AsJob] [-CimSession <CimSession[]> ] [-ConfigurationChangesPollingIntervalSec <UInt32> ] [-ConnectedServersName <String[]> ] [-OAuthAuthenticationURL <Uri> ] [-RegenerateAccessCookiesEncryptionKey] [-ThrottleLimit <Int32> ] [ <CommonParameters>]

Detailed Description

The Set-WebApplicationProxyConfiguration cmdlet modifies the configuration settings of a Web Application Proxy server, including the Active Directory Federation Services (AD FS) URL, the token signing certificate, and the edge server URI.

Parameters

-ADFSTokenSigningCertificatePublicKey<String>

Specifies the thumbprint of the certificate that the federation server uses to sign the edge token. The thumbprint is the SHA-1 hash of the certificate and consists of 40 hexadecimal characters. Specify this parameter only when the AD FS token signing certificate changes.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-ADFSUrl<Uri>

Specifies the URL for the federation server used by the Web Application Proxy. The Web Application Proxy Configuration Wizard populates this setting, and there is no requirement that you manually change it.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-ADFSWebApplicationProxyRelyingPartyUri<Uri>

Specifies the URI for the Web Application Proxy server.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-AsJob

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-CimSession<CimSession[]>

Runs the cmdlet in a remote session or on a remote computer. Enter a computer name or a session object, such as the output of a New-CimSession or Get-CimSession cmdlet. The default is the current session on the local computer.

Aliases

Session

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ConfigurationChangesPollingIntervalSec<UInt32>

Specifies the time interval, in seconds, that elapses before the Web Application Proxy servers query a federation server for configuration changes.

Aliases

none

Required?

false

Position?

named

Default Value

5

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-ConnectedServersName<String[]>

Specifies an array of Web Application Proxy servers that are connected to a federation server.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-OAuthAuthenticationURL<Uri>

Specifies the URL of the federation server that performs Open Authorization (OAuth) authentication when end users connect to a published web application using a Windows Store app.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-RegenerateAccessCookiesEncryptionKey

Specifies whether to create a new encryption key to be used by Web Application Proxy servers to encrypt proxy cookies. All Web Application Proxy servers use the encryption key to validate the access cookie, even if the cookie was issued by another Web Application Proxy server.

You should specify this parameter whenever you want to change the encryption key that is used to encrypt the proxy cookies.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ThrottleLimit<Int32>

Specifies the maximum number of concurrent operations that can be established to run the cmdlet. If this parameter is omitted or a value of 0 is entered, then Windows PowerShell® calculates an optimum throttle limit for the cmdlet based on the number of CIM cmdlets that are running on the computer. The throttle limit applies only to the current cmdlet, not to the session or to the computer.

Aliases

none

Required?

false

Position?

named

Default Value

none

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: Modify the proxy to check for configuration changes

This command modifies the Web Application Proxy to query the federation server every 300 seconds for configuration changes.

PS C:\> Set-WebApplicationProxyConfiguration -ConfigurationChangesPollingIntervalSec 300

Get-WebApplicationProxyConfiguration