Remove-EntraBetaApplicationProxyApplicationConnectorGroup

它會 Remove-EntraBetaApplicationProxyApplicationConnectorGroupcmdlet 將指定應用程式所指派的連接器群組設為「預設」,並移除目前的指派。

語法

Default (預設值)

Remove-EntraBetaApplicationProxyApplicationConnectorGroup

    -OnPremisesPublishingProfileId <String>
    [<CommonParameters>]

Description

如果你的應用程式已經在「預設」群組,你會看到錯誤,因為該應用程式無法從「預設」群組中移除,除非它被加入另一個群組。 應用程式必須在 Microsoft Entra ID 中設定為 應用程式 Proxy。

範例

範例 1:移除與應用程式相關的連接器群組,並將群組設為「預設」

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

此範例移除與應用程式相關的連接器群組,並將該群組設為「預設」。

  • OnPremisesPublishingProfileId 參數指定應用程式 ID。

參數

-OnPremisesPublishingProfileId

應用程式的唯一 ID。 應用程式 ID 可透過指令 Get-EntraBetaApplication 找到。 您也可以在 Microsoft Entra 管理中心透過「Microsoft Entra ID > 應用程式註冊 > 所有應用程式」找到 objectId。 選取您的應用程式。 從應用程式總覽頁面複製 ObjectId。

參數屬性

類型:System.String
預設值:None
支援萬用字元:False
不要顯示:False
別名:ObjectId (物件識別碼)

參數集

(All)
Position:Named
必要:True
來自管線的值:True
來自管線按屬性名稱的值:True
來自剩餘引數的值:False

CommonParameters

此 Cmdlet 支援一般參數:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 如需詳細資訊,請參閱 about_CommonParameters。

輸入

System.String

輸出

System.Object