Remove-EntraApplication

Deletes an application object.

Syntax

Remove-EntraApplication
      -ApplicationId <String>
      [<CommonParameters>]

Description

The Remove-EntraApplication cmdlet deletes an application object identified by ApplicationId. Specify the ApplicationId parameter to delete an application object.

Examples

Example 1: Remove an application

Connect-Entra -Scopes 'Application.ReadWrite.All'
$application = Get-EntraApplication -Filter "DisplayName eq 'Contoso Helpdesk Application'"
Remove-EntraApplication -ApplicationId $application.Id

This example demonstrates how to delete an application object.

Example 2: Remove an application using pipelining

Connect-Entra -Scopes 'Application.ReadWrite.All'
Get-EntraApplication -Filter "DisplayName eq 'Contoso Helpdesk Application'" | Remove-EntraApplication

This example demonstrates how to delete an application object using pipelining.

Parameters

-ApplicationId

Specifies the 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

Inputs

System.String