Azure ARM Role Assignment different Resource Group
问题 I'm trying to create an ARM template that has a VM, I want the VM to have AcrPull role assignment to a Container Registry that is in a different resource group. I'm setting the scope property to the ID of the ACR (i got this from https://resources.azure.com). { "apiVersion": "2017-09-01", "type": "Microsoft.Authorization/roleAssignments", "name": "[guid(resourceGroup().id, 'stuff')]", "properties": { "roleDefinitionId": "[variables(parameters('builtInRoleType'))]", "principalId": "[reference