列出的 az 角色分配在哪里

Where are the az role assignments listed

我使用

将服务主体分配给 VNET

az role assignment create --assignee SP_CLIENT_ID --scope VNET_ID --role Contributor

在哪里可以查看配置(Azure 门户或 cli)?

更新:我正在寻找隐藏在以下位置的子网角色分配:vNet > Subnets > Managed users > Role assignments。

Where can I review the configuration (Azure portal or cli)?

1.Use Azure 门户:

导航到门户中的 vnet -> Access control (IAM) -> Role assignments -> 如下所示搜索服务主体的名称。

2.Use Azure CLI:

az role assignment list --assignee SP_CLIENT_ID --scope VNET_ID