New-AdfsLdapAttributeToClaimMapping

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

Synopsis

Creates a mapping between an attribute of an LDAP folder and an AD FS claim type.

Description

The New-AdfsLdapAttributeToClaimMapping cmdlet creates a mapping between an attribute of the Lightweight Directory Access Protocol (LDAP) folder and an Active Directory Federation Services (AD FS) claim type. Mappings make it possible for LDAP attributes to be available for claim rule processing in AD FS.

Parameters

-ClaimType
Specifies the claim type to assign to the AD FS claim that contains the LDAP attribute value.

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

-LdapAttribute <String>
    Specifies the attribute in the LDAP folder to which the claim type is mapped.

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

Syntax

New-AdfsLdapAttributeToClaimMapping [-LdapAttribute] <String> [[-ClaimType] <String>] [<CommonParameters>]

——————–Example 1——————–
Create a mapping of an LDAP directory attribute
PS C:>$DisplayName = New-AdfsLdapAttributeToClaimMapping -LdapAttribute “displayName” -ClaimType “http://schemas.xmlsoap.org/ws/2020/05/identity/claims/displayname”
This command creates a mapping of an LDAP directory attribute to a claim type. The command stores the mapping in the $DisplayName variable for use with other cmdlets.
To see this cmdlet as part of creating an LDAP local claims provider trust, see the Add-AdfsLocalClaimsProviderTrust cmdlet.

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

Get-Command New-AdfsLdapAttributeToClaimMapping

Get-Command New-AdfsLdapAttributeToClaimMapping
 powershell script command cmdlet adfs

You can also read about

  • Add-AdfsLocalClaimsProviderTrust

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 *