Skip to content

Latest commit

 

History

History
91 lines (66 loc) · 1.88 KB

Remove-AzureADMSApplicationKey.md

File metadata and controls

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

Remove-AzureADMSApplicationKey

SYNOPSIS

Removes a key from an application.

SYNTAX

Remove-AzureADMSApplicationKey -ObjectId <String> [-KeyId <String>] [-Proof <String>] [<CommonParameters>]

DESCRIPTION

Removes a key from an application.

EXAMPLES

Example 1: Removes a key credential from an application

PS C:\>Remove-AzureADMSApplicationKey -ObjectId "3ddd22e7-a150-4bb3-b100-e410dea1cb84" -KeyId "FDA27CF-1B58-4CAE-8CE7-CD04F0AAB945" -Proof {token}

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

PARAMETERS

-ObjectId

The unique identifier of the object specific Azure Active Directory object

Type: String
Parameter Sets: (All)
Aliases:

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

-KeyId

The key id corresponding to the key object to be removed.

Type: String
Parameter Sets: (All)
Aliases:

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

-Proof

The JWT token provided as a proof of possession.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
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

string

OUTPUTS

NOTES

RELATED LINKS

New-AzureADMSApplicationKey