Set-AdfsApplicationPermission

Modifies application permissions.

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>]

Description

The Set-AdfsApplicationPermission cmdlet modifies application permissions.

Required Parameters

-AddScope
Type:String[]
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-InputObject

Specifies an OAuthPermission object.

Type:OAuthPermission
Position:0
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-RemoveScope
Type:String[]
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-TargetIdentifier

Specifies the identifier of the target.

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

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-Description

Specifies a description.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-ScopeNames
Type:String[]
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-TargetClientRoleIdentifier
Type:String
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
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
Aliases:wi
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False