Skip to content

Latest commit

 

History

History
116 lines (86 loc) · 2.26 KB

Remove-AzureADApplicationPolicy.md

File metadata and controls

116 lines (86 loc) · 2.26 KB
external help file Module Name online version schema
Microsoft.Open.MS.GraphBeta.PowerShell.dll-Help.xml
AzureADPreview
2.0.0

Remove-AzureADApplicationPolicy

SYNOPSIS

Removes an application policy.

SYNTAX

Remove-AzureADApplicationPolicy -Id <String> -PolicyId <String> [-InformationAction <ActionPreference>]
 [-InformationVariable <String>] [<CommonParameters>]

DESCRIPTION

The Remove-AzureADApplicationPolicy cmdlet removes an application policy from Azure Active Directory (AD).

EXAMPLES

Example 1: Remove an application policy

PS C:\>Remove-AzureADApplicationPolicy -ObjectId <object id of application> -PolicyId <object id of policy>

This command removes the specified application policy.

PARAMETERS

-InformationAction

Specifies how this cmdlet responds to an information event. The acceptable values for this parameter are:

  • Continue
  • Ignore
  • Inquire
  • SilentlyContinue
  • Stop
  • Suspend
Type: ActionPreference
Parameter Sets: (All)
Aliases: infa

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

-InformationVariable

Specifies an information variable.

Type: String
Parameter Sets: (All)
Aliases: iv

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

-PolicyId

Specifies the ID of the policy.

Type: String
Parameter Sets: (All)
Aliases:

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

-Id

{{Fill Id Description}}

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
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

RELATED LINKS

Add-AzureADApplicationPolicy

Get-AzureADApplicationPolicy