Set-EntraBetaApplicationProxyApplicationConnectorGroup
The Set-EntraBetaApplicationProxyApplicationConnectorGroup
cmdlet assigns the given connector group to a specified application.
Syntax
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.
Type: | System.String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | 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.
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