Add-Adfs Web Application Proxy Relying Party Trust

Adds a relying party trust for the Web Application Proxy.

Syntax

Add-AdfsWebApplicationProxyRelyingPartyTrust
   [-Name] <String>
   [-Identifier] <String[]>
   [-AlwaysRequireAuthentication]
   [-Enabled <Boolean>]
   [-AccessControlPolicyName <String>]
   [-AccessControlPolicyParameters <Object>]
   [-AdditionalAuthenticationRules <String>]
   [-AdditionalAuthenticationRulesFile <String>]
   [-NotBeforeSkew <Int32>]
   [-Notes <String>]
   [-PassThru]
   [-TokenLifetime <Int32>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

The Add-AdfsWebApplicationProxyRelyingPartyTrust cmdlet adds a relying party trust for Web Application Proxy. Authentication and authorization policies for access to internal web applications through the proxy require Web Application Proxy relying party trust. By default, when you deploy Web Application Proxy, a relying party trust exists.

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.

Examples

Example 1: Add a relying party trust

PS C:\> Add-AdfsWebApplicationProxyRelyingPartyTrust

This command adds the Web Application Proxy relying party trust. When you first deploy the Web Application Proxy role service, the trust exists by default. Use this example only if you deleted the Web Application Proxy relying party trust.

Required Parameters

-Identifier

Specifies an array of unique identifiers. The proxy uses the identifiers that you specify to specify its corresponding relying party trust when it initiates sign-in requests to obtain tokens for itself. No other trust can use an identifier from this list. As common practice, you can use Uniform Resource Identifiers (URIs) as unique identifiers for a relying party trust, or use any string.

Type: String[]
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Name

Specifies a name. The cmdlet adds the Web Application Proxy relying party trust that has the friendly name that you specify.

Type: String
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

Optional Parameters

-AccessControlPolicyName

Specifies the name of the access control policy.

Type: String
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-AccessControlPolicyParameters

Specifies the parameters of the access control policy.

Type: Object
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-AdditionalAuthenticationRules

Specifies rules for additional authentication on the proxy. For more information about the claims language for rules, see Understanding Claim Rule Language in AD FS 2.0 & Higher on TechNet.

Type: String
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-AdditionalAuthenticationRulesFile

Specifies a file that contains rules for additional authentication for this relying party.

Type: String
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-AlwaysRequireAuthentication

Indicates that the proxy requires authentication for access, even if the proxy has previously authenticated credentials for access. Specify this parameter to require users to always supply credentials to access sensitive resources.

Type: SwitchParameter
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Aliases: cf
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-Enabled

Indicates whether to enable this relying party trust. Specify a value of $True for this parameter to allow authentication and authorization to the proxy.

Type: Boolean
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-NotBeforeSkew

Specifies the skew, as an integer, for the time stamp that marks the beginning of the validity period. The higher this number is, the further back in time the validity period begins with respect to the time that the claims are issued for the relying party. By default, this value is 0. Specify a positive value if validation fails on the Web Application Proxy relying party because the validity period has not yet begun.

Type: Int32
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Notes

Specifies notes. The cmdlet stores the notes that you specify for the Web Application Proxy relying party trust.

Type: String
Position: Named
Default value: None
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
Accept pipeline input: False
Accept wildcard characters: False
-TokenLifetime

Specifies the duration, in minutes, for which the claims that are issued to the relying party are valid.

Type: Int32
Position: Named
Default value: None
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
Accept pipeline input: False
Accept wildcard characters: False