Set-AdfsWebApplicationProxyRelyingPartyTrust

Set-AdfsWebApplicationProxyRelyingPartyTrust is accessible with the help of adfs module. To install adfs on your system please refer to this adfs.

Synopsis

Modifies properties of the relying party trust object for the Web Application Proxy.

Description

The Set-AdfsWebApplicationProxyRelyingPartyTrust cmdlet modifies properties of the relying party trust object for Web Application Proxy. You can modify authentication and authorization policies that control all external access through the proxy.

Parameters

-AccessControlPolicyName

    Required?                    false
    Position?                    named
    Default value                none
    Accept pipeline input?       true(ByPropertyName)
    Accept wildcard characters?  false

-AccessControlPolicyParameters <Object>
    Specifies access control policy parameters.

    Required?                    false
    Position?                    named
    Default value                none
    Accept pipeline input?       true(ByPropertyName)
    Accept wildcard characters?  false

-AdditionalAuthenticationRules <String>
    Specifies rules for additional authentication on the proxy. For more information about the claim language for rules, see Understanding Claim Rule Language in AD FS 2.0 & Higher (http://social.technet.microsoft.com/wiki/contents/articles/4792.understanding-claim-rule-language-in-ad-fs-2-0-higher.aspx) on TechNet.

    Required?                    false
    Position?                    named
    Default value                none
    Accept pipeline input?       false
    Accept wildcard characters?  false

-AdditionalAuthenticationRulesFile <String>
    Specifies a file that contains rules for additional authentication for this relying party.

    Required?                    false
    Position?                    named
    Default value                none
    Accept pipeline input?       false
    Accept wildcard characters?  false

-AlwaysRequireAuthentication <Boolean>
    Indicates whether access requires authentication, even if this relying party has previously authenticated credentials for access. Specify a value of $True to require users to always supply credentials to access sensitive resources.

    Required?                    false
    Position?                    named
    Default value                none
    Accept pipeline input?       false
    Accept wildcard characters?  false

-Identifier <String[]>
    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 you can use any string.

    Required?                    false
    Position?                    named
    Default value                none
    Accept pipeline input?       false
    Accept wildcard characters?  false

-IssuanceAuthorizationRules <String>
    Specifies the issuance authorization rules for issuing claims to this relying party. Issuance authorization rules control access to applications that are enabled for pre-authentication through Active Directory Federation Services (AD FS), and then accessed through the proxy. By default, all authenticated users can access applications.

    Required?                    false
    Position?                    named
    Default value                none
    Accept pipeline input?       True (ByPropertyName)
    Accept wildcard characters?  false

-IssuanceAuthorizationRulesFile <String>
    Specifies a file that contains the issuance authorization rules for issuing claims to this relying party.

    Required?                    false
    Position?                    named
    Default value                none
    Accept pipeline input?       false
    Accept wildcard characters?  false

-IssuanceTransformRules <String>
    Specifies the issuance transform rules for issuing claims to this relying party. You should not, typically, modify the value of this setting.

    Required?                    false
    Position?                    named
    Default value                none
    Accept pipeline input?       True (ByPropertyName)
    Accept wildcard characters?  false

-IssuanceTransformRulesFile <String>
    Specifies a file that contains the issuance transform rules for issuing claims to this relying party.

    Required?                    false
    Position?                    named
    Default value                none
    Accept pipeline input?       false
    Accept wildcard characters?  false

-Name <String>
    Specifies a name. The cmdlet modifies the Web Application Proxy relying party trust that has the friendly name that you specify.

    Required?                    false
    Position?                    named
    Default value                none
    Accept pipeline input?       false
    Accept wildcard characters?  false

-NotBeforeSkew <Int32>
    Specifies the skew, as an integer, for the time stamp that marks the beginning of the validity period. The higher this number is, the farther 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.

    Required?                    false
    Position?                    named
    Default value                none
    Accept pipeline input?       false
    Accept wildcard characters?  false

-Notes <String>
    Specifies notes. The cmdlet stores the notes that you specify for the Web Application Proxy relying party trust.

    Required?                    false
    Position?                    named
    Default value                none
    Accept pipeline input?       false
    Accept wildcard characters?  false

-PassThru <SwitchParameter>
    Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.

    Required?                    false
    Position?                    named
    Default value                none
    Accept pipeline input?       false
    Accept wildcard characters?  false

-TokenLifetime <Int32>
    Specifies the duration, in minutes, for which the claims that are issued to the relying party are valid.

    Required?                    false
    Position?                    named
    Default value                none
    Accept pipeline input?       false
    Accept wildcard characters?  false

-Confirm <SwitchParameter>
    Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.

    Required?                    false
    Position?                    named
    Default value                false
    Accept pipeline input?       false
    Accept wildcard characters?  false

-WhatIf <SwitchParameter>
    Shows what would happen if the cmdlet runs. The cmdlet is not run.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

Syntax

Set-AdfsWebApplicationProxyRelyingPartyTrust [-AlwaysRequireAuthentication <Boolean>] [-Identifier <String[]>] [-AccessControlPolicyName <String>] [-AccessControlPolicyParameters <Object>] [-IssuanceAuthorizationRules <String>] [-IssuanceAuthorizationRulesFile <String>] [-IssuanceTransformRules <String>] [-IssuanceTransformRulesFile <String>] [-AdditionalAuthenticationRules <String>] [-AdditionalAuthenticationRulesFile <String>] [-Name <String>] [-NotBeforeSkew <Int32>] [-Notes <String>] [-PassThru] [-TokenLifetime <Int32>] [-WhatIf] [-Confirm] [<CommonParameters>]

——————–Example 1——————–
Specify authorization rules by using a file
PS C:> Set-AdfsWebApplicationProxyRelyingPartyTrust -IssuanceAuthorizationRulesFile “C:\Rules\RF07”
This command specifies authorization rules for the Web Application Proxy relying party trust, based on a file that contains the rules.

You can check the Version, CommandType and Source of this cmdlet by giving below command.

Get-Command Set-AdfsWebApplicationProxyRelyingPartyTrust

Get-Command Set-AdfsWebApplicationProxyRelyingPartyTrust powershell script command cmdlet adfs

You can also read about

  • Add-AdfsWebApplicationProxyRelyingPartyTrust
  • Disable-AdfsWebApplicationProxyRelyingPartyTrust
  • Enable-AdfsWebApplicationProxyRelyingPartyTrust
  • Get-AdfsWebApplicationProxyRelyingPartyTrust
  • Remove-AdfsWebApplicationProxyRelyingPartyTrust

To know more PowerShell cmdlets(Commands) on Active Directory Federation Services(ADFS) click here

Click on this Link for an Single place where you get all the PowerShell cmdlet sorted based on the modules.

You can also refer other blogs on PowerShell at link

You can also refer other blogs on Microsoft at link

And also if you required any technology you want to learn, let us know below we will publish them in our site http://tossolution.com/

Like our page in Facebook and follow us for New technical information.

References are taken from Microsoft

Leave a Reply

Your email address will not be published. Required fields are marked *