'ARM Template Databricks CMK

I am trying to implement CMK based on the following article / Git sample from Microsoft: Databricks With Customer Managed Keys

The code I have implemented matches that 99% other than I have created some variables to concatenate values such resource groups etc to the format I requiure.

The issue appear to be with lines 98 and 99 in the link above as I get the following error message:

InvalidTemplate: Unable to process template language expressions for resource '/subscriptions/123-123/resourceGroups/my-rg/providers/Microsoft.Resources/deployments/addAccessPolicy' at line '1' and column '3665'. 'The language expression property 'storageAccountIdentity' doesn't exist, available properties are 'managedResourceGroupId, parameters, provisioningState, authorizations, createdBy, updatedBy, workspaceId, workspaceUrl, createdDateTime'.'

Does anyone have suggestions on what namespaces and properties should be used then other than this?

[reference(resourceId('Microsoft.Databricks/workspaces', parameters('workspaceName')), '2018-04-01').storageAccountIdentity.principalId]


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source