diff --git a/avm/ptn/policy-insights/remediation/tests/e2e/mg.max/main.test.bicep b/avm/ptn/policy-insights/remediation/tests/e2e/mg.max/main.test.bicep index 3d36edfad2..e2f453ebe0 100644 --- a/avm/ptn/policy-insights/remediation/tests/e2e/mg.max/main.test.bicep +++ b/avm/ptn/policy-insights/remediation/tests/e2e/mg.max/main.test.bicep @@ -34,7 +34,7 @@ param namePrefix string = '#_namePrefix_#' // } resource policySetAssignments 'Microsoft.Authorization/policyAssignments@2022-06-01' = { - name: '${uniqueString(deployment().name, resourceLocation)}-psa-mg' + name: 'dep-${namePrefix}-psa-${serviceShort}' identity: { type: 'SystemAssigned' }