I assigned a Service Principal to a VNET with
az role assignment create --assignee SP_CLIENT_ID --scope VNET_ID --role Contributor
Where can I review the configuration (Azure portal or cli)?
Update: I was looking for the subnets roles assignment which are a bit hidden under: vNet > Subnets > Managed users > Role assignments.
Where can I review the configuration (Azure portal or cli)?
1.Use Azure portal:
Navigate to the vnet in the portal -> Access control (IAM)
-> Role assignments
-> search for the name of your service principal like below.
2.Use Azure CLI:
az role assignment list --assignee SP_CLIENT_ID --scope VNET_ID