You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/event-grid/scripts/powershell-webhook-secure-delivery-microsoft-entra-app.md
+11-2Lines changed: 11 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,14 +19,25 @@ Here are the high level steps from the script:
19
19
1. Add service principal of event subscription writer Microsoft Entra app to the AzureEventGridSecureWebhookSubscriber role
20
20
1. Add service principal of Microsoft.EventGrid to the AzureEventGridSecureWebhookSubscriber role as well
21
21
22
+
## Get Microsoft.EventGrid application ID
23
+
24
+
1. Navigate to [Azure portal](https://portal.azure.com).
25
+
1. In the search bar, type `Microsoft.EventGrid`, and then select **Microsoft.EventGrid (Service Principal)** in the drop-down list.
26
+
27
+
:::image type="content" source="../media/event-grid-app-id/select-microsoft-event-grid.png" alt-text="Screenshot that shows the selection of Microsoft Event Grid from the drop-down list.":::
28
+
1. On the **Microsoft.EventGrid** page, note down or copy the **Application ID** to the clipboard.
29
+
1. In the following script, set the `$eventGridAppId` variable to this value before running it.
30
+
22
31
## Sample script - stable
23
32
24
33
```azurepowershell
25
34
# NOTE: Before run this script ensure you are logged in Azure by using "az login" command.
Copy file name to clipboardExpand all lines: articles/event-grid/scripts/powershell-webhook-secure-delivery-microsoft-entra-user.md
+11-2Lines changed: 11 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,11 +18,22 @@ Here are the high level steps from the script:
18
18
1. Add service principal of user who is creating the subscription to the AzureEventGridSecureWebhookSubscriber role.
19
19
1. Add service principal of Microsoft.EventGrid to the AzureEventGridSecureWebhookSubscriber.
20
20
21
+
## Get Microsoft.EventGrid application ID
22
+
23
+
1. Navigate to [Azure portal](https://portal.azure.com).
24
+
1. In the search bar, type `Microsoft.EventGrid`, and then select **Microsoft.EventGrid (Service Principal)** in the drop-down list.
25
+
26
+
:::image type="content" source="../media/event-grid-app-id/select-microsoft-event-grid.png" alt-text="Screenshot that shows the selection of Microsoft Event Grid from the drop-down list.":::
27
+
1. On the **Microsoft.EventGrid** page, note down or copy the **Application ID** to the clipboard.
28
+
1. In the following script, set the `$eventGridAppId` variable to this value before running it.
29
+
30
+
21
31
## Sample script
22
32
23
33
```azurepowershell
24
34
# NOTE: Before run this script ensure you are logged in Azure by using "az login" command.
0 commit comments