File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
articles/event-grid/scripts Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 47
47
}
48
48
49
49
# Creates Azure Event Grid Azure AD Application if not exists
50
+ # You don't need to modify this id
51
+ # But Azure Event Grid Azure AD Application Id is different for different clouds
50
52
51
- $eventGridAppId = "4962773b-9cdb-44cf-a8bf-237846a00ab7" # You don't need to modify this id
53
+ $eventGridAppId = "4962773b-9cdb-44cf-a8bf-237846a00ab7" # Azure Public Cloud
54
+ # $eventGridAppId = "54316b56-3481-47f9-8f30-0300f5542a7b" # Azure Government Cloud
52
55
$eventGridRoleName = "AzureEventGridSecureWebhookSubscriber" # You don't need to modify this role name
53
56
$eventGridSP = Get-AzureADServicePrincipal -Filter ("appId eq '" + $eventGridAppId + "'")
54
57
if ($eventGridSP -match "Microsoft.EventGrid")
You can’t perform that action at this time.
0 commit comments