Add-AdfsClient

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

Synopsis

Registers an OAuth 2.0 client with AD FS.

Description

The Add-AdfsClient cmdlet registers an OAuth client with Active Directory Federation Services (AD FS). In order to allow access from OAuth clients to resources secured by AD FS, you need to register the OAuth client with AD FS by using this cmdlet.

When you register an OAuth 2.0 client with AD FS, you must specify a client identifier and a redirection URI, as well as a friendly name and description, for the OAuth client. When an OAuth client requests access to a resource using the OAuth 2.0 protocol, the client must specify a client identifier and redirection URI to AD FS, in accordance with RFC 6749. AD FS will not allow access to a resource to clients that specify a client identifier or redirection URI that are not registered with AD FS.

Parameters

 -ADUserPrincipalName

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

-ClientId <string>

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

-ClientType <ClientType>

    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?  

-Description <string>

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

-GenerateClientSecret <>

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

-JWKSFile <string>

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

-JWKSUri <uri>

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

-JWTSigningCertificate <X509Certificate2[]>

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

-JWTSigningCertificateRevocationCheck <RevocationSetting>

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

-LogoutUri <string>

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

-Name <string>

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

-PassThru <>

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

-RedirectUri <string[]>

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

-WhatIf <>

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

Syntax

Add-AdfsClient [-ClientId] <String> [-Name] <String> [[-RedirectUri] <Uri[]>] [-Description <String>] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]

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

Get-Command Add-AdfsClient

Get-Command Add-AdfsClient powershell script command cmdletlet 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 *