From 2ac34a16adf694b726c09efa7851ccf9401087db Mon Sep 17 00:00:00 2001 From: ikemsley Date: Fri, 22 Sep 2017 15:55:29 +0100 Subject: [PATCH] US63918 - Create RBAC role for app identity via ARM template --- template.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template.json b/template.json index 65c8d7c..54d8382 100644 --- a/template.json +++ b/template.json @@ -59,7 +59,7 @@ "location": "[resourceGroup().location]", "resourceGroupName": "[resourceGroup().name]", "resourceGroupId": "[resourceGroup().id]", - "roleAssignmentId": "[guid(subscription().subscriptionId)]", + "roleAssignmentId": "[guid(uniqueString( resourceGroup().id, deployment().name ))]", "subscriptionId": "[split(subscription().id, '/')[2]]", "tenantId": "[subscription().tenantId]", "contributor": "[concat('/subscriptions/', subscription().subscriptionId, '/providers/Microsoft.Authorization/roleDefinitions/', 'b24988ac-6180-42a0-ab88-20f7382dd24c')]"