Skip to content

Latest commit

 

History

History
117 lines (86 loc) · 2.4 KB

Remove-AzureADApplicationKeyCredential.md

File metadata and controls

117 lines (86 loc) · 2.4 KB
external help file Module Name online version schema
Microsoft.Open.AzureAD16.Graph.PowerShell.Custom.dll-Help.xml
AzureAD
2.0.0

Remove-AzureADApplicationKeyCredential

SYNOPSIS

Removes a key credential from an application.

SYNTAX

Remove-AzureADApplicationKeyCredential -ObjectId <String> -KeyId <String>
 [-InformationAction <ActionPreference>] [-InformationVariable <String>] [<CommonParameters>]

DESCRIPTION

The Remove-AzureADApplicationKeyCredential cmdlet removes a key credential from an application.

EXAMPLES

Example 1: Remove a key credential

PS C:\> Remove-AzureADApplicationKeyCredential -ObjectId "3ddd22e7-a150-4bb3-b100-e410dea1cb84" -KeyId "6aa971c6-3040-45df-87ed-581c8c09ff2b"

This command removes the specified key credential from the specified application.

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

-KeyId

Specifies a custom key ID.

Type: String
Parameter Sets: (All)
Aliases:

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

-ObjectId

Specifies a unique ID of an application in Azure Active Directory.

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

Get-AzureADApplicationKeyCredential

New-AzureADApplicationKeyCredential