Freigeben über


Set method of the CIM_WebApplicationProxyConfiguration class

Updates the server configuration for Web Application Proxy.

Syntax

uint32 Set(
  [in] string  ADFSUrl,
  [in] string  ADFSTokenSigningCertificatePublicKey,
  [in] string  ADFSWebApplicationProxyRelyingPartyUri,
  [in] boolean RegenerateAccessCookiesEncryptionKey,
  [in] string  ConnectedServersName[],
  [in] string  OAuthAuthenticationURL,
  [in] uint32  ConfigurationChangesPollingIntervalSec,
  [in] boolean UpgradeConfigurationVersion,
  [in] uint32  ADFSTokenAcceptanceDurationSec,
  [in] string  ADFSSignOutURL,
  [in] uint32  UserIdleTimeoutSec,
  [in] string  UserIdleTimeoutAction
);

Parameters

ADFSUrl [in]

The URL of the Active Directory Federation Services (AD FS) server that performs authentication for Web Application Proxy.

ADFSTokenSigningCertificatePublicKey [in]

The thumbprint of the certificate that is used to authenticate connections to the AD FS server that performs authentication for the proxy service.

ADFSWebApplicationProxyRelyingPartyUri [in]

The URI of the Web Application Proxy server.

RegenerateAccessCookiesEncryptionKey [in]

TRUE to create a new encryption key that Web Application Proxy servers use to encrypt proxy cookies; otherwise, FALSE.

ConnectedServersName [in]

An array that contains the names of the proxy servers that are configured with Web Application Proxy.

OAuthAuthenticationURL [in]

The URL of the AD FS server that performs OAuth authentication for the Web Application Proxy.

ConfigurationChangesPollingIntervalSec [in]

The interval, in seconds, in which the Web Application Proxy servers query the AD FS server for changes to the configuration data.

UpgradeConfigurationVersion [in]

TRUE to force an upgrade of the Web Application Proxy configuration version; otherwise, FALSE. Set this parameter to TRUE after all Web Application Proxy servers on a cluster are upgraded.

Windows Server 2012 R2: This parameter is not available before Windows Server 2016.

ADFSTokenAcceptanceDurationSec [in]

Specifies the maximum duration in seconds until which the Web Application Proxy server accepts the edge token issued by the AD FS server.

Windows Server 2012 R2: This parameter is not available before Windows Server 2016.

ADFSSignOutURL [in]

Specifies the Sign-Out URL of the AD FS server used by Web Application Proxy.

Windows Server 2012 R2: This parameter is not available before Windows Server 2016.

UserIdleTimeoutSec [in]

Specifies the inactivity time interval, in seconds, after which Web Application Proxy will redirect user to AD FS.

Windows Server 2012 R2: This parameter is not available before Windows Server 2016.

UserIdleTimeoutAction [in]

Specifies whether inactive user will be redirected to the AD FS for signout or reauthentication.

Windows Server 2012 R2: This parameter is not available before Windows Server 2016.

Return value

Returns 0 on success, otherwise returns a WMI error code.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012 R2
Namespace
Root\Microsoft\Windows\WebApplicationProxy
MOF
AppProxyPSProvider.mof
DLL
AppProxyPSProvider.dll

See also

CIM_WebApplicationProxyConfiguration