Skip to content

Commit c7fb6cb

Browse files
Merge pull request #298439 from spelluru/patch-742042
-ObjectId -> -ApplicationId
2 parents 1f277f2 + cc7a5b5 commit c7fb6cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/event-grid/scripts/powershell-webhook-secure-delivery-microsoft-entra-app.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ try {
7373
7474
# Creates the Azure app role for the webhook Microsoft Entra application
7575
$eventGridRoleName = "AzureEventGridSecureWebhookSubscriber" # You don't need to modify this role name
76-
$app = Get-MgApplication -ObjectId $webhookAppObjectId
76+
$app = Get-MgApplication -ApplicationId $webhookAppObjectId
7777
$appRoles = $app.AppRoles
7878
7979
Write-Host "Microsoft Entra App roles before addition of the new role..."

0 commit comments

Comments
 (0)