Disable-AdfsNonClaimsAwareRelyingPartyTrust

Disable-AdfsNonClaimsAwareRelyingPartyTrust

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

Syntax

Parameter Set: IdentifierName
Disable-AdfsNonClaimsAwareRelyingPartyTrust [-TargetName] <String> [-PassThru] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: Identifier
Disable-AdfsNonClaimsAwareRelyingPartyTrust -TargetIdentifier <String> [-PassThru] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: IdentifierObject
Disable-AdfsNonClaimsAwareRelyingPartyTrust [-PassThru] [-TargetNonClaimsAwareRelyingPartyTrust <NonClaimsAwareRelyingPartyTrust> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Detailed Description

The Disable-AdfsNonClaimsAwareRelyingPartyTrust cmdlet disables 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 that are disabled prevent clients from reaching the application.

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

-PassThru

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

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-TargetIdentifier<String>

Specifies the identifier of the non-claims-aware relying party trust to disable.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-TargetName<String>

Specifies the name of the non-claims-aware relying party trust to disable.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-TargetNonClaimsAwareRelyingPartyTrust<NonClaimsAwareRelyingPartyTrust>

Specifies a NonClaimsAwareRelyingPartyTrust object. The cmdlet disables the non-claims-aware relying party trust that you specify. To obtain a NonClaimsAwareRelyingPartyTrust, use the Get-AdfsNonClaimsAwareRelyingPartyTrust cmdlet.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before running the cmdlet.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

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

<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: Disable a relying party trust by using a name

This command disables the expense report relying party trust named ExpenseReport.

PS C:\> Disable-AdfsNonClaimsAwareRelyingPartyTrust -TargetName "ExpenseReport"""

Example 2: Disable a report relying party trust by using an identifier

This command disables the expense report relying party trust that has the identifier http://Contosoexpense.

PS C:\> Disable-AdfsNonClaimsAwareRelyingPartyTrust -TargetIdentifier "http://Contosoexpense/"

Get-AdfsNonClaimsAwareRelyingPartyTrust

Add-AdfsNonClaimsAwareRelyingPartyTrust

Set-AdfsNonClaimsAwareRelyingPartyTrust

Enable-AdfsNonClaimsAwareRelyingPartyTrust

Remove-AdfsNonClaimsAwareRelyingPartyTrust