Skip to content

Commit c44f554

Browse files
committed
working fine
1 parent d8c5405 commit c44f554

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/event-grid/secure-webhook-delivery.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ This section shows how to configure the event subscription by using a Microsoft
5151

5252
```Shell
5353
$webhookAadTenantId = "[REPLACE_WITH_YOUR_TENANT_ID]"
54-
Connect-MgGraph -TenantId $webhookAadTenantId
54+
Connect-MgGraph -TenantId $webhookAadTenantId -Scopes "Application.ReadWrite.All, AppRoleAssignment.ReadWrite.All"
5555
```
5656

5757
4. Open the [following script](scripts/powershell-webhook-secure-delivery-microsoft-entra-user.md) and update the values of **$webhookAppObjectId** and **$eventSubscriptionWriterUserPrincipalName** with your identifiers, then continue to run the script.
@@ -107,7 +107,7 @@ This section shows how to configure the event subscription by using a Microsoft
107107
108108
```Shell
109109
$webhookAadTenantId = "[REPLACE_WITH_YOUR_TENANT_ID]"
110-
Connect-MgGraph -TenantId $webhookAadTenantId
110+
Connect-MgGraph -TenantId $webhookAadTenantId -Scopes "Application.ReadWrite.All, AppRoleAssignment.ReadWrite.All"
111111
```
112112
113113
7. Open the [following script](scripts/powershell-webhook-secure-delivery-microsoft-entra-app.md) and update the values of **$webhookAppObjectId** and **$eventSubscriptionWriterAppId** with your identifiers, then continue to run the script.
@@ -171,7 +171,7 @@ Do the following steps in **Tenant B**:
171171
172172
```Shell
173173
$webhookAadTenantId = "[REPLACE_WITH_YOUR_TENANT_ID]"
174-
Connect-MgGraph -TenantId $webhookAadTenantId
174+
Connect-MgGraph -TenantId $webhookAadTenantId -Scopes "Application.ReadWrite.All, AppRoleAssignment.ReadWrite.All"
175175
```
176176
7. Open the [following script](scripts/powershell-webhook-secure-delivery-microsoft-entra-app.md), and update values of **$webhookAppObjectId** and **$eventSubscriptionWriterAppId** with your identifiers, then continue to run the script.
177177

0 commit comments

Comments
 (0)