Skip to content

Commit b277dbd

Browse files
authored
Update event-grid-powershell-webhook-secure-delivery-azure-ad-user.md
Adding Event Grid Application for government cloud
1 parent 7f3aec2 commit b277dbd

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

articles/event-grid/scripts/event-grid-powershell-webhook-secure-delivery-azure-ad-user.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,11 @@ try {
4646
}
4747
4848
# Creates Azure Event Grid Azure AD Application if not exists
49-
50-
$eventGridAppId = "4962773b-9cdb-44cf-a8bf-237846a00ab7" # You don't need to modify this id
49+
# You don't need to modify this id
50+
# But Azure Event Grid Azure AD Application Id is different for different clouds
51+
52+
$eventGridAppId = "4962773b-9cdb-44cf-a8bf-237846a00ab7" # Azure Public Cloud
53+
# $eventGridAppId = "54316b56-3481-47f9-8f30-0300f5542a7b" # Azure Government Cloud
5154
$eventGridRoleName = "AzureEventGridSecureWebhookSubscriber" # You don't need to modify this role name
5255
$eventGridSP = Get-AzureADServicePrincipal -Filter ("appId eq '" + $eventGridAppId + "'")
5356
if ($eventGridSP -match "Microsoft.EventGrid")

0 commit comments

Comments
 (0)