Add-AdfsRelyingPartyTrust

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

Synopsis

Adds a new relying party trust to the Federation Service.

Description

The Add-AdfsRelyingPartyTrust cmdlet adds a new relying party trust to the Federation Service. You can specify a relying party trust manually, or you can provide a federation metadata document to bootstrap initial configuration.

Parameters

-AccessControlPolicyName

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

-AccessControlPolicyParameters <Object>

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

-AdditionalAuthenticationRules <string>

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

-AdditionalAuthenticationRulesFile <string>

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

-AdditionalWSFedEndpoint <string[]>

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

-AllowedAuthenticationClassReferences <string[]>

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

-AllowedClientTypes <AllowedClientTypes>

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

-AlwaysRequireAuthentication <>

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

-AutoUpdateEnabled <bool>

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

-ClaimAccepted <ClaimDescription[]>

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

-ClaimsProviderName <string[]>

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

-Confirm <>

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

-DelegationAuthorizationRules <string>

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

-DelegationAuthorizationRulesFile <string>

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

-DeviceAuthenticationMethod <DeviceAuthenticationMethod>

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

-EnableJWT <bool>

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

-Enabled <bool>

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

-EncryptClaims <bool>

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

-EncryptedNameIdRequired <bool>

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

-EncryptionCertificate <X509Certificate2>

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

-EncryptionCertificateRevocationCheck <string>

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

-Identifier <string[]>

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

-ImpersonationAuthorizationRules <string>

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

-ImpersonationAuthorizationRulesFile <string>

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

-IssuanceAuthorizationRules <string>

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

-IssuanceAuthorizationRulesFile <string>

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

-IssuanceTransformRules <string>

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

-IssuanceTransformRulesFile <string>

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

-IssueOAuthRefreshTokensTo <RefreshTokenIssuanceDeviceTypes>

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

-MetadataFile <string>

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

-MetadataUrl <uri>

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

-MonitoringEnabled <bool>

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

-Name <string>

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

-NotBeforeSkew <int>

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

-Notes <string>

    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?  

-ProtocolProfile <string>

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

-RefreshTokenProtectionEnabled <bool>

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

-RequestMFAFromClaimsProviders <>

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

-RequestSigningCertificate <X509Certificate2[]>

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

-SamlEndpoint <SamlEndpoint[]>

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

-SamlResponseSignature <string>

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

-SignatureAlgorithm <string>

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

-SignedSamlRequestsRequired <bool>

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

-SigningCertificateRevocationCheck <string>

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

-TokenLifetime <int>

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

-WSFedEndpoint

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

-WhatIf <>

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

Syntax

Add-AdfsRelyingPartyTrust -Name <String> -Identifier <String[]> [-AllowedAuthenticationClassReferences <String[]>] [-ClaimsProviderName <String[]>] [-EncryptionCertificate <X509Certificate2>] [-EncryptClaims <Boolean>] [-IssuanceAuthorizationRules <String>] [-IssuanceAuthorizationRulesFile <String>] [-DelegationAuthorizationRules <String>] [-DelegationAuthorizationRulesFile <String>] [-EncryptionCertificateRevocationCheck <String>] [-ImpersonationAuthorizationRules <String>] [-ImpersonationAuthorizationRulesFile <String>] [-IssuanceTransformRules <String>] [-IssuanceTransformRulesFile <String>] [-AdditionalAuthenticationRules <String>] [-AdditionalAuthenticationRulesFile <String>] [-AutoUpdateEnabled <Boolean>] [-WSFedEndpoint <Uri>] [-AdditionalWSFedEndpoint <String[]>] [-Enabled <Boolean>] [-MonitoringEnabled <Boolean>] [-NotBeforeSkew <Int32>] [-EnableJWT <Boolean>] [-Notes <String>] [-ClaimAccepted <ClaimDescription[]>] [-SamlEndpoint <SamlEndpoint[]>] [-ProtocolProfile <String>] [-RequestSigningCertificate <X509Certificate2[]>] [-EncryptedNameIdRequired <Boolean>] [-SignedSamlRequestsRequired <Boolean>] [-SamlResponseSignature <String>] [-SignatureAlgorithm <String>] [-SigningCertificateRevocationCheck <String>] [-TokenLifetime <Int32>] [-AlwaysRequireAuthentication] [-AllowedClientTypes <AllowedClientTypes>] [-IssueOAuthRefreshTokensTo <RefreshTokenIssuanceDeviceTypes>] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]

Add-AdfsRelyingPartyTrust -Name <String> [-AllowedAuthenticationClassReferences <String[]>] [-ClaimsProviderName <String[]>] [-EncryptClaims <Boolean>] [-IssuanceAuthorizationRules <String>] [-IssuanceAuthorizationRulesFile <String>] [-DelegationAuthorizationRules <String>] [-DelegationAuthorizationRulesFile <String>] [-EncryptionCertificateRevocationCheck <String>] [-ImpersonationAuthorizationRules <String>] [-ImpersonationAuthorizationRulesFile <String>] [-IssuanceTransformRules <String>] [-IssuanceTransformRulesFile <String>] [-AdditionalAuthenticationRules <String>] [-AdditionalAuthenticationRulesFile <String>] [-MetadataFile <String>] [-AutoUpdateEnabled <Boolean>] [-Enabled <Boolean>] [-MonitoringEnabled <Boolean>] [-NotBeforeSkew <Int32>] [-EnableJWT <Boolean>] [-Notes <String>] [-ProtocolProfile <String>] [-EncryptedNameIdRequired <Boolean>] [-SignedSamlRequestsRequired <Boolean>] [-SamlResponseSignature <String>] [-SignatureAlgorithm <String>] [-SigningCertificateRevocationCheck <String>] [-TokenLifetime <Int32>] [-AlwaysRequireAuthentication] [-AllowedClientTypes <AllowedClientTypes>] [-IssueOAuthRefreshTokensTo <RefreshTokenIssuanceDeviceTypes>] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]

Add- AdfsRelyingPartyTrust -Name <String> [-AllowedAuthenticationClassReferences <String[]>] [-ClaimsProviderName <String[]>] [-EncryptClaims <Boolean>] [-IssuanceAuthorizationRules <String>] [-IssuanceAuthorizationRulesFile <String>] [-DelegationAuthorizationRules <String>] [-DelegationAuthorizationRulesFile <String>] [-EncryptionCertificateRevocationCheck <String>] [-ImpersonationAuthorizationRules <String>] [-ImpersonationAuthorizationRulesFile <String>] [-IssuanceTransformRules <String>] [-IssuanceTransformRulesFile <String>] [-AdditionalAuthenticationRules <String>] [-AdditionalAuthenticationRulesFile <String>] [-MetadataUrl <Uri>] [-AutoUpdateEnabled <Boolean>] [-Enabled <Boolean>] [-MonitoringEnabled <Boolean>] [-NotBeforeSkew <Int32>] [-EnableJWT <Boolean>] [-Notes <String>] [-ProtocolProfile <String>] [-EncryptedNameIdRequired <Boolean>] [-SignedSamlRequestsRequired <Boolean>] [-SamlResponseSignature <String>] [-SignatureAlgorithm <String>] [-SigningCertificateRevocationCheck <String>] [-TokenLifetime <Int32>] [-AlwaysRequireAuthentication] [-AllowedClientTypes <AllowedClientTypes>] [-IssueOAuthRefreshTokensTo <RefreshTokenIssuanceDeviceTypes>] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]

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

Get-Command Add-AdfsRelyingPartyTrust

Get-Command Add-AdfsRelyingPartyTrust powershell script command cmdlet adfs

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 *