Remove-EntraApplicationExtensionProperty

Removes an application extension property.

Syntax

Remove-EntraApplicationExtensionProperty
      -ExtensionPropertyId <String>
      -ApplicationId <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 -Filter "DisplayName eq 'Contoso Helpdesk Application'"
$extension = Get-EntraApplicationExtensionProperty -ApplicationId $application.Id | Where-Object {$_.Name -eq 'extension_3ed1a24748dd4e4cb91fc0ab09576ff0_NewAttribute'}
Remove-EntraApplicationExtensionProperty -ApplicationId $application.Id -ExtensionPropertyId $extension.Id

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

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

Parameters

-ApplicationId

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

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

-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