Edit

Share via


Set-EntraBetaApplicationProxyApplicationConnectorGroup

The Set-EntraBetaApplicationProxyApplicationConnectorGroup cmdlet assigns the given connector group to a specified application.

Syntax

Default (Default)

Set-EntraBetaApplicationProxyApplicationConnectorGroup

    -OnPremisesPublishingProfileId <String>
    -ConnectorGroupId <String>
    [<CommonParameters>]

Description

The Set-EntraBetaApplicationProxyApplicationConnectorGroup cmdlet sets the connector group assigned for the specified application. Specify OnPremisesPublishingProfileId and ConnectorGroupId parameter to assign the given connector group to a specified application.

The application must be configured for Application Proxy in Microsoft Entra ID.

Examples

Example 1: Set a new Connector Group for a specific application

Connect-Entra -Scopes 'Directory.ReadWrite.All'
$params = @{
    OnPremisesPublishingProfileId = 'aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb'
    ConnectorGroupId = 'bbbbbbbb-1111-2222-3333-cccccccccccc'
}
Set-EntraBetaApplicationProxyApplicationConnectorGroup @params

This example set a new Connector Group for a specific application.

  • OnPremisesPublishingProfileId parameter specifies the application ID.
  • ConnectorGroupId parameter specifies the connector group ID that assign to the application.

Parameters

-ConnectorGroupId

The ID of the Connector group that should be assigned to the application. Use the Get-EntraBetaApplicationProxyConnectorGroup command to find the Connector Group ID.

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

-OnPremisesPublishingProfileId

The unique application ID for the application the Connector group assigns to. The application ID can be found using the Get-EntraBetaApplication command.

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

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.

Inputs

System.String

Outputs

System.Object