Enable-AdfsNonClaimsAwareRelyingPartyTrust

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

Synopsis

Enables a relying party trust for a non-claims-aware web application or service from the Federation Service.

Description

The Enable-AdfsNonClaimsAwareRelyingPartyTrust cmdlet enables a relying party trust for a non-claims-aware web application or service from the Federation Service. When you disable a relying party trust, no authentication is allowed. Non-claims-aware relying party trusts for applications that are published through the Web Application Proxy must be enabled to allow clients outside the network to reach the application through the proxy.

A non-claims aware relying party trust is a relying party trust for web applications or services that do not rely directly on Active Directory Federation Services (AD FS) to issue tokens, but instead rely on a third party that accesses such tokens and transforms them into what applications understand. A non-claims-aware relying party trust is useful for defining authentication and authorization policies for web applications and services that do not rely on AD FS tokens. The Web Application Proxy requests such tokens for preauthentication to web applications or services that have corresponding non-claims-aware relying party trusts for requests that come from outside the network through the proxy.

Parameters

-Confirm <>

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

-PassThru <>

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

-TargetIdentifier <string>

    Required?                    true
    Position?                    Named
    Default value                
    Accept pipeline input?       false
    Accept wildcard characters?  

-TargetName <string>

    Required?                    true
    Position?                    0
    Default value                
    Accept pipeline input?       false
    Accept wildcard characters?  

-TargetNonClaimsAwareRelyingPartyTrust <NonClaimsAwareRelyingPartyTrust>

    Required?                    true
    Position?                    Named
    Default value                
    Accept pipeline input?       true (ByValue)
    Accept wildcard characters?  

-WhatIf <>

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

Syntax

Enable-AdfsNonClaimsAwareRelyingPartyTrust [-PassThru] [-TargetName] <String> [-WhatIf] [-Confirm] [<CommonParameters>]

Enable-AdfsNonClaimsAwareRelyingPartyTrust [-PassThru] -TargetIdentifier <String> [-WhatIf] [-Confirm] [<CommonParameters>]

Enable-AdfsNonClaimsAwareRelyingPartyTrust [-PassThru] [-TargetNonClaimsAwareRelyingPartyTrust <NonClaimsAwareRelyingPartyTrust>] [-WhatIf] [-Confirm] [<CommonParameters>]

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

Get-Command Enable-AdfsNonClaimsAwareRelyingPartyTrust

Get-Command Enable-AdfsNonClaimsAwareRelyingPartyTrust powershell script command cmdlet adfs

———————————Example 1———————————
Enable a non-claims-aware relying party trust by using a name
PS C:\> Enable-AdfsNonClaimsAwareRelyingPartyTrust -TargetName “ExpenseReport”
This command enables the non-claims-aware relying party trust for the application named ExpenseReport.

———————————Example 2———————————
Enable a non-claims-aware relying party trust by using an identifier
PS C:\> Enable-AdfsNonClaimsAwareRelyingPartyTrust -TargetIdentifier “http://INSC/”
This command enables the non-claims-aware relying party trust for the expense report application that has the identifier http://INSC.

You can also read about

  • Get-AdfsNonClaimsAwareRelyingPartyTrust
  • Add-AdfsNonClaimsAwareRelyingPartyTrust
  • Set-AdfsNonClaimsAwareRelyingPartyTrust
  • Disable-AdfsNonClaimsAwareRelyingPartyTrust
  • Remove-AdfsNonClaimsAwareRelyingPartyTrust

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 *