Remove-EntraApplicationExtensionProperty

Removes an application extension property.

Syntax

Remove-EntraApplicationExtensionProperty
       -ExtensionPropertyId <String>
       -ObjectId <String>
      [<CommonParameters>]

Description

The Remove-EntraApplicationExtensionProperty cmdlet removes an application extension property for an object in Microsoft Entra ID.

Examples

Example 1: Remove an application extension property

Connect-Entra -Scopes 'Application.ReadWrite.All','Application.ReadWrite.OwnedBy'
$Application = Get-EntraApplication -SearchString '<application-name>'
$params = @{
    ObjectId = $Application.ObjectId
    ExtensionPropertyId = 'cccc2222-dd33-4444-55ee-666666ffffff'
}

Remove-EntraApplicationExtensionProperty @params

This example removes the extension property that has the specified ID from an application in Microsoft Entra ID.

  • -ObjectId parameter specifies the unique identifier of an application.
  • -ExtensionPropertyId parameter specifies the unique identifier of the extension property to remove.

Parameters

-ExtensionPropertyId

Specifies the unique ID of the extension property to remove.

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

-ObjectId

Specifies the unique ID of an application in Microsoft Entra ID.

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