Skip to content

Latest commit

 

History

History
246 lines (192 loc) · 5.99 KB

Set-AdfsApplicationPermission.md

File metadata and controls

246 lines (192 loc) · 5.99 KB
description external help file Module Name ms.date online version schema title
Use this topic to help manage Windows and Windows Server technologies with Windows PowerShell.
Microsoft.IdentityServer.Management.dll-Help.xml
ADFS
12/20/2016
2.0.0
Set-AdfsApplicationPermission

Set-AdfsApplicationPermission

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

-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

-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

-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

System.String

String objects are received by the AddScope, Description, RemoveScope, ScopeNames, TargetClientRoleIdentifier, TargetIdentifier, and TargetServerRoleIdentifier parameters.

Microsoft.IdentityServer.Management.Resources.OAuthPermission

OAuthPermission objects are received by the InputObject parameter.

OUTPUTS

NOTES

RELATED LINKS

Get-AdfsApplicationPermission

Grant-AdfsApplicationPermission

Revoke-AdfsApplicationPermission