I have to import some roles, in the documentation it states. The frist uid is easy to find, but what is the second one. When I look into the portal I see that the role is assigned on the resource itself, but can't find a trace of a uid. Can find the uid of the group what has the rights but..
terraform import azurerm_role_assignment.example /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000000
So Bottom line, anybody has this working and willing to share some thoughts?
You can use Azure CLI:
az role assignment list ...
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.