From c0dae02b6f9221db5e416a51c0df4d939aa87695 Mon Sep 17 00:00:00 2001 From: Divesh Mavji <30622893+divesh987@users.noreply.github.com> Date: Tue, 10 Sep 2024 14:47:49 +0100 Subject: [PATCH] Added functionAppResourceId output to function template --- templates/function-app-v2.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/function-app-v2.json b/templates/function-app-v2.json index cf59eb76..f8a64aa0 100644 --- a/templates/function-app-v2.json +++ b/templates/function-app-v2.json @@ -136,6 +136,10 @@ "managedServiceIdentityId": { "type": "string", "value": "[reference(parameters('functionAppName'), variables('functionAppApiVersion'), 'Full').identity.principalId]" + }, + "functionAppResourceId": { + "type": "string", + "value": "[resourceId('Microsoft.Web/sites', parameters('functionAppName'))]" } } }