I am deploying an Azure Data Factory
using ARM templates. I need the ObjectId/PricipalId/Managed Identity Object ID
of the Data Factory in the outputs of the deployment. This can be found on the Azure portal under Properties
tab of a Data Factory
I have tried these variations but to no avail:
"value": "[reference(concat('Microsoft.DataFactory/factories/', variables('name')), '2018-06-01').identity.principalId]"
"value": "[reference(concat('Microsoft.DataFactory/factories/', variables('name')), '2018-06-01').principalId]"
The error that I get to see on using these is that the property (identity/principalId) does not exist
I have also tried out the stuff mentioned in the docs here: https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-template-functions-resource#reference, it gave the same error