How to get Principal Id in app service using Arm template?
问题 Hi I am writing ARM templates to deploy my app service. I want to create system identity in my arm template. In app service arm template section I have below code. "identity": { "principalId": "[reference(variables('identity_resource_id'), '2017-12-01', 'Full').identity.principalId]", "tenantId": "[parameters('tenantId')]", "type": "SystemAssigned" } Then in variable section I added "appServiceNameFrontEnd": "[concat(variables('defaultConvention'),'03-','FrontEnd')]" "identity_resource_id": "