From 547f283a4513632793d2241788d7c590df320f4e Mon Sep 17 00:00:00 2001 From: ynakajima9 Date: Tue, 19 Nov 2024 23:42:36 +0900 Subject: [PATCH] Update activity-log.md I added $storageAccountName because it is necessary for script execution. --- articles/azure-monitor/essentials/activity-log.md | 1 + 1 file changed, 1 insertion(+) diff --git a/articles/azure-monitor/essentials/activity-log.md b/articles/azure-monitor/essentials/activity-log.md index 8f65d08eb0..3651a74fb2 100644 --- a/articles/azure-monitor/essentials/activity-log.md +++ b/articles/azure-monitor/essentials/activity-log.md @@ -226,6 +226,7 @@ This sample PowerShell script creates a log profile that writes the activity log $subscriptionId = "" $resourceGroupName = "" $eventHubNamespace = "" + $storageAccountName = "" # Build the service bus rule Id from the settings above $serviceBusRuleId = "/subscriptions/$subscriptionId/resourceGroups/$resourceGroupName/providers/Microsoft.EventHub/namespaces/$eventHubNamespace/authorizationrules/RootManageSharedAccessKey"