Edit

Share via


Remove-EntraApplicationExtensionProperty

Removes an application extension property.

Syntax

Default (Default)

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.

Parameter properties

Type:System.String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:ObjectId

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:True
Value from remaining arguments:False

-ExtensionPropertyId

Specifies the unique ID of the extension property to remove.

Parameter properties

Type:System.String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:True
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.