Set-AdfsApplicationPermission

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

Synopsis

Modifies application permissions.

Description

The Set-AdfsApplicationPermission cmdlet modifies application permissions.

Parameters

-AddScope

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

-Description <String>
    Specifies a description.

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

-InputObject <OAuthPermission>
    Specifies an OAuthPermission object.

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

-RemoveScope <String[]>


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

-ScopeNames <String[]>


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

-TargetClientRoleIdentifier <String>


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

-TargetIdentifier <String>
    Specifies the identifier of the target.

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

-TargetServerRoleIdentifier <String>
    Specifies the identifier of the target server role.

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

-Confirm
Prompts you for confirmation before running the cmdlet.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.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

Syntax

Set-AdfsApplicationPermission [-TargetIdentifier] <String> [-ScopeNames <String[]>] [-Description <String>] [-WhatIf] [-Confirm] [<CommonParameters>]

Set-AdfsApplicationPermission [-TargetIdentifier] <String> -AddScope <String[]> [-Description <String>] [-WhatIf] [-Confirm] [<CommonParameters>]

Set-AdfsApplicationPermission [-TargetIdentifier] <String> -RemoveScope <String[]> [-Description <String>] [-WhatIf] [-Confirm] [<CommonParameters>]

Set- AdfsApplicationPermission [-InputObject] <OAuthPermission> [-ScopeNames <String[]>] [-Description <String>] [-WhatIf] [-Confirm] [<CommonParameters>]

Set- AdfsApplicationPermission [-InputObject] <OAuthPermission> -AddScope <String[]> [-Description <String>] [-WhatIf] [-Confirm] [<CommonParameters>]

Set- AdfsApplicationPermission [-InputObject] <OAuthPermission> -RemoveScope <String[]> [-Description <String>] [-WhatIf] [-Confirm] [<CommonParameters>]

Set- AdfsApplicationPermission [[-TargetClientRoleIdentifier] <String>] [[-TargetServerRoleIdentifier] <String>] [-ScopeNames <String[]>] [-Description <String>] [-WhatIf] [-Confirm] [<CommonParameters>]

Set- AdfsApplicationPermission [[-TargetClientRoleIdentifier] <String>] [[-TargetServerRoleIdentifier] <String>] -AddScope <String[]> [-Description <String>] [-WhatIf] [-Confirm] [<CommonParameters>]

Set- AdfsApplicationPermission [[-TargetClientRoleIdentifier] <String>] [[-TargetServerRoleIdentifier] <String>] -RemoveScope <String[]> [-Description <String>] [-WhatIf] [-Confirm] [<CommonParameters>]

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

Get-Command Set-AdfsApplicationPermission

Get-Command Set-AdfsApplicationPermission powershell script command cmdlet adfs

You can also read about

  • Get-AdfsApplicationPermission
  • Grant-AdfsApplicationPermission
  • Revoke-AdfsApplicationPermission

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 *