Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

Set-AdfsApplicationPermission

Brian Lich|Last Updated: 3/8/2017

SYNOPSIS

Modifies application permissions.

SYNTAX

Identifier (Default)

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

IdentifierAddScope

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

IdentifierRemoveScope

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

InputObject

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

InputObjectAddScope

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

InputObjectRemoveScope

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

RoleIdentifier

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

RoleIdentifierAddScope

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

RoleIdentifierRemoveScope

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

DESCRIPTION

The Set-AdfsApplicationPermission cmdlet modifies application permissions.

EXAMPLES

PARAMETERS

-AddScope

Type: String[]
Parameter Sets: IdentifierAddScope, InputObjectAddScope, RoleIdentifierAddScope
Aliases: 

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-Description

Specifies a description.

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-InputObject

Specifies an OAuthPermission object.

Type: OAuthPermission
Parameter Sets: InputObject, InputObjectAddScope, InputObjectRemoveScope
Aliases: 

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-RemoveScope

Type: String[]
Parameter Sets: IdentifierRemoveScope, InputObjectRemoveScope, RoleIdentifierRemoveScope
Aliases: 

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-ScopeNames

Type: String[]
Parameter Sets: Identifier, InputObject, RoleIdentifier
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-TargetClientRoleIdentifier

Type: String
Parameter Sets: RoleIdentifier, RoleIdentifierAddScope, RoleIdentifierRemoveScope
Aliases: 

Required: False
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-TargetIdentifier

Specifies the identifier of the target.

Type: String
Parameter Sets: Identifier, IdentifierAddScope, IdentifierRemoveScope
Aliases: 

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-TargetServerRoleIdentifier

Specifies the identifier of the target server role.

Type: String
Parameter Sets: RoleIdentifier, RoleIdentifierAddScope, RoleIdentifierRemoveScope
Aliases: 

Required: False
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

Get-AdfsApplicationPermission

Grant-AdfsApplicationPermission

Revoke-AdfsApplicationPermission

© 2017 Microsoft