Skip to content

Commit b2a8d0c

Browse files
authored
Merge pull request #51815 from dominicdejacomo/patch-1
Correct powershell script output for AAD webhook delivery
2 parents f55369a + 5f18bb9 commit b2a8d0c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,10 @@ else
9999
100100
New-AzureADServiceAppRoleAssignment -Id $myApp.AppRoles[0].Id -ResourceId $myServicePrincipal.ObjectId -ObjectId $eventGridSP.ObjectId -PrincipalId $eventGridSP.ObjectId
101101
102-
Write-Host "My Azure AD Tenant Id" + $myTenantId
103-
Write-Host "My Azure AD Application Id" + $myAzureADApplicationObjectId
104-
Write-Host "My Azure AD Application ($myApp.ObjectId): " + $myApp.ObjectId
105-
Write-Host "My Azure AD Application's Roles"
102+
Write-Host "My Azure AD Tenant Id: $myTenantId"
103+
Write-Host "My Azure AD Application Id: $($myApp.AppId)"
104+
Write-Host "My Azure AD Application ObjectId: $($myApp.ObjectId)"
105+
Write-Host "My Azure AD Application's Roles: "
106106
Write-Host $myApp.AppRoles
107107
```
108108

0 commit comments

Comments
 (0)