Remove-EntraBetaApplicationProxyApplication

Deletes an Application Proxy application.

Syntax

Remove-EntraBetaApplicationProxyApplication
      -ApplicationId <String>
      [-RemoveADApplication <Boolean>]
      [<CommonParameters>]

Description

The Remove-EntraBetaApplicationProxyApplication cmdlet removes Application Proxy configurations from a specific application in Microsoft Entra ID, and can delete the application completely if specified.

Examples

Example 1: Remove a Proxy Application

Connect-Entra -Scopes 'Directory.ReadWrite.All'
Remove-EntraBetaApplicationProxyApplication -ApplicationId 'aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb'

This example removes a Proxy Application.

  • ApplicationId parameter specifies the application ID.

Example 2: Remove a Proxy Application, and remove it from Microsoft Entra ID completely

Connect-Entra -Scopes 'Directory.ReadWrite.All'
Remove-EntraBetaApplicationProxyApplication -ApplicationId 'aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb' -RemoveADApplication $true

This example removes a Proxy Application, and removes it from Microsoft Entra ID completely.

  • ApplicationId parameter specifies the application ID.
  • RemoveADApplication parameter specifies the user confirmation to delete application completely.

Parameters

-ApplicationId

The unique application ID of the application. This ApplicationId can be found using the Get-EntraBetaApplication command. You can also find this ApplicationId in the Microsoft by navigating to Microsoft Entra ID > App registrations > All applications. Select your application. This will takes you to the application's overview page. Use the ObjectId on that page.

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

-RemoveADApplication

This RemoveADApplication parameter allows you to delete application completely. When this RemoveADApplication is false (default), Application Proxy properties are removed from the application, but the application still exists. If this RemoveADApplication is true, the application is removed from Microsoft Entra ID.

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