Remove-EntraBetaApplicationProxyApplicationConnectorGroup

设置 Remove-EntraBetaApplicationProxyApplicationConnectorGroupcmdlet 为指定应用程序分配的连接器组“Default”,并删除当前分配。

语法

Default (默认值)

Remove-EntraBetaApplicationProxyApplicationConnectorGroup

    -OnPremisesPublishingProfileId <String>
    [<CommonParameters>]

说明

如果应用程序已在“默认”组中,则会看到错误,因为应用程序无法从“默认”组中删除,除非它被添加到另一个组。 必须为Microsoft Entra ID中的应用程序代理配置应用程序。

示例

示例 1:删除与应用程序关联的连接器组,将组设置为“默认”

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

此示例删除与应用程序关联的连接器组,将组设置为“Default”。

  • OnPremisesPublishingProfileId 参数指定应用程序 ID。

参数

-OnPremisesPublishingProfileId

应用程序的唯一应用程序 ID。 可以使用 Get-EntraBetaApplication 命令找到应用程序 ID。 还可以导航到Microsoft Entra ID 应用注册所有应用程序,在 >> Microsoft Entra 管理中心中找到 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