Remove-AzureADMSApplicationKey

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

-KeyId

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

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

-ObjectId

The unique identifier of the object specific Azure Active Directory object

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

-Proof

The JWT token provided as a proof of possession.

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

Inputs

string