Remove-EntraBetaApplicationProxyApplicationConnectorGroup

The Remove-EntraBetaApplicationProxyApplicationConnectorGroupcmdlet sets the connector group assigned for the specified application to 'Default' and removes the current assignment.

Syntax

Remove-EntraBetaApplicationProxyApplicationConnectorGroup
      -OnPremisesPublishingProfileId <String>
      [<CommonParameters>]

Description

If your application is already in the 'Default' group, you see an error because the application can't be removed from the 'Default' group unless it's being added to another group. The application must be configured for Application Proxy in Microsoft Entra ID.

Examples

Example 1: Remove the Connector Group associated with an application, setting the group to 'Default'

Connect-Entra -Scopes 'Directory.ReadWrite.All'
Remove-EntraBetaApplicationProxyApplicationConnectorGroup -OnPremisesPublishingProfileId 'aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb'

This example removes the Connector Group associated with an application, setting the group to 'Default.'

  • OnPremisesPublishingProfileId parameter specifies the application ID.

Parameters

-OnPremisesPublishingProfileId

The unique application ID of the application. The application ID can be found using the Get-EntraBetaApplication command. You can also find objectId in the Microsoft Entra Admin Center by navigating to Microsoft Entra ID > App registrations > All applications. Select your application. From the application overview page, copy the ObjectId.

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

Inputs

System.String

Outputs

System.Object