如何通过 azure cli 将用户分配设置为 true

How to set user assignment required to true by azure cli

powershell 模块找到 -AppRoleAssignmentRequired $false,但正在寻找 azure-cli 来设置需要的用户分配至 true

遗憾的是,Azure CLI 目前不支持此功能。您可以在 this Page.

中提供反馈

此外,如果您必须使用 Azure CLI 来处理,我建议您可以通过 CLI 使用 AAD Graph API。 SO中有。可以参考我的回答来实现。

希望对您有所帮助!